Pull request #402 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7+323c9d7b071dcad20db500b9107a4775ac8effe6 (0a9cceb17f9cc4ed5714c91cee59f10df4446f12) 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-ssh318936050470994032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6727521964913536292.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-402/workspace@libs/edgex-global-pipelines # 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-402/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16571274941392476500.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-402/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14920501290623011115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh5727485157934801783.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-402/workspace@libs/lf-pipelines # 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-402/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5221693381740236928.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21060 in /w/workspace/_app-service-configurable_PR-402 [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-402 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 Merge succeeded, producing 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 Checking out Revision 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 (PR-402) > git config core.sparsecheckout # timeout=10 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # 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 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-15T12:03:50.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-15T12:03:50.344Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-15T12:03:50.438Z] ========================================================= [2022-04-15T12:03:50.439Z] EdgeX Global Pipelines Version Info [2022-04-15T12:03:50.439Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:03:51.264Z] ------------------- [2022-04-15T12:03:51.264Z] stable info: [2022-04-15T12:03:51.264Z] ------------------- [2022-04-15T12:03:51.264Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T12:03:51.264Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-15T12:03:51.264Z] Message: update stable to v1.0.221 [2022-04-15T12:03:51.842Z] ------------------- [2022-04-15T12:03:51.842Z] experimental info: [2022-04-15T12:03:51.842Z] ------------------- [2022-04-15T12:03:51.842Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T12:03:51.842Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-15T12:03:51.842Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-15T12:03:52.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-15T12:03:52.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-15T12:03:52.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-15T12:03:52.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-15T12:03:52.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-15T12:03:52.261Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-15T12:03:52.298Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-15T12:03:52.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-15T12:03:52.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-15T12:03:52.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-15T12:03:52.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-15T12:03:52.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-15T12:03:52.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-15T12:03:52.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-15T12:03:52.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-15T12:03:52.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-15T12:03:52.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-15T12:03:52.775Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-15T12:03:52.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-15T12:03:52.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-15T12:03:52.890Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-15T12:03:52.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-15T12:03:52.968Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-15T12:03:53.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-15T12:03:53.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-15T12:03:53.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-15T12:03:53.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-402 [Pipeline] echo [2022-04-15T12:03:53.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-402 [Pipeline] echo [2022-04-15T12:03:53.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-402 [Pipeline] echo [2022-04-15T12:03:53.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo [2022-04-15T12:03:53.279Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20f4516 [Pipeline] echo [2022-04-15T12:03:53.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T12:03:53.425Z] provisioning config files... [2022-04-15T12:03:53.441Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config162522196387357478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:03:53.802Z] ---> docker-login.sh [2022-04-15T12:03:53.802Z] nexus3.edgexfoundry.org:10001 [2022-04-15T12:03:54.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:03:54.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:03:54.750Z] Configure a credential helper to remove this warning. See [2022-04-15T12:03:54.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:03:54.750Z] [2022-04-15T12:03:54.750Z] Login Succeeded [2022-04-15T12:03:54.750Z] nexus3.edgexfoundry.org:10002 [2022-04-15T12:03:54.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:03:54.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:03:54.750Z] Configure a credential helper to remove this warning. See [2022-04-15T12:03:54.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:03:54.750Z] [2022-04-15T12:03:54.750Z] Login Succeeded [2022-04-15T12:03:54.750Z] nexus3.edgexfoundry.org:10003 [2022-04-15T12:03:55.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:03:55.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:03:55.012Z] Configure a credential helper to remove this warning. See [2022-04-15T12:03:55.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:03:55.012Z] [2022-04-15T12:03:55.012Z] Login Succeeded [2022-04-15T12:03:55.012Z] nexus3.edgexfoundry.org:10004 [2022-04-15T12:03:55.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:03:55.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:03:55.012Z] Configure a credential helper to remove this warning. See [2022-04-15T12:03:55.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:03:55.012Z] [2022-04-15T12:03:55.012Z] Login Succeeded [2022-04-15T12:03:55.012Z] docker.io [2022-04-15T12:03:55.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:03:55.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:03:55.536Z] Configure a credential helper to remove this warning. See [2022-04-15T12:03:55.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:03:55.536Z] [2022-04-15T12:03:55.536Z] Login Succeeded [2022-04-15T12:03:55.536Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T12:03:55.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-15T12:03:56.256Z] + git rev-list -1 --merges 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7~1..20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo [2022-04-15T12:03:56.308Z] -----------> git rev-list -1 --merges 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7~1..20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [false] [Pipeline] sh [2022-04-15T12:03:56.618Z] + git log --format=format:%s -1 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo [2022-04-15T12:03:56.655Z] ========================================================= [2022-04-15T12:03:56.655Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-15T12:03:56.655Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T12:03:57.100Z] + git log --format=format:%s -1 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo [2022-04-15T12:03:57.130Z] [semverPrep] GIT_COMMIT: 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-15T12:03:57.161Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-15T12:03:57.625Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T12:03:57.625Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-15T12:03:57.625Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-15T12:03:57.625Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-15T12:03:57.625Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-15T12:03:57.625Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-15T12:03:57.625Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:03:58.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T12:03:58.065Z] [2022-04-15T12:03:58.065Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:03:58.417Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T12:03:58.417Z] latest: Pulling from edgex-devops/git-semver [2022-04-15T12:03:58.417Z] a0d0a0d46f8b: Pulling fs layer [2022-04-15T12:03:58.417Z] 3e5f54012d9b: Pulling fs layer [2022-04-15T12:03:58.417Z] 4c7163046ea9: Pulling fs layer [2022-04-15T12:03:58.417Z] 0c2d73faf560: Pulling fs layer [2022-04-15T12:03:58.417Z] 0c2d73faf560: Waiting [2022-04-15T12:03:58.417Z] 3e5f54012d9b: Verifying Checksum [2022-04-15T12:03:58.417Z] 3e5f54012d9b: Download complete [2022-04-15T12:03:58.417Z] a0d0a0d46f8b: Verifying Checksum [2022-04-15T12:03:58.417Z] a0d0a0d46f8b: Download complete [2022-04-15T12:03:58.417Z] 4c7163046ea9: Verifying Checksum [2022-04-15T12:03:58.417Z] 4c7163046ea9: Download complete [2022-04-15T12:03:58.417Z] 0c2d73faf560: Download complete [2022-04-15T12:03:58.676Z] a0d0a0d46f8b: Pull complete [2022-04-15T12:03:58.677Z] 3e5f54012d9b: Pull complete [2022-04-15T12:03:58.938Z] 4c7163046ea9: Pull complete [2022-04-15T12:03:59.200Z] 0c2d73faf560: Pull complete [2022-04-15T12:03:59.200Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-15T12:03:59.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T12:03:59.200Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-15T12:03:59.305Z] prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container [2022-04-15T12:03:59.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-15T12:04:00.103Z] $ docker top df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T12:04:00.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T12:04:00.307Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T12:04:00.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T12:04:00.435Z] $ docker exec df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent [2022-04-15T12:04:00.562Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAgNCNN/agent.13 [2022-04-15T12:04:00.562Z] SSH_AGENT_PID=20 [2022-04-15T12:04:00.570Z] Running ssh-add (command line suppressed) [2022-04-15T12:04:00.709Z] Identity added: /w/workspace/_app-service-configurable_PR-402@tmp/private_key_6807931818025073990.key (/w/workspace/_app-service-configurable_PR-402@tmp/private_key_6807931818025073990.key) [2022-04-15T12:04:00.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T12:04:01.059Z] + git tag --points-at HEAD [Pipeline] } [2022-04-15T12:04:01.086Z] $ docker exec --env ******** --env ******** df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent -k [2022-04-15T12:04:01.196Z] unset SSH_AUTH_SOCK; [2022-04-15T12:04:01.197Z] unset SSH_AGENT_PID; [2022-04-15T12:04:01.197Z] echo Agent pid 20 killed; [2022-04-15T12:04:01.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-15T12:04:01.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T12:04:01.298Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T12:04:01.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T12:04:01.452Z] $ docker exec df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent [2022-04-15T12:04:01.585Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNifkJi/agent.52 [2022-04-15T12:04:01.585Z] SSH_AGENT_PID=58 [2022-04-15T12:04:01.591Z] Running ssh-add (command line suppressed) [2022-04-15T12:04:01.718Z] Identity added: /w/workspace/_app-service-configurable_PR-402@tmp/private_key_3576493636732280352.key (/w/workspace/_app-service-configurable_PR-402@tmp/private_key_3576493636732280352.key) [2022-04-15T12:04:01.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T12:04:02.074Z] + git semver init [2022-04-15T12:04:02.074Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T12:04:02.074Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-402/.git [2022-04-15T12:04:02.074Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-402 [2022-04-15T12:04:02.074Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T12:04:02.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T12:04:02.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T12:04:02.074Z] # $SEMVER_BRANCH = PR-402 [2022-04-15T12:04:02.074Z] # $SEMVER_TEMP = /tmp/semver-745528053 [2022-04-15T12:04:02.074Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-15T12:04:03.016Z] # '/tmp/semver-745528053' -> '/w/workspace/_app-service-configurable_PR-402/.semver' [2022-04-15T12:04:03.016Z] # -> Force: false [2022-04-15T12:04:03.016Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-402/.semver [Pipeline] } [2022-04-15T12:04:03.045Z] $ docker exec --env ******** --env ******** df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent -k [2022-04-15T12:04:03.146Z] unset SSH_AUTH_SOCK; [2022-04-15T12:04:03.147Z] unset SSH_AGENT_PID; [2022-04-15T12:04:03.147Z] echo Agent pid 58 killed; [2022-04-15T12:04:03.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T12:04:03.572Z] + git semver [Pipeline] } [2022-04-15T12:04:03.603Z] $ docker stop --time=1 df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 [2022-04-15T12:04:04.953Z] $ docker rm -f df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T12:04:05.371Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-15T12:04:05.670Z] Stashed 1 file(s) [Pipeline] echo [2022-04-15T12:04:05.688Z] [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-04-15T12:04:06.248Z] provisioning config files... [2022-04-15T12:04:06.259Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config1582201972001521049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:04:06.605Z] ---> docker-login.sh [2022-04-15T12:04:06.605Z] nexus3.edgexfoundry.org:10001 [2022-04-15T12:04:06.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:04:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:04:06.606Z] Configure a credential helper to remove this warning. See [2022-04-15T12:04:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:04:06.606Z] [2022-04-15T12:04:06.606Z] Login Succeeded [2022-04-15T12:04:06.606Z] nexus3.edgexfoundry.org:10002 [2022-04-15T12:04:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:04:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:04:06.606Z] Configure a credential helper to remove this warning. See [2022-04-15T12:04:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:04:06.606Z] [2022-04-15T12:04:06.606Z] Login Succeeded [2022-04-15T12:04:06.866Z] nexus3.edgexfoundry.org:10003 [2022-04-15T12:04:06.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:04:06.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:04:06.866Z] Configure a credential helper to remove this warning. See [2022-04-15T12:04:06.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:04:06.866Z] [2022-04-15T12:04:06.866Z] Login Succeeded [2022-04-15T12:04:06.866Z] nexus3.edgexfoundry.org:10004 [2022-04-15T12:04:06.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:04:06.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:04:06.866Z] Configure a credential helper to remove this warning. See [2022-04-15T12:04:06.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:04:06.866Z] [2022-04-15T12:04:06.866Z] Login Succeeded [2022-04-15T12:04:06.866Z] docker.io [2022-04-15T12:04:07.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:04:07.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:04:07.389Z] Configure a credential helper to remove this warning. See [2022-04-15T12:04:07.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:04:07.389Z] [2022-04-15T12:04:07.389Z] Login Succeeded [2022-04-15T12:04:07.389Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T12:04:07.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-15T12:04:07.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T12:04:07.643Z] ========================================================= [2022-04-15T12:04:07.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-15T12:04:07.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:04:08.045Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-15T12:04:08.045Z] Sending build context to Docker daemon 3.007MB [2022-04-15T12:04:08.045Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T12:04:08.045Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-15T12:04:08.045Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-15T12:04:08.045Z] 59bf1c3509f3: Pulling fs layer [2022-04-15T12:04:08.045Z] 666ba61612fd: Pulling fs layer [2022-04-15T12:04:08.045Z] 8ed8ca486205: Pulling fs layer [2022-04-15T12:04:08.045Z] 4fe6c5a15a65: Pulling fs layer [2022-04-15T12:04:08.045Z] 22a0e8bec74d: Pulling fs layer [2022-04-15T12:04:08.045Z] 640e595b4fbd: Pulling fs layer [2022-04-15T12:04:08.045Z] 763cafe07f6e: Pulling fs layer [2022-04-15T12:04:08.045Z] 0c0b528cf693: Pulling fs layer [2022-04-15T12:04:08.045Z] 10935f4eaf8b: Pulling fs layer [2022-04-15T12:04:08.045Z] 4fe6c5a15a65: Waiting [2022-04-15T12:04:08.045Z] 0c0b528cf693: Waiting [2022-04-15T12:04:08.045Z] 22a0e8bec74d: Waiting [2022-04-15T12:04:08.045Z] 10935f4eaf8b: Waiting [2022-04-15T12:04:08.045Z] 640e595b4fbd: Waiting [2022-04-15T12:04:08.045Z] 763cafe07f6e: Waiting [2022-04-15T12:04:08.045Z] 8ed8ca486205: Download complete [2022-04-15T12:04:08.045Z] 666ba61612fd: Download complete [2022-04-15T12:04:08.045Z] 22a0e8bec74d: Verifying Checksum [2022-04-15T12:04:08.045Z] 22a0e8bec74d: Download complete [2022-04-15T12:04:08.045Z] 640e595b4fbd: Verifying Checksum [2022-04-15T12:04:08.045Z] 640e595b4fbd: Download complete [2022-04-15T12:04:08.045Z] 763cafe07f6e: Verifying Checksum [2022-04-15T12:04:08.045Z] 763cafe07f6e: Download complete [2022-04-15T12:04:08.045Z] 59bf1c3509f3: Verifying Checksum [2022-04-15T12:04:08.045Z] 59bf1c3509f3: Download complete [2022-04-15T12:04:08.305Z] 0c0b528cf693: Verifying Checksum [2022-04-15T12:04:08.305Z] 0c0b528cf693: Download complete [2022-04-15T12:04:08.305Z] 59bf1c3509f3: Pull complete [2022-04-15T12:04:08.565Z] 666ba61612fd: Pull complete [2022-04-15T12:04:08.565Z] 8ed8ca486205: Pull complete [2022-04-15T12:04:08.826Z] 10935f4eaf8b: Verifying Checksum [2022-04-15T12:04:08.826Z] 10935f4eaf8b: Download complete [2022-04-15T12:04:08.826Z] 4fe6c5a15a65: Verifying Checksum [2022-04-15T12:04:08.826Z] 4fe6c5a15a65: Download complete [2022-04-15T12:04:13.024Z] 4fe6c5a15a65: Pull complete [2022-04-15T12:04:13.024Z] 22a0e8bec74d: Pull complete [2022-04-15T12:04:13.024Z] 640e595b4fbd: Pull complete [2022-04-15T12:04:13.024Z] 763cafe07f6e: Pull complete [2022-04-15T12:04:13.287Z] 0c0b528cf693: Pull complete [2022-04-15T12:04:15.832Z] 10935f4eaf8b: Pull complete [2022-04-15T12:04:15.832Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-15T12:04:15.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T12:04:15.832Z] ---> 99d49a6021b9 [2022-04-15T12:04:15.832Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-15T12:04:17.228Z] ---> Running in 9cae5fc80ef5 [2022-04-15T12:04:17.228Z] Removing intermediate container 9cae5fc80ef5 [2022-04-15T12:04:17.228Z] ---> b8b7b37659fe [2022-04-15T12:04:17.228Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-15T12:04:17.228Z] ---> Running in b42e5ecc2754 [2022-04-15T12:04:17.228Z] Removing intermediate container b42e5ecc2754 [2022-04-15T12:04:17.228Z] ---> 9de516da3745 [2022-04-15T12:04:17.228Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:04:17.487Z] ---> Running in e4836d6853d1 [2022-04-15T12:04:17.487Z] Removing intermediate container e4836d6853d1 [2022-04-15T12:04:17.487Z] ---> beb022fc6165 [2022-04-15T12:04:17.487Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T12:04:17.487Z] ---> Running in 5b5fbd84200e [2022-04-15T12:04:18.062Z] Removing intermediate container 5b5fbd84200e [2022-04-15T12:04:18.062Z] ---> 1c30a4df2db8 [2022-04-15T12:04:18.062Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-15T12:04:18.062Z] ---> Running in ef95ed6ea2b4 [2022-04-15T12:04:18.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-15T12:04:19.573Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-15T12:04:19.573Z] OK: 221 MiB in 52 packages [2022-04-15T12:04:20.154Z] Removing intermediate container ef95ed6ea2b4 [2022-04-15T12:04:20.154Z] ---> 635daaff9b0a [2022-04-15T12:04:20.154Z] Step 8/13 : WORKDIR /app [2022-04-15T12:04:20.154Z] ---> Running in 6c281c4edd57 [2022-04-15T12:04:20.154Z] Removing intermediate container 6c281c4edd57 [2022-04-15T12:04:20.154Z] ---> df4d5d864c0d [2022-04-15T12:04:20.154Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-15T12:04:20.414Z] ---> 016175ad103f [2022-04-15T12:04:20.414Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T12:04:20.414Z] ---> Running in 5f0f99ca95ee [2022-04-15T12:04:21.086Z] Still waiting to schedule task [2022-04-15T12:04:21.086Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-15T12:04:52.539Z] Removing intermediate container 5f0f99ca95ee [2022-04-15T12:04:52.539Z] ---> 85e957108d04 [2022-04-15T12:04:52.539Z] Step 11/13 : COPY . . [2022-04-15T12:04:52.539Z] ---> 31040d31481e [2022-04-15T12:04:52.539Z] Step 12/13 : ARG MAKE="make build" [2022-04-15T12:04:52.539Z] ---> Running in 0627a6afead4 [2022-04-15T12:04:52.539Z] Removing intermediate container 0627a6afead4 [2022-04-15T12:04:52.539Z] ---> c2f3de6b4657 [2022-04-15T12:04:52.539Z] Step 13/13 : RUN $MAKE [2022-04-15T12:04:52.539Z] ---> Running in 661edc779297 [2022-04-15T12:04:52.539Z] noop [2022-04-15T12:04:52.539Z] Removing intermediate container 661edc779297 [2022-04-15T12:04:52.539Z] ---> 5a704e2f05c9 [2022-04-15T12:04:52.539Z] Successfully built 5a704e2f05c9 [2022-04-15T12:04:52.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:04:52.870Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T12:04:52.870Z] . [Pipeline] withDockerContainer [2022-04-15T12:04:52.968Z] prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container [2022-04-15T12:04:53.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 ******** ci-base-image-x86_64 cat [2022-04-15T12:04:53.455Z] $ docker top 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T12:04:53.867Z] + go version [2022-04-15T12:04:53.867Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-15T12:04:53.900Z] $ docker stop --time=1 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 [2022-04-15T12:04:55.181Z] $ docker rm -f 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:04:55.862Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T12:04:55.863Z] . [Pipeline] withDockerContainer [2022-04-15T12:04:55.963Z] prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container [2022-04-15T12:04:56.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 ******** ci-base-image-x86_64 cat [2022-04-15T12:04:56.474Z] $ docker top fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-15T12:04:56.942Z] + make test [2022-04-15T12:04:56.943Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-15T12:05:05.080Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-15T12:05:05.080Z] CGO_ENABLED=1 go vet ./... [2022-04-15T12:05:07.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T12:05:07.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T12:05:07.688Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-15T12:05:08.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-15T12:05:08.037Z] $ docker stop --time=1 fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 [2022-04-15T12:05:09.689Z] $ docker rm -f fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T12:05:10.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-15T12:05:10.238Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-15T12:05:11.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-15T12:05:11.684Z] + ls -al . [2022-04-15T12:05:11.684Z] total 176 [2022-04-15T12:05:11.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:05 . [2022-04-15T12:05:11.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:03 .. [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 15 12:03 .dockerignore [2022-04-15T12:05:11.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:03 .git [2022-04-15T12:05:11.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:03 .github [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 15 12:03 .gitignore [2022-04-15T12:05:11.684Z] drwx------ 3 jenkins jenkins 4096 Apr 15 12:04 .semver [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 15 12:03 Attribution.txt [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 15 12:03 CHANGELOG.md [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 15 12:03 Dockerfile [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 12:03 GOVERNANCE.md [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 15 12:03 Jenkinsfile [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:03 LICENSE [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 15 12:03 OWNERS.md [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 15 12:03 README.md [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:04 VERSION [2022-04-15T12:05:11.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:03 bin [2022-04-15T12:05:11.684Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 15 12:04 coverage.out [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 15 12:03 go.mod [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 15 12:03 go.sum [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 15 12:03 main.go [2022-04-15T12:05:11.684Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 15 12:03 makefile [2022-04-15T12:05:11.684Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:03 res [2022-04-15T12:05:11.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:03 snap [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:05:12.021Z] + 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=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 --label arch=amd64 --label version=0.0.0 . [2022-04-15T12:05:12.022Z] Sending build context to Docker daemon 3.008MB [2022-04-15T12:05:12.022Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T12:05:12.022Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-15T12:05:12.022Z] ---> 5a704e2f05c9 [2022-04-15T12:05:12.022Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-15T12:05:12.022Z] ---> Running in 6f96ce992636 [2022-04-15T12:05:12.283Z] Removing intermediate container 6f96ce992636 [2022-04-15T12:05:12.283Z] ---> bf7724975ca0 [2022-04-15T12:05:12.283Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-15T12:05:12.283Z] ---> Running in a419b0b6ba36 [2022-04-15T12:05:12.283Z] Removing intermediate container a419b0b6ba36 [2022-04-15T12:05:12.283Z] ---> cd73f57b9345 [2022-04-15T12:05:12.283Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:05:12.283Z] ---> Running in 1ddb3c148c35 [2022-04-15T12:05:12.543Z] Removing intermediate container 1ddb3c148c35 [2022-04-15T12:05:12.543Z] ---> 7359efd0c469 [2022-04-15T12:05:12.544Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T12:05:12.544Z] ---> Running in 649e4091619f [2022-04-15T12:05:13.121Z] Removing intermediate container 649e4091619f [2022-04-15T12:05:13.121Z] ---> 629362d4a05e [2022-04-15T12:05:13.121Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-15T12:05:13.384Z] ---> Running in 4ca7f1b245e7 [2022-04-15T12:05:13.645Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-15T12:05:14.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-15T12:05:14.592Z] OK: 221 MiB in 52 packages [2022-04-15T12:05:15.164Z] Removing intermediate container 4ca7f1b245e7 [2022-04-15T12:05:15.164Z] ---> 3859897aac96 [2022-04-15T12:05:15.164Z] Step 8/27 : WORKDIR /app [2022-04-15T12:05:15.164Z] ---> Running in 99885ca51ac3 [2022-04-15T12:05:15.164Z] Removing intermediate container 99885ca51ac3 [2022-04-15T12:05:15.164Z] ---> c426c0ae0d4e [2022-04-15T12:05:15.164Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-15T12:05:15.424Z] ---> 779c29888c40 [2022-04-15T12:05:15.424Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T12:05:15.424Z] ---> Running in efa8665717ed [2022-04-15T12:05:16.363Z] Removing intermediate container efa8665717ed [2022-04-15T12:05:16.364Z] ---> d29739f1c180 [2022-04-15T12:05:16.364Z] Step 11/27 : COPY . . [2022-04-15T12:05:16.364Z] ---> 337e127d2e4e [2022-04-15T12:05:16.364Z] Step 12/27 : ARG MAKE="make build" [2022-04-15T12:05:16.624Z] ---> Running in 39bae5f968f7 [2022-04-15T12:05:16.624Z] Removing intermediate container 39bae5f968f7 [2022-04-15T12:05:16.624Z] ---> 8a5e6abd16a5 [2022-04-15T12:05:16.624Z] Step 13/27 : RUN $MAKE [2022-04-15T12:05:16.624Z] ---> Running in 781fd7268486 [2022-04-15T12:05:16.884Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-15T12:05:35.002Z] Removing intermediate container 781fd7268486 [2022-04-15T12:05:35.002Z] ---> 50f887e29afd [2022-04-15T12:05:35.002Z] Step 14/27 : FROM alpine:3.14 [2022-04-15T12:05:35.002Z] 3.14: Pulling from library/alpine [2022-04-15T12:05:35.002Z] 8663204ce13b: Pulling fs layer [2022-04-15T12:05:35.002Z] 8663204ce13b: Verifying Checksum [2022-04-15T12:05:35.002Z] 8663204ce13b: Download complete [2022-04-15T12:05:35.002Z] 8663204ce13b: Pull complete [2022-04-15T12:05:35.002Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-15T12:05:35.002Z] Status: Downloaded newer image for alpine:3.14 [2022-04-15T12:05:35.002Z] ---> e04c818066af [2022-04-15T12:05:35.002Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:05:35.002Z] ---> Running in 44400c71dd3a [2022-04-15T12:05:35.002Z] Removing intermediate container 44400c71dd3a [2022-04-15T12:05:35.002Z] ---> a18b665378d8 [2022-04-15T12:05:35.002Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-15T12:05:35.002Z] ---> Running in c082e37d42d6 [2022-04-15T12:05:35.002Z] Removing intermediate container c082e37d42d6 [2022-04-15T12:05:35.002Z] ---> 7d72e8faff75 [2022-04-15T12:05:35.002Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-15T12:05:35.002Z] ---> Running in 3c2c2e1d6974 [2022-04-15T12:05:35.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-15T12:05:35.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-15T12:05:35.521Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-15T12:05:35.782Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-15T12:05:35.782Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-15T12:05:35.782Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-15T12:05:35.782Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-15T12:05:35.782Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-15T12:05:35.782Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-15T12:05:35.782Z] Executing busybox-1.33.1-r7.trigger [2022-04-15T12:05:35.782Z] Executing ca-certificates-20211220-r0.trigger [2022-04-15T12:05:35.782Z] OK: 9 MiB in 21 packages [2022-04-15T12:05:36.355Z] Removing intermediate container 3c2c2e1d6974 [2022-04-15T12:05:36.355Z] ---> 4b807d68f4ab [2022-04-15T12:05:36.355Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-15T12:05:36.355Z] ---> 5944329f8db0 [2022-04-15T12:05:36.355Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-15T12:05:36.622Z] ---> 018d4ec56cf2 [2022-04-15T12:05:36.622Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-15T12:05:36.883Z] ---> d9ffc2b691d1 [2022-04-15T12:05:36.883Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-15T12:05:37.454Z] ---> 52a62091e189 [2022-04-15T12:05:37.454Z] Step 22/27 : EXPOSE 48095 [2022-04-15T12:05:37.454Z] ---> Running in ec7be3817118 [2022-04-15T12:05:37.454Z] Removing intermediate container ec7be3817118 [2022-04-15T12:05:37.454Z] ---> 52df9bf78290 [2022-04-15T12:05:37.454Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-15T12:05:37.454Z] ---> Running in c097c8d2f892 [2022-04-15T12:05:37.454Z] Removing intermediate container c097c8d2f892 [2022-04-15T12:05:37.454Z] ---> 501f06033ed3 [2022-04-15T12:05:37.454Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-15T12:05:37.454Z] ---> Running in 64aa65588996 [2022-04-15T12:05:37.715Z] Removing intermediate container 64aa65588996 [2022-04-15T12:05:37.715Z] ---> 15969c08d87b [2022-04-15T12:05:37.715Z] Step 25/27 : LABEL arch=amd64 [2022-04-15T12:05:37.715Z] ---> Running in 17ea0c92e4c8 [2022-04-15T12:05:37.715Z] Removing intermediate container 17ea0c92e4c8 [2022-04-15T12:05:37.715Z] ---> 5cd1902cf780 [2022-04-15T12:05:37.715Z] Step 26/27 : LABEL git_sha=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [2022-04-15T12:05:37.980Z] ---> Running in 29e5f04e6621 [2022-04-15T12:05:37.980Z] Removing intermediate container 29e5f04e6621 [2022-04-15T12:05:37.980Z] ---> b8a3f6a3b550 [2022-04-15T12:05:37.980Z] Step 27/27 : LABEL version=0.0.0 [2022-04-15T12:05:37.980Z] ---> Running in dd5c2bfb02ad [2022-04-15T12:05:37.980Z] Removing intermediate container dd5c2bfb02ad [2022-04-15T12:05:37.980Z] ---> 16eab0c7db96 [2022-04-15T12:05:37.980Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-15T12:05:37.980Z] Successfully built 16eab0c7db96 [2022-04-15T12:05:38.242Z] Successfully tagged app-service-configurable:latest [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] sh [2022-04-15T12:05:38.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T12:05:38.997Z] [2022-04-15T12:05:38.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:05:39.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T12:05:39.345Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-15T12:05:39.345Z] 5eb5b503b376: Pulling fs layer [2022-04-15T12:05:39.345Z] 5c69ac0246d0: Pulling fs layer [2022-04-15T12:05:39.345Z] ec43610c2a17: Pulling fs layer [2022-04-15T12:05:39.345Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-15T12:05:39.345Z] 33b1e0a273af: Pulling fs layer [2022-04-15T12:05:39.345Z] 5d3b04190fa2: Pulling fs layer [2022-04-15T12:05:39.345Z] 2f39f015ded8: Pulling fs layer [2022-04-15T12:05:39.345Z] 2f39f015ded8: Waiting [2022-04-15T12:05:39.345Z] 3a2ae6a8a46f: Waiting [2022-04-15T12:05:39.345Z] 33b1e0a273af: Waiting [2022-04-15T12:05:39.345Z] 5d3b04190fa2: Waiting [2022-04-15T12:05:39.345Z] 5c69ac0246d0: Download complete [2022-04-15T12:05:39.345Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-15T12:05:39.345Z] 3a2ae6a8a46f: Download complete [2022-04-15T12:05:39.345Z] 33b1e0a273af: Verifying Checksum [2022-04-15T12:05:39.345Z] 33b1e0a273af: Download complete [2022-04-15T12:05:39.345Z] 5d3b04190fa2: Download complete [2022-04-15T12:05:39.345Z] ec43610c2a17: Verifying Checksum [2022-04-15T12:05:39.345Z] ec43610c2a17: Download complete [2022-04-15T12:05:39.608Z] 5eb5b503b376: Verifying Checksum [2022-04-15T12:05:39.608Z] 5eb5b503b376: Download complete [2022-04-15T12:05:40.177Z] 2f39f015ded8: Download complete [2022-04-15T12:05:41.115Z] 5eb5b503b376: Pull complete [2022-04-15T12:05:41.115Z] 5c69ac0246d0: Pull complete [2022-04-15T12:05:41.683Z] ec43610c2a17: Pull complete [2022-04-15T12:05:41.683Z] 3a2ae6a8a46f: Pull complete [2022-04-15T12:05:41.943Z] 33b1e0a273af: Pull complete [2022-04-15T12:05:41.943Z] 5d3b04190fa2: Pull complete [2022-04-15T12:05:47.232Z] 2f39f015ded8: Pull complete [2022-04-15T12:05:47.232Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-15T12:05:47.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T12:05:47.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-15T12:05:47.331Z] prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container [2022-04-15T12:05:47.366Z] $ 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-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-15T12:05:49.083Z] $ docker top 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:05:49.581Z] ---> job-cost.sh [2022-04-15T12:05:49.581Z] lf-activate-venv: SKIPPING [2022-04-15T12:05:49.581Z] INFO: No Stack... [2022-04-15T12:05:49.842Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-15T12:05:50.415Z] INFO: Archiving Costs [Pipeline] sh [2022-04-15T12:05:50.747Z] + cat /w/workspace/_app-service-configurable_PR-402/archives/cost.csv [2022-04-15T12:05:50.747Z] + cut -d, -f6 [Pipeline] lock [2022-04-15T12:05:50.786Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [2022-04-15T12:05:50.791Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] did not exist. Created. [2022-04-15T12:05:50.791Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-15T12:05:51.182Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-15T12:05:51.239Z] Stashed 1 file(s) [Pipeline] } [2022-04-15T12:05:51.265Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-15T12:05:51.335Z] $ docker stop --time=1 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 [2022-04-15T12:05:52.517Z] $ docker rm -f 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-15T12:05:57.748Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21062 in /w/workspace/_app-service-configurable_PR-402 [Pipeline] { [Pipeline] ws [2022-04-15T12:05:57.788Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-15T12:05:57.997Z] Selected Git installation does not exist. Using Default [2022-04-15T12:05:57.997Z] The recommended git tool is: NONE [2022-04-15T12:06:02.612Z] using credential edgex-jenkins-ssh [2022-04-15T12:06:02.629Z] Cloning the remote Git repository [2022-04-15T12:06:02.691Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-15T12:06:02.768Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-15T12:06:02.838Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-15T12:06:02.838Z] > git --version # timeout=10 [2022-04-15T12:06:02.856Z] > git --version # 'git version 2.25.1' [2022-04-15T12:06:02.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T12:06:02.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T12:06:04.081Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-15T12:06:04.819Z] Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [2022-04-15T12:06:05.036Z] Merge succeeded, producing 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [2022-04-15T12:06:05.036Z] Checking out Revision 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 (PR-402) [2022-04-15T12:06:04.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T12:06:04.188Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-15T12:06:04.254Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-15T12:06:04.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T12:06:04.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-15T12:06:04.843Z] > git config core.sparsecheckout # timeout=10 [2022-04-15T12:06:04.860Z] > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # timeout=10 [2022-04-15T12:06:04.947Z] > git remote # timeout=10 [2022-04-15T12:06:04.969Z] > git config --get remote.origin.url # timeout=10 [2022-04-15T12:06:04.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T12:06:05.002Z] > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 [2022-04-15T12:06:05.027Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-15T12:06:05.048Z] > git config core.sparsecheckout # timeout=10 [2022-04-15T12:06:05.061Z] > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # timeout=10 [2022-04-15T12:06:09.190Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-04-15T12:06:09.249Z] > git --version # timeout=10 [2022-04-15T12:06:09.267Z] > git --version # 'git version 2.25.1' [2022-04-15T12:06:09.283Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T12:06:10.341Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-15T12:06:10.341Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T12:06:10.341Z] Dload Upload Total Spent Left Speed [2022-04-15T12:06:10.341Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-04-15T12:06:10.882Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-15T12:06:11.238Z] + sudo tee /etc/docker/daemon.new [2022-04-15T12:06:11.238Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-15T12:06:11.238Z] { [2022-04-15T12:06:11.238Z] "registry-mirrors": [ [2022-04-15T12:06:11.238Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-15T12:06:11.238Z] ], [2022-04-15T12:06:11.238Z] "bip": "10.250.0.254/24", [2022-04-15T12:06:11.238Z] "hosts": [ [2022-04-15T12:06:11.238Z] "tcp://0.0.0.0:5555", [2022-04-15T12:06:11.238Z] "unix:///var/run/docker.sock" [2022-04-15T12:06:11.238Z] ], [2022-04-15T12:06:11.238Z] "mtu": 1458, [2022-04-15T12:06:11.238Z] "selinux-enabled": true, [2022-04-15T12:06:11.238Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-15T12:06:11.238Z] } [Pipeline] sh [2022-04-15T12:06:11.636Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-15T12:06:12.105Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T12:06:30.498Z] provisioning config files... [2022-04-15T12:06:30.527Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config9001571113136847845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:06:31.108Z] ---> docker-login.sh [2022-04-15T12:06:31.108Z] nexus3.edgexfoundry.org:10001 [2022-04-15T12:06:31.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:06:31.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:06:31.985Z] Configure a credential helper to remove this warning. See [2022-04-15T12:06:31.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:06:31.985Z] [2022-04-15T12:06:31.985Z] Login Succeeded [2022-04-15T12:06:31.985Z] nexus3.edgexfoundry.org:10002 [2022-04-15T12:06:32.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:06:32.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:06:32.536Z] Configure a credential helper to remove this warning. See [2022-04-15T12:06:32.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:06:32.536Z] [2022-04-15T12:06:32.536Z] Login Succeeded [2022-04-15T12:06:32.536Z] nexus3.edgexfoundry.org:10003 [2022-04-15T12:06:32.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:06:32.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:06:32.816Z] Configure a credential helper to remove this warning. See [2022-04-15T12:06:32.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:06:32.816Z] [2022-04-15T12:06:32.816Z] Login Succeeded [2022-04-15T12:06:32.816Z] nexus3.edgexfoundry.org:10004 [2022-04-15T12:06:33.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:06:33.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:06:33.418Z] Configure a credential helper to remove this warning. See [2022-04-15T12:06:33.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:06:33.418Z] [2022-04-15T12:06:33.418Z] Login Succeeded [2022-04-15T12:06:33.418Z] docker.io [2022-04-15T12:06:33.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T12:06:34.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T12:06:34.285Z] Configure a credential helper to remove this warning. See [2022-04-15T12:06:34.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T12:06:34.285Z] [2022-04-15T12:06:34.285Z] Login Succeeded [2022-04-15T12:06:34.285Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T12:06:34.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-15T12:06:34.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T12:06:34.758Z] ========================================================= [2022-04-15T12:06:34.758Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-15T12:06:34.758Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:06:35.207Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-15T12:06:35.207Z] Sending build context to Docker daemon 210.4kB [2022-04-15T12:06:35.485Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T12:06:35.485Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-15T12:06:35.767Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-15T12:06:35.767Z] 9b3977197b4f: Pulling fs layer [2022-04-15T12:06:35.767Z] 1a89e8eeedd5: Pulling fs layer [2022-04-15T12:06:35.767Z] 94645a83ff95: Pulling fs layer [2022-04-15T12:06:35.767Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-15T12:06:35.767Z] 0c92f367c5e7: Pulling fs layer [2022-04-15T12:06:35.767Z] f7c0051592d6: Pulling fs layer [2022-04-15T12:06:35.767Z] a227ed2f7395: Pulling fs layer [2022-04-15T12:06:35.767Z] 7b1c46037f91: Pulling fs layer [2022-04-15T12:06:35.767Z] f7c0051592d6: Waiting [2022-04-15T12:06:35.767Z] 3f3a8bcf1eab: Waiting [2022-04-15T12:06:35.767Z] a227ed2f7395: Waiting [2022-04-15T12:06:35.767Z] 0c92f367c5e7: Waiting [2022-04-15T12:06:35.767Z] 7b1c46037f91: Waiting [2022-04-15T12:06:35.767Z] 94645a83ff95: Verifying Checksum [2022-04-15T12:06:35.767Z] 94645a83ff95: Download complete [2022-04-15T12:06:35.767Z] 1a89e8eeedd5: Verifying Checksum [2022-04-15T12:06:35.767Z] 1a89e8eeedd5: Download complete [2022-04-15T12:06:35.767Z] 0c92f367c5e7: Verifying Checksum [2022-04-15T12:06:35.767Z] 0c92f367c5e7: Download complete [2022-04-15T12:06:35.767Z] f7c0051592d6: Verifying Checksum [2022-04-15T12:06:35.767Z] f7c0051592d6: Download complete [2022-04-15T12:06:35.767Z] 9b3977197b4f: Download complete [2022-04-15T12:06:35.767Z] a227ed2f7395: Verifying Checksum [2022-04-15T12:06:35.767Z] a227ed2f7395: Download complete [2022-04-15T12:06:36.371Z] 9b3977197b4f: Pull complete [2022-04-15T12:06:37.366Z] 1a89e8eeedd5: Pull complete [2022-04-15T12:06:37.366Z] 94645a83ff95: Pull complete [2022-04-15T12:06:37.644Z] 7b1c46037f91: Verifying Checksum [2022-04-15T12:06:37.644Z] 7b1c46037f91: Download complete [2022-04-15T12:06:38.251Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-15T12:06:38.251Z] 3f3a8bcf1eab: Download complete [2022-04-15T12:06:50.681Z] 3f3a8bcf1eab: Pull complete [2022-04-15T12:06:50.681Z] 0c92f367c5e7: Pull complete [2022-04-15T12:06:50.681Z] f7c0051592d6: Pull complete [2022-04-15T12:06:51.281Z] a227ed2f7395: Pull complete [2022-04-15T12:06:58.012Z] 7b1c46037f91: Pull complete [2022-04-15T12:06:58.012Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-15T12:06:58.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T12:06:58.012Z] ---> f79e39bc4007 [2022-04-15T12:06:58.012Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-15T12:06:58.012Z] ---> Running in e7282ed1d2e9 [2022-04-15T12:06:58.612Z] Removing intermediate container e7282ed1d2e9 [2022-04-15T12:06:58.612Z] ---> 1e1c45122920 [2022-04-15T12:06:58.612Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-15T12:06:58.612Z] ---> Running in 6ac360f5206d [2022-04-15T12:06:58.884Z] Removing intermediate container 6ac360f5206d [2022-04-15T12:06:58.884Z] ---> eac59e65370b [2022-04-15T12:06:58.884Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:06:58.884Z] ---> Running in f03e5c0c668f [2022-04-15T12:06:59.163Z] Removing intermediate container f03e5c0c668f [2022-04-15T12:06:59.163Z] ---> 063c0e57f6b4 [2022-04-15T12:06:59.163Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T12:06:59.163Z] ---> Running in 9eda0444fcd1 [2022-04-15T12:07:01.151Z] Removing intermediate container 9eda0444fcd1 [2022-04-15T12:07:01.151Z] ---> f63e9d47f660 [2022-04-15T12:07:01.151Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-15T12:07:01.151Z] ---> Running in 8f66b739bd8b [2022-04-15T12:07:02.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-15T12:07:03.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-15T12:07:03.702Z] OK: 220 MiB in 52 packages [2022-04-15T12:07:04.688Z] Removing intermediate container 8f66b739bd8b [2022-04-15T12:07:04.688Z] ---> 2730d8d5e160 [2022-04-15T12:07:04.688Z] Step 8/13 : WORKDIR /app [2022-04-15T12:07:04.688Z] ---> Running in c224a92c5b85 [2022-04-15T12:07:04.966Z] Removing intermediate container c224a92c5b85 [2022-04-15T12:07:04.966Z] ---> 3f01f78d11d0 [2022-04-15T12:07:04.966Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-15T12:07:05.563Z] ---> 70212bd4eced [2022-04-15T12:07:05.563Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T12:07:05.563Z] ---> Running in 598dfe0d1409 [2022-04-15T12:08:27.384Z] Removing intermediate container 598dfe0d1409 [2022-04-15T12:08:27.384Z] ---> b05309db3728 [2022-04-15T12:08:27.384Z] Step 11/13 : COPY . . [2022-04-15T12:08:27.384Z] ---> f9acf0f8a34f [2022-04-15T12:08:27.384Z] Step 12/13 : ARG MAKE="make build" [2022-04-15T12:08:27.384Z] ---> Running in 2f38a4849d1f [2022-04-15T12:08:27.384Z] Removing intermediate container 2f38a4849d1f [2022-04-15T12:08:27.384Z] ---> e46faec67704 [2022-04-15T12:08:27.384Z] Step 13/13 : RUN $MAKE [2022-04-15T12:08:27.384Z] ---> Running in 41d7b48d0f54 [2022-04-15T12:08:27.384Z] noop [2022-04-15T12:08:27.384Z] Removing intermediate container 41d7b48d0f54 [2022-04-15T12:08:27.384Z] ---> f8250db7b9d9 [2022-04-15T12:08:27.384Z] Successfully built f8250db7b9d9 [2022-04-15T12:08:27.384Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:08:27.755Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T12:08:27.755Z] . [Pipeline] withDockerContainer [2022-04-15T12:08:27.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container [2022-04-15T12:08:28.080Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-15T12:08:29.399Z] $ docker top 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T12:08:30.365Z] + go version [2022-04-15T12:08:30.365Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-15T12:08:30.407Z] $ docker stop --time=1 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 [2022-04-15T12:08:32.037Z] $ docker rm -f 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:08:32.921Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T12:08:32.922Z] . [Pipeline] withDockerContainer [2022-04-15T12:08:33.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container [2022-04-15T12:08:33.253Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-15T12:08:34.547Z] $ docker top 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-15T12:08:35.566Z] + make test [2022-04-15T12:08:35.566Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-15T12:09:22.598Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-15T12:09:22.598Z] CGO_ENABLED=1 go vet ./... [2022-04-15T12:09:40.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T12:09:40.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T12:09:40.936Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-15T12:09:41.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-15T12:09:41.994Z] $ docker stop --time=1 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 [2022-04-15T12:09:43.782Z] $ docker rm -f 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T12:09:44.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-15T12:09:44.681Z] Warning: overwriting stash ‘coverage-report’ [2022-04-15T12:09:45.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T12:09:45.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-15T12:09:46.054Z] + ls -al . [2022-04-15T12:09:46.054Z] total 172 [2022-04-15T12:09:46.054Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 15 12:09 . [2022-04-15T12:09:46.054Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:06 .. [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 15 12:06 .dockerignore [2022-04-15T12:09:46.054Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:06 .git [2022-04-15T12:09:46.054Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:06 .github [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 15 12:06 .gitignore [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 15 12:06 Attribution.txt [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 15 12:06 CHANGELOG.md [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 15 12:06 Dockerfile [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 12:06 GOVERNANCE.md [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 15 12:06 Jenkinsfile [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:06 LICENSE [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 15 12:06 OWNERS.md [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 15 12:06 README.md [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:04 VERSION [2022-04-15T12:09:46.054Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:06 bin [2022-04-15T12:09:46.054Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 15 12:08 coverage.out [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 15 12:06 go.mod [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 15 12:06 go.sum [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 15 12:06 main.go [2022-04-15T12:09:46.054Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 15 12:06 makefile [2022-04-15T12:09:46.054Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:06 res [2022-04-15T12:09:46.054Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:06 snap [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:09:46.425Z] + 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=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 --label arch=arm64 --label version=0.0.0 . [2022-04-15T12:09:46.425Z] Sending build context to Docker daemon 211.5kB [2022-04-15T12:09:46.700Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T12:09:46.700Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-15T12:09:46.700Z] ---> f8250db7b9d9 [2022-04-15T12:09:46.700Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-15T12:09:46.700Z] ---> Running in ed7f8134a7c0 [2022-04-15T12:09:46.976Z] Removing intermediate container ed7f8134a7c0 [2022-04-15T12:09:46.976Z] ---> d8edc9a1fdd2 [2022-04-15T12:09:46.976Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-15T12:09:47.254Z] ---> Running in 43466e09fa26 [2022-04-15T12:09:47.527Z] Removing intermediate container 43466e09fa26 [2022-04-15T12:09:47.527Z] ---> 4f1587b90489 [2022-04-15T12:09:47.527Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:09:47.527Z] ---> Running in 4d73c98c9056 [2022-04-15T12:09:47.803Z] Removing intermediate container 4d73c98c9056 [2022-04-15T12:09:47.803Z] ---> 61aadca8386f [2022-04-15T12:09:47.803Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T12:09:47.803Z] ---> Running in bbc7d989a18b [2022-04-15T12:09:49.801Z] Removing intermediate container bbc7d989a18b [2022-04-15T12:09:49.801Z] ---> 55c37bbd3baf [2022-04-15T12:09:49.801Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-15T12:09:49.801Z] ---> Running in f16fa9790be2 [2022-04-15T12:09:50.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-15T12:09:51.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-15T12:09:52.439Z] OK: 220 MiB in 52 packages [2022-04-15T12:09:53.462Z] Removing intermediate container f16fa9790be2 [2022-04-15T12:09:53.462Z] ---> 41ab2f6effe0 [2022-04-15T12:09:53.462Z] Step 8/27 : WORKDIR /app [2022-04-15T12:09:53.462Z] ---> Running in 90ac702d85a3 [2022-04-15T12:09:53.736Z] Removing intermediate container 90ac702d85a3 [2022-04-15T12:09:53.736Z] ---> 0078c1d75e11 [2022-04-15T12:09:53.736Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-15T12:09:54.336Z] ---> 742f478c22dd [2022-04-15T12:09:54.336Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T12:09:54.336Z] ---> Running in 4fc597a55ef8 [2022-04-15T12:09:56.310Z] Removing intermediate container 4fc597a55ef8 [2022-04-15T12:09:56.310Z] ---> 8a31f5646d67 [2022-04-15T12:09:56.310Z] Step 11/27 : COPY . . [2022-04-15T12:09:56.905Z] ---> 920e0d3276d6 [2022-04-15T12:09:56.905Z] Step 12/27 : ARG MAKE="make build" [2022-04-15T12:09:57.187Z] ---> Running in 230c463ef880 [2022-04-15T12:09:57.462Z] Removing intermediate container 230c463ef880 [2022-04-15T12:09:57.462Z] ---> e93296e9293a [2022-04-15T12:09:57.462Z] Step 13/27 : RUN $MAKE [2022-04-15T12:09:57.462Z] ---> Running in 6f4377a30c11 [2022-04-15T12:09:58.440Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-15T12:11:20.238Z] Removing intermediate container 6f4377a30c11 [2022-04-15T12:11:20.238Z] ---> dd6ef56dfc04 [2022-04-15T12:11:20.238Z] Step 14/27 : FROM alpine:3.14 [2022-04-15T12:11:20.238Z] 3.14: Pulling from library/alpine [2022-04-15T12:11:20.238Z] 455c02918c45: Pulling fs layer [2022-04-15T12:11:20.238Z] 455c02918c45: Verifying Checksum [2022-04-15T12:11:20.238Z] 455c02918c45: Download complete [2022-04-15T12:11:20.238Z] 455c02918c45: Pull complete [2022-04-15T12:11:20.238Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-15T12:11:20.238Z] Status: Downloaded newer image for alpine:3.14 [2022-04-15T12:11:20.238Z] ---> ac73e934f311 [2022-04-15T12:11:20.238Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-15T12:11:20.238Z] ---> Running in 4714b5e6edba [2022-04-15T12:11:20.238Z] Removing intermediate container 4714b5e6edba [2022-04-15T12:11:20.238Z] ---> a33f9f6f6dec [2022-04-15T12:11:20.238Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-15T12:11:20.238Z] ---> Running in 04b985a3696b [2022-04-15T12:11:20.238Z] Removing intermediate container 04b985a3696b [2022-04-15T12:11:20.238Z] ---> ed2b4f9e4fc2 [2022-04-15T12:11:20.238Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-15T12:11:20.238Z] ---> Running in 81b728ded59b [2022-04-15T12:11:20.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-15T12:11:20.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-15T12:11:20.516Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-15T12:11:20.516Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-15T12:11:20.516Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-15T12:11:20.516Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-15T12:11:20.516Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-15T12:11:20.516Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-15T12:11:20.516Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-15T12:11:20.516Z] Executing busybox-1.33.1-r7.trigger [2022-04-15T12:11:20.516Z] Executing ca-certificates-20211220-r0.trigger [2022-04-15T12:11:20.791Z] OK: 9 MiB in 21 packages [2022-04-15T12:11:22.228Z] Removing intermediate container 81b728ded59b [2022-04-15T12:11:22.228Z] ---> 65ab1c750fd3 [2022-04-15T12:11:22.228Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-15T12:11:22.502Z] ---> 0d2fc8452a8e [2022-04-15T12:11:22.502Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-15T12:11:23.100Z] ---> 9fb2072b5d8a [2022-04-15T12:11:23.100Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-15T12:11:23.699Z] ---> 1e692aac51af [2022-04-15T12:11:23.699Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-15T12:11:25.149Z] ---> d7f3f8399229 [2022-04-15T12:11:25.149Z] Step 22/27 : EXPOSE 48095 [2022-04-15T12:11:25.149Z] ---> Running in 958c53b2e941 [2022-04-15T12:11:25.149Z] Removing intermediate container 958c53b2e941 [2022-04-15T12:11:25.149Z] ---> 42404e85b08f [2022-04-15T12:11:25.149Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-15T12:11:25.432Z] ---> Running in a80c46238544 [2022-04-15T12:11:25.707Z] Removing intermediate container a80c46238544 [2022-04-15T12:11:25.707Z] ---> d8e002632ba3 [2022-04-15T12:11:25.707Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-15T12:11:25.707Z] ---> Running in 8549e7a8d230 [2022-04-15T12:11:25.981Z] Removing intermediate container 8549e7a8d230 [2022-04-15T12:11:25.981Z] ---> 6429568c03d8 [2022-04-15T12:11:25.981Z] Step 25/27 : LABEL arch=arm64 [2022-04-15T12:11:25.981Z] ---> Running in de48cf52e12a [2022-04-15T12:11:26.256Z] Removing intermediate container de48cf52e12a [2022-04-15T12:11:26.256Z] ---> 66f2004efe9e [2022-04-15T12:11:26.256Z] Step 26/27 : LABEL git_sha=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [2022-04-15T12:11:26.531Z] ---> Running in 2155a63c5af9 [2022-04-15T12:11:26.808Z] Removing intermediate container 2155a63c5af9 [2022-04-15T12:11:26.808Z] ---> 9e9f05b619f5 [2022-04-15T12:11:26.808Z] Step 27/27 : LABEL version=0.0.0 [2022-04-15T12:11:26.808Z] ---> Running in 01e36668f157 [2022-04-15T12:11:27.083Z] Removing intermediate container 01e36668f157 [2022-04-15T12:11:27.083Z] ---> ebbc2823b27b [2022-04-15T12:11:27.083Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-15T12:11:27.083Z] Successfully built ebbc2823b27b [2022-04-15T12:11:27.083Z] Successfully tagged app-service-configurable-arm64:latest [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] sh [2022-04-15T12:11:27.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T12:11:27.925Z] [2022-04-15T12:11:27.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:11:28.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T12:11:28.590Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-15T12:11:28.590Z] 8998bd30e6a1: Pulling fs layer [2022-04-15T12:11:28.590Z] 04944245beec: Pulling fs layer [2022-04-15T12:11:28.590Z] 699f458cf7ca: Pulling fs layer [2022-04-15T12:11:28.590Z] 765212b225bb: Pulling fs layer [2022-04-15T12:11:28.590Z] f23df028b6ca: Pulling fs layer [2022-04-15T12:11:28.590Z] d65c8cfc05b1: Pulling fs layer [2022-04-15T12:11:28.590Z] 2437ff75d9bd: Pulling fs layer [2022-04-15T12:11:28.590Z] f23df028b6ca: Waiting [2022-04-15T12:11:28.590Z] d65c8cfc05b1: Waiting [2022-04-15T12:11:28.590Z] 2437ff75d9bd: Waiting [2022-04-15T12:11:28.590Z] 765212b225bb: Waiting [2022-04-15T12:11:28.590Z] 04944245beec: Verifying Checksum [2022-04-15T12:11:28.590Z] 04944245beec: Download complete [2022-04-15T12:11:28.590Z] 765212b225bb: Download complete [2022-04-15T12:11:28.590Z] f23df028b6ca: Download complete [2022-04-15T12:11:28.590Z] d65c8cfc05b1: Verifying Checksum [2022-04-15T12:11:28.590Z] d65c8cfc05b1: Download complete [2022-04-15T12:11:28.866Z] 699f458cf7ca: Verifying Checksum [2022-04-15T12:11:28.866Z] 699f458cf7ca: Download complete [2022-04-15T12:11:29.153Z] 8998bd30e6a1: Verifying Checksum [2022-04-15T12:11:29.153Z] 8998bd30e6a1: Download complete [2022-04-15T12:11:31.777Z] 2437ff75d9bd: Verifying Checksum [2022-04-15T12:11:31.777Z] 2437ff75d9bd: Download complete [2022-04-15T12:11:33.227Z] 8998bd30e6a1: Pull complete [2022-04-15T12:11:33.828Z] 04944245beec: Pull complete [2022-04-15T12:11:35.275Z] 699f458cf7ca: Pull complete [2022-04-15T12:11:35.554Z] 765212b225bb: Pull complete [2022-04-15T12:11:36.153Z] f23df028b6ca: Pull complete [2022-04-15T12:11:36.427Z] d65c8cfc05b1: Pull complete [2022-04-15T12:11:51.535Z] 2437ff75d9bd: Pull complete [2022-04-15T12:11:51.535Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-15T12:11:51.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T12:11:51.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-15T12:11:51.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container [2022-04-15T12:11:51.850Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-15T12:11:54.367Z] $ docker top 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:11:55.355Z] ---> job-cost.sh [2022-04-15T12:11:55.356Z] lf-activate-venv: SKIPPING [2022-04-15T12:11:55.356Z] INFO: No Stack... [2022-04-15T12:11:55.629Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-15T12:11:56.605Z] INFO: Archiving Costs [Pipeline] sh [2022-04-15T12:11:57.286Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-15T12:11:57.286Z] + cut -d, -f6 [Pipeline] lock [2022-04-15T12:11:57.366Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [2022-04-15T12:11:57.371Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] did not exist. Created. [2022-04-15T12:11:57.371Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-15T12:11:58.116Z] /w/workspace/app-service-configurable/1@tmp/durable-90806630/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-15T12:11:58.810Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-15T12:11:58.847Z] Warning: overwriting stash ‘stack-cost’ [2022-04-15T12:11:58.891Z] Stashed 1 file(s) [Pipeline] } [2022-04-15T12:11:58.905Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-15T12:11:58.980Z] $ docker stop --time=1 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 [2022-04-15T12:12:00.525Z] $ docker rm -f 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 [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-04-15T12:12:01.561Z] provisioning config files... [2022-04-15T12:12:01.571Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config4525531477387850116tmp [Pipeline] { [Pipeline] sh [2022-04-15T12:12:01.911Z] + set +x [2022-04-15T12:12:01.911Z] + bash -s -- [2022-04-15T12:12:01.911Z] + curl -s https://codecov.io/bash [2022-04-15T12:12:01.911Z] [2022-04-15T12:12:01.911Z] _____ _ [2022-04-15T12:12:01.911Z] / ____| | | [2022-04-15T12:12:01.911Z] | | ___ __| | ___ ___ _____ __ [2022-04-15T12:12:01.911Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-15T12:12:01.911Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-15T12:12:01.911Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-15T12:12:01.911Z] Bash-1.0.6 [2022-04-15T12:12:01.911Z] [2022-04-15T12:12:01.911Z] [2022-04-15T12:12:01.911Z] ==> git version 2.25.1 found [2022-04-15T12:12:01.911Z] ==> 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-04-15T12:12:01.911Z] Release-Date: 2020-01-08 [2022-04-15T12:12:01.911Z] 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-04-15T12:12:01.911Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-15T12:12:01.911Z] ==> Jenkins CI detected. [2022-04-15T12:12:01.911Z] current dir:  /w/workspace/_app-service-configurable_PR-402 [2022-04-15T12:12:01.911Z] project root: . [2022-04-15T12:12:01.911Z] --> token set from env [2022-04-15T12:12:01.911Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-15T12:12:01.911Z] ==> Running gcov in . (disable via -X gcov) [2022-04-15T12:12:01.911Z] ==> Python coveragepy not found [2022-04-15T12:12:01.911Z] ==> Searching for coverage reports in: [2022-04-15T12:12:01.911Z] + . [2022-04-15T12:12:02.173Z] -> Found 1 reports [2022-04-15T12:12:02.173Z] ==> Detecting git/mercurial file structure [2022-04-15T12:12:02.173Z] ==> Reading reports [2022-04-15T12:12:02.173Z] + ./coverage.out bytes=10 [2022-04-15T12:12:02.173Z] ==> Appending adjustments [2022-04-15T12:12:02.173Z] https://docs.codecov.io/docs/fixing-reports [2022-04-15T12:12:02.173Z] + Found adjustments [2022-04-15T12:12:02.173Z] ==> Gzipping contents [2022-04-15T12:12:02.173Z] 4.0K /tmp/codecov.gbYpfP.gz [2022-04-15T12:12:02.173Z] ==> Uploading reports [2022-04-15T12:12:02.173Z] url: https://codecov.io [2022-04-15T12:12:02.173Z] query: branch=PR-402&commit=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=402&job=&cmd_args= [2022-04-15T12:12:02.173Z] -> Pinging Codecov [2022-04-15T12:12:02.173Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-402&commit=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=402&job=&cmd_args= [2022-04-15T12:12:02.434Z] -> Uploading to [2022-04-15T12:12:02.434Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-15/A97CA9966030D2A3747ED39772930CCE/20f45165f3ba978c60c8399083a1d7dd1eb1a7a7/2251db70-3498-48f3-b964-08d72e517176.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220415T121202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25041a6ab8acbc75d674154d2fa2287366339c97d3c994fc2364b8767a16de53 [2022-04-15T12:12:02.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T12:12:02.434Z] Dload Upload Total Spent Left Speed [2022-04-15T12:12:02.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2722 --:--:-- --:--:-- --:--:-- 2722 [2022-04-15T12:12:02.695Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] } [2022-04-15T12:12:02.722Z] 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-04-15T12:12:04.492Z] + [ -d /w/workspace/_app-service-configurable_PR-402/archives ] [2022-04-15T12:12:04.492Z] + ls -al /w/workspace/_app-service-configurable_PR-402/archives [2022-04-15T12:12:04.492Z] total 16 [2022-04-15T12:12:04.492Z] drwxr-xr-x 3 root root 4096 Apr 15 12:05 . [2022-04-15T12:12:04.492Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:05 .. [2022-04-15T12:12:04.492Z] drwxr-xr-x 2 root root 4096 Apr 15 12:05 cost [2022-04-15T12:12:04.492Z] -rw-r--r-- 1 root root 95 Apr 15 12:05 cost.csv [2022-04-15T12:12:04.492Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-402/archives [2022-04-15T12:12:04.492Z] + ls -al /w/workspace/_app-service-configurable_PR-402/archives [2022-04-15T12:12:04.492Z] total 16 [2022-04-15T12:12:04.492Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 12:05 . [2022-04-15T12:12:04.492Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:05 .. [2022-04-15T12:12:04.492Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 12:05 cost [2022-04-15T12:12:04.492Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 15 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:04.817Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:05.716Z] ---> package-listing.sh [2022-04-15T12:12:05.716Z] ++ facter osfamily [2022-04-15T12:12:05.716Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-15T12:12:05.977Z] + OS_FAMILY=debian [2022-04-15T12:12:05.977Z] + workspace=/w/workspace/_app-service-configurable_PR-402 [2022-04-15T12:12:05.977Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-15T12:12:05.977Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-15T12:12:05.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-15T12:12:05.977Z] + PACKAGES=/tmp/packages_start.txt [2022-04-15T12:12:05.977Z] + '[' /w/workspace/_app-service-configurable_PR-402 ']' [2022-04-15T12:12:05.977Z] + PACKAGES=/tmp/packages_end.txt [2022-04-15T12:12:05.977Z] + case "${OS_FAMILY}" in [2022-04-15T12:12:05.977Z] + dpkg -l [2022-04-15T12:12:05.977Z] + grep '^ii' [2022-04-15T12:12:05.977Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-15T12:12:05.977Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-15T12:12:05.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-15T12:12:05.977Z] + '[' /w/workspace/_app-service-configurable_PR-402 ']' [2022-04-15T12:12:05.977Z] + mkdir -p /w/workspace/_app-service-configurable_PR-402/archives/ [2022-04-15T12:12:05.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-402/archives/ [Pipeline] echo [2022-04-15T12:12:06.010Z] 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-402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-15T12:12:06.324Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-15T12:12:06.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T12:12:06.996Z] . [Pipeline] withDockerContainer [2022-04-15T12:12:07.084Z] prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container [2022-04-15T12:12:07.118Z] $ 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-402/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-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-15T12:12:07.340Z] $ docker top 3966b6920821c19031730f1d04cd1217f59bcd795712dbfd77b1d58883f290b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T12:12:07.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-15T12:12:08.072Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-15T12:12:08.387Z] + ls /var/log/sa-host [2022-04-15T12:12:08.387Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T12:12:08.675Z] provisioning config files... [2022-04-15T12:12:08.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config4086004237891971679tmp [Pipeline] { [Pipeline] echo [2022-04-15T12:12:08.730Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:09.049Z] ---> create-netrc.sh [Pipeline] } [2022-04-15T12:12:09.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:09.483Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-15T12:12:09.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:09.835Z] ---> sudo-logs.sh [2022-04-15T12:12:09.836Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-15T12:12:09.916Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:10.232Z] ---> job-cost.sh [2022-04-15T12:12:10.232Z] lf-activate-venv: SKIPPING [2022-04-15T12:12:10.232Z] DEBUG: total: 0.2199999988079071 [2022-04-15T12:12:10.232Z] INFO: Retrieving Stack Cost... [2022-04-15T12:12:10.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-15T12:12:11.066Z] INFO: Archiving Costs [Pipeline] echo [2022-04-15T12:12:11.099Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T12:12:11.424Z] ---> logs-deploy.sh [2022-04-15T12:12:11.424Z] lf-activate-venv: SKIPPING [2022-04-15T12:12:11.424Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-402/1 [2022-04-15T12:12:11.424Z] INFO: archiving workspace using pattern(s): [2022-04-15T12:12:12.367Z] Archives upload complete. [2022-04-15T12:12:12.367Z] INFO: archiving logs to Nexus