Pull request #461 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 36831bfcbd46d454350d11245b88054469609ef9+47bb9dfdcdb500ccf65829334ffb08f8f26842f6 (253281b3d7f93fa6ec144af0f75316b628307c9e) 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-ssh1412831438212253556.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6395953103151383597.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-461/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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12403539217911869887.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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8582952641658665542.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5018713400702948146.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-461/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-461/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16169818866370289647.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23574 in /w/workspace/_app-service-configurable_PR-461 [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-461 # 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 Merging remotes/origin/main commit 47bb9dfdcdb500ccf65829334ffb08f8f26842f6 into PR head commit 36831bfcbd46d454350d11245b88054469609ef9 Merge succeeded, producing 36831bfcbd46d454350d11245b88054469609ef9 Checking out Revision 36831bfcbd46d454350d11245b88054469609ef9 (PR-461) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36831bfcbd46d454350d11245b88054469609ef9 # 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 47bb9dfdcdb500ccf65829334ffb08f8f26842f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36831bfcbd46d454350d11245b88054469609ef9 # timeout=10 Commit message: "fix: Restore ClientId values chnaged in previous chnage" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-25T20:09:52.359Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-25T20:09:52.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-25T20:09:52.658Z] ========================================================= [2022-08-25T20:09:52.658Z] EdgeX Global Pipelines Version Info [2022-08-25T20:09:52.658Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:09:53.461Z] ------------------- [2022-08-25T20:09:53.461Z] stable info: [2022-08-25T20:09:53.461Z] ------------------- [2022-08-25T20:09:53.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-25T20:09:53.461Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-25T20:09:53.461Z] Message: update stable to v1.0.239 [2022-08-25T20:09:54.033Z] ------------------- [2022-08-25T20:09:54.033Z] experimental info: [2022-08-25T20:09:54.033Z] ------------------- [2022-08-25T20:09:54.033Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-25T20:09:54.033Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-25T20:09:54.033Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-25T20:09:54.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-08-25T20:09:54.426Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-08-25T20:09:54.469Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-25T20:09:54.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-25T20:09:54.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-25T20:09:54.596Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-25T20:09:54.638Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-25T20:09:54.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-25T20:09:54.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-25T20:09:54.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-25T20:09:54.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-25T20:09:54.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-08-25T20:09:54.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-25T20:09:54.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-25T20:09:54.987Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-25T20:09:55.031Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-25T20:09:55.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-25T20:09:55.107Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-25T20:09:55.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-25T20:09:55.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-25T20:09:55.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-25T20:09:55.280Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-25T20:09:55.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-25T20:09:55.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-25T20:09:55.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-25T20:09:55.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-25T20:09:55.502Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-25T20:09:55.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-461 [Pipeline] echo [2022-08-25T20:09:55.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-461 [Pipeline] echo [2022-08-25T20:09:55.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-461 [Pipeline] echo [2022-08-25T20:09:55.664Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36831bfcbd46d454350d11245b88054469609ef9 [Pipeline] echo [2022-08-25T20:09:55.706Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36831bf [Pipeline] echo [2022-08-25T20:09:55.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T20:09:55.858Z] provisioning config files... [2022-08-25T20:09:55.874Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-461@tmp/config6621145658929563490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:09:56.235Z] ---> docker-login.sh [2022-08-25T20:09:56.235Z] nexus3.edgexfoundry.org:10001 [2022-08-25T20:09:56.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:09:56.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:09:56.768Z] Configure a credential helper to remove this warning. See [2022-08-25T20:09:56.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:09:56.768Z] [2022-08-25T20:09:56.768Z] Login Succeeded [2022-08-25T20:09:56.768Z] nexus3.edgexfoundry.org:10002 [2022-08-25T20:09:56.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:09:56.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:09:56.768Z] Configure a credential helper to remove this warning. See [2022-08-25T20:09:56.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:09:56.768Z] [2022-08-25T20:09:56.768Z] Login Succeeded [2022-08-25T20:09:56.768Z] nexus3.edgexfoundry.org:10003 [2022-08-25T20:09:57.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:09:57.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:09:57.030Z] Configure a credential helper to remove this warning. See [2022-08-25T20:09:57.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:09:57.030Z] [2022-08-25T20:09:57.030Z] Login Succeeded [2022-08-25T20:09:57.030Z] nexus3.edgexfoundry.org:10004 [2022-08-25T20:09:57.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:09:57.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:09:57.030Z] Configure a credential helper to remove this warning. See [2022-08-25T20:09:57.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:09:57.030Z] [2022-08-25T20:09:57.030Z] Login Succeeded [2022-08-25T20:09:57.030Z] docker.io [2022-08-25T20:09:57.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:09:57.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:09:57.552Z] Configure a credential helper to remove this warning. See [2022-08-25T20:09:57.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:09:57.552Z] [2022-08-25T20:09:57.552Z] Login Succeeded [2022-08-25T20:09:57.552Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T20:09:57.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-25T20:09:58.209Z] + git rev-list -1 --merges 36831bfcbd46d454350d11245b88054469609ef9~1..36831bfcbd46d454350d11245b88054469609ef9 [Pipeline] echo [2022-08-25T20:09:58.259Z] -----------> git rev-list -1 --merges 36831bfcbd46d454350d11245b88054469609ef9~1..36831bfcbd46d454350d11245b88054469609ef9 36831bfcbd46d454350d11245b88054469609ef9 [false] [Pipeline] sh [2022-08-25T20:09:58.577Z] + git log --format=format:%s -1 36831bfcbd46d454350d11245b88054469609ef9 [Pipeline] echo [2022-08-25T20:09:58.612Z] ========================================================= [2022-08-25T20:09:58.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-25T20:09:58.612Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T20:09:59.049Z] + git log --format=format:%s -1 36831bfcbd46d454350d11245b88054469609ef9 [Pipeline] echo [2022-08-25T20:09:59.080Z] [semverPrep] GIT_COMMIT: 36831bfcbd46d454350d11245b88054469609ef9, Commit Message: fix: Restore ClientId values chnaged in previous chnage [Pipeline] echo [2022-08-25T20:09:59.107Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-25T20:09:59.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-25T20:09:59.500Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-25T20:09:59.500Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-25T20:09:59.500Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-25T20:09:59.500Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-25T20:09:59.500Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-25T20:09:59.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:09:59.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T20:09:59.989Z] [2022-08-25T20:09:59.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:10:00.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T20:10:00.369Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-25T20:10:00.369Z] b85a868b505f: Pulling fs layer [2022-08-25T20:10:00.369Z] e2be974225ed: Pulling fs layer [2022-08-25T20:10:00.369Z] 339a4e72a1f5: Pulling fs layer [2022-08-25T20:10:00.369Z] 988bab9f4d93: Pulling fs layer [2022-08-25T20:10:00.369Z] 1469e6f7b9e6: Pulling fs layer [2022-08-25T20:10:00.369Z] eaf3925da568: Pulling fs layer [2022-08-25T20:10:00.369Z] bab4dde63d76: Pulling fs layer [2022-08-25T20:10:00.369Z] bde34c3a00c8: Pulling fs layer [2022-08-25T20:10:00.369Z] b352a97aabf1: Pulling fs layer [2022-08-25T20:10:00.369Z] 4872d77fe225: Pulling fs layer [2022-08-25T20:10:00.369Z] 5851b861e8e6: Pulling fs layer [2022-08-25T20:10:00.369Z] 1469e6f7b9e6: Waiting [2022-08-25T20:10:00.369Z] eaf3925da568: Waiting [2022-08-25T20:10:00.369Z] bab4dde63d76: Waiting [2022-08-25T20:10:00.369Z] bde34c3a00c8: Waiting [2022-08-25T20:10:00.369Z] b352a97aabf1: Waiting [2022-08-25T20:10:00.369Z] 4872d77fe225: Waiting [2022-08-25T20:10:00.369Z] 988bab9f4d93: Waiting [2022-08-25T20:10:00.369Z] 5851b861e8e6: Waiting [2022-08-25T20:10:00.369Z] e2be974225ed: Download complete [2022-08-25T20:10:00.369Z] 988bab9f4d93: Verifying Checksum [2022-08-25T20:10:00.369Z] 988bab9f4d93: Download complete [2022-08-25T20:10:00.369Z] 1469e6f7b9e6: Verifying Checksum [2022-08-25T20:10:00.369Z] 1469e6f7b9e6: Download complete [2022-08-25T20:10:00.631Z] eaf3925da568: Verifying Checksum [2022-08-25T20:10:00.631Z] eaf3925da568: Download complete [2022-08-25T20:10:00.631Z] 339a4e72a1f5: Verifying Checksum [2022-08-25T20:10:00.631Z] 339a4e72a1f5: Download complete [2022-08-25T20:10:00.631Z] bde34c3a00c8: Verifying Checksum [2022-08-25T20:10:00.631Z] bde34c3a00c8: Download complete [2022-08-25T20:10:00.631Z] b352a97aabf1: Download complete [2022-08-25T20:10:00.631Z] 4872d77fe225: Download complete [2022-08-25T20:10:00.631Z] 5851b861e8e6: Verifying Checksum [2022-08-25T20:10:00.631Z] b85a868b505f: Verifying Checksum [2022-08-25T20:10:00.631Z] b85a868b505f: Download complete [2022-08-25T20:10:00.889Z] bab4dde63d76: Verifying Checksum [2022-08-25T20:10:00.890Z] bab4dde63d76: Download complete [2022-08-25T20:10:01.827Z] b85a868b505f: Pull complete [2022-08-25T20:10:01.827Z] e2be974225ed: Pull complete [2022-08-25T20:10:02.398Z] 339a4e72a1f5: Pull complete [2022-08-25T20:10:02.398Z] 988bab9f4d93: Pull complete [2022-08-25T20:10:02.660Z] 1469e6f7b9e6: Pull complete [2022-08-25T20:10:02.660Z] eaf3925da568: Pull complete [2022-08-25T20:10:04.615Z] bab4dde63d76: Pull complete [2022-08-25T20:10:04.615Z] bde34c3a00c8: Pull complete [2022-08-25T20:10:04.615Z] b352a97aabf1: Pull complete [2022-08-25T20:10:04.879Z] 4872d77fe225: Pull complete [2022-08-25T20:10:04.879Z] 5851b861e8e6: Pull complete [2022-08-25T20:10:04.879Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-25T20:10:04.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T20:10:04.879Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:10:05.109Z] prd-ubuntu20.04-docker-8c-8g-23574 does not seem to be running inside a container [2022-08-25T20:10:05.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-461 -v /w/workspace/_app-service-configurable_PR-461:/w/workspace/_app-service-configurable_PR-461:rw,z -v /w/workspace/_app-service-configurable_PR-461@tmp:/w/workspace/_app-service-configurable_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-25T20:10:07.016Z] $ docker top 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 -eo pid,comm [2022-08-25T20:10:07.081Z] 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). [2022-08-25T20:10:07.081Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-25T20:10:07.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-25T20:10:07.201Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-25T20:10:07.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-25T20:10:07.337Z] $ docker exec 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 ssh-agent [2022-08-25T20:10:07.461Z] SSH_AUTH_SOCK=/tmp/ssh-VJ6vHYliM5jg/agent.33 [2022-08-25T20:10:07.461Z] SSH_AGENT_PID=40 [2022-08-25T20:10:07.467Z] Running ssh-add (command line suppressed) [2022-08-25T20:10:07.587Z] Identity added: /w/workspace/_app-service-configurable_PR-461@tmp/private_key_8590261555646809607.key (/w/workspace/_app-service-configurable_PR-461@tmp/private_key_8590261555646809607.key) [2022-08-25T20:10:07.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-25T20:10:07.930Z] + git tag --points-at HEAD [Pipeline] } [2022-08-25T20:10:07.958Z] $ docker exec --env ******** --env ******** 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 ssh-agent -k [2022-08-25T20:10:08.088Z] unset SSH_AUTH_SOCK; [2022-08-25T20:10:08.088Z] unset SSH_AGENT_PID; [2022-08-25T20:10:08.088Z] echo Agent pid 40 killed; [2022-08-25T20:10:08.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-25T20:10:08.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-25T20:10:08.188Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-25T20:10:08.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-25T20:10:08.324Z] $ docker exec 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 ssh-agent [2022-08-25T20:10:08.440Z] SSH_AUTH_SOCK=/tmp/ssh-ZNCo6FhyNm3C/agent.73 [2022-08-25T20:10:08.440Z] SSH_AGENT_PID=79 [2022-08-25T20:10:08.446Z] Running ssh-add (command line suppressed) [2022-08-25T20:10:08.558Z] Identity added: /w/workspace/_app-service-configurable_PR-461@tmp/private_key_5261725598999513250.key (/w/workspace/_app-service-configurable_PR-461@tmp/private_key_5261725598999513250.key) [2022-08-25T20:10:08.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-25T20:10:08.911Z] + git semver init [2022-08-25T20:10:09.172Z] 2022-08-25 20:10:09,137 [run_init] DEBUG init version:0.0.0 force:False [2022-08-25T20:10:09.172Z] 2022-08-25 20:10:09,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-461/.semver [2022-08-25T20:10:09.172Z] 2022-08-25 20:10:09,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-461/.semver [2022-08-25T20:10:09.172Z] 2022-08-25 20:10:09,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-461/.semver'], cwd=/w/workspace/_app-service-configurable_PR-461, universal_newlines=False, shell=None, istream=None) [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,858 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-461/.git/info/exclude [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,859 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-461/.semver/PR-461 with force:False [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,859 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-461/.semver/PR-461 [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,863 [execute] INFO git cat-file --batch-check [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,864 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,870 [execute] INFO git cat-file --batch [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2022-08-25T20:10:10.116Z] 2022-08-25 20:10:09,875 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-461/.semver/PR-461 [2022-08-25T20:10:10.116Z] 0.0.0 [Pipeline] } [2022-08-25T20:10:10.147Z] $ docker exec --env ******** --env ******** 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 ssh-agent -k [2022-08-25T20:10:10.267Z] unset SSH_AUTH_SOCK; [2022-08-25T20:10:10.267Z] unset SSH_AGENT_PID; [2022-08-25T20:10:10.267Z] echo Agent pid 79 killed; [2022-08-25T20:10:10.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-25T20:10:10.719Z] + git semver [Pipeline] } [2022-08-25T20:10:11.009Z] $ docker stop --time=1 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 [2022-08-25T20:10:12.322Z] $ docker rm -f 741709bec922bf728785deb56ed9e46bea4fde2472ca3501e7c08719ea5240d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T20:10:12.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-25T20:10:13.061Z] Stashed 1 file(s) [Pipeline] echo [2022-08-25T20:10:13.078Z] [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 [2022-08-25T20:10:13.652Z] provisioning config files... [2022-08-25T20:10:13.664Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-461@tmp/config3452708212565312488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:10:14.019Z] ---> docker-login.sh [2022-08-25T20:10:14.019Z] nexus3.edgexfoundry.org:10001 [2022-08-25T20:10:14.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:10:14.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:10:14.019Z] Configure a credential helper to remove this warning. See [2022-08-25T20:10:14.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:10:14.019Z] [2022-08-25T20:10:14.019Z] Login Succeeded [2022-08-25T20:10:14.019Z] nexus3.edgexfoundry.org:10002 [2022-08-25T20:10:14.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:10:14.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:10:14.280Z] Configure a credential helper to remove this warning. See [2022-08-25T20:10:14.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:10:14.280Z] [2022-08-25T20:10:14.280Z] Login Succeeded [2022-08-25T20:10:14.280Z] nexus3.edgexfoundry.org:10003 [2022-08-25T20:10:14.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:10:14.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:10:14.280Z] Configure a credential helper to remove this warning. See [2022-08-25T20:10:14.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:10:14.280Z] [2022-08-25T20:10:14.280Z] Login Succeeded [2022-08-25T20:10:14.280Z] nexus3.edgexfoundry.org:10004 [2022-08-25T20:10:14.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:10:14.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:10:14.544Z] Configure a credential helper to remove this warning. See [2022-08-25T20:10:14.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:10:14.544Z] [2022-08-25T20:10:14.544Z] Login Succeeded [2022-08-25T20:10:14.544Z] docker.io [2022-08-25T20:10:14.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:10:14.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:10:14.805Z] Configure a credential helper to remove this warning. See [2022-08-25T20:10:14.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:10:14.805Z] [2022-08-25T20:10:14.805Z] Login Succeeded [2022-08-25T20:10:14.805Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T20:10:14.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-25T20:10:15.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T20:10:15.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T20:10:15.112Z] ========================================================= [2022-08-25T20:10:15.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-25T20:10:15.112Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:10:15.594Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-25T20:10:15.594Z] Sending build context to Docker daemon 3.138MB [2022-08-25T20:10:15.594Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T20:10:15.594Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-25T20:10:15.594Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-25T20:10:15.594Z] 2408cc74d12b: Pulling fs layer [2022-08-25T20:10:15.594Z] ea60b727a1ce: Pulling fs layer [2022-08-25T20:10:15.594Z] 30c4a7721957: Pulling fs layer [2022-08-25T20:10:15.594Z] 370296b7ddb6: Pulling fs layer [2022-08-25T20:10:15.594Z] 7c6cee850709: Pulling fs layer [2022-08-25T20:10:15.594Z] 39a5fcdaea64: Pulling fs layer [2022-08-25T20:10:15.594Z] d94ebbe4e438: Pulling fs layer [2022-08-25T20:10:15.594Z] bcfd1f05c69d: Pulling fs layer [2022-08-25T20:10:15.594Z] 59ccb84bbe0f: Pulling fs layer [2022-08-25T20:10:15.594Z] 7c6cee850709: Waiting [2022-08-25T20:10:15.594Z] 39a5fcdaea64: Waiting [2022-08-25T20:10:15.594Z] d94ebbe4e438: Waiting [2022-08-25T20:10:15.594Z] bcfd1f05c69d: Waiting [2022-08-25T20:10:15.594Z] 59ccb84bbe0f: Waiting [2022-08-25T20:10:15.594Z] 370296b7ddb6: Waiting [2022-08-25T20:10:15.594Z] 30c4a7721957: Download complete [2022-08-25T20:10:15.594Z] ea60b727a1ce: Verifying Checksum [2022-08-25T20:10:15.594Z] ea60b727a1ce: Download complete [2022-08-25T20:10:15.594Z] 7c6cee850709: Verifying Checksum [2022-08-25T20:10:15.594Z] 7c6cee850709: Download complete [2022-08-25T20:10:15.594Z] 39a5fcdaea64: Verifying Checksum [2022-08-25T20:10:15.594Z] 39a5fcdaea64: Download complete [2022-08-25T20:10:15.594Z] 2408cc74d12b: Verifying Checksum [2022-08-25T20:10:15.594Z] 2408cc74d12b: Download complete [2022-08-25T20:10:15.855Z] d94ebbe4e438: Verifying Checksum [2022-08-25T20:10:15.855Z] d94ebbe4e438: Download complete [2022-08-25T20:10:15.855Z] 2408cc74d12b: Pull complete [2022-08-25T20:10:16.114Z] ea60b727a1ce: Pull complete [2022-08-25T20:10:16.114Z] 30c4a7721957: Pull complete [2022-08-25T20:10:16.114Z] 59ccb84bbe0f: Verifying Checksum [2022-08-25T20:10:16.114Z] 59ccb84bbe0f: Download complete [2022-08-25T20:10:16.375Z] 370296b7ddb6: Verifying Checksum [2022-08-25T20:10:16.375Z] 370296b7ddb6: Download complete [2022-08-25T20:10:16.637Z] bcfd1f05c69d: Verifying Checksum [2022-08-25T20:10:16.637Z] bcfd1f05c69d: Download complete [2022-08-25T20:10:20.839Z] 370296b7ddb6: Pull complete [2022-08-25T20:10:20.839Z] 7c6cee850709: Pull complete [2022-08-25T20:10:20.839Z] 39a5fcdaea64: Pull complete [2022-08-25T20:10:20.839Z] d94ebbe4e438: Pull complete [2022-08-25T20:10:23.383Z] bcfd1f05c69d: Pull complete [2022-08-25T20:10:23.643Z] 59ccb84bbe0f: Pull complete [2022-08-25T20:10:23.643Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-25T20:10:23.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-25T20:10:23.643Z] ---> a4fb48ad2a94 [2022-08-25T20:10:23.643Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T20:10:26.942Z] ---> Running in 0da3e53748ed [2022-08-25T20:10:26.942Z] Removing intermediate container 0da3e53748ed [2022-08-25T20:10:26.942Z] ---> ecaa01f940ce [2022-08-25T20:10:26.942Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T20:10:26.942Z] ---> Running in b6c9d308fa4e [2022-08-25T20:10:26.942Z] Removing intermediate container b6c9d308fa4e [2022-08-25T20:10:26.942Z] ---> 4e8bfe5009a4 [2022-08-25T20:10:26.942Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-08-25T20:10:26.942Z] ---> Running in 2d9cd3d1ee1e [2022-08-25T20:10:26.942Z] Removing intermediate container 2d9cd3d1ee1e [2022-08-25T20:10:26.942Z] ---> 189117b59c0c [2022-08-25T20:10:26.942Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:10:26.942Z] ---> Running in 4cb4ea5c210f [2022-08-25T20:10:26.942Z] Removing intermediate container 4cb4ea5c210f [2022-08-25T20:10:26.942Z] ---> a73ebe9f40de [2022-08-25T20:10:26.942Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T20:10:26.942Z] ---> Running in 3086c083fcad [2022-08-25T20:10:27.511Z] Removing intermediate container 3086c083fcad [2022-08-25T20:10:27.511Z] ---> b226219f2dfa [2022-08-25T20:10:27.511Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T20:10:27.511Z] ---> Running in f9d7da0ed285 [2022-08-25T20:10:27.771Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-25T20:10:28.482Z] Still waiting to schedule task [2022-08-25T20:10:28.482Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-25T20:10:28.727Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-25T20:10:28.990Z] OK: 211 MiB in 51 packages [2022-08-25T20:10:29.257Z] Removing intermediate container f9d7da0ed285 [2022-08-25T20:10:29.257Z] ---> 8d01c5715bf5 [2022-08-25T20:10:29.257Z] Step 9/14 : WORKDIR /app [2022-08-25T20:10:29.257Z] ---> Running in 8d27c677d93a [2022-08-25T20:10:29.257Z] Removing intermediate container 8d27c677d93a [2022-08-25T20:10:29.257Z] ---> a771cca70bdc [2022-08-25T20:10:29.257Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-25T20:10:29.518Z] ---> 2e8263fb4c04 [2022-08-25T20:10:29.518Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T20:10:29.518Z] ---> Running in 6f0f3083ba08 [2022-08-25T20:10:51.508Z] Removing intermediate container 6f0f3083ba08 [2022-08-25T20:10:51.508Z] ---> 419c5e69dddf [2022-08-25T20:10:51.508Z] Step 12/14 : COPY . . [2022-08-25T20:10:51.508Z] ---> df2fd2c48d7f [2022-08-25T20:10:51.508Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-25T20:10:51.508Z] ---> Running in 66696694cbdc [2022-08-25T20:10:51.508Z] Removing intermediate container 66696694cbdc [2022-08-25T20:10:51.508Z] ---> 44e21c43feec [2022-08-25T20:10:51.508Z] Step 14/14 : RUN $MAKE [2022-08-25T20:10:51.508Z] ---> Running in 3bf3263666fd [2022-08-25T20:10:51.508Z] noop [2022-08-25T20:10:51.508Z] Removing intermediate container 3bf3263666fd [2022-08-25T20:10:51.508Z] ---> 94660895ee01 [2022-08-25T20:10:51.508Z] Successfully built 94660895ee01 [2022-08-25T20:10:51.508Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:10:51.956Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-25T20:10:51.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:10:52.116Z] prd-ubuntu20.04-docker-8c-8g-23574 does not seem to be running inside a container [2022-08-25T20:10:52.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-461 -v /w/workspace/_app-service-configurable_PR-461:/w/workspace/_app-service-configurable_PR-461:rw,z -v /w/workspace/_app-service-configurable_PR-461@tmp:/w/workspace/_app-service-configurable_PR-461@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 ******** ci-base-image-x86_64 cat [2022-08-25T20:10:52.562Z] $ docker top e01718c77763fab4b2d1bda7805c177ad6849ec4a2838ca963e0d16e9c643520 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T20:10:52.971Z] + go version [2022-08-25T20:10:52.971Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-25T20:10:53.006Z] $ docker stop --time=1 e01718c77763fab4b2d1bda7805c177ad6849ec4a2838ca963e0d16e9c643520 [2022-08-25T20:10:54.281Z] $ docker rm -f e01718c77763fab4b2d1bda7805c177ad6849ec4a2838ca963e0d16e9c643520 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:10:55.000Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-25T20:10:55.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:10:55.166Z] prd-ubuntu20.04-docker-8c-8g-23574 does not seem to be running inside a container [2022-08-25T20:10:55.216Z] $ 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-461 -v /w/workspace/_app-service-configurable_PR-461:/w/workspace/_app-service-configurable_PR-461:rw,z -v /w/workspace/_app-service-configurable_PR-461@tmp:/w/workspace/_app-service-configurable_PR-461@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 ******** ci-base-image-x86_64 cat [2022-08-25T20:10:55.601Z] $ docker top 526441d4211544b0851a8c3e2f3db8c193d2c40a56ff803b9328a0ebb0cc627b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T20:10:56.090Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-461 [Pipeline] fileExists [Pipeline] sh [2022-08-25T20:10:56.439Z] + make test [2022-08-25T20:10:56.439Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-25T20:11:06.435Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-25T20:11:06.435Z] CGO_ENABLED=1 go vet ./... [2022-08-25T20:11:10.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-25T20:11:10.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-25T20:11:10.667Z] ./bin/test-attribution-txt.sh [2022-08-25T20:11:10.667Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-25T20:11:10.667Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-25T20:11:10.667Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-25T20:11:10.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-25T20:11:10.741Z] $ docker stop --time=1 526441d4211544b0851a8c3e2f3db8c193d2c40a56ff803b9328a0ebb0cc627b [2022-08-25T20:11:12.485Z] $ docker rm -f 526441d4211544b0851a8c3e2f3db8c193d2c40a56ff803b9328a0ebb0cc627b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T20:11:12.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-25T20:11:13.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-25T20:11:13.719Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-25T20:11:14.041Z] + ls -al . [2022-08-25T20:11:14.042Z] total 172 [2022-08-25T20:11:14.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 20:10 . [2022-08-25T20:11:14.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 20:09 .. [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 20:09 .dockerignore [2022-08-25T20:11:14.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 20:10 .git [2022-08-25T20:11:14.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 20:09 .github [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 20:09 .gitignore [2022-08-25T20:11:14.042Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 20:10 .semver [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 20:09 Attribution.txt [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 20:09 CHANGELOG.md [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 2146 Aug 25 20:09 Dockerfile [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 20:09 GOVERNANCE.md [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 20:09 Jenkinsfile [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 20:09 LICENSE [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 20:09 OWNERS.md [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 4025 Aug 25 20:09 README.md [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 20:10 VERSION [2022-08-25T20:11:14.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 20:09 bin [2022-08-25T20:11:14.042Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 20:10 coverage.out [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 20:09 go.mod [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 20:09 go.sum [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 20:09 main.go [2022-08-25T20:11:14.042Z] -rw-rw-r-- 1 jenkins jenkins 2046 Aug 25 20:09 makefile [2022-08-25T20:11:14.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 20:09 res [2022-08-25T20:11:14.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 20:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:11:14.425Z] + 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=36831bfcbd46d454350d11245b88054469609ef9 --label arch=amd64 --label version=0.0.0 . [2022-08-25T20:11:14.425Z] Sending build context to Docker daemon 3.139MB [2022-08-25T20:11:14.425Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T20:11:14.425Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-25T20:11:14.425Z] ---> 94660895ee01 [2022-08-25T20:11:14.425Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T20:11:14.425Z] ---> Running in 82fa397a4db0 [2022-08-25T20:11:14.686Z] Removing intermediate container 82fa397a4db0 [2022-08-25T20:11:14.686Z] ---> 39049b175e56 [2022-08-25T20:11:14.686Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T20:11:14.686Z] ---> Running in 6ae32446d550 [2022-08-25T20:11:14.686Z] Removing intermediate container 6ae32446d550 [2022-08-25T20:11:14.686Z] ---> 199f7e9c52e9 [2022-08-25T20:11:14.686Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-08-25T20:11:14.686Z] ---> Running in dbbe4f5d6ef0 [2022-08-25T20:11:14.686Z] Removing intermediate container dbbe4f5d6ef0 [2022-08-25T20:11:14.686Z] ---> 751bbafa8ad0 [2022-08-25T20:11:14.686Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:11:14.686Z] ---> Running in c9a3d3bcc27e [2022-08-25T20:11:14.949Z] Removing intermediate container c9a3d3bcc27e [2022-08-25T20:11:14.949Z] ---> 188e0918c1da [2022-08-25T20:11:14.949Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T20:11:14.949Z] ---> Running in 389362c7b309 [2022-08-25T20:11:15.519Z] Removing intermediate container 389362c7b309 [2022-08-25T20:11:15.519Z] ---> 39e8d33f4282 [2022-08-25T20:11:15.519Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T20:11:15.519Z] ---> Running in 485251a65fe4 [2022-08-25T20:11:15.780Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-25T20:11:16.728Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-25T20:11:16.989Z] OK: 211 MiB in 51 packages [2022-08-25T20:11:17.250Z] Removing intermediate container 485251a65fe4 [2022-08-25T20:11:17.250Z] ---> ea1d22361027 [2022-08-25T20:11:17.250Z] Step 9/28 : WORKDIR /app [2022-08-25T20:11:17.250Z] ---> Running in 4e3c6f8f19e5 [2022-08-25T20:11:17.250Z] Removing intermediate container 4e3c6f8f19e5 [2022-08-25T20:11:17.250Z] ---> 4a7732e75c1a [2022-08-25T20:11:17.250Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-25T20:11:17.511Z] ---> 586f28ad6342 [2022-08-25T20:11:17.511Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T20:11:17.511Z] ---> Running in 12af6e37bf20 [2022-08-25T20:11:18.083Z] Removing intermediate container 12af6e37bf20 [2022-08-25T20:11:18.083Z] ---> e855f17c39c3 [2022-08-25T20:11:18.083Z] Step 12/28 : COPY . . [2022-08-25T20:11:18.357Z] ---> d69c017d643a [2022-08-25T20:11:18.357Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-25T20:11:18.357Z] ---> Running in 3dfd96fbd39d [2022-08-25T20:11:18.620Z] Removing intermediate container 3dfd96fbd39d [2022-08-25T20:11:18.620Z] ---> cfdffe4b41b6 [2022-08-25T20:11:18.620Z] Step 14/28 : RUN $MAKE [2022-08-25T20:11:18.620Z] ---> Running in b42c4cc9fc95 [2022-08-25T20:11:18.881Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-25T20:11:40.861Z] Removing intermediate container b42c4cc9fc95 [2022-08-25T20:11:40.861Z] ---> e04615420bba [2022-08-25T20:11:40.861Z] Step 15/28 : FROM alpine:3.16 [2022-08-25T20:11:40.861Z] 3.16: Pulling from library/alpine [2022-08-25T20:11:41.123Z] 213ec9aee27d: Pulling fs layer [2022-08-25T20:11:41.384Z] 213ec9aee27d: Verifying Checksum [2022-08-25T20:11:41.384Z] 213ec9aee27d: Download complete [2022-08-25T20:11:41.384Z] 213ec9aee27d: Pull complete [2022-08-25T20:11:41.384Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-25T20:11:41.384Z] Status: Downloaded newer image for alpine:3.16 [2022-08-25T20:11:41.384Z] ---> 9c6f07244728 [2022-08-25T20:11:41.384Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:11:41.647Z] ---> Running in 8dbe3e770c13 [2022-08-25T20:11:41.647Z] Removing intermediate container 8dbe3e770c13 [2022-08-25T20:11:41.647Z] ---> 99a4e13c9217 [2022-08-25T20:11:41.647Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-25T20:11:41.647Z] ---> Running in 4aebdaa42b78 [2022-08-25T20:11:41.647Z] Removing intermediate container 4aebdaa42b78 [2022-08-25T20:11:41.647Z] ---> 3c7a28b51507 [2022-08-25T20:11:41.647Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-25T20:11:41.647Z] ---> Running in 59d7b83d0be1 [2022-08-25T20:11:41.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-25T20:11:42.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-25T20:11:42.432Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-25T20:11:42.432Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-25T20:11:42.432Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-25T20:11:42.432Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-25T20:11:42.432Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-25T20:11:42.432Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-25T20:11:42.432Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-25T20:11:42.432Z] Executing busybox-1.35.0-r17.trigger [2022-08-25T20:11:42.432Z] Executing ca-certificates-20220614-r0.trigger [2022-08-25T20:11:42.432Z] OK: 9 MiB in 21 packages [2022-08-25T20:11:43.004Z] Removing intermediate container 59d7b83d0be1 [2022-08-25T20:11:43.004Z] ---> 414ba5fb332c [2022-08-25T20:11:43.004Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-25T20:11:43.004Z] ---> 1832b6c790da [2022-08-25T20:11:43.004Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-25T20:11:43.264Z] ---> 2ea3c474df5a [2022-08-25T20:11:43.264Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-08-25T20:11:43.523Z] ---> e9cfc2fcead9 [2022-08-25T20:11:43.523Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-25T20:11:44.093Z] ---> b180acd4075c [2022-08-25T20:11:44.093Z] Step 23/28 : EXPOSE 48095 [2022-08-25T20:11:44.093Z] ---> Running in a0cbb70e934a [2022-08-25T20:11:44.093Z] Removing intermediate container a0cbb70e934a [2022-08-25T20:11:44.093Z] ---> 7f834aa622b6 [2022-08-25T20:11:44.093Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-08-25T20:11:44.093Z] ---> Running in c2ffac07a8bb [2022-08-25T20:11:44.354Z] Removing intermediate container c2ffac07a8bb [2022-08-25T20:11:44.354Z] ---> 1d1596c2a558 [2022-08-25T20:11:44.354Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-25T20:11:44.354Z] ---> Running in 28c8cd1b6daf [2022-08-25T20:11:44.354Z] Removing intermediate container 28c8cd1b6daf [2022-08-25T20:11:44.354Z] ---> bb0f199e8137 [2022-08-25T20:11:44.354Z] Step 26/28 : LABEL arch=amd64 [2022-08-25T20:11:44.354Z] ---> Running in 726662cc06be [2022-08-25T20:11:44.354Z] Removing intermediate container 726662cc06be [2022-08-25T20:11:44.354Z] ---> 518c93b4b0ca [2022-08-25T20:11:44.354Z] Step 27/28 : LABEL git_sha=36831bfcbd46d454350d11245b88054469609ef9 [2022-08-25T20:11:44.619Z] ---> Running in 9ebba9abffe7 [2022-08-25T20:11:44.619Z] Removing intermediate container 9ebba9abffe7 [2022-08-25T20:11:44.619Z] ---> b2ab7ef949f8 [2022-08-25T20:11:44.619Z] Step 28/28 : LABEL version=0.0.0 [2022-08-25T20:11:44.619Z] ---> Running in d637ee651d34 [2022-08-25T20:11:44.619Z] Removing intermediate container d637ee651d34 [2022-08-25T20:11:44.619Z] ---> 60653302488c [2022-08-25T20:11:44.619Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-25T20:11:44.619Z] Successfully built 60653302488c [2022-08-25T20:11:44.619Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:11:45.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T20:11:45.500Z] [2022-08-25T20:11:45.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:11:45.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T20:11:45.878Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-25T20:11:45.878Z] 5eb5b503b376: Pulling fs layer [2022-08-25T20:11:45.878Z] 5c69ac0246d0: Pulling fs layer [2022-08-25T20:11:45.878Z] ec43610c2a17: Pulling fs layer [2022-08-25T20:11:45.878Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-25T20:11:45.878Z] 33b1e0a273af: Pulling fs layer [2022-08-25T20:11:45.878Z] 5d3b04190fa2: Pulling fs layer [2022-08-25T20:11:45.878Z] 2f39f015ded8: Pulling fs layer [2022-08-25T20:11:45.878Z] 33b1e0a273af: Waiting [2022-08-25T20:11:45.878Z] 5d3b04190fa2: Waiting [2022-08-25T20:11:45.878Z] 3a2ae6a8a46f: Waiting [2022-08-25T20:11:45.878Z] 2f39f015ded8: Waiting [2022-08-25T20:11:45.879Z] 5c69ac0246d0: Download complete [2022-08-25T20:11:45.879Z] 3a2ae6a8a46f: Download complete [2022-08-25T20:11:46.139Z] 33b1e0a273af: Verifying Checksum [2022-08-25T20:11:46.139Z] 33b1e0a273af: Download complete [2022-08-25T20:11:46.139Z] ec43610c2a17: Verifying Checksum [2022-08-25T20:11:46.139Z] ec43610c2a17: Download complete [2022-08-25T20:11:46.139Z] 5d3b04190fa2: Verifying Checksum [2022-08-25T20:11:46.139Z] 5d3b04190fa2: Download complete [2022-08-25T20:11:46.139Z] 5eb5b503b376: Verifying Checksum [2022-08-25T20:11:46.139Z] 5eb5b503b376: Download complete [2022-08-25T20:11:46.711Z] 2f39f015ded8: Download complete [2022-08-25T20:11:47.655Z] 5eb5b503b376: Pull complete [2022-08-25T20:11:47.655Z] 5c69ac0246d0: Pull complete [2022-08-25T20:11:48.227Z] ec43610c2a17: Pull complete [2022-08-25T20:11:48.227Z] 3a2ae6a8a46f: Pull complete [2022-08-25T20:11:48.487Z] 33b1e0a273af: Pull complete [2022-08-25T20:11:48.487Z] 5d3b04190fa2: Pull complete [2022-08-25T20:11:53.778Z] 2f39f015ded8: Pull complete [2022-08-25T20:11:53.778Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-25T20:11:53.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T20:11:53.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:11:54.024Z] prd-ubuntu20.04-docker-8c-8g-23574 does not seem to be running inside a container [2022-08-25T20:11:54.067Z] $ 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-461 -v /w/workspace/_app-service-configurable_PR-461:/w/workspace/_app-service-configurable_PR-461:rw,z -v /w/workspace/_app-service-configurable_PR-461@tmp:/w/workspace/_app-service-configurable_PR-461@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 [2022-08-25T20:11:56.181Z] $ docker top 3331efd2073e8e66631e9c39700ea5a02a9e6eb4f144e9c4a520ee6bfd39caf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:11:56.672Z] ---> job-cost.sh [2022-08-25T20:11:56.672Z] lf-activate-venv: SKIPPING [2022-08-25T20:11:56.672Z] INFO: No Stack... [2022-08-25T20:11:57.244Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-25T20:11:57.507Z] INFO: Archiving Costs [Pipeline] sh [2022-08-25T20:11:57.824Z] + cat /w/workspace/_app-service-configurable_PR-461/archives/cost.csv [2022-08-25T20:11:57.824Z] + cut -d, -f6 [Pipeline] lock [2022-08-25T20:11:57.867Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [2022-08-25T20:11:57.872Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] did not exist. Created. [2022-08-25T20:11:57.872Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-25T20:11:58.279Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-25T20:11:58.333Z] Stashed 1 file(s) [Pipeline] } [2022-08-25T20:11:58.360Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-25T20:11:58.444Z] $ docker stop --time=1 3331efd2073e8e66631e9c39700ea5a02a9e6eb4f144e9c4a520ee6bfd39caf2 [2022-08-25T20:11:59.609Z] $ docker rm -f 3331efd2073e8e66631e9c39700ea5a02a9e6eb4f144e9c4a520ee6bfd39caf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-25T20:12:07.018Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23576 in /w/workspace/_app-service-configurable_PR-461 [Pipeline] { [Pipeline] ws [2022-08-25T20:12:07.068Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-08-25T20:12:07.158Z] Selected Git installation does not exist. Using Default [2022-08-25T20:12:07.158Z] The recommended git tool is: NONE [2022-08-25T20:12:14.114Z] using credential edgex-jenkins-ssh [2022-08-25T20:12:14.134Z] Cloning the remote Git repository [2022-08-25T20:12:14.211Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T20:12:14.298Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-08-25T20:12:14.389Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T20:12:14.390Z] > git --version # timeout=10 [2022-08-25T20:12:14.411Z] > git --version # 'git version 2.25.1' [2022-08-25T20:12:14.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T20:12:14.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-25T20:12:15.614Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-25T20:12:15.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-25T20:12:15.665Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-25T20:12:15.705Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T20:12:15.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T20:12:15.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-25T20:12:16.272Z] Merging remotes/origin/main commit 47bb9dfdcdb500ccf65829334ffb08f8f26842f6 into PR head commit 36831bfcbd46d454350d11245b88054469609ef9 [2022-08-25T20:12:16.484Z] Merge succeeded, producing 36831bfcbd46d454350d11245b88054469609ef9 [2022-08-25T20:12:16.484Z] Checking out Revision 36831bfcbd46d454350d11245b88054469609ef9 (PR-461) [2022-08-25T20:12:16.292Z] > git config core.sparsecheckout # timeout=10 [2022-08-25T20:12:16.306Z] > git checkout -f 36831bfcbd46d454350d11245b88054469609ef9 # timeout=10 [2022-08-25T20:12:16.391Z] > git remote # timeout=10 [2022-08-25T20:12:16.409Z] > git config --get remote.origin.url # timeout=10 [2022-08-25T20:12:16.431Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T20:12:16.443Z] > git merge 47bb9dfdcdb500ccf65829334ffb08f8f26842f6 # timeout=10 [2022-08-25T20:12:16.469Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-25T20:12:16.491Z] > git config core.sparsecheckout # timeout=10 [2022-08-25T20:12:16.502Z] > git checkout -f 36831bfcbd46d454350d11245b88054469609ef9 # timeout=10 [2022-08-25T20:12:20.679Z] Commit message: "fix: Restore ClientId values chnaged in previous chnage" [2022-08-25T20:12:20.745Z] > git --version # timeout=10 [2022-08-25T20:12:20.756Z] > git --version # 'git version 2.25.1' [2022-08-25T20:12:20.773Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T20:12:21.822Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-25T20:12:21.822Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-25T20:12:21.822Z] Dload Upload Total Spent Left Speed [2022-08-25T20:12:21.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh [2022-08-25T20:12:22.694Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-25T20:12:23.057Z] + sudo tee /etc/docker/daemon.new [2022-08-25T20:12:23.058Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-25T20:12:23.058Z] { [2022-08-25T20:12:23.058Z] "registry-mirrors": [ [2022-08-25T20:12:23.058Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-25T20:12:23.058Z] ], [2022-08-25T20:12:23.058Z] "bip": "10.250.0.254/24", [2022-08-25T20:12:23.058Z] "hosts": [ [2022-08-25T20:12:23.058Z] "tcp://0.0.0.0:5555", [2022-08-25T20:12:23.058Z] "unix:///var/run/docker.sock" [2022-08-25T20:12:23.058Z] ], [2022-08-25T20:12:23.058Z] "mtu": 1458, [2022-08-25T20:12:23.058Z] "selinux-enabled": true, [2022-08-25T20:12:23.058Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-25T20:12:23.058Z] } [Pipeline] sh [2022-08-25T20:12:23.416Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-25T20:12:23.782Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T20:12:42.223Z] provisioning config files... [2022-08-25T20:12:42.250Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1010052163858819763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:12:42.649Z] ---> docker-login.sh [2022-08-25T20:12:42.650Z] nexus3.edgexfoundry.org:10001 [2022-08-25T20:12:43.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:12:43.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:12:43.522Z] Configure a credential helper to remove this warning. See [2022-08-25T20:12:43.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:12:43.522Z] [2022-08-25T20:12:43.522Z] Login Succeeded [2022-08-25T20:12:43.522Z] nexus3.edgexfoundry.org:10002 [2022-08-25T20:12:43.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:12:43.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:12:43.800Z] Configure a credential helper to remove this warning. See [2022-08-25T20:12:43.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:12:43.800Z] [2022-08-25T20:12:43.800Z] Login Succeeded [2022-08-25T20:12:43.800Z] nexus3.edgexfoundry.org:10003 [2022-08-25T20:12:44.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:12:44.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:12:44.404Z] Configure a credential helper to remove this warning. See [2022-08-25T20:12:44.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:12:44.404Z] [2022-08-25T20:12:44.404Z] Login Succeeded [2022-08-25T20:12:44.404Z] nexus3.edgexfoundry.org:10004 [2022-08-25T20:12:44.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:12:44.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:12:44.963Z] Configure a credential helper to remove this warning. See [2022-08-25T20:12:44.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:12:44.963Z] [2022-08-25T20:12:44.963Z] Login Succeeded [2022-08-25T20:12:44.963Z] docker.io [2022-08-25T20:12:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T20:12:45.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T20:12:45.510Z] Configure a credential helper to remove this warning. See [2022-08-25T20:12:45.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T20:12:45.510Z] [2022-08-25T20:12:45.510Z] Login Succeeded [2022-08-25T20:12:45.510Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T20:12:45.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-25T20:12:45.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T20:12:45.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T20:12:45.997Z] ========================================================= [2022-08-25T20:12:45.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-25T20:12:45.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:12:46.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-25T20:12:46.505Z] Sending build context to Docker daemon 205.8kB [2022-08-25T20:12:46.785Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T20:12:46.785Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-25T20:12:47.062Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-25T20:12:47.062Z] b3c136eddcbf: Pulling fs layer [2022-08-25T20:12:47.062Z] c0a3192eca97: Pulling fs layer [2022-08-25T20:12:47.062Z] a050256f5b6f: Pulling fs layer [2022-08-25T20:12:47.062Z] 656be50a0ddc: Pulling fs layer [2022-08-25T20:12:47.062Z] 2bbca73fdf42: Pulling fs layer [2022-08-25T20:12:47.062Z] 46d945488cbd: Pulling fs layer [2022-08-25T20:12:47.062Z] 8a5474983e97: Pulling fs layer [2022-08-25T20:12:47.062Z] 329c88fbcd65: Pulling fs layer [2022-08-25T20:12:47.062Z] 656be50a0ddc: Waiting [2022-08-25T20:12:47.062Z] 2bbca73fdf42: Waiting [2022-08-25T20:12:47.062Z] 46d945488cbd: Waiting [2022-08-25T20:12:47.062Z] 8a5474983e97: Waiting [2022-08-25T20:12:47.062Z] 329c88fbcd65: Waiting [2022-08-25T20:12:47.062Z] a050256f5b6f: Verifying Checksum [2022-08-25T20:12:47.062Z] a050256f5b6f: Download complete [2022-08-25T20:12:47.062Z] c0a3192eca97: Download complete [2022-08-25T20:12:47.062Z] 2bbca73fdf42: Verifying Checksum [2022-08-25T20:12:47.062Z] 2bbca73fdf42: Download complete [2022-08-25T20:12:47.062Z] 46d945488cbd: Verifying Checksum [2022-08-25T20:12:47.062Z] 46d945488cbd: Download complete [2022-08-25T20:12:47.062Z] b3c136eddcbf: Verifying Checksum [2022-08-25T20:12:48.056Z] b3c136eddcbf: Pull complete [2022-08-25T20:12:48.056Z] 329c88fbcd65: Verifying Checksum [2022-08-25T20:12:48.056Z] 329c88fbcd65: Download complete [2022-08-25T20:12:48.698Z] c0a3192eca97: Pull complete [2022-08-25T20:12:48.978Z] a050256f5b6f: Pull complete [2022-08-25T20:12:49.255Z] 8a5474983e97: Verifying Checksum [2022-08-25T20:12:49.255Z] 8a5474983e97: Download complete [2022-08-25T20:12:50.240Z] 656be50a0ddc: Verifying Checksum [2022-08-25T20:12:50.240Z] 656be50a0ddc: Download complete [2022-08-25T20:13:05.371Z] 656be50a0ddc: Pull complete [2022-08-25T20:13:05.371Z] 2bbca73fdf42: Pull complete [2022-08-25T20:13:05.371Z] 46d945488cbd: Pull complete [2022-08-25T20:13:09.703Z] 8a5474983e97: Pull complete [2022-08-25T20:13:12.353Z] 329c88fbcd65: Pull complete [2022-08-25T20:13:12.353Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-25T20:13:12.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-25T20:13:12.353Z] ---> ff4287adb874 [2022-08-25T20:13:12.353Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T20:13:13.802Z] ---> Running in af1196cb0239 [2022-08-25T20:13:14.086Z] Removing intermediate container af1196cb0239 [2022-08-25T20:13:14.086Z] ---> 2302335d6995 [2022-08-25T20:13:14.086Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T20:13:14.362Z] ---> Running in d77a413c499e [2022-08-25T20:13:14.637Z] Removing intermediate container d77a413c499e [2022-08-25T20:13:14.637Z] ---> c972674b903f [2022-08-25T20:13:14.637Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-08-25T20:13:14.637Z] ---> Running in 84977bc26c9c [2022-08-25T20:13:14.919Z] Removing intermediate container 84977bc26c9c [2022-08-25T20:13:14.919Z] ---> efe42f49c060 [2022-08-25T20:13:14.919Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:13:15.203Z] ---> Running in 59256dd604a1 [2022-08-25T20:13:15.482Z] Removing intermediate container 59256dd604a1 [2022-08-25T20:13:15.482Z] ---> 910f635d9d3b [2022-08-25T20:13:15.482Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T20:13:15.759Z] ---> Running in 0a5a5b761df4 [2022-08-25T20:13:18.399Z] Removing intermediate container 0a5a5b761df4 [2022-08-25T20:13:18.399Z] ---> 8e6a08702de4 [2022-08-25T20:13:18.399Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T20:13:18.399Z] ---> Running in fddaa42de867 [2022-08-25T20:13:19.382Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-25T20:13:20.360Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-25T20:13:21.351Z] OK: 221 MiB in 51 packages [2022-08-25T20:13:22.359Z] Removing intermediate container fddaa42de867 [2022-08-25T20:13:22.359Z] ---> 425e0000fce3 [2022-08-25T20:13:22.359Z] Step 9/14 : WORKDIR /app [2022-08-25T20:13:22.359Z] ---> Running in cf8141751712 [2022-08-25T20:13:22.644Z] Removing intermediate container cf8141751712 [2022-08-25T20:13:22.644Z] ---> 2de7e0651cef [2022-08-25T20:13:22.644Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-25T20:13:23.267Z] ---> 4efc19dc97d8 [2022-08-25T20:13:23.267Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T20:13:23.267Z] ---> Running in d75c88be9891 [2022-08-25T20:14:19.853Z] Removing intermediate container d75c88be9891 [2022-08-25T20:14:19.854Z] ---> 89415f34cc92 [2022-08-25T20:14:19.854Z] Step 12/14 : COPY . . [2022-08-25T20:14:19.854Z] ---> 1dbed1cfef82 [2022-08-25T20:14:19.854Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-25T20:14:19.854Z] ---> Running in 028b23238b5b [2022-08-25T20:14:19.854Z] Removing intermediate container 028b23238b5b [2022-08-25T20:14:19.854Z] ---> 2dc91bb41b4c [2022-08-25T20:14:19.854Z] Step 14/14 : RUN $MAKE [2022-08-25T20:14:19.854Z] ---> Running in fd5602aec26e [2022-08-25T20:14:19.854Z] noop [2022-08-25T20:14:19.854Z] Removing intermediate container fd5602aec26e [2022-08-25T20:14:19.854Z] ---> b56226562235 [2022-08-25T20:14:19.854Z] Successfully built b56226562235 [2022-08-25T20:14:19.854Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:14:20.349Z] + docker inspect -f . ci-base-image-arm64 [2022-08-25T20:14:20.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:14:20.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-23576 does not seem to be running inside a container [2022-08-25T20:14:20.784Z] $ 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 [2022-08-25T20:14:22.140Z] $ docker top f77ae333380bb53a65e474cb50150147783120542e56a618fb14ca89989091b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T20:14:23.108Z] + go version [2022-08-25T20:14:23.108Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-25T20:14:23.140Z] $ docker stop --time=1 f77ae333380bb53a65e474cb50150147783120542e56a618fb14ca89989091b0 [2022-08-25T20:14:24.762Z] $ docker rm -f f77ae333380bb53a65e474cb50150147783120542e56a618fb14ca89989091b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:14:25.677Z] + docker inspect -f . ci-base-image-arm64 [2022-08-25T20:14:25.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:14:25.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-23576 does not seem to be running inside a container [2022-08-25T20:14:26.082Z] $ 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 [2022-08-25T20:14:27.358Z] $ docker top 9d8a3d04ccd40f6949837793e51ef4cd0d15e0946fd613bd0943d6bbc63aeee9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T20:14:28.353Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh [2022-08-25T20:14:29.074Z] + make test [2022-08-25T20:14:29.074Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-25T20:15:50.928Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-25T20:15:50.928Z] CGO_ENABLED=1 go vet ./... [2022-08-25T20:16:13.140Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-25T20:16:13.140Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-25T20:16:13.140Z] ./bin/test-attribution-txt.sh [2022-08-25T20:16:13.140Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-25T20:16:13.140Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-25T20:16:13.140Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-25T20:16:13.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-25T20:16:13.208Z] $ docker stop --time=1 9d8a3d04ccd40f6949837793e51ef4cd0d15e0946fd613bd0943d6bbc63aeee9 [2022-08-25T20:16:15.023Z] $ docker rm -f 9d8a3d04ccd40f6949837793e51ef4cd0d15e0946fd613bd0943d6bbc63aeee9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T20:16:16.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-25T20:16:16.127Z] Warning: overwriting stash ‘coverage-report’ [2022-08-25T20:16:16.645Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T20:16:17.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-25T20:16:17.630Z] + ls -al . [2022-08-25T20:16:17.630Z] total 168 [2022-08-25T20:16:17.631Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 20:14 . [2022-08-25T20:16:17.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 20:12 .. [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 20:12 .dockerignore [2022-08-25T20:16:17.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 20:12 .git [2022-08-25T20:16:17.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 20:12 .github [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 20:12 .gitignore [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 20:12 Attribution.txt [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 20:12 CHANGELOG.md [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 2146 Aug 25 20:12 Dockerfile [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 20:12 GOVERNANCE.md [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 20:12 Jenkinsfile [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 20:12 LICENSE [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 20:12 OWNERS.md [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 4025 Aug 25 20:12 README.md [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 20:10 VERSION [2022-08-25T20:16:17.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 20:12 bin [2022-08-25T20:16:17.631Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 20:14 coverage.out [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 20:12 go.mod [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 20:12 go.sum [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 20:12 main.go [2022-08-25T20:16:17.631Z] -rw-rw-r-- 1 jenkins jenkins 2046 Aug 25 20:12 makefile [2022-08-25T20:16:17.631Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 20:12 res [2022-08-25T20:16:17.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 20:12 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:16:18.073Z] + 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=36831bfcbd46d454350d11245b88054469609ef9 --label arch=arm64 --label version=0.0.0 . [2022-08-25T20:16:18.074Z] Sending build context to Docker daemon 206.8kB [2022-08-25T20:16:18.351Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T20:16:18.351Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-25T20:16:18.351Z] ---> b56226562235 [2022-08-25T20:16:18.351Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T20:16:18.625Z] ---> Running in 4ca0eeb9a9e7 [2022-08-25T20:16:18.902Z] Removing intermediate container 4ca0eeb9a9e7 [2022-08-25T20:16:18.902Z] ---> d3235b3e4542 [2022-08-25T20:16:18.902Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T20:16:18.902Z] ---> Running in 49504a7126b6 [2022-08-25T20:16:19.178Z] Removing intermediate container 49504a7126b6 [2022-08-25T20:16:19.178Z] ---> 08dccb61d927 [2022-08-25T20:16:19.178Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-08-25T20:16:19.452Z] ---> Running in b543a5ece8fb [2022-08-25T20:16:19.731Z] Removing intermediate container b543a5ece8fb [2022-08-25T20:16:19.731Z] ---> 56192d691e2b [2022-08-25T20:16:19.731Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:16:19.731Z] ---> Running in 77cd88ad3df0 [2022-08-25T20:16:20.016Z] Removing intermediate container 77cd88ad3df0 [2022-08-25T20:16:20.016Z] ---> 06db57e19343 [2022-08-25T20:16:20.016Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T20:16:20.016Z] ---> Running in 3b7d995be836 [2022-08-25T20:16:22.018Z] Removing intermediate container 3b7d995be836 [2022-08-25T20:16:22.018Z] ---> ab5447d47250 [2022-08-25T20:16:22.018Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T20:16:22.018Z] ---> Running in 4cf3a991b35f [2022-08-25T20:16:23.016Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-25T20:16:24.011Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-25T20:16:25.000Z] OK: 221 MiB in 51 packages [2022-08-25T20:16:25.999Z] Removing intermediate container 4cf3a991b35f [2022-08-25T20:16:25.999Z] ---> 3787cb6f3a9c [2022-08-25T20:16:25.999Z] Step 9/28 : WORKDIR /app [2022-08-25T20:16:25.999Z] ---> Running in 95660e213b63 [2022-08-25T20:16:26.278Z] Removing intermediate container 95660e213b63 [2022-08-25T20:16:26.278Z] ---> 0359c7e2864f [2022-08-25T20:16:26.278Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-25T20:16:26.879Z] ---> 2030f42edd84 [2022-08-25T20:16:26.880Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T20:16:26.880Z] ---> Running in d651c9fb3cc4 [2022-08-25T20:16:28.867Z] Removing intermediate container d651c9fb3cc4 [2022-08-25T20:16:28.867Z] ---> 3c5bcce2bc40 [2022-08-25T20:16:28.867Z] Step 12/28 : COPY . . [2022-08-25T20:16:29.853Z] ---> d1d759baca55 [2022-08-25T20:16:29.853Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-25T20:16:29.853Z] ---> Running in 3dbe653c5043 [2022-08-25T20:16:30.129Z] Removing intermediate container 3dbe653c5043 [2022-08-25T20:16:30.129Z] ---> 6a1dd7de3983 [2022-08-25T20:16:30.129Z] Step 14/28 : RUN $MAKE [2022-08-25T20:16:30.129Z] ---> Running in daa77ef56af1 [2022-08-25T20:16:31.117Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-25T20:18:53.095Z] Removing intermediate container daa77ef56af1 [2022-08-25T20:18:53.095Z] ---> f28cc5c901a2 [2022-08-25T20:18:53.095Z] Step 15/28 : FROM alpine:3.16 [2022-08-25T20:18:53.095Z] 3.16: Pulling from library/alpine [2022-08-25T20:18:53.095Z] 9b18e9b68314: Pulling fs layer [2022-08-25T20:18:53.095Z] 9b18e9b68314: Verifying Checksum [2022-08-25T20:18:53.095Z] 9b18e9b68314: Download complete [2022-08-25T20:18:53.095Z] 9b18e9b68314: Pull complete [2022-08-25T20:18:53.095Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-25T20:18:53.095Z] Status: Downloaded newer image for alpine:3.16 [2022-08-25T20:18:53.095Z] ---> a6215f271958 [2022-08-25T20:18:53.095Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T20:18:53.095Z] ---> Running in 0bb5cdf4adf1 [2022-08-25T20:18:53.095Z] Removing intermediate container 0bb5cdf4adf1 [2022-08-25T20:18:53.095Z] ---> 02b788264910 [2022-08-25T20:18:53.095Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-25T20:18:53.095Z] ---> Running in 022fb3465240 [2022-08-25T20:18:53.095Z] Removing intermediate container 022fb3465240 [2022-08-25T20:18:53.095Z] ---> 1c5685795bbc [2022-08-25T20:18:53.095Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-25T20:18:53.095Z] ---> Running in f35f227e075b [2022-08-25T20:18:53.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-25T20:18:53.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-25T20:18:53.095Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-25T20:18:53.095Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-25T20:18:53.095Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-25T20:18:53.095Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-25T20:18:53.095Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-25T20:18:53.095Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-25T20:18:53.095Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-25T20:18:53.095Z] Executing busybox-1.35.0-r17.trigger [2022-08-25T20:18:53.095Z] Executing ca-certificates-20220614-r0.trigger [2022-08-25T20:18:53.095Z] OK: 9 MiB in 21 packages [2022-08-25T20:18:53.096Z] Removing intermediate container f35f227e075b [2022-08-25T20:18:53.096Z] ---> 9fd40d1d4def [2022-08-25T20:18:53.096Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-25T20:18:53.096Z] ---> dfb13ae62ead [2022-08-25T20:18:53.096Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-25T20:18:53.096Z] ---> 87f681cce0ef [2022-08-25T20:18:53.096Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-08-25T20:18:53.096Z] ---> bd91cc89a1d6 [2022-08-25T20:18:53.096Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-25T20:18:53.096Z] ---> 94d8b468db78 [2022-08-25T20:18:53.096Z] Step 23/28 : EXPOSE 48095 [2022-08-25T20:18:53.096Z] ---> Running in 893027b04c4b [2022-08-25T20:18:53.096Z] Removing intermediate container 893027b04c4b [2022-08-25T20:18:53.096Z] ---> d349454d94ff [2022-08-25T20:18:53.096Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-08-25T20:18:53.096Z] ---> Running in 04dfc956ede5 [2022-08-25T20:18:53.096Z] Removing intermediate container 04dfc956ede5 [2022-08-25T20:18:53.096Z] ---> 5711c989c08d [2022-08-25T20:18:53.096Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-25T20:18:53.096Z] ---> Running in 5cfaaed8436d [2022-08-25T20:18:53.096Z] Removing intermediate container 5cfaaed8436d [2022-08-25T20:18:53.096Z] ---> a7f1996dfbad [2022-08-25T20:18:53.096Z] Step 26/28 : LABEL arch=arm64 [2022-08-25T20:18:53.096Z] ---> Running in 7891129100a4 [2022-08-25T20:18:53.096Z] Removing intermediate container 7891129100a4 [2022-08-25T20:18:53.096Z] ---> ca38632a24be [2022-08-25T20:18:53.096Z] Step 27/28 : LABEL git_sha=36831bfcbd46d454350d11245b88054469609ef9 [2022-08-25T20:18:53.096Z] ---> Running in 4c9dd5352bdc [2022-08-25T20:18:53.096Z] Removing intermediate container 4c9dd5352bdc [2022-08-25T20:18:53.096Z] ---> 130d55471030 [2022-08-25T20:18:53.096Z] Step 28/28 : LABEL version=0.0.0 [2022-08-25T20:18:53.096Z] ---> Running in 854ebb4ca0e9 [2022-08-25T20:18:53.096Z] Removing intermediate container 854ebb4ca0e9 [2022-08-25T20:18:53.096Z] ---> 4d2531d79380 [2022-08-25T20:18:53.096Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-25T20:18:53.096Z] Successfully built 4d2531d79380 [2022-08-25T20:18:53.096Z] 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 [2022-08-25T20:18:53.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T20:18:53.901Z] [2022-08-25T20:18:53.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:18:54.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T20:18:54.592Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-25T20:18:54.592Z] 8998bd30e6a1: Pulling fs layer [2022-08-25T20:18:54.592Z] 04944245beec: Pulling fs layer [2022-08-25T20:18:54.592Z] 699f458cf7ca: Pulling fs layer [2022-08-25T20:18:54.592Z] 765212b225bb: Pulling fs layer [2022-08-25T20:18:54.592Z] f23df028b6ca: Pulling fs layer [2022-08-25T20:18:54.592Z] d65c8cfc05b1: Pulling fs layer [2022-08-25T20:18:54.592Z] 2437ff75d9bd: Pulling fs layer [2022-08-25T20:18:54.592Z] f23df028b6ca: Waiting [2022-08-25T20:18:54.592Z] d65c8cfc05b1: Waiting [2022-08-25T20:18:54.592Z] 2437ff75d9bd: Waiting [2022-08-25T20:18:54.592Z] 765212b225bb: Waiting [2022-08-25T20:18:54.592Z] 04944245beec: Verifying Checksum [2022-08-25T20:18:54.592Z] 04944245beec: Download complete [2022-08-25T20:18:54.592Z] 765212b225bb: Verifying Checksum [2022-08-25T20:18:54.592Z] 765212b225bb: Download complete [2022-08-25T20:18:54.592Z] f23df028b6ca: Verifying Checksum [2022-08-25T20:18:54.592Z] f23df028b6ca: Download complete [2022-08-25T20:18:54.592Z] d65c8cfc05b1: Verifying Checksum [2022-08-25T20:18:54.592Z] d65c8cfc05b1: Download complete [2022-08-25T20:18:54.872Z] 699f458cf7ca: Verifying Checksum [2022-08-25T20:18:54.872Z] 699f458cf7ca: Download complete [2022-08-25T20:18:55.151Z] 8998bd30e6a1: Verifying Checksum [2022-08-25T20:18:55.151Z] 8998bd30e6a1: Download complete [2022-08-25T20:18:57.793Z] 2437ff75d9bd: Verifying Checksum [2022-08-25T20:18:57.793Z] 2437ff75d9bd: Download complete [2022-08-25T20:18:59.234Z] 8998bd30e6a1: Pull complete [2022-08-25T20:18:59.835Z] 04944245beec: Pull complete [2022-08-25T20:19:01.280Z] 699f458cf7ca: Pull complete [2022-08-25T20:19:01.554Z] 765212b225bb: Pull complete [2022-08-25T20:19:02.541Z] f23df028b6ca: Pull complete [2022-08-25T20:19:02.817Z] d65c8cfc05b1: Pull complete [2022-08-25T20:19:17.917Z] 2437ff75d9bd: Pull complete [2022-08-25T20:19:17.917Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-25T20:19:17.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T20:19:17.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:19:18.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-23576 does not seem to be running inside a container [2022-08-25T20:19:18.376Z] $ 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 [2022-08-25T20:19:20.899Z] $ docker top 29ed86166d7e984fad49531317f8cd9fdfdbbd5e01b119317b7522695cf4fa89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:21.881Z] ---> job-cost.sh [2022-08-25T20:19:21.881Z] lf-activate-venv: SKIPPING [2022-08-25T20:19:21.881Z] INFO: No Stack... [2022-08-25T20:19:22.476Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-25T20:19:23.450Z] INFO: Archiving Costs [Pipeline] sh [2022-08-25T20:19:24.129Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-08-25T20:19:24.129Z] + cut -d, -f6 [Pipeline] lock [2022-08-25T20:19:24.211Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [2022-08-25T20:19:24.215Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] did not exist. Created. [2022-08-25T20:19:24.215Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-25T20:19:24.969Z] /w/workspace/app-service-configurable/1@tmp/durable-9587a695/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-25T20:19:25.670Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-25T20:19:25.705Z] Warning: overwriting stash ‘stack-cost’ [2022-08-25T20:19:25.752Z] Stashed 1 file(s) [Pipeline] } [2022-08-25T20:19:25.772Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-25T20:19:25.850Z] $ docker stop --time=1 29ed86166d7e984fad49531317f8cd9fdfdbbd5e01b119317b7522695cf4fa89 [2022-08-25T20:19:27.356Z] $ docker rm -f 29ed86166d7e984fad49531317f8cd9fdfdbbd5e01b119317b7522695cf4fa89 [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 [2022-08-25T20:19:28.389Z] provisioning config files... [2022-08-25T20:19:28.401Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-461@tmp/config2782952939837909706tmp [Pipeline] { [Pipeline] sh [2022-08-25T20:19:28.735Z] + set +x [2022-08-25T20:19:28.735Z] + + bash -s -- [2022-08-25T20:19:28.735Z] curl -s https://codecov.io/bash [2022-08-25T20:19:28.735Z] [2022-08-25T20:19:28.735Z] _____ _ [2022-08-25T20:19:28.735Z] / ____| | | [2022-08-25T20:19:28.735Z] | | ___ __| | ___ ___ _____ __ [2022-08-25T20:19:28.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-25T20:19:28.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-25T20:19:28.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-25T20:19:28.735Z] Bash-1.0.6 [2022-08-25T20:19:28.735Z] [2022-08-25T20:19:28.735Z] [2022-08-25T20:19:28.735Z] ==> git version 2.25.1 found [2022-08-25T20:19:28.735Z] ==> 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 [2022-08-25T20:19:28.735Z] Release-Date: 2020-01-08 [2022-08-25T20:19:28.735Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-25T20:19:28.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-25T20:19:28.735Z] ==> Jenkins CI detected. [2022-08-25T20:19:28.735Z] current dir:  /w/workspace/_app-service-configurable_PR-461 [2022-08-25T20:19:28.735Z] project root: . [2022-08-25T20:19:28.735Z] --> token set from env [2022-08-25T20:19:28.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-25T20:19:28.735Z] ==> Running gcov in . (disable via -X gcov) [2022-08-25T20:19:28.735Z] ==> Python coveragepy not found [2022-08-25T20:19:28.735Z] ==> Searching for coverage reports in: [2022-08-25T20:19:28.735Z] + . [2022-08-25T20:19:28.735Z] -> Found 1 reports [2022-08-25T20:19:28.735Z] ==> Detecting git/mercurial file structure [2022-08-25T20:19:28.735Z] ==> Reading reports [2022-08-25T20:19:28.735Z] + ./coverage.out bytes=10 [2022-08-25T20:19:28.735Z] ==> Appending adjustments [2022-08-25T20:19:28.735Z] https://docs.codecov.io/docs/fixing-reports [2022-08-25T20:19:29.000Z] + Found adjustments [2022-08-25T20:19:29.000Z] ==> Gzipping contents [2022-08-25T20:19:29.000Z] 4.0K /tmp/codecov.BxOzdX.gz [2022-08-25T20:19:29.000Z] ==> Uploading reports [2022-08-25T20:19:29.000Z] url: https://codecov.io [2022-08-25T20:19:29.000Z] query: branch=PR-461&commit=36831bfcbd46d454350d11245b88054469609ef9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=461&job=&cmd_args= [2022-08-25T20:19:29.000Z] -> Pinging Codecov [2022-08-25T20:19:29.000Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-461&commit=36831bfcbd46d454350d11245b88054469609ef9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=461&job=&cmd_args= [2022-08-25T20:19:29.263Z] -> Uploading to [2022-08-25T20:19:29.263Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-25/A97CA9966030D2A3747ED39772930CCE/36831bfcbd46d454350d11245b88054469609ef9/df0f936d-2984-4e6e-a8b8-4dfd973b20b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220825T201929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac388bba071db461373a82c5cefd700268dc893555d488bf89264abb5b94dbc8 [2022-08-25T20:19:29.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-25T20:19:29.263Z] Dload Upload Total Spent Left Speed [2022-08-25T20:19:29.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 525 0 0 100 525 0 2586 --:--:-- --:--:-- --:--:-- 2573 100 525 0 0 100 525 0 2292 --:--:-- --:--:-- --:--:-- 2282 [2022-08-25T20:19:29.529Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/36831bfcbd46d454350d11245b88054469609ef9 [Pipeline] } [2022-08-25T20:19:29.556Z] 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 [2022-08-25T20:19:31.257Z] + [ -d /w/workspace/_app-service-configurable_PR-461/archives ] [2022-08-25T20:19:31.257Z] + ls -al /w/workspace/_app-service-configurable_PR-461/archives [2022-08-25T20:19:31.257Z] total 16 [2022-08-25T20:19:31.257Z] drwxr-xr-x 3 root root 4096 Aug 25 20:11 . [2022-08-25T20:19:31.257Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 20:11 .. [2022-08-25T20:19:31.257Z] drwxr-xr-x 2 root root 4096 Aug 25 20:11 cost [2022-08-25T20:19:31.257Z] -rw-r--r-- 1 root root 96 Aug 25 20:11 cost.csv [2022-08-25T20:19:31.257Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-461/archives [2022-08-25T20:19:31.257Z] + ls -al /w/workspace/_app-service-configurable_PR-461/archives [2022-08-25T20:19:31.257Z] total 16 [2022-08-25T20:19:31.257Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 20:11 . [2022-08-25T20:19:31.257Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 20:11 .. [2022-08-25T20:19:31.257Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 20:11 cost [2022-08-25T20:19:31.257Z] -rw-r--r-- 1 jenkins jenkins 96 Aug 25 20:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:31.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:32.495Z] ---> package-listing.sh [2022-08-25T20:19:32.495Z] ++ facter osfamily [2022-08-25T20:19:32.495Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-25T20:19:32.756Z] + OS_FAMILY=debian [2022-08-25T20:19:32.756Z] + workspace=/w/workspace/_app-service-configurable_PR-461 [2022-08-25T20:19:32.756Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-25T20:19:32.756Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-25T20:19:32.756Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-25T20:19:32.756Z] + PACKAGES=/tmp/packages_start.txt [2022-08-25T20:19:32.756Z] + '[' /w/workspace/_app-service-configurable_PR-461 ']' [2022-08-25T20:19:32.756Z] + PACKAGES=/tmp/packages_end.txt [2022-08-25T20:19:32.756Z] + case "${OS_FAMILY}" in [2022-08-25T20:19:32.756Z] + dpkg -l [2022-08-25T20:19:32.756Z] + grep '^ii' [2022-08-25T20:19:32.756Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-25T20:19:32.756Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-25T20:19:32.756Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-25T20:19:32.756Z] + '[' /w/workspace/_app-service-configurable_PR-461 ']' [2022-08-25T20:19:32.756Z] + mkdir -p /w/workspace/_app-service-configurable_PR-461/archives/ [2022-08-25T20:19:32.756Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-461/archives/ [Pipeline] echo [2022-08-25T20:19:32.792Z] 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-461/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-25T20:19:33.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T20:19:33.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T20:19:33.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T20:19:33.885Z] prd-ubuntu20.04-docker-8c-8g-23574 does not seem to be running inside a container [2022-08-25T20:19:33.925Z] $ 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-461/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-461 -v /w/workspace/_app-service-configurable_PR-461:/w/workspace/_app-service-configurable_PR-461:rw,z -v /w/workspace/_app-service-configurable_PR-461@tmp:/w/workspace/_app-service-configurable_PR-461@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-25T20:19:34.169Z] $ docker top 58b18349fbc4bb8880cfac0e8ef793e3c7247e247e70cdcf949b307c02f43838 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T20:19:34.586Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-25T20:19:34.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-25T20:19:35.214Z] + ls /var/log/sa-host [2022-08-25T20:19:35.215Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T20:19:35.345Z] provisioning config files... [2022-08-25T20:19:35.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-461@tmp/config2129982069597287057tmp [Pipeline] { [Pipeline] echo [2022-08-25T20:19:35.406Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:35.724Z] ---> create-netrc.sh [Pipeline] } [2022-08-25T20:19:35.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:36.155Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-25T20:19:36.187Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:36.502Z] ---> sudo-logs.sh [2022-08-25T20:19:36.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-25T20:19:36.581Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:36.898Z] ---> job-cost.sh [2022-08-25T20:19:36.898Z] lf-activate-venv: SKIPPING [2022-08-25T20:19:36.898Z] DEBUG: total: 0.2199999988079071 [2022-08-25T20:19:36.898Z] INFO: Retrieving Stack Cost... [2022-08-25T20:19:37.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-25T20:19:38.111Z] INFO: Archiving Costs [Pipeline] echo [2022-08-25T20:19:38.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T20:19:38.465Z] ---> logs-deploy.sh [2022-08-25T20:19:38.465Z] lf-activate-venv: SKIPPING [2022-08-25T20:19:38.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-461/1 [2022-08-25T20:19:38.465Z] INFO: archiving workspace using pattern(s): [2022-08-25T20:19:39.417Z] Archives upload complete. [2022-08-25T20:19:39.678Z] INFO: archiving logs to Nexus