Pull request #372 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a576fe058936a7290e3ffe8cc458073ac3a6a4cf+748c375b9e927734e5c39e9bf70730eec1c3f6a7 (543f991055a53542bf6edf12ced42f779f3b8e96) 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-ssh13426049077606559872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6058481103634107336.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-372/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-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14221753118413744952.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-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15404430890754358851.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh7214311236113582114.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-372/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-372/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13624636027175120980.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2246 in /w/workspace/_app-service-configurable_PR-372 [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-372 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh8555975823818763989.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit a576fe058936a7290e3ffe8cc458073ac3a6a4cf > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh6384942958817202098.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 > git remote # timeout=10 > 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 /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh1283474975264846531.key > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing a576fe058936a7290e3ffe8cc458073ac3a6a4cf Checking out Revision a576fe058936a7290e3ffe8cc458073ac3a6a4cf (PR-372) > git config core.sparsecheckout # timeout=10 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # 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.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T16:59:46.150Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T16:59:46.303Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T16:59:46.384Z] ========================================================= [2022-01-20T16:59:46.384Z] EdgeX Global Pipelines Version Info [2022-01-20T16:59:46.384Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T16:59:47.543Z] ------------------- [2022-01-20T16:59:47.543Z] stable info: [2022-01-20T16:59:47.543Z] ------------------- [2022-01-20T16:59:47.543Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T16:59:47.543Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T16:59:47.543Z] Message: update stable to v1.0.219 [2022-01-20T16:59:48.116Z] ------------------- [2022-01-20T16:59:48.116Z] experimental info: [2022-01-20T16:59:48.116Z] ------------------- [2022-01-20T16:59:48.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T16:59:48.116Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T16:59:48.116Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T16:59:48.372Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-01-20T16:59:48.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-01-20T16:59:48.454Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T16:59:48.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T16:59:48.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T16:59:48.565Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T16:59:48.601Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T16:59:48.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T16:59:48.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T16:59:48.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T16:59:48.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T16:59:48.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-01-20T16:59:48.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T16:59:48.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T16:59:48.936Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T16:59:48.979Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T16:59:49.019Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T16:59:49.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T16:59:49.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T16:59:49.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T16:59:49.174Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T16:59:49.208Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T16:59:49.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T16:59:49.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T16:59:49.316Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T16:59:49.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T16:59:49.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo [2022-01-20T16:59:49.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo [2022-01-20T16:59:49.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo [2022-01-20T16:59:49.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo [2022-01-20T16:59:49.546Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a576fe0 [Pipeline] echo [2022-01-20T16:59:49.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T16:59:49.688Z] provisioning config files... [2022-01-20T16:59:49.704Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config2950105628711219786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T16:59:50.048Z] ---> docker-login.sh [2022-01-20T16:59:50.048Z] nexus3.edgexfoundry.org:10001 [2022-01-20T16:59:50.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T16:59:50.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T16:59:50.310Z] Configure a credential helper to remove this warning. See [2022-01-20T16:59:50.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T16:59:50.310Z] [2022-01-20T16:59:50.310Z] Login Succeeded [2022-01-20T16:59:50.310Z] nexus3.edgexfoundry.org:10002 [2022-01-20T16:59:50.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T16:59:50.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T16:59:50.310Z] Configure a credential helper to remove this warning. See [2022-01-20T16:59:50.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T16:59:50.310Z] [2022-01-20T16:59:50.310Z] Login Succeeded [2022-01-20T16:59:50.310Z] nexus3.edgexfoundry.org:10003 [2022-01-20T16:59:50.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T16:59:50.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T16:59:50.310Z] Configure a credential helper to remove this warning. See [2022-01-20T16:59:50.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T16:59:50.310Z] [2022-01-20T16:59:50.575Z] Login Succeeded [2022-01-20T16:59:50.575Z] nexus3.edgexfoundry.org:10004 [2022-01-20T16:59:50.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T16:59:50.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T16:59:50.575Z] Configure a credential helper to remove this warning. See [2022-01-20T16:59:50.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T16:59:50.575Z] [2022-01-20T16:59:50.575Z] Login Succeeded [2022-01-20T16:59:50.575Z] docker.io [2022-01-20T16:59:50.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T16:59:51.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T16:59:51.154Z] Configure a credential helper to remove this warning. See [2022-01-20T16:59:51.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T16:59:51.155Z] [2022-01-20T16:59:51.155Z] Login Succeeded [2022-01-20T16:59:51.155Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T16:59:51.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T16:59:51.825Z] + git rev-list -1 --merges a576fe058936a7290e3ffe8cc458073ac3a6a4cf~1..a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo [2022-01-20T16:59:51.875Z] -----------> git rev-list -1 --merges a576fe058936a7290e3ffe8cc458073ac3a6a4cf~1..a576fe058936a7290e3ffe8cc458073ac3a6a4cf a576fe058936a7290e3ffe8cc458073ac3a6a4cf [false] [Pipeline] sh [2022-01-20T16:59:52.196Z] + git log --format=format:%s -1 a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo [2022-01-20T16:59:52.232Z] ========================================================= [2022-01-20T16:59:52.232Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T16:59:52.232Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T16:59:52.662Z] + git log --format=format:%s -1 a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo [2022-01-20T16:59:52.694Z] [semverPrep] GIT_COMMIT: a576fe058936a7290e3ffe8cc458073ac3a6a4cf, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-01-20T16:59:52.730Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T16:59:53.189Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T16:59:53.189Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T16:59:53.189Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T16:59:53.189Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T16:59:53.189Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T16:59:53.189Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T16:59:53.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T16:59:53.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T16:59:53.666Z] [2022-01-20T16:59:53.666Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T16:59:54.020Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T16:59:54.020Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T16:59:54.020Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T16:59:54.020Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T16:59:54.020Z] 4c7163046ea9: Pulling fs layer [2022-01-20T16:59:54.020Z] 0c2d73faf560: Pulling fs layer [2022-01-20T16:59:54.020Z] 0c2d73faf560: Waiting [2022-01-20T16:59:54.020Z] 3e5f54012d9b: Download complete [2022-01-20T16:59:54.020Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T16:59:54.020Z] a0d0a0d46f8b: Download complete [2022-01-20T16:59:54.020Z] 4c7163046ea9: Verifying Checksum [2022-01-20T16:59:54.020Z] 4c7163046ea9: Download complete [2022-01-20T16:59:54.299Z] 0c2d73faf560: Verifying Checksum [2022-01-20T16:59:54.299Z] 0c2d73faf560: Download complete [2022-01-20T16:59:54.299Z] a0d0a0d46f8b: Pull complete [2022-01-20T16:59:54.299Z] 3e5f54012d9b: Pull complete [2022-01-20T16:59:54.564Z] 4c7163046ea9: Pull complete [2022-01-20T16:59:54.826Z] 0c2d73faf560: Pull complete [2022-01-20T16:59:54.826Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T16:59:54.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T16:59:54.826Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T16:59:54.933Z] prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container [2022-01-20T16:59:54.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@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-01-20T16:59:55.568Z] $ docker top f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T16:59:55.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T16:59:55.754Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T16:59:55.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T16:59:55.865Z] $ docker exec f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent [2022-01-20T16:59:55.970Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnccdJe/agent.13 [2022-01-20T16:59:55.970Z] SSH_AGENT_PID=19 [2022-01-20T16:59:55.978Z] Running ssh-add (command line suppressed) [2022-01-20T16:59:56.062Z] Identity added: /w/workspace/_app-service-configurable_PR-372@tmp/private_key_2630350945124905885.key (/w/workspace/_app-service-configurable_PR-372@tmp/private_key_2630350945124905885.key) [2022-01-20T16:59:56.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T16:59:56.440Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T16:59:56.468Z] $ docker exec --env ******** --env ******** f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent -k [2022-01-20T16:59:56.559Z] unset SSH_AUTH_SOCK; [2022-01-20T16:59:56.559Z] unset SSH_AGENT_PID; [2022-01-20T16:59:56.559Z] echo Agent pid 19 killed; [2022-01-20T16:59:56.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T16:59:56.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T16:59:56.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T16:59:56.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T16:59:56.768Z] $ docker exec f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent [2022-01-20T16:59:56.874Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKMaolO/agent.53 [2022-01-20T16:59:56.874Z] SSH_AGENT_PID=59 [2022-01-20T16:59:56.879Z] Running ssh-add (command line suppressed) [2022-01-20T16:59:56.973Z] Identity added: /w/workspace/_app-service-configurable_PR-372@tmp/private_key_5451163957592864031.key (/w/workspace/_app-service-configurable_PR-372@tmp/private_key_5451163957592864031.key) [2022-01-20T16:59:56.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T16:59:57.329Z] + git semver init [2022-01-20T16:59:57.329Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T16:59:57.329Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-372/.git [2022-01-20T16:59:57.329Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-372 [2022-01-20T16:59:57.329Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T16:59:57.329Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T16:59:57.329Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T16:59:57.329Z] # $SEMVER_BRANCH = PR-372 [2022-01-20T16:59:57.329Z] # $SEMVER_TEMP = /tmp/semver-568502033 [2022-01-20T16:59:57.329Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-01-20T16:59:58.276Z] # '/tmp/semver-568502033' -> '/w/workspace/_app-service-configurable_PR-372/.semver' [2022-01-20T16:59:58.276Z] # -> Force: false [2022-01-20T16:59:58.276Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-372/.semver [Pipeline] } [2022-01-20T16:59:58.303Z] $ docker exec --env ******** --env ******** f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent -k [2022-01-20T16:59:58.399Z] unset SSH_AUTH_SOCK; [2022-01-20T16:59:58.400Z] unset SSH_AGENT_PID; [2022-01-20T16:59:58.400Z] echo Agent pid 59 killed; [2022-01-20T16:59:58.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T16:59:58.844Z] + git semver [Pipeline] } [2022-01-20T16:59:58.878Z] $ docker stop --time=1 f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 [2022-01-20T17:00:00.099Z] $ docker rm -f f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T17:00:00.531Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T17:00:00.824Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T17:00:00.841Z] [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-01-20T17:00:01.429Z] provisioning config files... [2022-01-20T17:00:01.442Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config2895360265132381573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:00:01.811Z] ---> docker-login.sh [2022-01-20T17:00:01.811Z] nexus3.edgexfoundry.org:10001 [2022-01-20T17:00:01.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:00:01.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:00:01.811Z] Configure a credential helper to remove this warning. See [2022-01-20T17:00:01.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:00:01.811Z] [2022-01-20T17:00:01.811Z] Login Succeeded [2022-01-20T17:00:01.811Z] nexus3.edgexfoundry.org:10002 [2022-01-20T17:00:01.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:00:01.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:00:01.811Z] Configure a credential helper to remove this warning. See [2022-01-20T17:00:01.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:00:01.811Z] [2022-01-20T17:00:01.811Z] Login Succeeded [2022-01-20T17:00:01.811Z] nexus3.edgexfoundry.org:10003 [2022-01-20T17:00:02.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:00:02.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:00:02.077Z] Configure a credential helper to remove this warning. See [2022-01-20T17:00:02.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:00:02.077Z] [2022-01-20T17:00:02.077Z] Login Succeeded [2022-01-20T17:00:02.077Z] nexus3.edgexfoundry.org:10004 [2022-01-20T17:00:02.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:00:02.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:00:02.077Z] Configure a credential helper to remove this warning. See [2022-01-20T17:00:02.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:00:02.077Z] [2022-01-20T17:00:02.077Z] Login Succeeded [2022-01-20T17:00:02.077Z] docker.io [2022-01-20T17:00:02.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:00:02.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:00:02.602Z] Configure a credential helper to remove this warning. See [2022-01-20T17:00:02.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:00:02.602Z] [2022-01-20T17:00:02.602Z] Login Succeeded [2022-01-20T17:00:02.602Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T17:00:02.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T17:00:02.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T17:00:02.858Z] ========================================================= [2022-01-20T17:00:02.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T17:00:02.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:00:03.275Z] + 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-01-20T17:00:03.275Z] Sending build context to Docker daemon 2.946MB [2022-01-20T17:00:03.275Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T17:00:03.275Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-20T17:00:03.275Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T17:00:03.275Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T17:00:03.275Z] 666ba61612fd: Pulling fs layer [2022-01-20T17:00:03.275Z] 8ed8ca486205: Pulling fs layer [2022-01-20T17:00:03.275Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T17:00:03.275Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T17:00:03.275Z] f965cba54748: Pulling fs layer [2022-01-20T17:00:03.275Z] 861ffc35075e: Pulling fs layer [2022-01-20T17:00:03.275Z] 4b385c91608e: Pulling fs layer [2022-01-20T17:00:03.275Z] 560528eb2ebb: Pulling fs layer [2022-01-20T17:00:03.275Z] f965cba54748: Waiting [2022-01-20T17:00:03.275Z] 4fe6c5a15a65: Waiting [2022-01-20T17:00:03.275Z] 22a0e8bec74d: Waiting [2022-01-20T17:00:03.275Z] 861ffc35075e: Waiting [2022-01-20T17:00:03.275Z] 560528eb2ebb: Waiting [2022-01-20T17:00:03.275Z] 4b385c91608e: Waiting [2022-01-20T17:00:03.275Z] 8ed8ca486205: Verifying Checksum [2022-01-20T17:00:03.275Z] 8ed8ca486205: Download complete [2022-01-20T17:00:03.275Z] 666ba61612fd: Verifying Checksum [2022-01-20T17:00:03.275Z] 666ba61612fd: Download complete [2022-01-20T17:00:03.275Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T17:00:03.275Z] 22a0e8bec74d: Download complete [2022-01-20T17:00:03.275Z] f965cba54748: Verifying Checksum [2022-01-20T17:00:03.275Z] f965cba54748: Download complete [2022-01-20T17:00:03.275Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T17:00:03.275Z] 59bf1c3509f3: Download complete [2022-01-20T17:00:03.549Z] 861ffc35075e: Verifying Checksum [2022-01-20T17:00:03.549Z] 861ffc35075e: Download complete [2022-01-20T17:00:03.549Z] 4b385c91608e: Verifying Checksum [2022-01-20T17:00:03.549Z] 4b385c91608e: Download complete [2022-01-20T17:00:03.808Z] 59bf1c3509f3: Pull complete [2022-01-20T17:00:04.069Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T17:00:04.069Z] 4fe6c5a15a65: Download complete [2022-01-20T17:00:04.069Z] 666ba61612fd: Pull complete [2022-01-20T17:00:04.069Z] 560528eb2ebb: Verifying Checksum [2022-01-20T17:00:04.069Z] 560528eb2ebb: Download complete [2022-01-20T17:00:04.069Z] 8ed8ca486205: Pull complete [2022-01-20T17:00:08.295Z] 4fe6c5a15a65: Pull complete [2022-01-20T17:00:08.295Z] 22a0e8bec74d: Pull complete [2022-01-20T17:00:08.295Z] f965cba54748: Pull complete [2022-01-20T17:00:08.295Z] 861ffc35075e: Pull complete [2022-01-20T17:00:08.295Z] 4b385c91608e: Pull complete [2022-01-20T17:00:10.874Z] 560528eb2ebb: Pull complete [2022-01-20T17:00:10.874Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T17:00:10.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T17:00:10.874Z] ---> dd4a08f94e63 [2022-01-20T17:00:10.874Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T17:00:12.804Z] ---> Running in b9caf2a2ce85 [2022-01-20T17:00:12.804Z] Removing intermediate container b9caf2a2ce85 [2022-01-20T17:00:12.804Z] ---> ba8d4fd2e793 [2022-01-20T17:00:12.804Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T17:00:12.804Z] ---> Running in 270f8b6b7213 [2022-01-20T17:00:12.804Z] Removing intermediate container 270f8b6b7213 [2022-01-20T17:00:12.804Z] ---> abcd09760fa2 [2022-01-20T17:00:12.804Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:00:12.804Z] ---> Running in 3b239e2b788c [2022-01-20T17:00:12.804Z] Removing intermediate container 3b239e2b788c [2022-01-20T17:00:12.804Z] ---> 92028a71f370 [2022-01-20T17:00:12.804Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T17:00:12.804Z] ---> Running in 3a0bc35df4c7 [2022-01-20T17:00:13.068Z] Removing intermediate container 3a0bc35df4c7 [2022-01-20T17:00:13.068Z] ---> 611385e30386 [2022-01-20T17:00:13.068Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T17:00:13.331Z] ---> Running in ed246fef1dfd [2022-01-20T17:00:13.593Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T17:00:14.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T17:00:14.738Z] OK: 221 MiB in 52 packages [2022-01-20T17:00:14.738Z] Removing intermediate container ed246fef1dfd [2022-01-20T17:00:14.738Z] ---> 020915302491 [2022-01-20T17:00:14.738Z] Step 8/13 : WORKDIR /app [2022-01-20T17:00:15.004Z] ---> Running in e486eb628b82 [2022-01-20T17:00:15.005Z] Removing intermediate container e486eb628b82 [2022-01-20T17:00:15.005Z] ---> d3ae6445a0b7 [2022-01-20T17:00:15.005Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-20T17:00:15.005Z] ---> f4743d478f03 [2022-01-20T17:00:15.005Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T17:00:15.005Z] ---> Running in 9439ae20c092 [2022-01-20T17:00:16.243Z] Still waiting to schedule task [2022-01-20T17:00:16.243Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-20T17:00:47.179Z] Removing intermediate container 9439ae20c092 [2022-01-20T17:00:47.180Z] ---> c8ab612ac11b [2022-01-20T17:00:47.180Z] Step 11/13 : COPY . . [2022-01-20T17:00:47.180Z] ---> 53c1c1ce5aee [2022-01-20T17:00:47.180Z] Step 12/13 : ARG MAKE="make build" [2022-01-20T17:00:47.180Z] ---> Running in 7150110c41a3 [2022-01-20T17:00:47.180Z] Removing intermediate container 7150110c41a3 [2022-01-20T17:00:47.180Z] ---> 5421c00c64a6 [2022-01-20T17:00:47.180Z] Step 13/13 : RUN $MAKE [2022-01-20T17:00:47.180Z] ---> Running in 3a7eb232c440 [2022-01-20T17:00:47.180Z] noop [2022-01-20T17:00:47.180Z] Removing intermediate container 3a7eb232c440 [2022-01-20T17:00:47.180Z] ---> 8303128cf369 [2022-01-20T17:00:47.180Z] Successfully built 8303128cf369 [2022-01-20T17:00:47.180Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:00:47.525Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T17:00:47.525Z] . [Pipeline] withDockerContainer [2022-01-20T17:00:47.611Z] prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container [2022-01-20T17:00:47.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@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-01-20T17:00:48.003Z] $ docker top 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T17:00:48.421Z] + go version [2022-01-20T17:00:48.422Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T17:00:48.449Z] $ docker stop --time=1 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf [2022-01-20T17:00:49.635Z] $ docker rm -f 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:00:50.316Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T17:00:50.316Z] . [Pipeline] withDockerContainer [2022-01-20T17:00:50.423Z] prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container [2022-01-20T17:00:50.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@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-01-20T17:00:50.798Z] $ docker top ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T17:00:51.261Z] + make test [2022-01-20T17:00:51.261Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-20T17:01:06.221Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-01-20T17:01:06.221Z] CGO_ENABLED=1 go vet ./... [2022-01-20T17:01:10.494Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T17:01:10.494Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T17:01:10.494Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T17:01:10.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T17:01:10.567Z] $ docker stop --time=1 ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 [2022-01-20T17:01:11.989Z] $ docker rm -f ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T17:01:12.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T17:01:12.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T17:01:13.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T17:01:14.063Z] + ls -al . [2022-01-20T17:01:14.063Z] total 148 [2022-01-20T17:01:14.063Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 17:01 . [2022-01-20T17:01:14.063Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 16:59 .. [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 7608 Jan 20 16:59 Attribution.txt [2022-01-20T17:01:14.063Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 16:59 bin [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 23791 Jan 20 16:59 CHANGELOG.md [2022-01-20T17:01:14.063Z] -rw-r--r--. 1 jenkins jenkins 10 Jan 20 17:00 coverage.out [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 2087 Jan 20 16:59 Dockerfile [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 119 Jan 20 16:59 .dockerignore [2022-01-20T17:01:14.063Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 16:59 .git [2022-01-20T17:01:14.063Z] drwxrwxr-x. 2 jenkins jenkins 104 Jan 20 16:59 .github [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 104 Jan 20 16:59 .gitignore [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 2802 Jan 20 16:59 go.mod [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 49310 Jan 20 16:59 go.sum [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 16:59 GOVERNANCE.md [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 687 Jan 20 16:59 Jenkinsfile [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jan 20 16:59 LICENSE [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 1949 Jan 20 16:59 main.go [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 20 16:59 makefile [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 618 Jan 20 16:59 OWNERS.md [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 3860 Jan 20 16:59 README.md [2022-01-20T17:01:14.063Z] drwxrwxr-x. 9 jenkins jenkins 151 Jan 20 16:59 res [2022-01-20T17:01:14.063Z] drwx------. 3 jenkins jenkins 72 Jan 20 16:59 .semver [2022-01-20T17:01:14.063Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 16:59 snap [2022-01-20T17:01:14.063Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 17:00 VERSION [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:01:14.398Z] + 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=a576fe058936a7290e3ffe8cc458073ac3a6a4cf --label arch=amd64 --label version=0.0.0 . [2022-01-20T17:01:14.398Z] Sending build context to Docker daemon 2.947MB [2022-01-20T17:01:14.398Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T17:01:14.398Z] Step 2/27 : FROM ${BASE} AS builder [2022-01-20T17:01:14.398Z] ---> 8303128cf369 [2022-01-20T17:01:14.398Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T17:01:14.398Z] ---> Running in fa17ad74d508 [2022-01-20T17:01:14.660Z] Removing intermediate container fa17ad74d508 [2022-01-20T17:01:14.660Z] ---> 3be8577a3083 [2022-01-20T17:01:14.660Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T17:01:14.660Z] ---> Running in b586ef2b9a0a [2022-01-20T17:01:14.660Z] Removing intermediate container b586ef2b9a0a [2022-01-20T17:01:14.660Z] ---> 45882a73238a [2022-01-20T17:01:14.660Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:01:14.660Z] ---> Running in 03cd606ec329 [2022-01-20T17:01:14.660Z] Removing intermediate container 03cd606ec329 [2022-01-20T17:01:14.660Z] ---> 8bb3fa58a32b [2022-01-20T17:01:14.660Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T17:01:14.660Z] ---> Running in 74535bc7faf5 [2022-01-20T17:01:15.230Z] Removing intermediate container 74535bc7faf5 [2022-01-20T17:01:15.230Z] ---> 91e1dfd97ca3 [2022-01-20T17:01:15.230Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T17:01:15.230Z] ---> Running in 1f2a257a0e13 [2022-01-20T17:01:15.492Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T17:01:16.432Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T17:01:16.700Z] OK: 221 MiB in 52 packages [2022-01-20T17:01:16.961Z] Removing intermediate container 1f2a257a0e13 [2022-01-20T17:01:16.961Z] ---> d08774b0f6d5 [2022-01-20T17:01:16.961Z] Step 8/27 : WORKDIR /app [2022-01-20T17:01:16.961Z] ---> Running in 542c8b8e9e96 [2022-01-20T17:01:16.961Z] Removing intermediate container 542c8b8e9e96 [2022-01-20T17:01:16.961Z] ---> 00005f53fdb3 [2022-01-20T17:01:16.961Z] Step 9/27 : COPY go.mod vendor* ./ [2022-01-20T17:01:17.221Z] ---> 01e9d381a6d6 [2022-01-20T17:01:17.221Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T17:01:17.221Z] ---> Running in 43904386b1e9 [2022-01-20T17:01:17.801Z] Removing intermediate container 43904386b1e9 [2022-01-20T17:01:17.801Z] ---> bd65fb283225 [2022-01-20T17:01:17.801Z] Step 11/27 : COPY . . [2022-01-20T17:01:18.060Z] ---> 49895b796896 [2022-01-20T17:01:18.060Z] Step 12/27 : ARG MAKE="make build" [2022-01-20T17:01:18.060Z] ---> Running in 8369ccc5b65a [2022-01-20T17:01:18.319Z] Removing intermediate container 8369ccc5b65a [2022-01-20T17:01:18.319Z] ---> cbdd08e9ec75 [2022-01-20T17:01:18.319Z] Step 13/27 : RUN $MAKE [2022-01-20T17:01:18.319Z] ---> Running in a1c6f6b4aa08 [2022-01-20T17:01:18.587Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2022-01-20T17:01:30.942Z] Removing intermediate container a1c6f6b4aa08 [2022-01-20T17:01:30.942Z] ---> 69a06f0ca1cf [2022-01-20T17:01:30.942Z] Step 14/27 : FROM alpine:3.14 [2022-01-20T17:01:31.516Z] 3.14: Pulling from library/alpine [2022-01-20T17:01:31.516Z] 97518928ae5f: Pulling fs layer [2022-01-20T17:01:31.787Z] 97518928ae5f: Verifying Checksum [2022-01-20T17:01:31.787Z] 97518928ae5f: Download complete [2022-01-20T17:01:32.051Z] 97518928ae5f: Pull complete [2022-01-20T17:01:32.051Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T17:01:32.051Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T17:01:32.051Z] ---> 0a97eee8041e [2022-01-20T17:01:32.051Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:01:32.051Z] ---> Running in d5f83a5730d3 [2022-01-20T17:01:32.051Z] Removing intermediate container d5f83a5730d3 [2022-01-20T17:01:32.051Z] ---> 3101faf24ebf [2022-01-20T17:01:32.051Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-01-20T17:01:32.051Z] ---> Running in 834279dab0a7 [2022-01-20T17:01:32.316Z] Removing intermediate container 834279dab0a7 [2022-01-20T17:01:32.316Z] ---> 17650b273d4c [2022-01-20T17:01:32.316Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-01-20T17:01:32.316Z] ---> Running in 25d7920f98c1 [2022-01-20T17:01:32.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T17:01:34.570Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2247 in /w/workspace/_app-service-configurable_PR-372 [Pipeline] { [Pipeline] ws [2022-01-20T17:01:34.617Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-01-20T17:01:34.830Z] Selected Git installation does not exist. Using Default [2022-01-20T17:01:34.830Z] The recommended git tool is: NONE [2022-01-20T17:01:37.869Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-01-20T17:01:37.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T17:01:39.392Z] using credential edgex-jenkins-ssh [2022-01-20T17:01:39.408Z] Cloning the remote Git repository [2022-01-20T17:01:39.451Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T17:01:39.522Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-01-20T17:01:39.600Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T17:01:39.601Z] > git --version # timeout=10 [2022-01-20T17:01:39.616Z] > git --version # 'git version 2.17.1' [2022-01-20T17:01:39.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T17:01:39.737Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T17:01:41.618Z] Merging remotes/origin/main commit 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit a576fe058936a7290e3ffe8cc458073ac3a6a4cf [2022-01-20T17:01:41.803Z] Merge succeeded, producing a576fe058936a7290e3ffe8cc458073ac3a6a4cf [2022-01-20T17:01:41.803Z] Checking out Revision a576fe058936a7290e3ffe8cc458073ac3a6a4cf (PR-372) [2022-01-20T17:01:40.952Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-01-20T17:01:40.975Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T17:01:41.003Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-01-20T17:01:41.032Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T17:01:41.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T17:01:41.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-20T17:01:41.631Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T17:01:41.650Z] > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 [2022-01-20T17:01:41.727Z] > git remote # timeout=10 [2022-01-20T17:01:41.741Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T17:01:41.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T17:01:41.764Z] > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 [2022-01-20T17:01:41.785Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T17:01:41.804Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T17:01:41.820Z] > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 [2022-01-20T17:01:43.146Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-01-20T17:01:43.146Z] ERROR: unable to select packages: [2022-01-20T17:01:43.146Z]  ca-certificates (no such package): [2022-01-20T17:01:43.146Z] required by: world[ca-certificates] [2022-01-20T17:01:43.146Z] dumb-init (no such package): [2022-01-20T17:01:43.146Z] required by: world[dumb-init] [2022-01-20T17:01:43.146Z] zeromq (no such package): [2022-01-20T17:01:43.146Z] required by: world[zeromq] [2022-01-20T17:01:43.146Z] The command '/bin/sh -c apk add --update --no-cache ca-certificates zeromq dumb-init' returned a non-zero code: 3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:01:43.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T17:01:43.863Z] [2022-01-20T17:01:43.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:01:44.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T17:01:44.221Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T17:01:44.221Z] b4d181a07f80: Pulling fs layer [2022-01-20T17:01:44.221Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T17:01:44.221Z] ed53099fbce6: Pulling fs layer [2022-01-20T17:01:44.221Z] dc539afda2c1: Pulling fs layer [2022-01-20T17:01:44.221Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T17:01:44.221Z] 9065ff56babe: Pulling fs layer [2022-01-20T17:01:44.221Z] d287ab97295c: Pulling fs layer [2022-01-20T17:01:44.221Z] dc539afda2c1: Waiting [2022-01-20T17:01:44.221Z] 77bc0d833cb6: Waiting [2022-01-20T17:01:44.221Z] 9065ff56babe: Waiting [2022-01-20T17:01:44.221Z] d287ab97295c: Waiting [2022-01-20T17:01:44.221Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T17:01:44.221Z] a1111a8f2ec3: Download complete [2022-01-20T17:01:44.221Z] dc539afda2c1: Verifying Checksum [2022-01-20T17:01:44.221Z] dc539afda2c1: Download complete [2022-01-20T17:01:44.221Z] ed53099fbce6: Verifying Checksum [2022-01-20T17:01:44.221Z] ed53099fbce6: Download complete [2022-01-20T17:01:44.221Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T17:01:44.221Z] 77bc0d833cb6: Download complete [2022-01-20T17:01:44.221Z] 9065ff56babe: Verifying Checksum [2022-01-20T17:01:44.221Z] 9065ff56babe: Download complete [2022-01-20T17:01:44.487Z] b4d181a07f80: Verifying Checksum [2022-01-20T17:01:44.487Z] b4d181a07f80: Download complete [2022-01-20T17:01:45.070Z] d287ab97295c: Verifying Checksum [2022-01-20T17:01:45.070Z] d287ab97295c: Download complete [2022-01-20T17:01:45.898Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-01-20T17:01:45.950Z] > git --version # timeout=10 [2022-01-20T17:01:45.960Z] > git --version # 'git version 2.17.1' [2022-01-20T17:01:45.974Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T17:01:46.023Z] b4d181a07f80: Pull complete [2022-01-20T17:01:46.023Z] a1111a8f2ec3: Pull complete [2022-01-20T17:01:46.460Z] [2022-01-20T17:01:46.460Z] GitHub has been notified of this commit’s build result [2022-01-20T17:01:46.460Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T17:01:46.966Z] ed53099fbce6: Pull complete [2022-01-20T17:01:46.966Z] dc539afda2c1: Pull complete [2022-01-20T17:01:47.200Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T17:01:47.200Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T17:01:47.200Z] Dload Upload Total Spent Left Speed [2022-01-20T17:01:47.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97876 [2022-01-20T17:01:47.232Z] 77bc0d833cb6: Pull complete [2022-01-20T17:01:47.232Z] 9065ff56babe: Pull complete [Pipeline] sh [2022-01-20T17:01:47.773Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T17:01:48.141Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T17:01:48.141Z] + sudo tee /etc/docker/daemon.new [2022-01-20T17:01:48.141Z] { [2022-01-20T17:01:48.141Z] "registry-mirrors": [ [2022-01-20T17:01:48.141Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T17:01:48.141Z] ], [2022-01-20T17:01:48.141Z] "bip": "10.250.0.254/24", [2022-01-20T17:01:48.141Z] "hosts": [ [2022-01-20T17:01:48.141Z] "tcp://0.0.0.0:5555", [2022-01-20T17:01:48.141Z] "unix:///var/run/docker.sock" [2022-01-20T17:01:48.141Z] ], [2022-01-20T17:01:48.141Z] "mtu": 1458, [2022-01-20T17:01:48.141Z] "selinux-enabled": true, [2022-01-20T17:01:48.141Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T17:01:48.141Z] } [Pipeline] sh [2022-01-20T17:01:48.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T17:01:48.855Z] + sudo service docker restart [2022-01-20T17:01:53.868Z] d287ab97295c: Pull complete [2022-01-20T17:01:53.868Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T17:01:53.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T17:01:53.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T17:01:53.963Z] prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container [2022-01-20T17:01:54.001Z] $ 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-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@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-01-20T17:01:56.520Z] $ docker top 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:01:57.012Z] ---> job-cost.sh [2022-01-20T17:01:57.012Z] lf-activate-venv: SKIPPING [2022-01-20T17:01:57.012Z] INFO: No Stack... [2022-01-20T17:01:57.272Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T17:01:57.533Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T17:01:57.854Z] + cat /w/workspace/_app-service-configurable_PR-372/archives/cost.csv [2022-01-20T17:01:57.854Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T17:01:57.913Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [2022-01-20T17:01:57.918Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] did not exist. Created. [2022-01-20T17:01:57.918Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T17:01:58.307Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T17:01:58.358Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T17:01:58.384Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T17:01:58.458Z] $ docker stop --time=1 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 [2022-01-20T17:01:59.586Z] $ docker rm -f 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T17:01:59.950Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T17:02:07.236Z] provisioning config files... [2022-01-20T17:02:07.261Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5218904762203759244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:02:07.657Z] ---> docker-login.sh [2022-01-20T17:02:07.657Z] nexus3.edgexfoundry.org:10001 [2022-01-20T17:02:08.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:02:08.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:02:08.528Z] Configure a credential helper to remove this warning. See [2022-01-20T17:02:08.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:02:08.528Z] [2022-01-20T17:02:08.528Z] Login Succeeded [2022-01-20T17:02:08.528Z] nexus3.edgexfoundry.org:10002 [2022-01-20T17:02:08.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:02:08.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:02:08.801Z] Configure a credential helper to remove this warning. See [2022-01-20T17:02:08.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:02:08.801Z] [2022-01-20T17:02:08.801Z] Login Succeeded [2022-01-20T17:02:08.801Z] nexus3.edgexfoundry.org:10003 [2022-01-20T17:02:09.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:02:09.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:02:09.352Z] Configure a credential helper to remove this warning. See [2022-01-20T17:02:09.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:02:09.352Z] [2022-01-20T17:02:09.352Z] Login Succeeded [2022-01-20T17:02:09.352Z] nexus3.edgexfoundry.org:10004 [2022-01-20T17:02:09.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:02:09.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:02:09.627Z] Configure a credential helper to remove this warning. See [2022-01-20T17:02:09.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:02:09.627Z] [2022-01-20T17:02:09.627Z] Login Succeeded [2022-01-20T17:02:09.627Z] docker.io [2022-01-20T17:02:10.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T17:02:10.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T17:02:10.497Z] Configure a credential helper to remove this warning. See [2022-01-20T17:02:10.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T17:02:10.497Z] [2022-01-20T17:02:10.497Z] Login Succeeded [2022-01-20T17:02:10.497Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T17:02:10.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T17:02:11.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T17:02:11.145Z] ========================================================= [2022-01-20T17:02:11.145Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T17:02:11.145Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:02:11.580Z] + 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-01-20T17:02:11.580Z] Sending build context to Docker daemon 207.4kB [2022-01-20T17:02:11.852Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T17:02:11.852Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-20T17:02:12.129Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T17:02:12.129Z] 9b3977197b4f: Pulling fs layer [2022-01-20T17:02:12.129Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T17:02:12.129Z] 94645a83ff95: Pulling fs layer [2022-01-20T17:02:12.129Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T17:02:12.129Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T17:02:12.129Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T17:02:12.129Z] 9a6b49a46696: Pulling fs layer [2022-01-20T17:02:12.129Z] cf05db05a679: Pulling fs layer [2022-01-20T17:02:12.129Z] 3f3a8bcf1eab: Waiting [2022-01-20T17:02:12.129Z] 0c92f367c5e7: Waiting [2022-01-20T17:02:12.129Z] 4b8299f9d1f4: Waiting [2022-01-20T17:02:12.129Z] 9a6b49a46696: Waiting [2022-01-20T17:02:12.129Z] cf05db05a679: Waiting [2022-01-20T17:02:12.129Z] 94645a83ff95: Download complete [2022-01-20T17:02:12.129Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T17:02:12.129Z] 1a89e8eeedd5: Download complete [2022-01-20T17:02:12.129Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T17:02:12.129Z] 0c92f367c5e7: Download complete [2022-01-20T17:02:12.129Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T17:02:12.129Z] 4b8299f9d1f4: Download complete [2022-01-20T17:02:12.129Z] 9b3977197b4f: Verifying Checksum [2022-01-20T17:02:12.129Z] 9b3977197b4f: Download complete [2022-01-20T17:02:12.129Z] 9a6b49a46696: Verifying Checksum [2022-01-20T17:02:12.129Z] 9a6b49a46696: Download complete [2022-01-20T17:02:12.733Z] 9b3977197b4f: Pull complete [2022-01-20T17:02:13.335Z] 1a89e8eeedd5: Pull complete [2022-01-20T17:02:13.933Z] 94645a83ff95: Pull complete [2022-01-20T17:02:13.933Z] cf05db05a679: Verifying Checksum [2022-01-20T17:02:13.933Z] cf05db05a679: Download complete [2022-01-20T17:02:14.536Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T17:02:14.536Z] 3f3a8bcf1eab: Download complete [2022-01-20T17:02:26.927Z] 3f3a8bcf1eab: Pull complete [2022-01-20T17:02:26.927Z] 0c92f367c5e7: Pull complete [2022-01-20T17:02:26.927Z] 4b8299f9d1f4: Pull complete [2022-01-20T17:02:26.927Z] 9a6b49a46696: Pull complete [2022-01-20T17:02:33.634Z] cf05db05a679: Pull complete [2022-01-20T17:02:33.634Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T17:02:33.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T17:02:33.634Z] ---> 0ccda1f7e2ee [2022-01-20T17:02:33.634Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T17:02:34.227Z] ---> Running in e06bebcfdf13 [2022-01-20T17:02:34.506Z] Removing intermediate container e06bebcfdf13 [2022-01-20T17:02:34.506Z] ---> ea1e8328530c [2022-01-20T17:02:34.506Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T17:02:34.506Z] ---> Running in f432af74f620 [2022-01-20T17:02:35.099Z] Removing intermediate container f432af74f620 [2022-01-20T17:02:35.099Z] ---> b58c5508e3c5 [2022-01-20T17:02:35.099Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:02:35.099Z] ---> Running in ac2efd7645e2 [2022-01-20T17:02:35.370Z] Removing intermediate container ac2efd7645e2 [2022-01-20T17:02:35.370Z] ---> e459d7124b5a [2022-01-20T17:02:35.370Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T17:02:35.643Z] ---> Running in d5fd9f05ad4e [2022-01-20T17:02:37.618Z] Removing intermediate container d5fd9f05ad4e [2022-01-20T17:02:37.618Z] ---> f500cfc8bdab [2022-01-20T17:02:37.618Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T17:02:37.618Z] ---> Running in c2be3b23c48e [2022-01-20T17:02:38.211Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T17:02:39.182Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T17:02:40.158Z] OK: 220 MiB in 52 packages [2022-01-20T17:02:40.771Z] Removing intermediate container c2be3b23c48e [2022-01-20T17:02:40.771Z] ---> 3200d47033f2 [2022-01-20T17:02:40.771Z] Step 8/13 : WORKDIR /app [2022-01-20T17:02:41.042Z] ---> Running in 166b32dafe42 [2022-01-20T17:02:41.313Z] Removing intermediate container 166b32dafe42 [2022-01-20T17:02:41.313Z] ---> 2c492abb244b [2022-01-20T17:02:41.313Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-20T17:02:41.905Z] ---> 32f7b71770c4 [2022-01-20T17:02:41.905Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T17:02:41.905Z] ---> Running in b36293696512 [2022-01-20T17:03:49.945Z] Removing intermediate container b36293696512 [2022-01-20T17:03:49.945Z] ---> 68e1d65a1c03 [2022-01-20T17:03:49.945Z] Step 11/13 : COPY . . [2022-01-20T17:03:50.218Z] ---> f863311490c5 [2022-01-20T17:03:50.218Z] Step 12/13 : ARG MAKE="make build" [2022-01-20T17:03:50.218Z] ---> Running in 994cd3db102d [2022-01-20T17:03:50.812Z] Removing intermediate container 994cd3db102d [2022-01-20T17:03:50.812Z] ---> eea73460c8b7 [2022-01-20T17:03:50.812Z] Step 13/13 : RUN $MAKE [2022-01-20T17:03:50.812Z] ---> Running in 1acc9140c1bb [2022-01-20T17:03:51.793Z] noop [2022-01-20T17:03:52.391Z] Removing intermediate container 1acc9140c1bb [2022-01-20T17:03:52.391Z] ---> 46abc5a517a8 [2022-01-20T17:03:52.391Z] Successfully built 46abc5a517a8 [2022-01-20T17:03:52.391Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:03:52.761Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T17:03:52.762Z] . [Pipeline] withDockerContainer [2022-01-20T17:03:53.007Z] prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container [2022-01-20T17:03:53.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T17:03:54.402Z] $ docker top bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T17:03:55.317Z] + go version [2022-01-20T17:03:55.317Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T17:03:55.357Z] $ docker stop --time=1 bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 [2022-01-20T17:03:56.981Z] $ docker rm -f bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:03:57.824Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T17:03:57.824Z] . [Pipeline] withDockerContainer [2022-01-20T17:03:58.057Z] prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container [2022-01-20T17:03:58.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T17:03:59.398Z] $ docker top c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T17:04:00.374Z] + make test [2022-01-20T17:04:00.374Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-20T17:04:47.393Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-01-20T17:04:47.393Z] CGO_ENABLED=1 go vet ./... [2022-01-20T17:04:59.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T17:04:59.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T17:04:59.801Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T17:05:01.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T17:05:01.315Z] $ docker stop --time=1 c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 [2022-01-20T17:05:03.085Z] $ docker rm -f c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T17:05:03.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T17:05:03.947Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T17:05:04.352Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T17:05:04.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T17:05:05.284Z] + ls -al . [2022-01-20T17:05:05.284Z] total 172 [2022-01-20T17:05:05.284Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 17:05 . [2022-01-20T17:05:05.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 17:01 .. [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 119 Jan 20 17:01 .dockerignore [2022-01-20T17:05:05.284Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 17:01 .git [2022-01-20T17:05:05.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 17:01 .github [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 104 Jan 20 17:01 .gitignore [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 7608 Jan 20 17:01 Attribution.txt [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 23791 Jan 20 17:01 CHANGELOG.md [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 2087 Jan 20 17:01 Dockerfile [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 17:01 GOVERNANCE.md [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 687 Jan 20 17:01 Jenkinsfile [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 20 17:01 LICENSE [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 20 17:01 OWNERS.md [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 3860 Jan 20 17:01 README.md [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 17:00 VERSION [2022-01-20T17:05:05.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 17:01 bin [2022-01-20T17:05:05.284Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 20 17:04 coverage.out [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 2802 Jan 20 17:01 go.mod [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 49310 Jan 20 17:01 go.sum [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 1949 Jan 20 17:01 main.go [2022-01-20T17:05:05.284Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 20 17:01 makefile [2022-01-20T17:05:05.284Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 17:01 res [2022-01-20T17:05:05.284Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 17:01 snap [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:05:05.671Z] + 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=a576fe058936a7290e3ffe8cc458073ac3a6a4cf --label arch=arm64 --label version=0.0.0 . [2022-01-20T17:05:05.671Z] Sending build context to Docker daemon 208.4kB [2022-01-20T17:05:05.985Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T17:05:05.985Z] Step 2/27 : FROM ${BASE} AS builder [2022-01-20T17:05:05.985Z] ---> 46abc5a517a8 [2022-01-20T17:05:05.985Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T17:05:06.268Z] ---> Running in 2c2be5a357cc [2022-01-20T17:05:06.558Z] Removing intermediate container 2c2be5a357cc [2022-01-20T17:05:06.558Z] ---> e546c043cff8 [2022-01-20T17:05:06.558Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T17:05:06.558Z] ---> Running in 00bfdf42e0a4 [2022-01-20T17:05:07.193Z] Removing intermediate container 00bfdf42e0a4 [2022-01-20T17:05:07.193Z] ---> ec7d1628c2bb [2022-01-20T17:05:07.193Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:05:07.193Z] ---> Running in 3743c6ab001c [2022-01-20T17:05:07.471Z] Removing intermediate container 3743c6ab001c [2022-01-20T17:05:07.471Z] ---> 9e7bc496b15c [2022-01-20T17:05:07.471Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T17:05:07.471Z] ---> Running in 97134c81dde5 [2022-01-20T17:05:09.443Z] Removing intermediate container 97134c81dde5 [2022-01-20T17:05:09.443Z] ---> 7a0c48e19dc7 [2022-01-20T17:05:09.443Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T17:05:09.443Z] ---> Running in 95151715f4b2 [2022-01-20T17:05:10.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T17:05:11.395Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T17:05:11.997Z] OK: 220 MiB in 52 packages [2022-01-20T17:05:12.975Z] Removing intermediate container 95151715f4b2 [2022-01-20T17:05:12.975Z] ---> fcb913a58d8c [2022-01-20T17:05:12.975Z] Step 8/27 : WORKDIR /app [2022-01-20T17:05:12.975Z] ---> Running in ce070e086cdc [2022-01-20T17:05:13.246Z] Removing intermediate container ce070e086cdc [2022-01-20T17:05:13.246Z] ---> 5e6d9992fe84 [2022-01-20T17:05:13.246Z] Step 9/27 : COPY go.mod vendor* ./ [2022-01-20T17:05:13.840Z] ---> e91315e69cdb [2022-01-20T17:05:13.840Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T17:05:14.114Z] ---> Running in e12f9465277b [2022-01-20T17:05:16.086Z] Removing intermediate container e12f9465277b [2022-01-20T17:05:16.086Z] ---> 50ae6b2ac59c [2022-01-20T17:05:16.086Z] Step 11/27 : COPY . . [2022-01-20T17:05:16.684Z] ---> 282b6fdc938d [2022-01-20T17:05:16.684Z] Step 12/27 : ARG MAKE="make build" [2022-01-20T17:05:16.956Z] ---> Running in ccd372c30771 [2022-01-20T17:05:17.227Z] Removing intermediate container ccd372c30771 [2022-01-20T17:05:17.227Z] ---> 9ce305d445f0 [2022-01-20T17:05:17.227Z] Step 13/27 : RUN $MAKE [2022-01-20T17:05:17.227Z] ---> Running in b0cdb61dbca3 [2022-01-20T17:05:18.203Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2022-01-20T17:06:05.160Z] Removing intermediate container b0cdb61dbca3 [2022-01-20T17:06:05.160Z] ---> f491acff9661 [2022-01-20T17:06:05.160Z] Step 14/27 : FROM alpine:3.14 [2022-01-20T17:06:05.160Z] 3.14: Pulling from library/alpine [2022-01-20T17:06:05.160Z] be307f383ecc: Pulling fs layer [2022-01-20T17:06:05.160Z] be307f383ecc: Download complete [2022-01-20T17:06:05.160Z] be307f383ecc: Pull complete [2022-01-20T17:06:05.160Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T17:06:05.160Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T17:06:05.160Z] ---> 5b8b7b635229 [2022-01-20T17:06:05.160Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T17:06:05.160Z] ---> Running in 2a430ab06b9a [2022-01-20T17:06:05.160Z] Removing intermediate container 2a430ab06b9a [2022-01-20T17:06:05.160Z] ---> d86ae09d1ac8 [2022-01-20T17:06:05.160Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-01-20T17:06:05.160Z] ---> Running in f69c09d1d717 [2022-01-20T17:06:05.160Z] Removing intermediate container f69c09d1d717 [2022-01-20T17:06:05.160Z] ---> a95ca08be6f1 [2022-01-20T17:06:05.160Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-01-20T17:06:05.160Z] ---> Running in 25438f07597a [2022-01-20T17:06:05.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T17:06:05.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T17:06:05.160Z] (1/7) Installing ca-certificates (20191127-r5) [2022-01-20T17:06:05.160Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-01-20T17:06:05.160Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T17:06:05.160Z] (4/7) Installing libsodium (1.0.18-r0) [2022-01-20T17:06:05.160Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T17:06:05.160Z] (6/7) Installing libzmq (4.3.4-r0) [2022-01-20T17:06:05.160Z] (7/7) Installing zeromq (4.3.4-r0) [2022-01-20T17:06:05.160Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T17:06:05.160Z] Executing ca-certificates-20191127-r5.trigger [2022-01-20T17:06:05.160Z] OK: 9 MiB in 21 packages [2022-01-20T17:06:05.160Z] Removing intermediate container 25438f07597a [2022-01-20T17:06:05.160Z] ---> 1391e77dea73 [2022-01-20T17:06:05.160Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-01-20T17:06:05.160Z] ---> c295dee98a8d [2022-01-20T17:06:05.160Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-01-20T17:06:05.759Z] ---> 222a397887d3 [2022-01-20T17:06:05.759Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-01-20T17:06:06.357Z] ---> 09e5c5a4fdee [2022-01-20T17:06:06.357Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-01-20T17:06:07.335Z] ---> 7f2edefcadde [2022-01-20T17:06:07.335Z] Step 22/27 : EXPOSE 48095 [2022-01-20T17:06:07.610Z] ---> Running in 416e4e082949 [2022-01-20T17:06:07.883Z] Removing intermediate container 416e4e082949 [2022-01-20T17:06:07.883Z] ---> 6fc953dbaffd [2022-01-20T17:06:07.883Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-01-20T17:06:07.883Z] ---> Running in 8b4590444558 [2022-01-20T17:06:08.475Z] Removing intermediate container 8b4590444558 [2022-01-20T17:06:08.475Z] ---> dec80cf43786 [2022-01-20T17:06:08.475Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T17:06:08.475Z] ---> Running in d7dee28a7dee [2022-01-20T17:06:08.746Z] Removing intermediate container d7dee28a7dee [2022-01-20T17:06:08.746Z] ---> c97c7ce9117c [2022-01-20T17:06:08.746Z] Step 25/27 : LABEL arch=arm64 [2022-01-20T17:06:08.746Z] ---> Running in 032ed07f7fa9 [2022-01-20T17:06:09.345Z] Removing intermediate container 032ed07f7fa9 [2022-01-20T17:06:09.345Z] ---> e18ec5243110 [2022-01-20T17:06:09.345Z] Step 26/27 : LABEL git_sha=a576fe058936a7290e3ffe8cc458073ac3a6a4cf [2022-01-20T17:06:09.345Z] ---> Running in 2abdde7d605d [2022-01-20T17:06:09.619Z] Removing intermediate container 2abdde7d605d [2022-01-20T17:06:09.619Z] ---> 4c18c56a594f [2022-01-20T17:06:09.619Z] Step 27/27 : LABEL version=0.0.0 [2022-01-20T17:06:09.619Z] ---> Running in fb9fbb33b20b [2022-01-20T17:06:10.215Z] Removing intermediate container fb9fbb33b20b [2022-01-20T17:06:10.215Z] ---> e82018eae5c1 [2022-01-20T17:06:10.215Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T17:06:10.215Z] Successfully built e82018eae5c1 [2022-01-20T17:06:10.215Z] 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-01-20T17:06:10.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T17:06:10.917Z] [2022-01-20T17:06:10.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:06:11.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T17:06:11.295Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T17:06:11.295Z] 448f6bf000e3: Pulling fs layer [2022-01-20T17:06:11.295Z] f757da607395: Pulling fs layer [2022-01-20T17:06:11.295Z] 05883995daec: Pulling fs layer [2022-01-20T17:06:11.295Z] 8603b9c90790: Pulling fs layer [2022-01-20T17:06:11.295Z] 1560dd03e051: Pulling fs layer [2022-01-20T17:06:11.295Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T17:06:11.295Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T17:06:11.295Z] 1560dd03e051: Waiting [2022-01-20T17:06:11.295Z] 27f5ce0e4adf: Waiting [2022-01-20T17:06:11.295Z] 8603b9c90790: Waiting [2022-01-20T17:06:11.295Z] c2d8d7efcc4b: Waiting [2022-01-20T17:06:11.568Z] f757da607395: Verifying Checksum [2022-01-20T17:06:11.568Z] f757da607395: Download complete [2022-01-20T17:06:11.568Z] 8603b9c90790: Verifying Checksum [2022-01-20T17:06:11.568Z] 8603b9c90790: Download complete [2022-01-20T17:06:11.568Z] 1560dd03e051: Verifying Checksum [2022-01-20T17:06:11.568Z] 1560dd03e051: Download complete [2022-01-20T17:06:11.568Z] 27f5ce0e4adf: Download complete [2022-01-20T17:06:11.568Z] 05883995daec: Verifying Checksum [2022-01-20T17:06:11.568Z] 05883995daec: Download complete [2022-01-20T17:06:11.843Z] 448f6bf000e3: Verifying Checksum [2022-01-20T17:06:11.843Z] 448f6bf000e3: Download complete [2022-01-20T17:06:14.473Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T17:06:14.473Z] c2d8d7efcc4b: Download complete [2022-01-20T17:06:15.904Z] 448f6bf000e3: Pull complete [2022-01-20T17:06:16.178Z] f757da607395: Pull complete [2022-01-20T17:06:17.615Z] 05883995daec: Pull complete [2022-01-20T17:06:17.890Z] 8603b9c90790: Pull complete [2022-01-20T17:06:18.867Z] 1560dd03e051: Pull complete [2022-01-20T17:06:19.139Z] 27f5ce0e4adf: Pull complete [2022-01-20T17:06:34.216Z] c2d8d7efcc4b: Pull complete [2022-01-20T17:06:34.216Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T17:06:34.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T17:06:34.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T17:06:34.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container [2022-01-20T17:06:34.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T17:06:37.071Z] $ docker top cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:38.031Z] ---> job-cost.sh [2022-01-20T17:06:38.031Z] lf-activate-venv: SKIPPING [2022-01-20T17:06:38.031Z] INFO: No Stack... [2022-01-20T17:06:38.031Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T17:06:38.621Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T17:06:39.290Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-01-20T17:06:39.290Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T17:06:39.370Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [2022-01-20T17:06:39.375Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] did not exist. Created. [2022-01-20T17:06:39.375Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T17:06:40.121Z] /w/workspace/app-service-configurable/1@tmp/durable-77bac6b4/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-77bac6b4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T17:06:40.811Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T17:06:40.846Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T17:06:40.894Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T17:06:40.908Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T17:06:41.002Z] $ docker stop --time=1 cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 [2022-01-20T17:06:42.457Z] $ docker rm -f cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-01-20T17:06:45.158Z] + '[' -d /w/workspace/_app-service-configurable_PR-372/archives ']' [2022-01-20T17:06:45.158Z] + ls -al /w/workspace/_app-service-configurable_PR-372/archives [2022-01-20T17:06:45.158Z] total 8 [2022-01-20T17:06:45.158Z] drwxr-xr-x. 3 root root 34 Jan 20 17:01 . [2022-01-20T17:06:45.158Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 17:01 .. [2022-01-20T17:06:45.158Z] drwxr-xr-x. 2 root root 6 Jan 20 17:01 cost [2022-01-20T17:06:45.158Z] -rw-r--r--. 1 root root 95 Jan 20 17:01 cost.csv [2022-01-20T17:06:45.158Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-372/archives [2022-01-20T17:06:45.158Z] + ls -al /w/workspace/_app-service-configurable_PR-372/archives [2022-01-20T17:06:45.158Z] total 8 [2022-01-20T17:06:45.158Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 17:01 . [2022-01-20T17:06:45.158Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 17:01 .. [2022-01-20T17:06:45.158Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 17:01 cost [2022-01-20T17:06:45.158Z] -rw-r--r--. 1 jenkins jenkins 95 Jan 20 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:45.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:46.188Z] ---> package-listing.sh [2022-01-20T17:06:46.188Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T17:06:46.188Z] ++ facter osfamily [2022-01-20T17:06:46.452Z] + OS_FAMILY=redhat [2022-01-20T17:06:46.452Z] + workspace=/w/workspace/_app-service-configurable_PR-372 [2022-01-20T17:06:46.452Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T17:06:46.452Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T17:06:46.452Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T17:06:46.452Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T17:06:46.452Z] + '[' /w/workspace/_app-service-configurable_PR-372 ']' [2022-01-20T17:06:46.452Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T17:06:46.452Z] + case "${OS_FAMILY}" in [2022-01-20T17:06:46.452Z] + rpm -qa [2022-01-20T17:06:46.452Z] + sort [2022-01-20T17:06:47.026Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T17:06:47.026Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T17:06:47.026Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T17:06:47.026Z] + '[' /w/workspace/_app-service-configurable_PR-372 ']' [2022-01-20T17:06:47.026Z] + mkdir -p /w/workspace/_app-service-configurable_PR-372/archives/ [2022-01-20T17:06:47.026Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-372/archives/ [Pipeline] echo [2022-01-20T17:06:47.065Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-20T17:06:47.363Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T17:06:47.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T17:06:47.953Z] . [Pipeline] withDockerContainer [2022-01-20T17:06:48.048Z] prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container [2022-01-20T17:06:48.078Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-372/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-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@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-01-20T17:06:48.351Z] $ docker top 5484624dec6962f78c2477ba2065f30c8c21afe5b8408676146f7e850adecffb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T17:06:48.758Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T17:06:49.073Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T17:06:49.385Z] + ls /var/log/sa-host [2022-01-20T17:06:49.385Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T17:06:49.385Z] file_magic: OK [2022-01-20T17:06:49.385Z] HZ: Using current value: 100 [2022-01-20T17:06:49.385Z] file_header: OK [2022-01-20T17:06:49.385Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-20T17:06:49.385Z] Statistics: [2022-01-20T17:06:49.385Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T17:06:49.385Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T17:06:49.385Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T17:06:49.385Z] file_magic: OK [2022-01-20T17:06:49.385Z] HZ: Using current value: 100 [2022-01-20T17:06:49.385Z] file_header: OK [2022-01-20T17:06:49.385Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-20T17:06:49.385Z] Statistics: [2022-01-20T17:06:49.385Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T17:06:49.385Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T17:06:49.656Z] provisioning config files... [2022-01-20T17:06:49.665Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config5190539656270393934tmp [Pipeline] { [Pipeline] echo [2022-01-20T17:06:49.721Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:50.038Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T17:06:50.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:50.483Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T17:06:50.519Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:50.832Z] ---> sudo-logs.sh [2022-01-20T17:06:50.832Z] Archiving 'sudo' log.. [2022-01-20T17:06:50.832Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2246.novalocal: Name or service not known [2022-01-20T17:06:50.832Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2246.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T17:06:50.917Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:51.228Z] ---> job-cost.sh [2022-01-20T17:06:51.228Z] lf-activate-venv: SKIPPING [2022-01-20T17:06:51.228Z] DEBUG: total: 0.05999999865889549 [2022-01-20T17:06:51.228Z] INFO: Retrieving Stack Cost... [2022-01-20T17:06:51.487Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T17:06:51.748Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T17:06:51.787Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T17:06:52.106Z] ---> logs-deploy.sh [2022-01-20T17:06:52.106Z] lf-activate-venv: SKIPPING [2022-01-20T17:06:52.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-372/1 [2022-01-20T17:06:52.106Z] INFO: archiving workspace using pattern(s): [2022-01-20T17:06:52.677Z] Archives upload complete. [2022-01-20T17:06:52.938Z] INFO: archiving logs to Nexus