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 15:24:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:24:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:24:21 ========================================================= 15:24:21 EdgeX Global Pipelines Version Info 15:24:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:24:22 ------------------- 15:24:22 stable info: 15:24:22 ------------------- 15:24:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 15:24:22 Message: update stable to v1.0.219 15:24:22 ------------------- 15:24:22 experimental info: 15:24:22 ------------------- 15:24:22 Commited By: **** collab-it+edgex@linuxfoundation.org 15:24:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 15:24:22 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:24:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 15:24:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 15:24:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:24:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:24:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f15a8 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:23 provisioning config files... 15:24:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config7749643296065918228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:23 ---> docker-login.sh 15:24:23 nexus3.edgexfoundry.org:10001 15:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:23 Configure a credential helper to remove this warning. See 15:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:23 15:24:23 Login Succeeded 15:24:23 nexus3.edgexfoundry.org:10002 15:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:24 Configure a credential helper to remove this warning. See 15:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:24 15:24:24 Login Succeeded 15:24:24 nexus3.edgexfoundry.org:10003 15:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:24 Configure a credential helper to remove this warning. See 15:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:24 15:24:24 Login Succeeded 15:24:24 nexus3.edgexfoundry.org:10004 15:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:24 Configure a credential helper to remove this warning. See 15:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:24 15:24:24 Login Succeeded 15:24:24 docker.io 15:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:24 Configure a credential helper to remove this warning. See 15:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:24 15:24:24 Login Succeeded 15:24:24 ---> docker-login.sh ends [Pipeline] } 15:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:24:25 + git rev-list -1 --merges f5f15a8940a8b0ac307845570e00a4c7906e442c~1..f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo 15:24:25 -----------> git rev-list -1 --merges f5f15a8940a8b0ac307845570e00a4c7906e442c~1..f5f15a8940a8b0ac307845570e00a4c7906e442c f5f15a8940a8b0ac307845570e00a4c7906e442c [false] [Pipeline] sh 15:24:25 + git log --format=format:%s -1 f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo 15:24:25 ========================================================= 15:24:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:24:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:26 + git log --format=format:%s -1 f5f15a8940a8b0ac307845570e00a4c7906e442c [Pipeline] echo 15:24:26 [semverPrep] GIT_COMMIT: f5f15a8940a8b0ac307845570e00a4c7906e442c, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 15:24:26 [semverPrep] This is not a build commit. [Pipeline] sh 15:24:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:24:26 + grep -v github /etc/ssh/ssh_known_hosts 15:24:26 + '[' -e /tmp/ssh_known_hosts ']' 15:24:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:24:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:24:26 + sudo tee -a /etc/ssh/ssh_known_hosts 15:24:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:26 15:24:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:24:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:27 latest: Pulling from edgex-devops/git-semver 15:24:27 a0d0a0d46f8b: Pulling fs layer 15:24:27 3e5f54012d9b: Pulling fs layer 15:24:27 4c7163046ea9: Pulling fs layer 15:24:27 0c2d73faf560: Pulling fs layer 15:24:27 0c2d73faf560: Waiting 15:24:27 3e5f54012d9b: Verifying Checksum 15:24:27 3e5f54012d9b: Download complete 15:24:27 a0d0a0d46f8b: Verifying Checksum 15:24:27 a0d0a0d46f8b: Download complete 15:24:27 4c7163046ea9: Verifying Checksum 15:24:27 4c7163046ea9: Download complete 15:24:27 0c2d73faf560: Verifying Checksum 15:24:27 0c2d73faf560: Download complete 15:24:27 a0d0a0d46f8b: Pull complete 15:24:27 3e5f54012d9b: Pull complete 15:24:27 4c7163046ea9: Pull complete 15:24:27 0c2d73faf560: Pull complete 15:24:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:24:28 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 15:24:27 $ 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 15:24:28 $ docker top 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:28 [ssh-agent] Looking for ssh-agent implementation... 15:24:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:28 $ docker exec 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent 15:24:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaadfNg/agent.14 15:24:28 SSH_AGENT_PID=20 15:24:28 Running ssh-add (command line suppressed) 15:24:28 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) 15:24:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:29 + git tag --points-at HEAD [Pipeline] } 15:24:29 $ docker exec --env ******** --env ******** 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent -k 15:24:29 unset SSH_AUTH_SOCK; 15:24:29 unset SSH_AGENT_PID; 15:24:29 echo Agent pid 20 killed; 15:24:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:24:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:29 [ssh-agent] Looking for ssh-agent implementation... 15:24:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:29 $ docker exec 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent 15:24:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJNhdML/agent.56 15:24:29 SSH_AGENT_PID=63 15:24:29 Running ssh-add (command line suppressed) 15:24:29 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) 15:24:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:30 + git semver init 15:24:30 # -> Open(): unable to determine branch for HEAD 15:24:30 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-370/.git 15:24:30 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-370 15:24:30 # $SEMVER_REMOTE_NAME = origin 15:24:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:24:30 # $SEMVER_USER_NAME = edgex-jenkins 15:24:30 # $SEMVER_BRANCH = PR-370 15:24:30 # $SEMVER_TEMP = /tmp/semver-942072547 15:24:30 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 15:24:30 # '/tmp/semver-942072547' -> '/w/workspace/_app-service-configurable_PR-370/.semver' 15:24:30 # -> Force: false 15:24:30 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-370/.semver [Pipeline] } 15:24:30 $ docker exec --env ******** --env ******** 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 ssh-agent -k 15:24:31 unset SSH_AUTH_SOCK; 15:24:31 unset SSH_AGENT_PID; 15:24:31 echo Agent pid 63 killed; 15:24:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:31 + git semver [Pipeline] } 15:24:31 $ docker stop --time=1 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 15:24:32 $ docker rm -f 568bc5682ea4da3432ef68e68610be5fd15586f3f1669107c0be84484526c461 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:24:33 Stashed 1 file(s) [Pipeline] echo 15:24:33 [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 15:24:33 provisioning config files... 15:24:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config9023498657518816092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:33 ---> docker-login.sh 15:24:33 nexus3.edgexfoundry.org:10001 15:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:33 Configure a credential helper to remove this warning. See 15:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:33 15:24:33 Login Succeeded 15:24:33 nexus3.edgexfoundry.org:10002 15:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:33 Configure a credential helper to remove this warning. See 15:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:33 15:24:33 Login Succeeded 15:24:33 nexus3.edgexfoundry.org:10003 15:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:34 Configure a credential helper to remove this warning. See 15:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:34 15:24:34 Login Succeeded 15:24:34 nexus3.edgexfoundry.org:10004 15:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:34 Configure a credential helper to remove this warning. See 15:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:34 15:24:34 Login Succeeded 15:24:34 docker.io 15:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:34 Configure a credential helper to remove this warning. See 15:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:34 15:24:34 Login Succeeded 15:24:34 ---> docker-login.sh ends [Pipeline] } 15:24:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:34 ========================================================= 15:24:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:24:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:24:34 + 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 . 15:24:34 Sending build context to Docker daemon 2.941MB 15:24:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:24:34 Step 2/13 : FROM ${BASE} AS builder 15:24:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:24:34 59bf1c3509f3: Pulling fs layer 15:24:34 666ba61612fd: Pulling fs layer 15:24:34 8ed8ca486205: Pulling fs layer 15:24:34 4fe6c5a15a65: Pulling fs layer 15:24:34 22a0e8bec74d: Pulling fs layer 15:24:34 f965cba54748: Pulling fs layer 15:24:34 861ffc35075e: Pulling fs layer 15:24:34 4b385c91608e: Pulling fs layer 15:24:34 560528eb2ebb: Pulling fs layer 15:24:34 4fe6c5a15a65: Waiting 15:24:34 22a0e8bec74d: Waiting 15:24:34 f965cba54748: Waiting 15:24:34 861ffc35075e: Waiting 15:24:34 4b385c91608e: Waiting 15:24:34 560528eb2ebb: Waiting 15:24:34 8ed8ca486205: Verifying Checksum 15:24:34 8ed8ca486205: Download complete 15:24:34 666ba61612fd: Verifying Checksum 15:24:34 666ba61612fd: Download complete 15:24:34 22a0e8bec74d: Verifying Checksum 15:24:34 22a0e8bec74d: Download complete 15:24:34 f965cba54748: Verifying Checksum 15:24:34 f965cba54748: Download complete 15:24:35 861ffc35075e: Verifying Checksum 15:24:35 861ffc35075e: Download complete 15:24:35 59bf1c3509f3: Verifying Checksum 15:24:35 59bf1c3509f3: Download complete 15:24:35 4b385c91608e: Verifying Checksum 15:24:35 4b385c91608e: Download complete 15:24:35 59bf1c3509f3: Pull complete 15:24:35 666ba61612fd: Pull complete 15:24:35 4fe6c5a15a65: Verifying Checksum 15:24:35 4fe6c5a15a65: Download complete 15:24:35 8ed8ca486205: Pull complete 15:24:35 560528eb2ebb: Verifying Checksum 15:24:35 560528eb2ebb: Download complete 15:24:40 4fe6c5a15a65: Pull complete 15:24:40 22a0e8bec74d: Pull complete 15:24:40 f965cba54748: Pull complete 15:24:40 861ffc35075e: Pull complete 15:24:40 4b385c91608e: Pull complete 15:24:42 560528eb2ebb: Pull complete 15:24:42 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 15:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:24:42 ---> dd4a08f94e63 15:24:42 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:24:43 ---> Running in d64000e28eff 15:24:43 Removing intermediate container d64000e28eff 15:24:43 ---> a05bcfdfe025 15:24:43 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:24:43 ---> Running in 3b6b05e5f130 15:24:43 Removing intermediate container 3b6b05e5f130 15:24:43 ---> 9c5308c30541 15:24:43 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:24:43 ---> Running in 6d7861b5a2c4 15:24:43 Removing intermediate container 6d7861b5a2c4 15:24:43 ---> d5f530d61f23 15:24:43 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:43 ---> Running in 1c3e0a3cb428 15:24:44 Removing intermediate container 1c3e0a3cb428 15:24:44 ---> 60384b718e09 15:24:44 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:44 ---> Running in 1cda41cd1207 15:24:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:24:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:24:46 OK: 221 MiB in 52 packages 15:24:46 Removing intermediate container 1cda41cd1207 15:24:46 ---> 8edc1a927270 15:24:46 Step 8/13 : WORKDIR /app 15:24:46 ---> Running in 117edefd9ee1 15:24:46 Removing intermediate container 117edefd9ee1 15:24:46 ---> 7ff8646aef83 15:24:46 Step 9/13 : COPY go.mod vendor* ./ 15:24:46 ---> add4d2d5d944 15:24:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:46 ---> Running in a34e2d990d98 15:24:48 Still waiting to schedule task 15:24:48 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2233’ 15:25:13 Removing intermediate container a34e2d990d98 15:25:13 ---> 2c235ace33c5 15:25:13 Step 11/13 : COPY . . 15:25:13 ---> 687d9d3707e5 15:25:13 Step 12/13 : ARG MAKE="make build" 15:25:13 ---> Running in e615b0639d6e 15:25:13 Removing intermediate container e615b0639d6e 15:25:13 ---> 16691d0f8141 15:25:13 Step 13/13 : RUN $MAKE 15:25:13 ---> Running in 9f635e5c9b18 15:25:13 noop 15:25:13 Removing intermediate container 9f635e5c9b18 15:25:13 ---> 731237c97688 15:25:13 Successfully built 731237c97688 15:25:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:25:13 + docker inspect -f . ci-base-image-x86_64 15:25:13 . [Pipeline] withDockerContainer 15:25:13 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 15:25:13 $ 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 15:25:14 $ docker top 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:14 + go version 15:25:14 go version go1.17.6 linux/amd64 [Pipeline] } 15:25:14 $ docker stop --time=1 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b 15:25:15 $ docker rm -f 0c06707acf62fb758f2bce4e729f38820ae391427f18a8bade2247884fcbfe3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:16 + docker inspect -f . ci-base-image-x86_64 15:25:16 . [Pipeline] withDockerContainer 15:25:16 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 15:25:16 $ 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 15:25:16 $ docker top 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:25:16 + make test 15:25:16 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:25:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:25:31 CGO_ENABLED=1 go vet ./... 15:25:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:36 ./bin/test-attribution-txt.sh [Pipeline] echo 15:25:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:25:36 $ docker stop --time=1 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 15:25:37 $ docker rm -f 60c5e53f06b66e6d9620fae283f586e850b50347c5d088bfcca5fb2c6816b6a5 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:39 + ls -al . 15:25:39 total 148 15:25:39 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 15:25 . 15:25:39 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 15:24 .. 15:25:39 -rw-rw-r--. 1 jenkins jenkins 7608 Jan 20 15:24 Attribution.txt 15:25:39 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 15:24 bin 15:25:39 -rw-rw-r--. 1 jenkins jenkins 23791 Jan 20 15:24 CHANGELOG.md 15:25:39 -rw-r--r--. 1 jenkins jenkins 10 Jan 20 15:25 coverage.out 15:25:39 -rw-rw-r--. 1 jenkins jenkins 2087 Jan 20 15:24 Dockerfile 15:25:39 -rw-rw-r--. 1 jenkins jenkins 119 Jan 20 15:24 .dockerignore 15:25:39 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 15:24 .git 15:25:39 drwxrwxr-x. 2 jenkins jenkins 104 Jan 20 15:24 .github 15:25:39 -rw-rw-r--. 1 jenkins jenkins 104 Jan 20 15:24 .gitignore 15:25:39 -rw-rw-r--. 1 jenkins jenkins 2802 Jan 20 15:24 go.mod 15:25:39 -rw-rw-r--. 1 jenkins jenkins 49310 Jan 20 15:24 go.sum 15:25:39 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 15:24 GOVERNANCE.md 15:25:39 -rw-rw-r--. 1 jenkins jenkins 687 Jan 20 15:24 Jenkinsfile 15:25:39 -rw-rw-r--. 1 jenkins jenkins 10174 Jan 20 15:24 LICENSE 15:25:39 -rw-rw-r--. 1 jenkins jenkins 1949 Jan 20 15:24 main.go 15:25:39 -rw-rw-r--. 1 jenkins jenkins 1614 Jan 20 15:24 makefile 15:25:39 -rw-rw-r--. 1 jenkins jenkins 618 Jan 20 15:24 OWNERS.md 15:25:39 -rw-rw-r--. 1 jenkins jenkins 3860 Jan 20 15:24 README.md 15:25:39 drwxrwxr-x. 9 jenkins jenkins 151 Jan 20 15:24 res 15:25:39 drwx------. 3 jenkins jenkins 72 Jan 20 15:24 .semver 15:25:39 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 15:24 snap 15:25:39 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 15:24 VERSION [Pipeline] isUnix [Pipeline] sh 15:25:39 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f5f15a8940a8b0ac307845570e00a4c7906e442c --label arch=amd64 --label version=0.0.0 . 15:25:39 Sending build context to Docker daemon 2.942MB 15:25:39 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 15:25:39 Step 2/27 : FROM ${BASE} AS builder 15:25:39 ---> 731237c97688 15:25:39 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:25:39 ---> Running in f5faa2cde811 15:25:39 Removing intermediate container f5faa2cde811 15:25:39 ---> 14fdb40ed5bd 15:25:39 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:25:39 ---> Running in d063938a69f4 15:25:39 Removing intermediate container d063938a69f4 15:25:39 ---> 9625b8fb28f2 15:25:39 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:25:39 ---> Running in ba5cdc67a4dd 15:25:39 Removing intermediate container ba5cdc67a4dd 15:25:39 ---> 40a62b627da2 15:25:39 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:39 ---> Running in 7e0d2756cc78 15:25:40 Removing intermediate container 7e0d2756cc78 15:25:40 ---> 452b44c774a6 15:25:40 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:40 ---> Running in b570fd65528f 15:25:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:25:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:25:41 OK: 221 MiB in 52 packages 15:25:41 Removing intermediate container b570fd65528f 15:25:41 ---> 1d809fb3fa79 15:25:41 Step 8/27 : WORKDIR /app 15:25:41 ---> Running in 626cfa9b9bb0 15:25:41 Removing intermediate container 626cfa9b9bb0 15:25:41 ---> 2a9ee2c43d0b 15:25:41 Step 9/27 : COPY go.mod vendor* ./ 15:25:41 ---> a43972a4edb5 15:25:41 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:41 ---> Running in 1fc772200e41 15:25:42 Removing intermediate container 1fc772200e41 15:25:42 ---> ec6e68878af4 15:25:42 Step 11/27 : COPY . . 15:25:42 ---> 08d847ffee11 15:25:42 Step 12/27 : ARG MAKE="make build" 15:25:42 ---> Running in cba29096140a 15:25:42 Removing intermediate container cba29096140a 15:25:42 ---> 39b4bda1b66c 15:25:42 Step 13/27 : RUN $MAKE 15:25:42 ---> Running in 9d3518ac5ed7 15:25:42 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 15:25:55 Removing intermediate container 9d3518ac5ed7 15:25:55 ---> d3950e932ad0 15:25:55 Step 14/27 : FROM alpine:3.14 15:25:55 3.14: Pulling from library/alpine 15:25:55 97518928ae5f: Pulling fs layer 15:25:55 97518928ae5f: Verifying Checksum 15:25:55 97518928ae5f: Download complete 15:25:55 97518928ae5f: Pull complete 15:25:55 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 15:25:55 Status: Downloaded newer image for alpine:3.14 15:25:55 ---> 0a97eee8041e 15:25:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:25:55 ---> Running in 60ccf8332c38 15:25:55 Removing intermediate container 60ccf8332c38 15:25:55 ---> fd12aac8c1bb 15:25:55 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:25:55 ---> Running in 5a732ca29523 15:25:55 Removing intermediate container 5a732ca29523 15:25:55 ---> 7faffe521367 15:25:55 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 15:25:55 ---> Running in 70c66f7c46d5 15:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:26:01 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 15:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:26:06 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 15:26:06 ERROR: unable to select packages: 15:26:06  ca-certificates (no such package): 15:26:06 required by: world[ca-certificates] 15:26:06 dumb-init (no such package): 15:26:06 required by: world[dumb-init] 15:26:06 zeromq (no such package): 15:26:06 required by: world[zeromq] 15:26:06 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 15:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:06 15:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:07 latest: Pulling from edgex-lftools-log-publisher 15:26:07 b4d181a07f80: Pulling fs layer 15:26:07 a1111a8f2ec3: Pulling fs layer 15:26:07 ed53099fbce6: Pulling fs layer 15:26:07 dc539afda2c1: Pulling fs layer 15:26:07 77bc0d833cb6: Pulling fs layer 15:26:07 9065ff56babe: Pulling fs layer 15:26:07 d287ab97295c: Pulling fs layer 15:26:07 dc539afda2c1: Waiting 15:26:07 77bc0d833cb6: Waiting 15:26:07 9065ff56babe: Waiting 15:26:07 d287ab97295c: Waiting 15:26:07 a1111a8f2ec3: Verifying Checksum 15:26:07 a1111a8f2ec3: Download complete 15:26:07 dc539afda2c1: Verifying Checksum 15:26:07 dc539afda2c1: Download complete 15:26:07 ed53099fbce6: Verifying Checksum 15:26:07 ed53099fbce6: Download complete 15:26:07 77bc0d833cb6: Verifying Checksum 15:26:07 77bc0d833cb6: Download complete 15:26:07 9065ff56babe: Verifying Checksum 15:26:07 9065ff56babe: Download complete 15:26:07 b4d181a07f80: Verifying Checksum 15:26:07 b4d181a07f80: Download complete 15:26:08 d287ab97295c: Verifying Checksum 15:26:08 d287ab97295c: Download complete 15:26:08 b4d181a07f80: Pull complete 15:26:08 a1111a8f2ec3: Pull complete 15:26:09 ed53099fbce6: Pull complete 15:26:09 dc539afda2c1: Pull complete 15:26:09 77bc0d833cb6: Pull complete 15:26:10 9065ff56babe: Pull complete 15:26:15 d287ab97295c: Pull complete 15:26:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:26:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:26:15 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 15:26:15 $ 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 15:26:17 $ docker top a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:18 ---> job-cost.sh 15:26:18 lf-activate-venv: SKIPPING 15:26:18 INFO: No Stack... 15:26:18 INFO: Retrieving Pricing Info for: v3-standard-2 15:26:18 INFO: Archiving Costs [Pipeline] sh 15:26:19 + cat /w/workspace/_app-service-configurable_PR-370/archives/cost.csv 15:26:19 + cut -d, -f6 [Pipeline] lock 15:26:19 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] 15:26:19 Resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] did not exist. Created. 15:26:19 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:19 + echo total: 0.05999999865889549 [Pipeline] stash 15:26:19 Stashed 1 file(s) [Pipeline] } 15:26:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:19 $ docker stop --time=1 a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 15:26:20 $ docker rm -f a57e0cc42c84d7e0d7bdb93a11f7d04b2e44075cfff401f94a338472b5261eb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:20 Failed in branch amd64 15:27:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2239 in /w/workspace/_app-service-configurable_PR-370 [Pipeline] { [Pipeline] ws 15:27:50 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 15:27:50 Selected Git installation does not exist. Using Default 15:27:50 The recommended git tool is: NONE 15:27:56 using credential edgex-jenkins-ssh 15:27:56 Cloning the remote Git repository 15:27:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 15:27:56 > git init /w/workspace/app-service-configurable/2 # timeout=10 15:27:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:27:56 > git --version # timeout=10 15:27:56 > git --version # 'git version 2.17.1' 15:27:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:27:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 15:27:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 15:27:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:57 > 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 15:27:58 Merging remotes/origin/main commit 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit f5f15a8940a8b0ac307845570e00a4c7906e442c 15:27:58 Merge succeeded, producing f5f15a8940a8b0ac307845570e00a4c7906e442c 15:27:58 Checking out Revision f5f15a8940a8b0ac307845570e00a4c7906e442c (PR-370) 15:27:58 > git config core.sparsecheckout # timeout=10 15:27:58 > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # timeout=10 15:27:58 > git remote # timeout=10 15:27:58 > git config --get remote.origin.url # timeout=10 15:27:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:58 > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 15:27:58 > git rev-parse HEAD^{commit} # timeout=10 15:27:58 > git config core.sparsecheckout # timeout=10 15:27:58 > git checkout -f f5f15a8940a8b0ac307845570e00a4c7906e442c # timeout=10 15:28:03 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 15:28:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:04 Dload Upload Total Spent Left Speed 15:28:04 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 15:28:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:05 + sudo tee /etc/docker/daemon.new 15:28:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:05 { 15:28:05 "registry-mirrors": [ 15:28:05 "https://nexus3.edgexfoundry.org:10001" 15:28:05 ], 15:28:05 "bip": "10.250.0.254/24", 15:28:05 "hosts": [ 15:28:05 "tcp://0.0.0.0:5555", 15:28:05 "unix:///var/run/docker.sock" 15:28:05 ], 15:28:05 "mtu": 1458, 15:28:05 "selinux-enabled": true, 15:28:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:05 } [Pipeline] sh 15:28:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:28:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:24 provisioning config files... 15:28:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config7066953339528692769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:24 ---> docker-login.sh 15:28:24 nexus3.edgexfoundry.org:10001 15:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:25 Configure a credential helper to remove this warning. See 15:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:25 15:28:25 Login Succeeded 15:28:25 nexus3.edgexfoundry.org:10002 15:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:26 Configure a credential helper to remove this warning. See 15:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:26 15:28:26 Login Succeeded 15:28:26 nexus3.edgexfoundry.org:10003 15:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:26 Configure a credential helper to remove this warning. See 15:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:26 15:28:26 Login Succeeded 15:28:26 nexus3.edgexfoundry.org:10004 15:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:27 Configure a credential helper to remove this warning. See 15:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:27 15:28:27 Login Succeeded 15:28:27 docker.io 15:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:28 Configure a credential helper to remove this warning. See 15:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:28 15:28:28 Login Succeeded 15:28:28 ---> docker-login.sh ends [Pipeline] } 15:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:28:28 ========================================================= 15:28:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:28:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:28:29 + 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 . 15:28:29 Sending build context to Docker daemon 207.4kB 15:28:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:28:29 Step 2/13 : FROM ${BASE} AS builder 15:28:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:28:29 9b3977197b4f: Pulling fs layer 15:28:29 1a89e8eeedd5: Pulling fs layer 15:28:29 94645a83ff95: Pulling fs layer 15:28:29 3f3a8bcf1eab: Pulling fs layer 15:28:29 0c92f367c5e7: Pulling fs layer 15:28:29 4b8299f9d1f4: Pulling fs layer 15:28:29 9a6b49a46696: Pulling fs layer 15:28:29 cf05db05a679: Pulling fs layer 15:28:29 4b8299f9d1f4: Waiting 15:28:29 3f3a8bcf1eab: Waiting 15:28:29 0c92f367c5e7: Waiting 15:28:29 9a6b49a46696: Waiting 15:28:29 cf05db05a679: Waiting 15:28:29 94645a83ff95: Verifying Checksum 15:28:29 94645a83ff95: Download complete 15:28:29 1a89e8eeedd5: Verifying Checksum 15:28:29 1a89e8eeedd5: Download complete 15:28:29 0c92f367c5e7: Verifying Checksum 15:28:29 0c92f367c5e7: Download complete 15:28:29 4b8299f9d1f4: Verifying Checksum 15:28:29 4b8299f9d1f4: Download complete 15:28:29 9b3977197b4f: Verifying Checksum 15:28:29 9b3977197b4f: Download complete 15:28:29 9a6b49a46696: Verifying Checksum 15:28:29 9a6b49a46696: Download complete 15:28:30 9b3977197b4f: Pull complete 15:28:31 1a89e8eeedd5: Pull complete 15:28:31 94645a83ff95: Pull complete 15:28:31 cf05db05a679: Verifying Checksum 15:28:31 cf05db05a679: Download complete 15:28:32 3f3a8bcf1eab: Verifying Checksum 15:28:32 3f3a8bcf1eab: Download complete 15:28:44 3f3a8bcf1eab: Pull complete 15:28:44 0c92f367c5e7: Pull complete 15:28:44 4b8299f9d1f4: Pull complete 15:28:44 9a6b49a46696: Pull complete 15:28:51 cf05db05a679: Pull complete 15:28:51 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 15:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:28:51 ---> 0ccda1f7e2ee 15:28:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:28:53 ---> Running in 72466f966ecb 15:28:53 Removing intermediate container 72466f966ecb 15:28:53 ---> 8938c6f04464 15:28:53 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:28:53 ---> Running in e595653aea1e 15:28:53 Removing intermediate container e595653aea1e 15:28:53 ---> f928d36d1f6b 15:28:53 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:28:53 ---> Running in 3f9570c181c1 15:28:54 Removing intermediate container 3f9570c181c1 15:28:54 ---> d55ee601c2de 15:28:54 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:28:54 ---> Running in 8fbd165a8793 15:28:56 Removing intermediate container 8fbd165a8793 15:28:56 ---> 9c61d634fc53 15:28:56 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:56 ---> Running in e0097dc51500 15:28:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:28:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:28:59 OK: 220 MiB in 52 packages 15:29:00 Removing intermediate container e0097dc51500 15:29:00 ---> 032e985ea643 15:29:00 Step 8/13 : WORKDIR /app 15:29:00 ---> Running in a3ca240b8ebe 15:29:01 Removing intermediate container a3ca240b8ebe 15:29:01 ---> f5d21ec2a023 15:29:01 Step 9/13 : COPY go.mod vendor* ./ 15:29:01 ---> cd3f4052d989 15:29:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:01 ---> Running in bf170669889e 15:30:23 Removing intermediate container bf170669889e 15:30:23 ---> f20fc2c01385 15:30:23 Step 11/13 : COPY . . 15:30:23 ---> 399ecd67acfe 15:30:23 Step 12/13 : ARG MAKE="make build" 15:30:23 ---> Running in 78c1eb006fef 15:30:23 Removing intermediate container 78c1eb006fef 15:30:23 ---> 0f0220f4c280 15:30:23 Step 13/13 : RUN $MAKE 15:30:23 ---> Running in 3173ce4109a2 15:30:23 noop 15:30:23 Removing intermediate container 3173ce4109a2 15:30:23 ---> a7dbf64a2a43 15:30:23 Successfully built a7dbf64a2a43 15:30:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:30:24 + docker inspect -f . ci-base-image-arm64 15:30:24 . [Pipeline] withDockerContainer 15:30:24 prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 15:30:24 $ 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 15:30:25 $ docker top 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:26 + go version 15:30:26 go version go1.17.6 linux/arm64 [Pipeline] } 15:30:26 $ docker stop --time=1 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 15:30:28 $ docker rm -f 764a37dcecd5a0c81366f469b85e1419f5a30f8c168dbcdffa3f425781f06517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:30:28 + docker inspect -f . ci-base-image-arm64 15:30:28 . [Pipeline] withDockerContainer 15:30:29 prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 15:30:29 $ 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 15:30:30 $ docker top b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:30:31 + make test 15:30:31 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:31:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 15:31:18 CGO_ENABLED=1 go vet ./... 15:31:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:31:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:31:36 ./bin/test-attribution-txt.sh [Pipeline] echo 15:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:31:36 $ docker stop --time=1 b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 15:31:38 $ docker rm -f b40e7c26f694152653a28fd88f1300b31e9a24519368c12edc1525772f48eda6 [Pipeline] // withDockerContainer [Pipeline] sh 15:31:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:31:39 Warning: overwriting stash ‘coverage-report’ 15:31:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:31:40 + ls -al . 15:31:40 total 172 15:31:40 drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 15:31 . 15:31:40 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 15:27 .. 15:31:40 -rw-rw-r-- 1 jenkins jenkins 119 Jan 20 15:27 .dockerignore 15:31:40 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 15:28 .git 15:31:40 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 15:27 .github 15:31:40 -rw-rw-r-- 1 jenkins jenkins 104 Jan 20 15:27 .gitignore 15:31:40 -rw-rw-r-- 1 jenkins jenkins 7608 Jan 20 15:27 Attribution.txt 15:31:40 -rw-rw-r-- 1 jenkins jenkins 23791 Jan 20 15:27 CHANGELOG.md 15:31:40 -rw-rw-r-- 1 jenkins jenkins 2087 Jan 20 15:27 Dockerfile 15:31:40 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 15:27 GOVERNANCE.md 15:31:40 -rw-rw-r-- 1 jenkins jenkins 687 Jan 20 15:27 Jenkinsfile 15:31:40 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 20 15:27 LICENSE 15:31:40 -rw-rw-r-- 1 jenkins jenkins 618 Jan 20 15:27 OWNERS.md 15:31:40 -rw-rw-r-- 1 jenkins jenkins 3860 Jan 20 15:27 README.md 15:31:40 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 15:24 VERSION 15:31:40 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 15:27 bin 15:31:40 -rw-r--r-- 1 jenkins jenkins 10 Jan 20 15:30 coverage.out 15:31:40 -rw-rw-r-- 1 jenkins jenkins 2802 Jan 20 15:27 go.mod 15:31:40 -rw-rw-r-- 1 jenkins jenkins 49310 Jan 20 15:27 go.sum 15:31:40 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 20 15:27 main.go 15:31:40 -rw-rw-r-- 1 jenkins jenkins 1614 Jan 20 15:27 makefile 15:31:40 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 15:27 res 15:31:40 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 15:27 snap [Pipeline] isUnix [Pipeline] sh 15:31:41 + 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 . 15:31:41 Sending build context to Docker daemon 208.4kB 15:31:41 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 15:31:41 Step 2/27 : FROM ${BASE} AS builder 15:31:41 ---> a7dbf64a2a43 15:31:41 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:31:41 ---> Running in 2f4ab295102f 15:31:41 Removing intermediate container 2f4ab295102f 15:31:41 ---> 8d5f02bf7991 15:31:41 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:31:41 ---> Running in 8110a1872603 15:31:42 Removing intermediate container 8110a1872603 15:31:42 ---> 702e269a432f 15:31:42 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:31:42 ---> Running in 9b15ee268981 15:31:42 Removing intermediate container 9b15ee268981 15:31:42 ---> ec29229e0de2 15:31:42 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:31:42 ---> Running in f2e1ae6e61f2 15:31:44 Removing intermediate container f2e1ae6e61f2 15:31:44 ---> ecea5b227f6d 15:31:44 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:44 ---> Running in a35f3b2bc09c 15:31:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:31:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:31:47 OK: 220 MiB in 52 packages 15:31:48 Removing intermediate container a35f3b2bc09c 15:31:48 ---> e6536ab911ed 15:31:48 Step 8/27 : WORKDIR /app 15:31:48 ---> Running in 84040939d784 15:31:48 Removing intermediate container 84040939d784 15:31:48 ---> c1e161e42399 15:31:48 Step 9/27 : COPY go.mod vendor* ./ 15:31:49 ---> 401ec84e8549 15:31:49 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:49 ---> Running in 6e7721d912c7 15:31:51 Removing intermediate container 6e7721d912c7 15:31:51 ---> f32222032c33 15:31:51 Step 11/27 : COPY . . 15:31:52 ---> d2d976b22438 15:31:52 Step 12/27 : ARG MAKE="make build" 15:31:52 ---> Running in 4a7f1be8b54d 15:31:52 Removing intermediate container 4a7f1be8b54d 15:31:52 ---> efb967770685 15:31:52 Step 13/27 : RUN $MAKE 15:31:52 ---> Running in 599ac4b66780 15:31:53 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 15:32:40 Removing intermediate container 599ac4b66780 15:32:40 ---> 245ce75a927a 15:32:40 Step 14/27 : FROM alpine:3.14 15:32:40 3.14: Pulling from library/alpine 15:32:40 be307f383ecc: Pulling fs layer 15:32:40 be307f383ecc: Download complete 15:32:40 be307f383ecc: Pull complete 15:32:40 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 15:32:40 Status: Downloaded newer image for alpine:3.14 15:32:40 ---> 5b8b7b635229 15:32:40 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:32:40 ---> Running in 6e3b7c9c9500 15:32:40 Removing intermediate container 6e3b7c9c9500 15:32:40 ---> 7951248720e0 15:32:40 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 15:32:40 ---> Running in e2583f7c8fee 15:32:40 Removing intermediate container e2583f7c8fee 15:32:40 ---> 91b25f807e3c 15:32:40 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 15:32:40 ---> Running in 413f92a67177 15:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:32:40 (1/7) Installing ca-certificates (20191127-r5) 15:32:40 (2/7) Installing dumb-init (1.2.5-r1) 15:32:40 (3/7) Installing libgcc (10.3.1_git20210424-r2) 15:32:40 (4/7) Installing libsodium (1.0.18-r0) 15:32:40 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 15:32:40 (6/7) Installing libzmq (4.3.4-r0) 15:32:40 (7/7) Installing zeromq (4.3.4-r0) 15:32:40 Executing busybox-1.33.1-r6.trigger 15:32:40 Executing ca-certificates-20191127-r5.trigger 15:32:40 OK: 9 MiB in 21 packages 15:32:40 Removing intermediate container 413f92a67177 15:32:40 ---> 22c069526e63 15:32:40 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:32:40 ---> f5ffe896e4f6 15:32:40 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 15:32:41 ---> 6ebc59e22244 15:32:41 Step 20/27 : COPY --from=builder /app/res/ /res/ 15:32:41 ---> 20b0acf569e5 15:32:41 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 15:32:43 ---> 2773ada7c071 15:32:43 Step 22/27 : EXPOSE 48095 15:32:43 ---> Running in 5d6170dc04bc 15:32:43 Removing intermediate container 5d6170dc04bc 15:32:43 ---> ac1d8311ffa6 15:32:43 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 15:32:43 ---> Running in 3911eb2cf603 15:32:43 Removing intermediate container 3911eb2cf603 15:32:43 ---> cb4aa7946a3f 15:32:43 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:32:43 ---> Running in 745b51a39ca7 15:32:44 Removing intermediate container 745b51a39ca7 15:32:44 ---> 6e2d7078eb86 15:32:44 Step 25/27 : LABEL arch=arm64 15:32:44 ---> Running in eaff68b70101 15:32:44 Removing intermediate container eaff68b70101 15:32:44 ---> 59d6789b79a4 15:32:44 Step 26/27 : LABEL git_sha=f5f15a8940a8b0ac307845570e00a4c7906e442c 15:32:44 ---> Running in 39bbc2c14388 15:32:45 Removing intermediate container 39bbc2c14388 15:32:45 ---> 0650ae48b2eb 15:32:45 Step 27/27 : LABEL version=0.0.0 15:32:45 ---> Running in 0315e5974572 15:32:45 Removing intermediate container 0315e5974572 15:32:45 ---> 0adebe33ade2 15:32:45 [Warning] One or more build-args [ARCH] were not consumed 15:32:45 Successfully built 0adebe33ade2 15:32:45 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 15:32:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:45 15:32:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:32:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:46 arm64: Pulling from edgex-lftools-log-publisher 15:32:46 448f6bf000e3: Pulling fs layer 15:32:46 f757da607395: Pulling fs layer 15:32:46 05883995daec: Pulling fs layer 15:32:46 8603b9c90790: Pulling fs layer 15:32:46 1560dd03e051: Pulling fs layer 15:32:46 27f5ce0e4adf: Pulling fs layer 15:32:46 c2d8d7efcc4b: Pulling fs layer 15:32:46 1560dd03e051: Waiting 15:32:46 27f5ce0e4adf: Waiting 15:32:46 c2d8d7efcc4b: Waiting 15:32:46 8603b9c90790: Waiting 15:32:46 f757da607395: Verifying Checksum 15:32:46 f757da607395: Download complete 15:32:46 8603b9c90790: Verifying Checksum 15:32:46 8603b9c90790: Download complete 15:32:46 1560dd03e051: Verifying Checksum 15:32:46 1560dd03e051: Download complete 15:32:46 27f5ce0e4adf: Verifying Checksum 15:32:46 27f5ce0e4adf: Download complete 15:32:46 05883995daec: Verifying Checksum 15:32:46 05883995daec: Download complete 15:32:47 448f6bf000e3: Verifying Checksum 15:32:47 448f6bf000e3: Download complete 15:32:49 c2d8d7efcc4b: Verifying Checksum 15:32:49 c2d8d7efcc4b: Download complete 15:32:50 448f6bf000e3: Pull complete 15:32:51 f757da607395: Pull complete 15:32:52 05883995daec: Pull complete 15:32:53 8603b9c90790: Pull complete 15:32:53 1560dd03e051: Pull complete 15:32:53 27f5ce0e4adf: Pull complete 15:33:09 c2d8d7efcc4b: Pull complete 15:33:09 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:33:09 prd-ubuntu18.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 15:33:09 $ 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 15:33:11 $ docker top 63ea479d548f76e24c8cd14f1c53c178a9a9329bf7d9769d023416dccc0b6e1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:12 ---> job-cost.sh 15:33:12 lf-activate-venv: SKIPPING 15:33:12 INFO: No Stack... 15:33:13 INFO: Retrieving Pricing Info for: v3-standard-4 15:33:13 INFO: Archiving Costs [Pipeline] sh 15:33:14 + cut -d, -f6 15:33:14 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 15:33:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] 15:33:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] did not exist. Created. 15:33:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:15 /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 15:33:15 + echo total: 0.10999999940395355 [Pipeline] stash 15:33:15 Warning: overwriting stash ‘stack-cost’ 15:33:15 Stashed 1 file(s) [Pipeline] } 15:33:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:33:15 $ docker stop --time=1 63ea479d548f76e24c8cd14f1c53c178a9a9329bf7d9769d023416dccc0b6e1f 15:33:17 $ 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 15:33:18 + '[' -d /w/workspace/_app-service-configurable_PR-370/archives ']' 15:33:18 + ls -al /w/workspace/_app-service-configurable_PR-370/archives 15:33:18 total 8 15:33:18 drwxr-xr-x. 3 root root 34 Jan 20 15:26 . 15:33:18 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 15:26 .. 15:33:18 drwxr-xr-x. 2 root root 6 Jan 20 15:26 cost 15:33:18 -rw-r--r--. 1 root root 95 Jan 20 15:26 cost.csv 15:33:18 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-370/archives 15:33:18 + ls -al /w/workspace/_app-service-configurable_PR-370/archives 15:33:18 total 8 15:33:18 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 15:26 . 15:33:18 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 15:26 .. 15:33:18 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 15:26 cost 15:33:18 -rw-r--r--. 1 jenkins jenkins 95 Jan 20 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:33:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:33:19 ---> package-listing.sh 15:33:19 ++ tr '[:upper:]' '[:lower:]' 15:33:19 ++ facter osfamily 15:33:19 + OS_FAMILY=redhat 15:33:19 + workspace=/w/workspace/_app-service-configurable_PR-370 15:33:19 + START_PACKAGES=/tmp/packages_start.txt 15:33:19 + END_PACKAGES=/tmp/packages_end.txt 15:33:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:33:19 + PACKAGES=/tmp/packages_start.txt 15:33:19 + '[' /w/workspace/_app-service-configurable_PR-370 ']' 15:33:19 + PACKAGES=/tmp/packages_end.txt 15:33:19 + case "${OS_FAMILY}" in 15:33:19 + rpm -qa 15:33:19 + sort 15:33:20 + '[' -f /tmp/packages_start.txt ']' 15:33:20 + '[' -f /tmp/packages_end.txt ']' 15:33:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:33:20 + '[' /w/workspace/_app-service-configurable_PR-370 ']' 15:33:20 + mkdir -p /w/workspace/_app-service-configurable_PR-370/archives/ 15:33:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-370/archives/ [Pipeline] echo 15:33:20 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 15:33:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:33:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:21 . [Pipeline] withDockerContainer 15:33:21 prd-centos7-docker-4c-2g-2236 does not seem to be running inside a container 15:33:21 $ 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 15:33:21 $ docker top e911fbbdb7da8debb50c6833cdad9dcb4f1b58b39e493a58cbbda522427bb4c4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:21 + touch /tmp/pre-build-complete [Pipeline] sh 15:33:22 + mkdir -p /var/log/sysstat [Pipeline] sh 15:33:22 + ls /var/log/sa-host 15:33:22 + sadf -c /var/log/sa-host/sa17 15:33:22 file_magic: OK 15:33:22 HZ: Using current value: 100 15:33:22 file_header: OK 15:33:22 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 15:33:22 Statistics: 15:33:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:33:22 File successfully converted to sysstat format version 12.0.3 15:33:22 + sadf -c /var/log/sa-host/sa20 15:33:22 file_magic: OK 15:33:22 HZ: Using current value: 100 15:33:22 file_header: OK 15:33:22 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 15:33:22 Statistics: 15:33:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:33:22 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:22 provisioning config files... 15:33:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-370@tmp/config6367946567072422633tmp [Pipeline] { [Pipeline] echo 15:33:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:33:22 ---> create-netrc.sh [Pipeline] } 15:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:33:23 ---> python-tools-install.sh [Pipeline] echo 15:33:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:33:23 ---> sudo-logs.sh 15:33:23 Archiving 'sudo' log.. 15:33:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-2236.novalocal: Name or service not known 15:33:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-2236.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:33:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:33:24 ---> job-cost.sh 15:33:24 lf-activate-venv: SKIPPING 15:33:24 DEBUG: total: 0.05999999865889549 15:33:24 INFO: Retrieving Stack Cost... 15:33:24 INFO: Retrieving Pricing Info for: v3-standard-2 15:33:24 INFO: Archiving Costs [Pipeline] echo 15:33:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:33:25 ---> logs-deploy.sh 15:33:25 lf-activate-venv: SKIPPING 15:33:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-370/2 15:33:25 INFO: archiving workspace using pattern(s): 15:33:26 Archives upload complete. 15:33:26 INFO: archiving logs to Nexus