Pull request #370 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5f15a8940a8b0ac307845570e00a4c7906e442c+748c375b9e927734e5c39e9bf70730eec1c3f6a7 (fda40613d15df676499fb453baf4ed9935744e09) 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-ssh2726694315566111054.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-ssh10840021812638383679.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-370/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-370/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14348240993303280484.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 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-ssh9138826314286789722.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-370/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-370/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15447711762641776208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2232’ Running on prd-centos7-docker-4c-2g-2236 in /w/workspace/_app-service-configurable_PR-370 [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-370 # 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-370@tmp/jenkins-gitclient-ssh4756014625660231242.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 f5f15a8940a8b0ac307845570e00a4c7906e442c Merge succeeded, producing f5f15a8940a8b0ac307845570e00a4c7906e442c Checking out Revision f5f15a8940a8b0ac307845570e00a4c7906e442c (PR-370) > 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-370@tmp/jenkins-gitclient-ssh3265838555844392590.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # 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-370@tmp/jenkins-gitclient-ssh1654624630968768948.key > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git rev-list --no-walk e7c6cdbc909d3e7cd7622194f2fcfa74b9bf8580 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T15:24:21.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T15:24:21.098Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T15:24:21.112Z] ========================================================= [2022-01-20T15:24:21.112Z] EdgeX Global Pipelines Version Info [2022-01-20T15:24:21.112Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:24:22.215Z] ------------------- [2022-01-20T15:24:22.215Z] stable info: [2022-01-20T15:24:22.215Z] ------------------- [2022-01-20T15:24:22.215Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T15:24:22.215Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T15:24:22.215Z] Message: update stable to v1.0.219 [2022-01-20T15:24:22.788Z] ------------------- [2022-01-20T15:24:22.788Z] experimental info: [2022-01-20T15:24:22.788Z] ------------------- [2022-01-20T15:24:22.788Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T15:24:22.788Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T15:24:22.788Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T15:24:22.936Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-01-20T15:24:22.948Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-01-20T15:24:22.965Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T15:24:22.981Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T15:24:22.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T15:24:23.016Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T15:24:23.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T15:24:23.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T15:24:23.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T15:24:23.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T15:24:23.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T15:24:23.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-01-20T15:24:23.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T15:24:23.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T15:24:23.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T15:24:23.189Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T15:24:23.206Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T15:24:23.219Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T15:24:23.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T15:24:23.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T15:24:23.261Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T15:24:23.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T15:24:23.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T15:24:23.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T15:24:23.335Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T15:24:23.357Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T15:24:23.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo [2022-01-20T15:24:23.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo [2022-01-20T15:24:23.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo [2022-01-20T15:24:23.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo [2022-01-20T15:24:23.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f15a8 [Pipeline] echo [2022-01-20T15:24:23.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T15:24:23.508Z] provisioning config files... [2022-01-20T15:24:23.525Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config7749643296065918228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:24:23.847Z] ---> docker-login.sh [2022-01-20T15:24:23.847Z] nexus3.edgexfoundry.org:10001 [2022-01-20T15:24:23.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:23.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:23.847Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:23.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:23.847Z] [2022-01-20T15:24:23.847Z] Login Succeeded [2022-01-20T15:24:23.847Z] nexus3.edgexfoundry.org:10002 [2022-01-20T15:24:24.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:24.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:24.108Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:24.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:24.108Z] [2022-01-20T15:24:24.108Z] Login Succeeded [2022-01-20T15:24:24.108Z] nexus3.edgexfoundry.org:10003 [2022-01-20T15:24:24.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:24.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:24.370Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:24.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:24.370Z] [2022-01-20T15:24:24.370Z] Login Succeeded [2022-01-20T15:24:24.370Z] nexus3.edgexfoundry.org:10004 [2022-01-20T15:24:24.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:24.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:24.370Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:24.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:24.370Z] [2022-01-20T15:24:24.370Z] Login Succeeded [2022-01-20T15:24:24.370Z] docker.io [2022-01-20T15:24:24.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:24.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:24.950Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:24.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:24.950Z] [2022-01-20T15:24:24.950Z] Login Succeeded [2022-01-20T15:24:24.950Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T15:24:24.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T15:24:25.324Z] + git rev-list -1 --merges f5f15a8940a8b0ac307845570e00a4c7906e442c~1..f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo [2022-01-20T15:24:25.363Z] -----------> git rev-list -1 --merges f5f15a8940a8b0ac307845570e00a4c7906e442c~1..f5f15a8940a8b0ac307845570e00a4c7906e442c f5f15a8940a8b0ac307845570e00a4c7906e442c [false] [Pipeline] sh [2022-01-20T15:24:25.680Z] + git log --format=format:%s -1 f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo [2022-01-20T15:24:25.697Z] ========================================================= [2022-01-20T15:24:25.697Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T15:24:25.697Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T15:24:26.024Z] + git log --format=format:%s -1 f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo [2022-01-20T15:24:26.036Z] [semverPrep] GIT_COMMIT: f5f15a8940a8b0ac307845570e00a4c7906e442c, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-01-20T15:24:26.045Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T15:24:26.440Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T15:24:26.440Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T15:24:26.440Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T15:24:26.440Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T15:24:26.440Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T15:24:26.440Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T15:24:26.440Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:24:26.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T15:24:26.802Z] [2022-01-20T15:24:26.802Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:24:27.135Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T15:24:27.135Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T15:24:27.135Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T15:24:27.135Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T15:24:27.135Z] 4c7163046ea9: Pulling fs layer [2022-01-20T15:24:27.135Z] 0c2d73faf560: Pulling fs layer [2022-01-20T15:24:27.135Z] 0c2d73faf560: Waiting [2022-01-20T15:24:27.135Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T15:24:27.135Z] 3e5f54012d9b: Download complete [2022-01-20T15:24:27.135Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T15:24:27.135Z] a0d0a0d46f8b: Download complete [2022-01-20T15:24:27.135Z] 4c7163046ea9: Verifying Checksum [2022-01-20T15:24:27.135Z] 4c7163046ea9: Download complete [2022-01-20T15:24:27.135Z] 0c2d73faf560: Verifying Checksum [2022-01-20T15:24:27.135Z] 0c2d73faf560: Download complete [2022-01-20T15:24:27.410Z] a0d0a0d46f8b: Pull complete [2022-01-20T15:24:27.410Z] 3e5f54012d9b: Pull complete [2022-01-20T15:24:27.674Z] 4c7163046ea9: Pull complete [2022-01-20T15:24:27.938Z] 0c2d73faf560: Pull complete [2022-01-20T15:24:27.938Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T15:24:27.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T15:24:27.938Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T15:24:28.019Z] prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container [2022-01-20T15:24:27.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-370 -v /w/workspace/_app-service-configurable_PR-370:/w/workspace/_app-service-configurable_PR-370:rw,z -v /w/workspace/_app-service-configurable_PR-370@tmp:/w/workspace/_app-service-configurable_PR-370@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:10004/edgex-devops/git-semver:latest cat [2022-01-20T15:24:28.356Z] $ docker top 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T15:24:28.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T15:24:28.736Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T15:24:28.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T15:24:28.567Z] $ docker exec 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent [2022-01-20T15:24:28.921Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaadfNg/agent.14 [2022-01-20T15:24:28.921Z] SSH_AGENT_PID=20 [2022-01-20T15:24:28.929Z] Running ssh-add (command line suppressed) [2022-01-20T15:24:28.761Z] Identity added: /w/workspace/_app-service-configurable_PR-370@tmp/private_key_3820994559306707546.key (/w/workspace/_app-service-configurable_PR-370@tmp/private_key_3820994559306707546.key) [2022-01-20T15:24:29.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T15:24:29.326Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T15:24:29.120Z] $ docker exec --env ******** --env ******** 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent -k [2022-01-20T15:24:29.208Z] unset SSH_AUTH_SOCK; [2022-01-20T15:24:29.209Z] unset SSH_AGENT_PID; [2022-01-20T15:24:29.209Z] echo Agent pid 20 killed; [2022-01-20T15:24:29.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T15:24:29.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T15:24:29.459Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T15:24:29.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T15:24:29.358Z] $ docker exec 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent [2022-01-20T15:24:29.659Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJNhdML/agent.56 [2022-01-20T15:24:29.659Z] SSH_AGENT_PID=63 [2022-01-20T15:24:29.664Z] Running ssh-add (command line suppressed) [2022-01-20T15:24:29.558Z] Identity added: /w/workspace/_app-service-configurable_PR-370@tmp/private_key_6747802091294874625.key (/w/workspace/_app-service-configurable_PR-370@tmp/private_key_6747802091294874625.key) [2022-01-20T15:24:29.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T15:24:30.055Z] + git semver init [2022-01-20T15:24:30.055Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T15:24:30.055Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-370/.git [2022-01-20T15:24:30.055Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-370 [2022-01-20T15:24:30.055Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T15:24:30.055Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T15:24:30.055Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T15:24:30.055Z] # $SEMVER_BRANCH = PR-370 [2022-01-20T15:24:30.055Z] # $SEMVER_TEMP = /tmp/semver-942072547 [2022-01-20T15:24:30.055Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-01-20T15:24:30.999Z] # '/tmp/semver-942072547' -> '/w/workspace/_app-service-configurable_PR-370/.semver' [2022-01-20T15:24:30.999Z] # -> Force: false [2022-01-20T15:24:30.999Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-370/.semver [Pipeline] } [2022-01-20T15:24:30.928Z] $ docker exec --env ******** --env ******** 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent -k [2022-01-20T15:24:31.010Z] unset SSH_AUTH_SOCK; [2022-01-20T15:24:31.010Z] unset SSH_AGENT_PID; [2022-01-20T15:24:31.010Z] echo Agent pid 63 killed; [2022-01-20T15:24:31.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T15:24:31.415Z] + git semver [Pipeline] } [2022-01-20T15:24:31.381Z] $ docker stop --time=1 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 [2022-01-20T15:24:32.650Z] $ docker rm -f 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T15:24:33.022Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T15:24:33.267Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T15:24:33.270Z] [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-20T15:24:33.440Z] provisioning config files... [2022-01-20T15:24:33.454Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config9023498657518816092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:24:33.767Z] ---> docker-login.sh [2022-01-20T15:24:33.767Z] nexus3.edgexfoundry.org:10001 [2022-01-20T15:24:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:33.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:33.767Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:33.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:33.767Z] [2022-01-20T15:24:33.767Z] Login Succeeded [2022-01-20T15:24:33.767Z] nexus3.edgexfoundry.org:10002 [2022-01-20T15:24:33.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:33.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:33.767Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:33.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:33.767Z] [2022-01-20T15:24:33.767Z] Login Succeeded [2022-01-20T15:24:33.767Z] nexus3.edgexfoundry.org:10003 [2022-01-20T15:24:34.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:34.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:34.035Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:34.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:34.035Z] [2022-01-20T15:24:34.035Z] Login Succeeded [2022-01-20T15:24:34.035Z] nexus3.edgexfoundry.org:10004 [2022-01-20T15:24:34.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:34.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:34.035Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:34.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:34.035Z] [2022-01-20T15:24:34.035Z] Login Succeeded [2022-01-20T15:24:34.035Z] docker.io [2022-01-20T15:24:34.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:24:34.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:24:34.557Z] Configure a credential helper to remove this warning. See [2022-01-20T15:24:34.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:24:34.557Z] [2022-01-20T15:24:34.557Z] Login Succeeded [2022-01-20T15:24:34.557Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T15:24:34.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T15:24:34.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T15:24:34.651Z] ========================================================= [2022-01-20T15:24:34.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T15:24:34.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:24:34.963Z] + 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-20T15:24:34.963Z] Sending build context to Docker daemon 2.941MB [2022-01-20T15:24:34.963Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T15:24:34.963Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-20T15:24:34.963Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T15:24:34.963Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T15:24:34.963Z] 666ba61612fd: Pulling fs layer [2022-01-20T15:24:34.963Z] 8ed8ca486205: Pulling fs layer [2022-01-20T15:24:34.963Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T15:24:34.963Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T15:24:34.963Z] f965cba54748: Pulling fs layer [2022-01-20T15:24:34.963Z] 861ffc35075e: Pulling fs layer [2022-01-20T15:24:34.963Z] 4b385c91608e: Pulling fs layer [2022-01-20T15:24:34.963Z] 560528eb2ebb: Pulling fs layer [2022-01-20T15:24:34.963Z] 4fe6c5a15a65: Waiting [2022-01-20T15:24:34.963Z] 22a0e8bec74d: Waiting [2022-01-20T15:24:34.963Z] f965cba54748: Waiting [2022-01-20T15:24:34.963Z] 861ffc35075e: Waiting [2022-01-20T15:24:34.963Z] 4b385c91608e: Waiting [2022-01-20T15:24:34.963Z] 560528eb2ebb: Waiting [2022-01-20T15:24:34.963Z] 8ed8ca486205: Verifying Checksum [2022-01-20T15:24:34.963Z] 8ed8ca486205: Download complete [2022-01-20T15:24:34.963Z] 666ba61612fd: Verifying Checksum [2022-01-20T15:24:34.963Z] 666ba61612fd: Download complete [2022-01-20T15:24:34.963Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T15:24:34.963Z] 22a0e8bec74d: Download complete [2022-01-20T15:24:34.963Z] f965cba54748: Verifying Checksum [2022-01-20T15:24:34.963Z] f965cba54748: Download complete [2022-01-20T15:24:35.231Z] 861ffc35075e: Verifying Checksum [2022-01-20T15:24:35.231Z] 861ffc35075e: Download complete [2022-01-20T15:24:35.231Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T15:24:35.231Z] 59bf1c3509f3: Download complete [2022-01-20T15:24:35.231Z] 4b385c91608e: Verifying Checksum [2022-01-20T15:24:35.231Z] 4b385c91608e: Download complete [2022-01-20T15:24:35.509Z] 59bf1c3509f3: Pull complete [2022-01-20T15:24:35.779Z] 666ba61612fd: Pull complete [2022-01-20T15:24:35.779Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T15:24:35.779Z] 4fe6c5a15a65: Download complete [2022-01-20T15:24:35.779Z] 8ed8ca486205: Pull complete [2022-01-20T15:24:35.779Z] 560528eb2ebb: Verifying Checksum [2022-01-20T15:24:35.779Z] 560528eb2ebb: Download complete [2022-01-20T15:24:40.024Z] 4fe6c5a15a65: Pull complete [2022-01-20T15:24:40.024Z] 22a0e8bec74d: Pull complete [2022-01-20T15:24:40.024Z] f965cba54748: Pull complete [2022-01-20T15:24:40.024Z] 861ffc35075e: Pull complete [2022-01-20T15:24:40.024Z] 4b385c91608e: Pull complete [2022-01-20T15:24:42.598Z] 560528eb2ebb: Pull complete [2022-01-20T15:24:42.598Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T15:24:42.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T15:24:42.598Z] ---> dd4a08f94e63 [2022-01-20T15:24:42.598Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T15:24:43.994Z] ---> Running in d64000e28eff [2022-01-20T15:24:43.994Z] Removing intermediate container d64000e28eff [2022-01-20T15:24:43.994Z] ---> a05bcfdfe025 [2022-01-20T15:24:43.994Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T15:24:43.994Z] ---> Running in 3b6b05e5f130 [2022-01-20T15:24:43.994Z] Removing intermediate container 3b6b05e5f130 [2022-01-20T15:24:43.994Z] ---> 9c5308c30541 [2022-01-20T15:24:43.994Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:24:43.994Z] ---> Running in 6d7861b5a2c4 [2022-01-20T15:24:43.994Z] Removing intermediate container 6d7861b5a2c4 [2022-01-20T15:24:43.994Z] ---> d5f530d61f23 [2022-01-20T15:24:43.994Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T15:24:43.994Z] ---> Running in 1c3e0a3cb428 [2022-01-20T15:24:44.567Z] Removing intermediate container 1c3e0a3cb428 [2022-01-20T15:24:44.567Z] ---> 60384b718e09 [2022-01-20T15:24:44.567Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T15:24:44.567Z] ---> Running in 1cda41cd1207 [2022-01-20T15:24:44.833Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T15:24:45.775Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T15:24:46.043Z] OK: 221 MiB in 52 packages [2022-01-20T15:24:46.305Z] Removing intermediate container 1cda41cd1207 [2022-01-20T15:24:46.305Z] ---> 8edc1a927270 [2022-01-20T15:24:46.305Z] Step 8/13 : WORKDIR /app [2022-01-20T15:24:46.305Z] ---> Running in 117edefd9ee1 [2022-01-20T15:24:46.305Z] Removing intermediate container 117edefd9ee1 [2022-01-20T15:24:46.305Z] ---> 7ff8646aef83 [2022-01-20T15:24:46.305Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-20T15:24:46.563Z] ---> add4d2d5d944 [2022-01-20T15:24:46.563Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T15:24:46.563Z] ---> Running in a34e2d990d98 [2022-01-20T15:24:48.383Z] Still waiting to schedule task [2022-01-20T15:24:48.384Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2233’ [2022-01-20T15:25:13.172Z] Removing intermediate container a34e2d990d98 [2022-01-20T15:25:13.173Z] ---> 2c235ace33c5 [2022-01-20T15:25:13.173Z] Step 11/13 : COPY . . [2022-01-20T15:25:13.173Z] ---> 687d9d3707e5 [2022-01-20T15:25:13.173Z] Step 12/13 : ARG MAKE="make build" [2022-01-20T15:25:13.173Z] ---> Running in e615b0639d6e [2022-01-20T15:25:13.173Z] Removing intermediate container e615b0639d6e [2022-01-20T15:25:13.173Z] ---> 16691d0f8141 [2022-01-20T15:25:13.173Z] Step 13/13 : RUN $MAKE [2022-01-20T15:25:13.173Z] ---> Running in 9f635e5c9b18 [2022-01-20T15:25:13.173Z] noop [2022-01-20T15:25:13.432Z] Removing intermediate container 9f635e5c9b18 [2022-01-20T15:25:13.432Z] ---> 731237c97688 [2022-01-20T15:25:13.432Z] Successfully built 731237c97688 [2022-01-20T15:25:13.432Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:25:13.741Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T15:25:13.741Z] . [Pipeline] withDockerContainer [2022-01-20T15:25:13.804Z] prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container [2022-01-20T15:25:13.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-370 -v /w/workspace/_app-service-configurable_PR-370:/w/workspace/_app-service-configurable_PR-370:rw,z -v /w/workspace/_app-service-configurable_PR-370@tmp:/w/workspace/_app-service-configurable_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T15:25:14.165Z] $ docker top 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T15:25:14.529Z] + go version [2022-01-20T15:25:14.529Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T15:25:14.540Z] $ docker stop --time=1 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b [2022-01-20T15:25:15.737Z] $ docker rm -f 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:25:16.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T15:25:16.152Z] . [Pipeline] withDockerContainer [2022-01-20T15:25:16.211Z] prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container [2022-01-20T15:25:16.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-370 -v /w/workspace/_app-service-configurable_PR-370:/w/workspace/_app-service-configurable_PR-370:rw,z -v /w/workspace/_app-service-configurable_PR-370@tmp:/w/workspace/_app-service-configurable_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T15:25:16.591Z] $ docker top 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T15:25:16.967Z] + make test [2022-01-20T15:25:16.967Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-20T15:25:31.970Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-01-20T15:25:31.970Z] CGO_ENABLED=1 go vet ./... [2022-01-20T15:25:36.196Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T15:25:36.196Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T15:25:36.196Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T15:25:36.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T15:25:36.230Z] $ docker stop --time=1 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 [2022-01-20T15:25:37.636Z] $ docker rm -f 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T15:25:38.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T15:25:38.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T15:25:38.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T15:25:39.006Z] + ls -al . [2022-01-20T15:25:39.006Z] total 148 [2022-01-20T15:25:39.006Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 15:25 . [2022-01-20T15:25:39.006Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 15:24 .. [2022-01-20T15:25:39.006Z] -rw-rw-r--. 1 jenkins jenkins 7608 Jan 20 15:24 Attribution.txt [2022-01-20T15:25:39.006Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 15:24 bin [2022-01-20T15:25:39.006Z] -rw-rw-r--. 1 jenkins jenkins 23791 Jan 20 15:24 CHANGELOG.md [2022-01-20T15:25:39.006Z] -rw-r--r--. 1 jenkins jenkins 10 Jan 20 15:25 coverage.out [2022-01-20T15:25:39.006Z] -rw-rw-r--. 1 jenkins jenkins 2087 Jan 20 15:24 Dockerfile [2022-01-20T15:25:39.006Z] -rw-rw-r--. 1 jenkins jenkins 119 Jan 20 15:24 .dockerignore [2022-01-20T15:25:39.006Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 15:24 .git [2022-01-20T15:25:39.006Z] drwxrwxr-x. 2 jenkins jenkins 104 Jan 20 15:24 .github [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 104 Jan 20 15:24 .gitignore [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 2802 Jan 20 15:24 go.mod [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 49310 Jan 20 15:24 go.sum [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 15:24 GOVERNANCE.md [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 687 Jan 20 15:24 Jenkinsfile [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jan 20 15:24 LICENSE [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 1949 Jan 20 15:24 main.go [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 20 15:24 makefile [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 618 Jan 20 15:24 OWNERS.md [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 3860 Jan 20 15:24 README.md [2022-01-20T15:25:39.007Z] drwxrwxr-x. 9 jenkins jenkins 151 Jan 20 15:24 res [2022-01-20T15:25:39.007Z] drwx------. 3 jenkins jenkins 72 Jan 20 15:24 .semver [2022-01-20T15:25:39.007Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 15:24 snap [2022-01-20T15:25:39.007Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 15:24 VERSION [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:25:39.311Z] + 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=f5f15a8940a8b0ac307845570e00a4c7906e442c --label arch=amd64 --label version=0.0.0 . [2022-01-20T15:25:39.311Z] Sending build context to Docker daemon 2.942MB [2022-01-20T15:25:39.311Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T15:25:39.311Z] Step 2/27 : FROM ${BASE} AS builder [2022-01-20T15:25:39.311Z] ---> 731237c97688 [2022-01-20T15:25:39.311Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T15:25:39.311Z] ---> Running in f5faa2cde811 [2022-01-20T15:25:39.311Z] Removing intermediate container f5faa2cde811 [2022-01-20T15:25:39.311Z] ---> 14fdb40ed5bd [2022-01-20T15:25:39.311Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T15:25:39.311Z] ---> Running in d063938a69f4 [2022-01-20T15:25:39.570Z] Removing intermediate container d063938a69f4 [2022-01-20T15:25:39.570Z] ---> 9625b8fb28f2 [2022-01-20T15:25:39.570Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:25:39.570Z] ---> Running in ba5cdc67a4dd [2022-01-20T15:25:39.570Z] Removing intermediate container ba5cdc67a4dd [2022-01-20T15:25:39.570Z] ---> 40a62b627da2 [2022-01-20T15:25:39.570Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T15:25:39.570Z] ---> Running in 7e0d2756cc78 [2022-01-20T15:25:40.139Z] Removing intermediate container 7e0d2756cc78 [2022-01-20T15:25:40.139Z] ---> 452b44c774a6 [2022-01-20T15:25:40.139Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T15:25:40.139Z] ---> Running in b570fd65528f [2022-01-20T15:25:40.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T15:25:41.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T15:25:41.605Z] OK: 221 MiB in 52 packages [2022-01-20T15:25:41.605Z] Removing intermediate container b570fd65528f [2022-01-20T15:25:41.605Z] ---> 1d809fb3fa79 [2022-01-20T15:25:41.605Z] Step 8/27 : WORKDIR /app [2022-01-20T15:25:41.605Z] ---> Running in 626cfa9b9bb0 [2022-01-20T15:25:41.866Z] Removing intermediate container 626cfa9b9bb0 [2022-01-20T15:25:41.866Z] ---> 2a9ee2c43d0b [2022-01-20T15:25:41.866Z] Step 9/27 : COPY go.mod vendor* ./ [2022-01-20T15:25:41.866Z] ---> a43972a4edb5 [2022-01-20T15:25:41.866Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T15:25:41.866Z] ---> Running in 1fc772200e41 [2022-01-20T15:25:42.437Z] Removing intermediate container 1fc772200e41 [2022-01-20T15:25:42.437Z] ---> ec6e68878af4 [2022-01-20T15:25:42.437Z] Step 11/27 : COPY . . [2022-01-20T15:25:42.695Z] ---> 08d847ffee11 [2022-01-20T15:25:42.695Z] Step 12/27 : ARG MAKE="make build" [2022-01-20T15:25:42.695Z] ---> Running in cba29096140a [2022-01-20T15:25:42.695Z] Removing intermediate container cba29096140a [2022-01-20T15:25:42.695Z] ---> 39b4bda1b66c [2022-01-20T15:25:42.695Z] Step 13/27 : RUN $MAKE [2022-01-20T15:25:42.695Z] ---> Running in 9d3518ac5ed7 [2022-01-20T15:25:42.956Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2022-01-20T15:25:55.213Z] Removing intermediate container 9d3518ac5ed7 [2022-01-20T15:25:55.213Z] ---> d3950e932ad0 [2022-01-20T15:25:55.213Z] Step 14/27 : FROM alpine:3.14 [2022-01-20T15:25:55.213Z] 3.14: Pulling from library/alpine [2022-01-20T15:25:55.213Z] 97518928ae5f: Pulling fs layer [2022-01-20T15:25:55.474Z] 97518928ae5f: Verifying Checksum [2022-01-20T15:25:55.474Z] 97518928ae5f: Download complete [2022-01-20T15:25:55.474Z] 97518928ae5f: Pull complete [2022-01-20T15:25:55.474Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T15:25:55.474Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T15:25:55.474Z] ---> 0a97eee8041e [2022-01-20T15:25:55.474Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:25:55.474Z] ---> Running in 60ccf8332c38 [2022-01-20T15:25:55.733Z] Removing intermediate container 60ccf8332c38 [2022-01-20T15:25:55.733Z] ---> fd12aac8c1bb [2022-01-20T15:25:55.733Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-01-20T15:25:55.733Z] ---> Running in 5a732ca29523 [2022-01-20T15:25:55.733Z] Removing intermediate container 5a732ca29523 [2022-01-20T15:25:55.733Z] ---> 7faffe521367 [2022-01-20T15:25:55.733Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-01-20T15:25:55.733Z] ---> Running in 70c66f7c46d5 [2022-01-20T15:25:55.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T15:26:01.287Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-01-20T15:26:01.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T15:26:06.572Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-01-20T15:26:06.572Z] ERROR: unable to select packages: [2022-01-20T15:26:06.572Z]  ca-certificates (no such package): [2022-01-20T15:26:06.572Z] required by: world[ca-certificates] [2022-01-20T15:26:06.572Z] dumb-init (no such package): [2022-01-20T15:26:06.572Z] required by: world[dumb-init] [2022-01-20T15:26:06.572Z] zeromq (no such package): [2022-01-20T15:26:06.572Z] required by: world[zeromq] [2022-01-20T15:26:06.572Z] 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-20T15:26:06.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T15:26:06.980Z] [2022-01-20T15:26:06.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:26:07.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T15:26:07.292Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T15:26:07.292Z] b4d181a07f80: Pulling fs layer [2022-01-20T15:26:07.292Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T15:26:07.292Z] ed53099fbce6: Pulling fs layer [2022-01-20T15:26:07.292Z] dc539afda2c1: Pulling fs layer [2022-01-20T15:26:07.292Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T15:26:07.292Z] 9065ff56babe: Pulling fs layer [2022-01-20T15:26:07.292Z] d287ab97295c: Pulling fs layer [2022-01-20T15:26:07.292Z] dc539afda2c1: Waiting [2022-01-20T15:26:07.292Z] 77bc0d833cb6: Waiting [2022-01-20T15:26:07.292Z] 9065ff56babe: Waiting [2022-01-20T15:26:07.292Z] d287ab97295c: Waiting [2022-01-20T15:26:07.292Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T15:26:07.292Z] a1111a8f2ec3: Download complete [2022-01-20T15:26:07.292Z] dc539afda2c1: Verifying Checksum [2022-01-20T15:26:07.293Z] dc539afda2c1: Download complete [2022-01-20T15:26:07.553Z] ed53099fbce6: Verifying Checksum [2022-01-20T15:26:07.553Z] ed53099fbce6: Download complete [2022-01-20T15:26:07.553Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T15:26:07.553Z] 77bc0d833cb6: Download complete [2022-01-20T15:26:07.553Z] 9065ff56babe: Verifying Checksum [2022-01-20T15:26:07.553Z] 9065ff56babe: Download complete [2022-01-20T15:26:07.553Z] b4d181a07f80: Verifying Checksum [2022-01-20T15:26:07.553Z] b4d181a07f80: Download complete [2022-01-20T15:26:08.128Z] d287ab97295c: Verifying Checksum [2022-01-20T15:26:08.128Z] d287ab97295c: Download complete [2022-01-20T15:26:08.706Z] b4d181a07f80: Pull complete [2022-01-20T15:26:08.971Z] a1111a8f2ec3: Pull complete [2022-01-20T15:26:09.542Z] ed53099fbce6: Pull complete [2022-01-20T15:26:09.542Z] dc539afda2c1: Pull complete [2022-01-20T15:26:09.805Z] 77bc0d833cb6: Pull complete [2022-01-20T15:26:10.066Z] 9065ff56babe: Pull complete [2022-01-20T15:26:15.389Z] d287ab97295c: Pull complete [2022-01-20T15:26:15.389Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T15:26:15.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T15:26:15.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T15:26:15.458Z] prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container [2022-01-20T15:26:15.490Z] $ 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-370 -v /w/workspace/_app-service-configurable_PR-370:/w/workspace/_app-service-configurable_PR-370:rw,z -v /w/workspace/_app-service-configurable_PR-370@tmp:/w/workspace/_app-service-configurable_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T15:26:17.813Z] $ docker top a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:26:18.229Z] ---> job-cost.sh [2022-01-20T15:26:18.229Z] lf-activate-venv: SKIPPING [2022-01-20T15:26:18.229Z] INFO: No Stack... [2022-01-20T15:26:18.489Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T15:26:18.749Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T15:26:19.048Z] + cat /w/workspace/_app-service-configurable_PR-370/archives/cost.csv [2022-01-20T15:26:19.048Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T15:26:19.061Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [2022-01-20T15:26:19.073Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] did not exist. Created. [2022-01-20T15:26:19.073Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T15:26:19.386Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T15:26:19.414Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T15:26:19.421Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T15:26:19.438Z] $ docker stop --time=1 a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 [2022-01-20T15:26:20.561Z] $ docker rm -f a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T15:26:20.662Z] Failed in branch amd64 [2022-01-20T15:27:50.240Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2239 in /w/workspace/_app-service-configurable_PR-370 [Pipeline] { [Pipeline] ws [2022-01-20T15:27:50.258Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-01-20T15:27:50.514Z] Selected Git installation does not exist. Using Default [2022-01-20T15:27:50.514Z] The recommended git tool is: NONE [2022-01-20T15:27:56.022Z] using credential edgex-jenkins-ssh [2022-01-20T15:27:56.041Z] Cloning the remote Git repository [2022-01-20T15:27:56.120Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T15:27:56.216Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-01-20T15:27:56.306Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T15:27:56.307Z] > git --version # timeout=10 [2022-01-20T15:27:56.331Z] > git --version # 'git version 2.17.1' [2022-01-20T15:27:56.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T15:27:56.429Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T15:27:57.646Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-01-20T15:27:57.672Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T15:27:57.715Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-01-20T15:27:57.761Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-01-20T15:27:57.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T15:27:57.779Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-20T15:27:58.365Z] Merging remotes/origin/main commit 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit f5f15a8940a8b0ac307845570e00a4c7906e442c [2022-01-20T15:27:58.833Z] Merge succeeded, producing f5f15a8940a8b0ac307845570e00a4c7906e442c [2022-01-20T15:27:58.833Z] Checking out Revision f5f15a8940a8b0ac307845570e00a4c7906e442c (PR-370) [2022-01-20T15:27:58.441Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T15:27:58.477Z] > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # timeout=10 [2022-01-20T15:27:58.714Z] > git remote # timeout=10 [2022-01-20T15:27:58.737Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T15:27:58.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T15:27:58.778Z] > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 [2022-01-20T15:27:58.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T15:27:58.842Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T15:27:58.859Z] > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # timeout=10 [2022-01-20T15:28:03.292Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T15:28:04.376Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T15:28:04.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T15:28:04.377Z] Dload Upload Total Spent Left Speed [2022-01-20T15:28:04.377Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 165k 0 --:--:-- --:--:-- --:--:-- 165k [Pipeline] sh [2022-01-20T15:28:04.957Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T15:28:05.315Z] + sudo tee /etc/docker/daemon.new [2022-01-20T15:28:05.315Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T15:28:05.315Z] { [2022-01-20T15:28:05.315Z] "registry-mirrors": [ [2022-01-20T15:28:05.315Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T15:28:05.315Z] ], [2022-01-20T15:28:05.315Z] "bip": "10.250.0.254/24", [2022-01-20T15:28:05.315Z] "hosts": [ [2022-01-20T15:28:05.315Z] "tcp://0.0.0.0:5555", [2022-01-20T15:28:05.315Z] "unix:///var/run/docker.sock" [2022-01-20T15:28:05.315Z] ], [2022-01-20T15:28:05.315Z] "mtu": 1458, [2022-01-20T15:28:05.315Z] "selinux-enabled": true, [2022-01-20T15:28:05.315Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T15:28:05.315Z] } [Pipeline] sh [2022-01-20T15:28:05.677Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T15:28:06.038Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T15:28:24.475Z] provisioning config files... [2022-01-20T15:28:24.503Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config7066953339528692769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:28:24.878Z] ---> docker-login.sh [2022-01-20T15:28:24.878Z] nexus3.edgexfoundry.org:10001 [2022-01-20T15:28:25.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:28:25.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:28:25.769Z] Configure a credential helper to remove this warning. See [2022-01-20T15:28:25.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:28:25.769Z] [2022-01-20T15:28:25.769Z] Login Succeeded [2022-01-20T15:28:25.769Z] nexus3.edgexfoundry.org:10002 [2022-01-20T15:28:26.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:28:26.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:28:26.328Z] Configure a credential helper to remove this warning. See [2022-01-20T15:28:26.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:28:26.328Z] [2022-01-20T15:28:26.328Z] Login Succeeded [2022-01-20T15:28:26.328Z] nexus3.edgexfoundry.org:10003 [2022-01-20T15:28:26.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:28:26.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:28:26.888Z] Configure a credential helper to remove this warning. See [2022-01-20T15:28:26.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:28:26.888Z] [2022-01-20T15:28:26.888Z] Login Succeeded [2022-01-20T15:28:26.888Z] nexus3.edgexfoundry.org:10004 [2022-01-20T15:28:27.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:28:27.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:28:27.448Z] Configure a credential helper to remove this warning. See [2022-01-20T15:28:27.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:28:27.448Z] [2022-01-20T15:28:27.448Z] Login Succeeded [2022-01-20T15:28:27.448Z] docker.io [2022-01-20T15:28:27.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T15:28:28.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T15:28:28.323Z] Configure a credential helper to remove this warning. See [2022-01-20T15:28:28.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T15:28:28.323Z] [2022-01-20T15:28:28.323Z] Login Succeeded [2022-01-20T15:28:28.323Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T15:28:28.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T15:28:28.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T15:28:28.893Z] ========================================================= [2022-01-20T15:28:28.893Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T15:28:28.893Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:28:29.263Z] + 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-20T15:28:29.263Z] Sending build context to Docker daemon 207.4kB [2022-01-20T15:28:29.540Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T15:28:29.540Z] Step 2/13 : FROM ${BASE} AS builder [2022-01-20T15:28:29.816Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T15:28:29.816Z] 9b3977197b4f: Pulling fs layer [2022-01-20T15:28:29.816Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T15:28:29.816Z] 94645a83ff95: Pulling fs layer [2022-01-20T15:28:29.816Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T15:28:29.816Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T15:28:29.816Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T15:28:29.816Z] 9a6b49a46696: Pulling fs layer [2022-01-20T15:28:29.816Z] cf05db05a679: Pulling fs layer [2022-01-20T15:28:29.816Z] 4b8299f9d1f4: Waiting [2022-01-20T15:28:29.816Z] 3f3a8bcf1eab: Waiting [2022-01-20T15:28:29.816Z] 0c92f367c5e7: Waiting [2022-01-20T15:28:29.816Z] 9a6b49a46696: Waiting [2022-01-20T15:28:29.816Z] cf05db05a679: Waiting [2022-01-20T15:28:29.816Z] 94645a83ff95: Verifying Checksum [2022-01-20T15:28:29.816Z] 94645a83ff95: Download complete [2022-01-20T15:28:29.816Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T15:28:29.816Z] 1a89e8eeedd5: Download complete [2022-01-20T15:28:29.816Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T15:28:29.816Z] 0c92f367c5e7: Download complete [2022-01-20T15:28:29.816Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T15:28:29.816Z] 4b8299f9d1f4: Download complete [2022-01-20T15:28:29.816Z] 9b3977197b4f: Verifying Checksum [2022-01-20T15:28:29.816Z] 9b3977197b4f: Download complete [2022-01-20T15:28:29.816Z] 9a6b49a46696: Verifying Checksum [2022-01-20T15:28:29.816Z] 9a6b49a46696: Download complete [2022-01-20T15:28:30.812Z] 9b3977197b4f: Pull complete [2022-01-20T15:28:31.415Z] 1a89e8eeedd5: Pull complete [2022-01-20T15:28:31.691Z] 94645a83ff95: Pull complete [2022-01-20T15:28:31.967Z] cf05db05a679: Verifying Checksum [2022-01-20T15:28:31.967Z] cf05db05a679: Download complete [2022-01-20T15:28:32.566Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T15:28:32.566Z] 3f3a8bcf1eab: Download complete [2022-01-20T15:28:44.982Z] 3f3a8bcf1eab: Pull complete [2022-01-20T15:28:44.982Z] 0c92f367c5e7: Pull complete [2022-01-20T15:28:44.982Z] 4b8299f9d1f4: Pull complete [2022-01-20T15:28:44.982Z] 9a6b49a46696: Pull complete [2022-01-20T15:28:51.715Z] cf05db05a679: Pull complete [2022-01-20T15:28:51.715Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T15:28:51.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T15:28:51.715Z] ---> 0ccda1f7e2ee [2022-01-20T15:28:51.715Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T15:28:53.151Z] ---> Running in 72466f966ecb [2022-01-20T15:28:53.427Z] Removing intermediate container 72466f966ecb [2022-01-20T15:28:53.427Z] ---> 8938c6f04464 [2022-01-20T15:28:53.427Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T15:28:53.701Z] ---> Running in e595653aea1e [2022-01-20T15:28:53.980Z] Removing intermediate container e595653aea1e [2022-01-20T15:28:53.980Z] ---> f928d36d1f6b [2022-01-20T15:28:53.980Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:28:53.980Z] ---> Running in 3f9570c181c1 [2022-01-20T15:28:54.577Z] Removing intermediate container 3f9570c181c1 [2022-01-20T15:28:54.577Z] ---> d55ee601c2de [2022-01-20T15:28:54.577Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T15:28:54.577Z] ---> Running in 8fbd165a8793 [2022-01-20T15:28:56.568Z] Removing intermediate container 8fbd165a8793 [2022-01-20T15:28:56.568Z] ---> 9c61d634fc53 [2022-01-20T15:28:56.568Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T15:28:56.843Z] ---> Running in e0097dc51500 [2022-01-20T15:28:57.828Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T15:28:58.810Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T15:28:59.793Z] OK: 220 MiB in 52 packages [2022-01-20T15:29:00.775Z] Removing intermediate container e0097dc51500 [2022-01-20T15:29:00.775Z] ---> 032e985ea643 [2022-01-20T15:29:00.775Z] Step 8/13 : WORKDIR /app [2022-01-20T15:29:00.775Z] ---> Running in a3ca240b8ebe [2022-01-20T15:29:01.376Z] Removing intermediate container a3ca240b8ebe [2022-01-20T15:29:01.376Z] ---> f5d21ec2a023 [2022-01-20T15:29:01.376Z] Step 9/13 : COPY go.mod vendor* ./ [2022-01-20T15:29:01.977Z] ---> cd3f4052d989 [2022-01-20T15:29:01.977Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T15:29:01.977Z] ---> Running in bf170669889e [2022-01-20T15:30:23.823Z] Removing intermediate container bf170669889e [2022-01-20T15:30:23.823Z] ---> f20fc2c01385 [2022-01-20T15:30:23.823Z] Step 11/13 : COPY . . [2022-01-20T15:30:23.823Z] ---> 399ecd67acfe [2022-01-20T15:30:23.823Z] Step 12/13 : ARG MAKE="make build" [2022-01-20T15:30:23.823Z] ---> Running in 78c1eb006fef [2022-01-20T15:30:23.823Z] Removing intermediate container 78c1eb006fef [2022-01-20T15:30:23.823Z] ---> 0f0220f4c280 [2022-01-20T15:30:23.823Z] Step 13/13 : RUN $MAKE [2022-01-20T15:30:23.823Z] ---> Running in 3173ce4109a2 [2022-01-20T15:30:23.823Z] noop [2022-01-20T15:30:23.823Z] Removing intermediate container 3173ce4109a2 [2022-01-20T15:30:23.823Z] ---> a7dbf64a2a43 [2022-01-20T15:30:23.823Z] Successfully built a7dbf64a2a43 [2022-01-20T15:30:23.823Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:30:24.167Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T15:30:24.167Z] . [Pipeline] withDockerContainer [2022-01-20T15:30:24.376Z] prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container [2022-01-20T15:30:24.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T15:30:25.734Z] $ docker top 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T15:30:26.603Z] + go version [2022-01-20T15:30:26.603Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T15:30:26.633Z] $ docker stop --time=1 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 [2022-01-20T15:30:28.310Z] $ docker rm -f 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:30:28.936Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T15:30:28.936Z] . [Pipeline] withDockerContainer [2022-01-20T15:30:29.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container [2022-01-20T15:30:29.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T15:30:30.674Z] $ docker top b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T15:30:31.589Z] + make test [2022-01-20T15:30:31.589Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-20T15:31:18.606Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-01-20T15:31:18.606Z] CGO_ENABLED=1 go vet ./... [2022-01-20T15:31:36.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T15:31:36.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T15:31:36.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T15:31:36.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T15:31:36.968Z] $ docker stop --time=1 b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 [2022-01-20T15:31:38.746Z] $ docker rm -f b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T15:31:39.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T15:31:39.556Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T15:31:39.978Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T15:31:40.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T15:31:40.720Z] + ls -al . [2022-01-20T15:31:40.720Z] total 172 [2022-01-20T15:31:40.720Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 15:31 . [2022-01-20T15:31:40.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 15:27 .. [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 119 Jan 20 15:27 .dockerignore [2022-01-20T15:31:40.720Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 15:28 .git [2022-01-20T15:31:40.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 15:27 .github [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 104 Jan 20 15:27 .gitignore [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 7608 Jan 20 15:27 Attribution.txt [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 23791 Jan 20 15:27 CHANGELOG.md [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 2087 Jan 20 15:27 Dockerfile [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 15:27 GOVERNANCE.md [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 687 Jan 20 15:27 Jenkinsfile [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 20 15:27 LICENSE [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 20 15:27 OWNERS.md [2022-01-20T15:31:40.720Z] -rw-rw-r-- 1 jenkins jenkins 3860 Jan 20 15:27 README.md [2022-01-20T15:31:40.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 15:24 VERSION [2022-01-20T15:31:40.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 15:27 bin [2022-01-20T15:31:40.721Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 20 15:30 coverage.out [2022-01-20T15:31:40.721Z] -rw-rw-r-- 1 jenkins jenkins 2802 Jan 20 15:27 go.mod [2022-01-20T15:31:40.721Z] -rw-rw-r-- 1 jenkins jenkins 49310 Jan 20 15:27 go.sum [2022-01-20T15:31:40.721Z] -rw-rw-r-- 1 jenkins jenkins 1949 Jan 20 15:27 main.go [2022-01-20T15:31:40.721Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 20 15:27 makefile [2022-01-20T15:31:40.721Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 15:27 res [2022-01-20T15:31:40.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 15:27 snap [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:31:41.062Z] + 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=f5f15a8940a8b0ac307845570e00a4c7906e442c --label arch=arm64 --label version=0.0.0 . [2022-01-20T15:31:41.062Z] Sending build context to Docker daemon 208.4kB [2022-01-20T15:31:41.336Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T15:31:41.336Z] Step 2/27 : FROM ${BASE} AS builder [2022-01-20T15:31:41.336Z] ---> a7dbf64a2a43 [2022-01-20T15:31:41.336Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-01-20T15:31:41.611Z] ---> Running in 2f4ab295102f [2022-01-20T15:31:41.882Z] Removing intermediate container 2f4ab295102f [2022-01-20T15:31:41.882Z] ---> 8d5f02bf7991 [2022-01-20T15:31:41.882Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T15:31:41.882Z] ---> Running in 8110a1872603 [2022-01-20T15:31:42.476Z] Removing intermediate container 8110a1872603 [2022-01-20T15:31:42.476Z] ---> 702e269a432f [2022-01-20T15:31:42.476Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:31:42.476Z] ---> Running in 9b15ee268981 [2022-01-20T15:31:42.749Z] Removing intermediate container 9b15ee268981 [2022-01-20T15:31:42.749Z] ---> ec29229e0de2 [2022-01-20T15:31:42.749Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T15:31:42.749Z] ---> Running in f2e1ae6e61f2 [2022-01-20T15:31:44.725Z] Removing intermediate container f2e1ae6e61f2 [2022-01-20T15:31:44.725Z] ---> ecea5b227f6d [2022-01-20T15:31:44.725Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T15:31:44.725Z] ---> Running in a35f3b2bc09c [2022-01-20T15:31:45.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T15:31:46.675Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T15:31:47.273Z] OK: 220 MiB in 52 packages [2022-01-20T15:31:48.248Z] Removing intermediate container a35f3b2bc09c [2022-01-20T15:31:48.248Z] ---> e6536ab911ed [2022-01-20T15:31:48.248Z] Step 8/27 : WORKDIR /app [2022-01-20T15:31:48.248Z] ---> Running in 84040939d784 [2022-01-20T15:31:48.524Z] Removing intermediate container 84040939d784 [2022-01-20T15:31:48.524Z] ---> c1e161e42399 [2022-01-20T15:31:48.524Z] Step 9/27 : COPY go.mod vendor* ./ [2022-01-20T15:31:49.121Z] ---> 401ec84e8549 [2022-01-20T15:31:49.121Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T15:31:49.121Z] ---> Running in 6e7721d912c7 [2022-01-20T15:31:51.102Z] Removing intermediate container 6e7721d912c7 [2022-01-20T15:31:51.102Z] ---> f32222032c33 [2022-01-20T15:31:51.102Z] Step 11/27 : COPY . . [2022-01-20T15:31:52.080Z] ---> d2d976b22438 [2022-01-20T15:31:52.080Z] Step 12/27 : ARG MAKE="make build" [2022-01-20T15:31:52.080Z] ---> Running in 4a7f1be8b54d [2022-01-20T15:31:52.353Z] Removing intermediate container 4a7f1be8b54d [2022-01-20T15:31:52.353Z] ---> efb967770685 [2022-01-20T15:31:52.353Z] Step 13/27 : RUN $MAKE [2022-01-20T15:31:52.353Z] ---> Running in 599ac4b66780 [2022-01-20T15:31:53.335Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable [2022-01-20T15:32:40.309Z] Removing intermediate container 599ac4b66780 [2022-01-20T15:32:40.309Z] ---> 245ce75a927a [2022-01-20T15:32:40.309Z] Step 14/27 : FROM alpine:3.14 [2022-01-20T15:32:40.309Z] 3.14: Pulling from library/alpine [2022-01-20T15:32:40.309Z] be307f383ecc: Pulling fs layer [2022-01-20T15:32:40.309Z] be307f383ecc: Download complete [2022-01-20T15:32:40.309Z] be307f383ecc: Pull complete [2022-01-20T15:32:40.309Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T15:32:40.309Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T15:32:40.309Z] ---> 5b8b7b635229 [2022-01-20T15:32:40.309Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-01-20T15:32:40.309Z] ---> Running in 6e3b7c9c9500 [2022-01-20T15:32:40.309Z] Removing intermediate container 6e3b7c9c9500 [2022-01-20T15:32:40.309Z] ---> 7951248720e0 [2022-01-20T15:32:40.309Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-01-20T15:32:40.309Z] ---> Running in e2583f7c8fee [2022-01-20T15:32:40.309Z] Removing intermediate container e2583f7c8fee [2022-01-20T15:32:40.309Z] ---> 91b25f807e3c [2022-01-20T15:32:40.309Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-01-20T15:32:40.309Z] ---> Running in 413f92a67177 [2022-01-20T15:32:40.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T15:32:40.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T15:32:40.309Z] (1/7) Installing ca-certificates (20191127-r5) [2022-01-20T15:32:40.309Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-01-20T15:32:40.309Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T15:32:40.309Z] (4/7) Installing libsodium (1.0.18-r0) [2022-01-20T15:32:40.309Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T15:32:40.309Z] (6/7) Installing libzmq (4.3.4-r0) [2022-01-20T15:32:40.309Z] (7/7) Installing zeromq (4.3.4-r0) [2022-01-20T15:32:40.309Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T15:32:40.309Z] Executing ca-certificates-20191127-r5.trigger [2022-01-20T15:32:40.309Z] OK: 9 MiB in 21 packages [2022-01-20T15:32:40.309Z] Removing intermediate container 413f92a67177 [2022-01-20T15:32:40.309Z] ---> 22c069526e63 [2022-01-20T15:32:40.309Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-01-20T15:32:40.584Z] ---> f5ffe896e4f6 [2022-01-20T15:32:40.584Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-01-20T15:32:41.180Z] ---> 6ebc59e22244 [2022-01-20T15:32:41.180Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-01-20T15:32:41.775Z] ---> 20b0acf569e5 [2022-01-20T15:32:41.776Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-01-20T15:32:43.211Z] ---> 2773ada7c071 [2022-01-20T15:32:43.211Z] Step 22/27 : EXPOSE 48095 [2022-01-20T15:32:43.211Z] ---> Running in 5d6170dc04bc [2022-01-20T15:32:43.211Z] Removing intermediate container 5d6170dc04bc [2022-01-20T15:32:43.211Z] ---> ac1d8311ffa6 [2022-01-20T15:32:43.211Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-01-20T15:32:43.482Z] ---> Running in 3911eb2cf603 [2022-01-20T15:32:43.754Z] Removing intermediate container 3911eb2cf603 [2022-01-20T15:32:43.754Z] ---> cb4aa7946a3f [2022-01-20T15:32:43.754Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T15:32:43.754Z] ---> Running in 745b51a39ca7 [2022-01-20T15:32:44.349Z] Removing intermediate container 745b51a39ca7 [2022-01-20T15:32:44.349Z] ---> 6e2d7078eb86 [2022-01-20T15:32:44.349Z] Step 25/27 : LABEL arch=arm64 [2022-01-20T15:32:44.349Z] ---> Running in eaff68b70101 [2022-01-20T15:32:44.621Z] Removing intermediate container eaff68b70101 [2022-01-20T15:32:44.621Z] ---> 59d6789b79a4 [2022-01-20T15:32:44.621Z] Step 26/27 : LABEL git_sha=f5f15a8940a8b0ac307845570e00a4c7906e442c [2022-01-20T15:32:44.621Z] ---> Running in 39bbc2c14388 [2022-01-20T15:32:45.216Z] Removing intermediate container 39bbc2c14388 [2022-01-20T15:32:45.216Z] ---> 0650ae48b2eb [2022-01-20T15:32:45.216Z] Step 27/27 : LABEL version=0.0.0 [2022-01-20T15:32:45.216Z] ---> Running in 0315e5974572 [2022-01-20T15:32:45.487Z] Removing intermediate container 0315e5974572 [2022-01-20T15:32:45.487Z] ---> 0adebe33ade2 [2022-01-20T15:32:45.487Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T15:32:45.487Z] Successfully built 0adebe33ade2 [2022-01-20T15:32:45.487Z] 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-20T15:32:45.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T15:32:45.923Z] [2022-01-20T15:32:45.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:32:46.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T15:32:46.542Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T15:32:46.542Z] 448f6bf000e3: Pulling fs layer [2022-01-20T15:32:46.542Z] f757da607395: Pulling fs layer [2022-01-20T15:32:46.542Z] 05883995daec: Pulling fs layer [2022-01-20T15:32:46.542Z] 8603b9c90790: Pulling fs layer [2022-01-20T15:32:46.542Z] 1560dd03e051: Pulling fs layer [2022-01-20T15:32:46.542Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T15:32:46.542Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T15:32:46.542Z] 1560dd03e051: Waiting [2022-01-20T15:32:46.542Z] 27f5ce0e4adf: Waiting [2022-01-20T15:32:46.542Z] c2d8d7efcc4b: Waiting [2022-01-20T15:32:46.542Z] 8603b9c90790: Waiting [2022-01-20T15:32:46.542Z] f757da607395: Verifying Checksum [2022-01-20T15:32:46.542Z] f757da607395: Download complete [2022-01-20T15:32:46.542Z] 8603b9c90790: Verifying Checksum [2022-01-20T15:32:46.542Z] 8603b9c90790: Download complete [2022-01-20T15:32:46.542Z] 1560dd03e051: Verifying Checksum [2022-01-20T15:32:46.542Z] 1560dd03e051: Download complete [2022-01-20T15:32:46.542Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T15:32:46.542Z] 27f5ce0e4adf: Download complete [2022-01-20T15:32:46.813Z] 05883995daec: Verifying Checksum [2022-01-20T15:32:46.813Z] 05883995daec: Download complete [2022-01-20T15:32:47.088Z] 448f6bf000e3: Verifying Checksum [2022-01-20T15:32:47.088Z] 448f6bf000e3: Download complete [2022-01-20T15:32:49.708Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T15:32:49.708Z] c2d8d7efcc4b: Download complete [2022-01-20T15:32:50.695Z] 448f6bf000e3: Pull complete [2022-01-20T15:32:51.291Z] f757da607395: Pull complete [2022-01-20T15:32:52.726Z] 05883995daec: Pull complete [2022-01-20T15:32:53.001Z] 8603b9c90790: Pull complete [2022-01-20T15:32:53.983Z] 1560dd03e051: Pull complete [2022-01-20T15:32:53.983Z] 27f5ce0e4adf: Pull complete [2022-01-20T15:33:09.070Z] c2d8d7efcc4b: Pull complete [2022-01-20T15:33:09.070Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T15:33:09.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T15:33:09.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T15:33:09.271Z] prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container [2022-01-20T15:33:09.368Z] $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T15:33:11.889Z] $ docker top 63ea479d548f76e24c8cd14f1c53c178a9a9329bf7d9769d023416dccc0b6e1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:12.766Z] ---> job-cost.sh [2022-01-20T15:33:12.766Z] lf-activate-venv: SKIPPING [2022-01-20T15:33:12.766Z] INFO: No Stack... [2022-01-20T15:33:13.039Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T15:33:13.632Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T15:33:14.292Z] + cut -d, -f6 [2022-01-20T15:33:14.292Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock [2022-01-20T15:33:14.357Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [2022-01-20T15:33:14.363Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] did not exist. Created. [2022-01-20T15:33:14.363Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T15:33:15.036Z] /w/workspace/app-service-configurable/2@tmp/durable-177a9bff/script.sh: 1: /w/workspace/app-service-configurable/2@tmp/durable-177a9bff/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T15:33:15.714Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T15:33:15.746Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T15:33:15.794Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T15:33:15.801Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T15:33:15.834Z] $ docker stop --time=1 63ea479d548f76e24c8cd14f1c53c178a9a9329bf7d9769d023416dccc0b6e1f [2022-01-20T15:33:17.330Z] $ docker rm -f 63ea479d548f76e24c8cd14f1c53c178a9a9329bf7d9769d023416dccc0b6e1f [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-20T15:33:18.528Z] + '[' -d /w/workspace/_app-service-configurable_PR-370/archives ']' [2022-01-20T15:33:18.528Z] + ls -al /w/workspace/_app-service-configurable_PR-370/archives [2022-01-20T15:33:18.528Z] total 8 [2022-01-20T15:33:18.528Z] drwxr-xr-x. 3 root root 34 Jan 20 15:26 . [2022-01-20T15:33:18.528Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 15:26 .. [2022-01-20T15:33:18.528Z] drwxr-xr-x. 2 root root 6 Jan 20 15:26 cost [2022-01-20T15:33:18.528Z] -rw-r--r--. 1 root root 95 Jan 20 15:26 cost.csv [2022-01-20T15:33:18.528Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-370/archives [2022-01-20T15:33:18.528Z] + ls -al /w/workspace/_app-service-configurable_PR-370/archives [2022-01-20T15:33:18.528Z] total 8 [2022-01-20T15:33:18.528Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 15:26 . [2022-01-20T15:33:18.528Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 15:26 .. [2022-01-20T15:33:18.528Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 15:26 cost [2022-01-20T15:33:18.528Z] -rw-r--r--. 1 jenkins jenkins 95 Jan 20 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:18.915Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:19.476Z] ---> package-listing.sh [2022-01-20T15:33:19.476Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T15:33:19.476Z] ++ facter osfamily [2022-01-20T15:33:19.738Z] + OS_FAMILY=redhat [2022-01-20T15:33:19.738Z] + workspace=/w/workspace/_app-service-configurable_PR-370 [2022-01-20T15:33:19.738Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T15:33:19.738Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T15:33:19.738Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T15:33:19.738Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T15:33:19.738Z] + '[' /w/workspace/_app-service-configurable_PR-370 ']' [2022-01-20T15:33:19.738Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T15:33:19.738Z] + case "${OS_FAMILY}" in [2022-01-20T15:33:19.738Z] + rpm -qa [2022-01-20T15:33:19.738Z] + sort [2022-01-20T15:33:20.312Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T15:33:20.312Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T15:33:20.312Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T15:33:20.312Z] + '[' /w/workspace/_app-service-configurable_PR-370 ']' [2022-01-20T15:33:20.312Z] + mkdir -p /w/workspace/_app-service-configurable_PR-370/archives/ [2022-01-20T15:33:20.312Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-370/archives/ [Pipeline] echo [2022-01-20T15:33:20.326Z] 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-20T15:33:20.616Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T15:33:21.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T15:33:21.186Z] . [Pipeline] withDockerContainer [2022-01-20T15:33:21.259Z] prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container [2022-01-20T15:33:21.296Z] $ 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-370/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-370 -v /w/workspace/_app-service-configurable_PR-370:/w/workspace/_app-service-configurable_PR-370:rw,z -v /w/workspace/_app-service-configurable_PR-370@tmp:/w/workspace/_app-service-configurable_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T15:33:21.504Z] $ docker top e911fbbdb7da8debb50c6833cdad9dcb4f1b58b39e493a58cbbda522427bb4c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T15:33:21.872Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T15:33:22.174Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T15:33:22.467Z] + ls /var/log/sa-host [2022-01-20T15:33:22.467Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T15:33:22.467Z] file_magic: OK [2022-01-20T15:33:22.467Z] HZ: Using current value: 100 [2022-01-20T15:33:22.467Z] file_header: OK [2022-01-20T15:33:22.467Z] 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-20T15:33:22.467Z] Statistics: [2022-01-20T15:33:22.467Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T15:33:22.467Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T15:33:22.467Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T15:33:22.467Z] file_magic: OK [2022-01-20T15:33:22.467Z] HZ: Using current value: 100 [2022-01-20T15:33:22.467Z] file_header: OK [2022-01-20T15:33:22.467Z] 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-20T15:33:22.467Z] Statistics: [2022-01-20T15:33:22.467Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T15:33:22.467Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T15:33:22.564Z] provisioning config files... [2022-01-20T15:33:22.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config6367946567072422633tmp [Pipeline] { [Pipeline] echo [2022-01-20T15:33:22.588Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:22.881Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T15:33:22.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:23.218Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T15:33:23.228Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:23.526Z] ---> sudo-logs.sh [2022-01-20T15:33:23.526Z] Archiving 'sudo' log.. [2022-01-20T15:33:23.787Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2236.novalocal: Name or service not known [2022-01-20T15:33:23.787Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2236.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T15:33:23.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:24.106Z] ---> job-cost.sh [2022-01-20T15:33:24.106Z] lf-activate-venv: SKIPPING [2022-01-20T15:33:24.106Z] DEBUG: total: 0.05999999865889549 [2022-01-20T15:33:24.106Z] INFO: Retrieving Stack Cost... [2022-01-20T15:33:24.368Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T15:33:24.951Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T15:33:24.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T15:33:25.255Z] ---> logs-deploy.sh [2022-01-20T15:33:25.255Z] lf-activate-venv: SKIPPING [2022-01-20T15:33:25.255Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-370/2 [2022-01-20T15:33:25.255Z] INFO: archiving workspace using pattern(s): [2022-01-20T15:33:26.642Z] Archives upload complete. [2022-01-20T15:33:26.642Z] INFO: archiving logs to Nexus