Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 36e4556e19d47a73733e529c83cf9b2d06cecfaa Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8183203969874651519.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh5801051581205860647.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7941329703825372555.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh8972316356541990848.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1292111742921840867.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.16 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 Running on prd-centos7-docker-4c-2g-176 in /w/workspace/ry_app-service-configurable_main [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/ry_app-service-configurable_main # 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/ry_app-service-configurable_main@tmp/jenkins-gitclient-ssh9052797738940616523.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 36e4556e19d47a73733e529c83cf9b2d06cecfaa (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 36e4556e19d47a73733e529c83cf9b2d06cecfaa # timeout=10 Commit message: "build(snap): upgrade base to core20 (#358)" > git rev-list --no-walk 36e4556e19d47a73733e529c83cf9b2d06cecfaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-19T18:10:54.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-19T18:10:54.317Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-19T18:10:54.328Z] ========================================================= [2021-11-19T18:10:54.328Z] EdgeX Global Pipelines Version Info [2021-11-19T18:10:54.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:10:55.472Z] ------------------- [2021-11-19T18:10:55.472Z] stable info: [2021-11-19T18:10:55.472Z] ------------------- [2021-11-19T18:10:55.472Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-19T18:10:55.472Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-19T18:10:55.472Z] Message: update stable to v1.0.217 [2021-11-19T18:10:56.048Z] ------------------- [2021-11-19T18:10:56.048Z] experimental info: [2021-11-19T18:10:56.048Z] ------------------- [2021-11-19T18:10:56.048Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-19T18:10:56.048Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-19T18:10:56.048Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-19T18:10:56.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2021-11-19T18:10:56.135Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2021-11-19T18:10:56.145Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-19T18:10:56.156Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-19T18:10:56.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-19T18:10:56.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-19T18:10:56.190Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-19T18:10:56.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-19T18:10:56.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-19T18:10:56.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-19T18:10:56.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-19T18:10:56.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2021-11-19T18:10:56.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-19T18:10:56.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-19T18:10:56.276Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-19T18:10:56.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-19T18:10:56.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-19T18:10:56.383Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-19T18:10:56.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-19T18:10:56.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-19T18:10:56.422Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-19T18:10:56.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-19T18:10:56.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-19T18:10:56.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-19T18:10:56.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-19T18:10:56.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-19T18:10:56.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-19T18:10:56.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-19T18:10:56.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-19T18:10:56.523Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] echo [2021-11-19T18:10:56.534Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36e4556 [Pipeline] echo [2021-11-19T18:10:56.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:10:56.586Z] provisioning config files... [2021-11-19T18:10:56.603Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4670119709624468466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:10:56.925Z] ---> docker-login.sh [2021-11-19T18:10:56.926Z] nexus3.edgexfoundry.org:10001 [2021-11-19T18:10:56.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:10:57.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:10:57.190Z] Configure a credential helper to remove this warning. See [2021-11-19T18:10:57.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:10:57.190Z] [2021-11-19T18:10:57.190Z] Login Succeeded [2021-11-19T18:10:57.190Z] nexus3.edgexfoundry.org:10002 [2021-11-19T18:10:57.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:10:57.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:10:57.190Z] Configure a credential helper to remove this warning. See [2021-11-19T18:10:57.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:10:57.191Z] [2021-11-19T18:10:57.191Z] Login Succeeded [2021-11-19T18:10:57.191Z] nexus3.edgexfoundry.org:10003 [2021-11-19T18:10:57.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:10:57.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:10:57.453Z] Configure a credential helper to remove this warning. See [2021-11-19T18:10:57.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:10:57.453Z] [2021-11-19T18:10:57.453Z] Login Succeeded [2021-11-19T18:10:57.453Z] nexus3.edgexfoundry.org:10004 [2021-11-19T18:10:57.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:10:57.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:10:57.454Z] Configure a credential helper to remove this warning. See [2021-11-19T18:10:57.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:10:57.454Z] [2021-11-19T18:10:57.454Z] Login Succeeded [2021-11-19T18:10:57.454Z] docker.io [2021-11-19T18:10:57.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:10:58.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:10:58.025Z] Configure a credential helper to remove this warning. See [2021-11-19T18:10:58.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:10:58.025Z] [2021-11-19T18:10:58.025Z] Login Succeeded [2021-11-19T18:10:58.025Z] ---> docker-login.sh ends [Pipeline] } [2021-11-19T18:10:58.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-19T18:10:58.481Z] + git rev-list -1 --merges 36e4556e19d47a73733e529c83cf9b2d06cecfaa~1..36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] echo [2021-11-19T18:10:58.517Z] -----------> git rev-list -1 --merges 36e4556e19d47a73733e529c83cf9b2d06cecfaa~1..36e4556e19d47a73733e529c83cf9b2d06cecfaa 36e4556e19d47a73733e529c83cf9b2d06cecfaa [false] [Pipeline] sh [2021-11-19T18:10:58.814Z] + git log --format=format:%s -1 36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] echo [2021-11-19T18:10:58.832Z] ========================================================= [2021-11-19T18:10:58.832Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-19T18:10:58.832Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-19T18:10:59.169Z] + git log --format=format:%s -1 36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] echo [2021-11-19T18:10:59.180Z] [semverPrep] GIT_COMMIT: 36e4556e19d47a73733e529c83cf9b2d06cecfaa, Commit Message: build(snap): upgrade base to core20 (#358) [Pipeline] echo [2021-11-19T18:10:59.187Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-11-19T18:10:59.635Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-19T18:10:59.635Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-11-19T18:10:59.635Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-11-19T18:10:59.635Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-11-19T18:10:59.635Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-11-19T18:10:59.635Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-11-19T18:10:59.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:11:00.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:11:00.138Z] [2021-11-19T18:11:00.138Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:11:00.445Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:11:00.445Z] latest: Pulling from edgex-devops/git-semver [2021-11-19T18:11:00.445Z] a0d0a0d46f8b: Pulling fs layer [2021-11-19T18:11:00.445Z] 3e5f54012d9b: Pulling fs layer [2021-11-19T18:11:00.445Z] 4c7163046ea9: Pulling fs layer [2021-11-19T18:11:00.445Z] 0c2d73faf560: Pulling fs layer [2021-11-19T18:11:00.445Z] 0c2d73faf560: Waiting [2021-11-19T18:11:00.445Z] 3e5f54012d9b: Download complete [2021-11-19T18:11:00.445Z] a0d0a0d46f8b: Verifying Checksum [2021-11-19T18:11:00.445Z] a0d0a0d46f8b: Download complete [2021-11-19T18:11:00.714Z] 4c7163046ea9: Verifying Checksum [2021-11-19T18:11:00.714Z] 4c7163046ea9: Download complete [2021-11-19T18:11:00.714Z] 0c2d73faf560: Verifying Checksum [2021-11-19T18:11:00.714Z] 0c2d73faf560: Download complete [2021-11-19T18:11:00.714Z] a0d0a0d46f8b: Pull complete [2021-11-19T18:11:00.714Z] 3e5f54012d9b: Pull complete [2021-11-19T18:11:01.287Z] 4c7163046ea9: Pull complete [2021-11-19T18:11:01.287Z] 0c2d73faf560: Pull complete [2021-11-19T18:11:01.548Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-19T18:11:01.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:11:01.548Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-19T18:11:01.626Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:11:01.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-19T18:11:02.511Z] $ docker top 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-19T18:11:02.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-19T18:11:02.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-19T18:11:02.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-19T18:11:02.738Z] $ docker exec 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac ssh-agent [2021-11-19T18:11:02.876Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPFnnGd/agent.13 [2021-11-19T18:11:02.876Z] SSH_AGENT_PID=19 [2021-11-19T18:11:02.885Z] Running ssh-add (command line suppressed) [2021-11-19T18:11:03.008Z] Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_7673061752324021114.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_7673061752324021114.key) [2021-11-19T18:11:03.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-19T18:11:03.316Z] + git tag --points-at HEAD [Pipeline] } [2021-11-19T18:11:03.329Z] $ docker exec --env ******** --env ******** 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac ssh-agent -k [2021-11-19T18:11:03.428Z] unset SSH_AUTH_SOCK; [2021-11-19T18:11:03.429Z] unset SSH_AGENT_PID; [2021-11-19T18:11:03.429Z] echo Agent pid 19 killed; [2021-11-19T18:11:03.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-19T18:11:03.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-19T18:11:03.467Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-19T18:11:03.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-19T18:11:03.574Z] $ docker exec 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac ssh-agent [2021-11-19T18:11:03.676Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIAgIog/agent.53 [2021-11-19T18:11:03.676Z] SSH_AGENT_PID=59 [2021-11-19T18:11:03.682Z] Running ssh-add (command line suppressed) [2021-11-19T18:11:03.768Z] Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_8644358921808590742.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_8644358921808590742.key) [2021-11-19T18:11:03.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-19T18:11:04.073Z] + git semver init [2021-11-19T18:11:04.073Z] # -> Open(): unable to determine branch for HEAD [2021-11-19T18:11:04.073Z] # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git [2021-11-19T18:11:04.073Z] # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main [2021-11-19T18:11:04.073Z] # $SEMVER_REMOTE_NAME = origin [2021-11-19T18:11:04.073Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-19T18:11:04.073Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-19T18:11:04.073Z] # $SEMVER_BRANCH = main [2021-11-19T18:11:04.073Z] # $SEMVER_TEMP = /tmp/semver-165581940 [2021-11-19T18:11:04.073Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2021-11-19T18:11:05.018Z] # '/tmp/semver-165581940' -> '/w/workspace/ry_app-service-configurable_main/.semver' [2021-11-19T18:11:05.018Z] # -> Force: false [2021-11-19T18:11:05.018Z] # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [Pipeline] } [2021-11-19T18:11:05.030Z] $ docker exec --env ******** --env ******** 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac ssh-agent -k [2021-11-19T18:11:05.140Z] unset SSH_AUTH_SOCK; [2021-11-19T18:11:05.141Z] unset SSH_AGENT_PID; [2021-11-19T18:11:05.141Z] echo Agent pid 59 killed; [2021-11-19T18:11:05.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-19T18:11:05.479Z] + git semver [Pipeline] } [2021-11-19T18:11:05.493Z] $ docker stop --time=1 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac [2021-11-19T18:11:06.733Z] $ docker rm -f 955f2af764b8c97369d6fc098ebf9fd05a89993daf88baffe956e814e32f16ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-19T18:11:07.093Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-19T18:11:07.339Z] Stashed 1 file(s) [Pipeline] echo [2021-11-19T18:11:07.343Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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] node [Pipeline] node [2021-11-19T18:11:22.507Z] Still waiting to schedule task [2021-11-19T18:11:22.507Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-176’ [2021-11-19T18:11:22.509Z] Still waiting to schedule task [2021-11-19T18:11:22.509Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-19T18:12:53.245Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-177 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws [2021-11-19T18:12:53.258Z] Running in /w/workspace/app-service-configurable/37 [Pipeline] { [Pipeline] checkout [2021-11-19T18:12:53.517Z] Selected Git installation does not exist. Using Default [2021-11-19T18:12:53.517Z] The recommended git tool is: NONE [2021-11-19T18:12:58.877Z] using credential edgex-jenkins-ssh [2021-11-19T18:12:58.910Z] Cloning the remote Git repository [2021-11-19T18:12:58.997Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-11-19T18:12:59.093Z] > git init /w/workspace/app-service-configurable/37 # timeout=10 [2021-11-19T18:12:59.173Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-11-19T18:12:59.174Z] > git --version # timeout=10 [2021-11-19T18:12:59.201Z] > git --version # 'git version 2.17.1' [2021-11-19T18:12:59.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-19T18:12:59.324Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-19T18:13:00.509Z] Avoid second fetch [2021-11-19T18:13:00.509Z] Checking out Revision 36e4556e19d47a73733e529c83cf9b2d06cecfaa (main) [2021-11-19T18:13:00.463Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-11-19T18:13:00.489Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-19T18:13:00.532Z] > git config core.sparsecheckout # timeout=10 [2021-11-19T18:13:00.555Z] > git checkout -f 36e4556e19d47a73733e529c83cf9b2d06cecfaa # timeout=10 [2021-11-19T18:13:04.709Z] Commit message: "build(snap): upgrade base to core20 (#358)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-19T18:13:05.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-19T18:13:05.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-19T18:13:05.850Z] Dload Upload Total Spent Left Speed [2021-11-19T18:13:05.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 83267 100 11824 100 11824 0 0 82685 0 --:--:-- --:--:-- --:--:-- 82111 [Pipeline] sh [2021-11-19T18:13:06.264Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-19T18:13:06.621Z] + sudo tee /etc/docker/daemon.new [2021-11-19T18:13:06.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-19T18:13:06.621Z] { [2021-11-19T18:13:06.621Z] "registry-mirrors": [ [2021-11-19T18:13:06.621Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-19T18:13:06.621Z] ], [2021-11-19T18:13:06.621Z] "bip": "10.250.0.254/24", [2021-11-19T18:13:06.621Z] "hosts": [ [2021-11-19T18:13:06.621Z] "tcp://0.0.0.0:5555", [2021-11-19T18:13:06.621Z] "unix:///var/run/docker.sock" [2021-11-19T18:13:06.621Z] ], [2021-11-19T18:13:06.621Z] "mtu": 1458, [2021-11-19T18:13:06.621Z] "selinux-enabled": true, [2021-11-19T18:13:06.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-19T18:13:06.621Z] } [Pipeline] sh [2021-11-19T18:13:06.977Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-19T18:13:07.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:13:25.638Z] provisioning config files... [2021-11-19T18:13:25.661Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/37@tmp/config8580854461339537939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:13:26.330Z] ---> docker-login.sh [2021-11-19T18:13:26.330Z] nexus3.edgexfoundry.org:10001 [2021-11-19T18:13:26.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:27.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:27.205Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:27.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:27.205Z] [2021-11-19T18:13:27.205Z] Login Succeeded [2021-11-19T18:13:27.205Z] nexus3.edgexfoundry.org:10002 [2021-11-19T18:13:27.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:27.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:27.752Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:27.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:27.752Z] [2021-11-19T18:13:27.752Z] Login Succeeded [2021-11-19T18:13:27.752Z] nexus3.edgexfoundry.org:10003 [2021-11-19T18:13:27.946Z] Running on prd-centos7-docker-4c-2g-178 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws [2021-11-19T18:13:27.955Z] Running in /w/workspace/app-service-configurable/37 [Pipeline] { [Pipeline] checkout [2021-11-19T18:13:28.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:28.029Z] Selected Git installation does not exist. Using Default [2021-11-19T18:13:28.029Z] The recommended git tool is: NONE [2021-11-19T18:13:28.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:28.303Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:28.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:28.303Z] [2021-11-19T18:13:28.303Z] Login Succeeded [2021-11-19T18:13:28.303Z] nexus3.edgexfoundry.org:10004 [2021-11-19T18:13:28.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:28.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:28.846Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:28.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:28.846Z] [2021-11-19T18:13:28.846Z] Login Succeeded [2021-11-19T18:13:28.846Z] docker.io [2021-11-19T18:13:29.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:29.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:29.709Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:29.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:29.709Z] [2021-11-19T18:13:29.709Z] Login Succeeded [2021-11-19T18:13:29.709Z] ---> docker-login.sh ends [Pipeline] } [2021-11-19T18:13:29.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-19T18:13:29.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2021-11-19T18:13:29.990Z] using credential edgex-jenkins-ssh [Pipeline] echo [2021-11-19T18:13:29.994Z] ========================================================= [2021-11-19T18:13:29.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-19T18:13:29.994Z] ========================================================= [Pipeline] fileExists [2021-11-19T18:13:30.002Z] Cloning the remote Git repository [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:13:30.341Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-19T18:13:30.341Z] Sending build context to Docker daemon 200.7kB [2021-11-19T18:13:28.868Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2021-11-19T18:13:28.920Z] > git init /w/workspace/app-service-configurable/37 # timeout=10 [2021-11-19T18:13:28.951Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2021-11-19T18:13:28.952Z] > git --version # timeout=10 [2021-11-19T18:13:28.961Z] > git --version # 'git version 2.24.4' [2021-11-19T18:13:28.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-19T18:13:28.986Z] [INFO] Currently running in a labeled security context [2021-11-19T18:13:28.986Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-19T18:13:28.986Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/37@tmp/jenkins-gitclient-ssh3268478056741363820.key [2021-11-19T18:13:29.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-19T18:13:30.615Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-11-19T18:13:30.615Z] Step 2/12 : FROM ${BASE} AS builder [2021-11-19T18:13:30.903Z] Avoid second fetch [2021-11-19T18:13:30.904Z] Checking out Revision 36e4556e19d47a73733e529c83cf9b2d06cecfaa (main) [2021-11-19T18:13:30.904Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-19T18:13:30.904Z] 552d1f2373af: Pulling fs layer [2021-11-19T18:13:30.904Z] ea3f2d53f512: Pulling fs layer [2021-11-19T18:13:30.904Z] 9e70ebbbe112: Pulling fs layer [2021-11-19T18:13:30.904Z] 7a9cfe048b4a: Pulling fs layer [2021-11-19T18:13:30.904Z] 72dc09318566: Pulling fs layer [2021-11-19T18:13:30.904Z] f4f7b4309257: Pulling fs layer [2021-11-19T18:13:30.904Z] 0ac9a79272e3: Pulling fs layer [2021-11-19T18:13:30.904Z] b78e95d17946: Pulling fs layer [2021-11-19T18:13:30.904Z] f4f7b4309257: Waiting [2021-11-19T18:13:30.904Z] 0ac9a79272e3: Waiting [2021-11-19T18:13:30.904Z] b78e95d17946: Waiting [2021-11-19T18:13:30.904Z] 7a9cfe048b4a: Waiting [2021-11-19T18:13:30.904Z] 72dc09318566: Waiting [2021-11-19T18:13:30.904Z] 9e70ebbbe112: Verifying Checksum [2021-11-19T18:13:30.904Z] 9e70ebbbe112: Download complete [2021-11-19T18:13:30.904Z] ea3f2d53f512: Download complete [2021-11-19T18:13:30.904Z] 72dc09318566: Verifying Checksum [2021-11-19T18:13:30.904Z] 72dc09318566: Download complete [2021-11-19T18:13:30.904Z] f4f7b4309257: Verifying Checksum [2021-11-19T18:13:30.904Z] f4f7b4309257: Download complete [2021-11-19T18:13:30.904Z] 552d1f2373af: Verifying Checksum [2021-11-19T18:13:30.904Z] 0ac9a79272e3: Verifying Checksum [2021-11-19T18:13:30.904Z] 0ac9a79272e3: Download complete [2021-11-19T18:13:29.733Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2021-11-19T18:13:29.740Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-19T18:13:29.756Z] > git config core.sparsecheckout # timeout=10 [2021-11-19T18:13:29.770Z] > git checkout -f 36e4556e19d47a73733e529c83cf9b2d06cecfaa # timeout=10 [2021-11-19T18:13:31.902Z] 552d1f2373af: Pull complete [2021-11-19T18:13:32.507Z] ea3f2d53f512: Pull complete [2021-11-19T18:13:32.798Z] 9e70ebbbe112: Pull complete [2021-11-19T18:13:33.072Z] b78e95d17946: Verifying Checksum [2021-11-19T18:13:33.072Z] b78e95d17946: Download complete [2021-11-19T18:13:33.346Z] 7a9cfe048b4a: Verifying Checksum [2021-11-19T18:13:33.346Z] 7a9cfe048b4a: Download complete [2021-11-19T18:13:34.521Z] Commit message: "build(snap): upgrade base to core20 (#358)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:13:34.864Z] provisioning config files... [2021-11-19T18:13:34.879Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/37@tmp/config7102648207015740467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:13:35.259Z] ---> docker-login.sh [2021-11-19T18:13:35.259Z] nexus3.edgexfoundry.org:10001 [2021-11-19T18:13:35.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:35.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:35.259Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:35.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:35.259Z] [2021-11-19T18:13:35.259Z] Login Succeeded [2021-11-19T18:13:35.259Z] nexus3.edgexfoundry.org:10002 [2021-11-19T18:13:35.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:35.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:35.521Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:35.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:35.521Z] [2021-11-19T18:13:35.521Z] Login Succeeded [2021-11-19T18:13:35.521Z] nexus3.edgexfoundry.org:10003 [2021-11-19T18:13:35.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:35.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:35.521Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:35.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:35.521Z] [2021-11-19T18:13:35.521Z] Login Succeeded [2021-11-19T18:13:35.521Z] nexus3.edgexfoundry.org:10004 [2021-11-19T18:13:35.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:35.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:35.783Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:35.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:35.783Z] [2021-11-19T18:13:35.783Z] Login Succeeded [2021-11-19T18:13:35.783Z] docker.io [2021-11-19T18:13:35.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:13:36.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:13:36.044Z] Configure a credential helper to remove this warning. See [2021-11-19T18:13:36.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:13:36.044Z] [2021-11-19T18:13:36.044Z] Login Succeeded [2021-11-19T18:13:36.044Z] ---> docker-login.sh ends [Pipeline] } [2021-11-19T18:13:36.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-19T18:13:36.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-19T18:13:36.210Z] ========================================================= [2021-11-19T18:13:36.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-19T18:13:36.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:13:36.531Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-19T18:13:36.531Z] Sending build context to Docker daemon 200.7kB [2021-11-19T18:13:36.531Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-11-19T18:13:36.531Z] Step 2/12 : FROM ${BASE} AS builder [2021-11-19T18:13:36.531Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-19T18:13:36.531Z] a0d0a0d46f8b: Pulling fs layer [2021-11-19T18:13:36.531Z] 31adcdaf11c8: Pulling fs layer [2021-11-19T18:13:36.531Z] b8b176561691: Pulling fs layer [2021-11-19T18:13:36.531Z] 4527c011a84f: Pulling fs layer [2021-11-19T18:13:36.531Z] 5d74067f8e1e: Pulling fs layer [2021-11-19T18:13:36.531Z] e0aca202a116: Pulling fs layer [2021-11-19T18:13:36.531Z] 3a43be97a3b4: Pulling fs layer [2021-11-19T18:13:36.531Z] 34cad66bf833: Pulling fs layer [2021-11-19T18:13:36.531Z] b4e3c513aaa6: Pulling fs layer [2021-11-19T18:13:36.531Z] 4527c011a84f: Waiting [2021-11-19T18:13:36.531Z] 5d74067f8e1e: Waiting [2021-11-19T18:13:36.531Z] e0aca202a116: Waiting [2021-11-19T18:13:36.531Z] 3a43be97a3b4: Waiting [2021-11-19T18:13:36.531Z] 34cad66bf833: Waiting [2021-11-19T18:13:36.531Z] b4e3c513aaa6: Waiting [2021-11-19T18:13:36.531Z] b8b176561691: Verifying Checksum [2021-11-19T18:13:36.531Z] b8b176561691: Download complete [2021-11-19T18:13:36.531Z] 31adcdaf11c8: Verifying Checksum [2021-11-19T18:13:36.531Z] 31adcdaf11c8: Download complete [2021-11-19T18:13:36.531Z] 5d74067f8e1e: Verifying Checksum [2021-11-19T18:13:36.531Z] 5d74067f8e1e: Download complete [2021-11-19T18:13:36.531Z] a0d0a0d46f8b: Verifying Checksum [2021-11-19T18:13:36.531Z] a0d0a0d46f8b: Download complete [2021-11-19T18:13:36.531Z] e0aca202a116: Verifying Checksum [2021-11-19T18:13:36.531Z] e0aca202a116: Download complete [2021-11-19T18:13:36.531Z] 3a43be97a3b4: Verifying Checksum [2021-11-19T18:13:36.531Z] 3a43be97a3b4: Download complete [2021-11-19T18:13:36.804Z] 34cad66bf833: Verifying Checksum [2021-11-19T18:13:36.804Z] 34cad66bf833: Download complete [2021-11-19T18:13:37.071Z] b4e3c513aaa6: Verifying Checksum [2021-11-19T18:13:37.071Z] b4e3c513aaa6: Download complete [2021-11-19T18:13:37.071Z] 4527c011a84f: Verifying Checksum [2021-11-19T18:13:37.071Z] 4527c011a84f: Download complete [2021-11-19T18:13:37.333Z] a0d0a0d46f8b: Pull complete [2021-11-19T18:13:37.333Z] 31adcdaf11c8: Pull complete [2021-11-19T18:13:37.333Z] b8b176561691: Pull complete [2021-11-19T18:13:40.662Z] 4527c011a84f: Pull complete [2021-11-19T18:13:40.933Z] 5d74067f8e1e: Pull complete [2021-11-19T18:13:40.933Z] e0aca202a116: Pull complete [2021-11-19T18:13:40.933Z] 3a43be97a3b4: Pull complete [2021-11-19T18:13:41.202Z] 34cad66bf833: Pull complete [2021-11-19T18:13:43.521Z] 7a9cfe048b4a: Pull complete [2021-11-19T18:13:43.521Z] 72dc09318566: Pull complete [2021-11-19T18:13:43.782Z] b4e3c513aaa6: Pull complete [2021-11-19T18:13:43.782Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-19T18:13:43.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-19T18:13:43.782Z] ---> 9f6097aaca64 [2021-11-19T18:13:43.782Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-11-19T18:13:44.119Z] f4f7b4309257: Pull complete [2021-11-19T18:13:44.392Z] 0ac9a79272e3: Pull complete [2021-11-19T18:13:48.002Z] ---> Running in 61c2c957ca7c [2021-11-19T18:13:48.002Z] Removing intermediate container 61c2c957ca7c [2021-11-19T18:13:48.002Z] ---> 6129772a8374 [2021-11-19T18:13:48.002Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-11-19T18:13:48.002Z] ---> Running in 43d48bbd6178 [2021-11-19T18:13:48.002Z] Removing intermediate container 43d48bbd6178 [2021-11-19T18:13:48.002Z] ---> d0e03417cc62 [2021-11-19T18:13:48.002Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:13:48.002Z] ---> Running in 2167e13bc3a0 [2021-11-19T18:13:48.002Z] Removing intermediate container 2167e13bc3a0 [2021-11-19T18:13:48.002Z] ---> 4b726cd456a9 [2021-11-19T18:13:48.002Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-19T18:13:48.002Z] ---> Running in a8a797b4f1d9 [2021-11-19T18:13:48.265Z] Removing intermediate container a8a797b4f1d9 [2021-11-19T18:13:48.265Z] ---> 980d8967ee14 [2021-11-19T18:13:48.265Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-19T18:13:48.265Z] ---> Running in a3135067e40f [2021-11-19T18:13:48.527Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-19T18:13:49.469Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-19T18:13:50.047Z] OK: 220 MiB in 52 packages [2021-11-19T18:13:50.047Z] Removing intermediate container a3135067e40f [2021-11-19T18:13:50.047Z] ---> 64d529353241 [2021-11-19T18:13:50.047Z] Step 8/12 : WORKDIR /app [2021-11-19T18:13:50.047Z] ---> Running in 3fa5504e1348 [2021-11-19T18:13:50.309Z] Removing intermediate container 3fa5504e1348 [2021-11-19T18:13:50.309Z] ---> 020aca1c532b [2021-11-19T18:13:50.309Z] Step 9/12 : COPY . . [2021-11-19T18:13:50.309Z] ---> 8bfc8d88230a [2021-11-19T18:13:50.309Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-19T18:13:50.309Z] ---> Running in 44c28b7e2524 [2021-11-19T18:13:51.113Z] b78e95d17946: Pull complete [2021-11-19T18:13:51.113Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-19T18:13:51.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-19T18:13:51.113Z] ---> 8b459fc5aaf0 [2021-11-19T18:13:51.113Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-11-19T18:13:51.709Z] ---> Running in 08c922c7da44 [2021-11-19T18:13:51.984Z] Removing intermediate container 08c922c7da44 [2021-11-19T18:13:51.984Z] ---> d154f4adef38 [2021-11-19T18:13:51.984Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-11-19T18:13:52.257Z] ---> Running in 82235fd41ec5 [2021-11-19T18:13:52.530Z] Removing intermediate container 82235fd41ec5 [2021-11-19T18:13:52.530Z] ---> e134fd733426 [2021-11-19T18:13:52.530Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:13:52.813Z] ---> Running in b6d00c3585db [2021-11-19T18:13:53.086Z] Removing intermediate container b6d00c3585db [2021-11-19T18:13:53.086Z] ---> 3874ca2a6e0b [2021-11-19T18:13:53.086Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-19T18:13:53.360Z] ---> Running in 009e84eced2c [2021-11-19T18:13:55.333Z] Removing intermediate container 009e84eced2c [2021-11-19T18:13:55.333Z] ---> 17d080cfdd40 [2021-11-19T18:13:55.333Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-19T18:13:55.333Z] ---> Running in 47d35230a348 [2021-11-19T18:13:56.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-19T18:13:57.288Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-19T18:13:57.882Z] OK: 219 MiB in 52 packages [2021-11-19T18:13:58.870Z] Removing intermediate container 47d35230a348 [2021-11-19T18:13:58.870Z] ---> a3ef7d4a2561 [2021-11-19T18:13:58.870Z] Step 8/12 : WORKDIR /app [2021-11-19T18:13:58.870Z] ---> Running in a46e9ad4ca79 [2021-11-19T18:13:59.468Z] Removing intermediate container a46e9ad4ca79 [2021-11-19T18:13:59.468Z] ---> 36d236a32edf [2021-11-19T18:13:59.468Z] Step 9/12 : COPY . . [2021-11-19T18:14:00.067Z] ---> d943ab69f0a7 [2021-11-19T18:14:00.067Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-19T18:14:00.067Z] ---> Running in 7c321c8d88c3 [2021-11-19T18:14:22.470Z] Removing intermediate container 44c28b7e2524 [2021-11-19T18:14:22.470Z] ---> 1d789b519fc6 [2021-11-19T18:14:22.470Z] Step 11/12 : ARG MAKE="make build" [2021-11-19T18:14:22.470Z] ---> Running in 46d3a4448ca8 [2021-11-19T18:14:22.470Z] Removing intermediate container 46d3a4448ca8 [2021-11-19T18:14:22.470Z] ---> 877583d77eac [2021-11-19T18:14:22.470Z] Step 12/12 : RUN $MAKE [2021-11-19T18:14:22.470Z] ---> Running in b677022dd1f0 [2021-11-19T18:14:22.470Z] noop [2021-11-19T18:14:22.470Z] Removing intermediate container b677022dd1f0 [2021-11-19T18:14:22.470Z] ---> 1cbd0615257c [2021-11-19T18:14:22.470Z] Successfully built 1cbd0615257c [2021-11-19T18:14:22.470Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:14:22.784Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-19T18:14:22.784Z] . [Pipeline] withDockerContainer [2021-11-19T18:14:22.857Z] prd-centos7-docker-4c-2g-178 does not seem to be running inside a container [2021-11-19T18:14:22.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@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 ******** ci-base-image-x86_64 cat [2021-11-19T18:14:23.252Z] $ docker top b4d8c3c500f9363ce7ab6ea186075f3841cc4aa66c183f87f8bb96cad7a34ead -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-19T18:14:23.633Z] + go version [2021-11-19T18:14:23.634Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-19T18:14:23.646Z] $ docker stop --time=1 b4d8c3c500f9363ce7ab6ea186075f3841cc4aa66c183f87f8bb96cad7a34ead [2021-11-19T18:14:24.826Z] $ docker rm -f b4d8c3c500f9363ce7ab6ea186075f3841cc4aa66c183f87f8bb96cad7a34ead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:14:25.349Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-19T18:14:25.349Z] . [Pipeline] withDockerContainer [2021-11-19T18:14:25.420Z] prd-centos7-docker-4c-2g-178 does not seem to be running inside a container [2021-11-19T18:14:25.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@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 ******** ci-base-image-x86_64 cat [2021-11-19T18:14:25.779Z] $ docker top 4826246bdde0e20c225d32c467f6bd909f10d028d5c94d5293d9a5b5ca75c35a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-19T18:14:26.157Z] + make test [2021-11-19T18:14:26.157Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-19T18:14:44.398Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-11-19T18:14:44.398Z] CGO_ENABLED=1 go vet ./... [2021-11-19T18:14:48.665Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-19T18:14:48.665Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-19T18:14:48.665Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-19T18:14:48.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-19T18:14:48.694Z] $ docker stop --time=1 4826246bdde0e20c225d32c467f6bd909f10d028d5c94d5293d9a5b5ca75c35a [2021-11-19T18:14:50.152Z] $ docker rm -f 4826246bdde0e20c225d32c467f6bd909f10d028d5c94d5293d9a5b5ca75c35a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-19T18:14:50.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-19T18:14:50.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-19T18:14:51.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-19T18:14:52.284Z] + ls -al . [2021-11-19T18:14:52.284Z] total 148 [2021-11-19T18:14:52.284Z] drwxrwxr-x. 7 jenkins jenkins 4096 Nov 19 18:14 . [2021-11-19T18:14:52.284Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 19 18:13 .. [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 7608 Nov 19 18:13 Attribution.txt [2021-11-19T18:14:52.284Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 19 18:13 bin [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 23791 Nov 19 18:13 CHANGELOG.md [2021-11-19T18:14:52.284Z] -rw-r--r--. 1 jenkins jenkins 10 Nov 19 18:14 coverage.out [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 2064 Nov 19 18:13 Dockerfile [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 119 Nov 19 18:13 .dockerignore [2021-11-19T18:14:52.284Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 19 18:13 .git [2021-11-19T18:14:52.284Z] drwxrwxr-x. 2 jenkins jenkins 104 Nov 19 18:13 .github [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 104 Nov 19 18:13 .gitignore [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 129 Nov 19 18:13 go.mod [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 49193 Nov 19 18:13 go.sum [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 19 18:13 GOVERNANCE.md [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 687 Nov 19 18:13 Jenkinsfile [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 10174 Nov 19 18:13 LICENSE [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 1949 Nov 19 18:13 main.go [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 1614 Nov 19 18:13 makefile [2021-11-19T18:14:52.284Z] -rw-rw-r--. 1 jenkins jenkins 618 Nov 19 18:13 OWNERS.md [2021-11-19T18:14:52.285Z] -rw-rw-r--. 1 jenkins jenkins 3429 Nov 19 18:13 README.md [2021-11-19T18:14:52.285Z] drwxrwxr-x. 9 jenkins jenkins 151 Nov 19 18:13 res [2021-11-19T18:14:52.285Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 19 18:13 snap [2021-11-19T18:14:52.285Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 19 18:11 VERSION [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:14:52.590Z] + 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=36e4556e19d47a73733e529c83cf9b2d06cecfaa --label arch=amd64 --label version=2.2.0-dev.1 . [2021-11-19T18:14:52.590Z] Sending build context to Docker daemon 201.7kB [2021-11-19T18:14:52.590Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.14 [2021-11-19T18:14:52.590Z] Step 2/26 : FROM ${BASE} AS builder [2021-11-19T18:14:52.590Z] ---> 1cbd0615257c [2021-11-19T18:14:52.590Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-11-19T18:14:52.590Z] ---> Running in 6a3704055537 [2021-11-19T18:14:52.590Z] Removing intermediate container 6a3704055537 [2021-11-19T18:14:52.590Z] ---> 8508087c43c0 [2021-11-19T18:14:52.590Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-11-19T18:14:52.590Z] ---> Running in 80398b5bc6ed [2021-11-19T18:14:52.853Z] Removing intermediate container 80398b5bc6ed [2021-11-19T18:14:52.853Z] ---> c0bc5af44f08 [2021-11-19T18:14:52.853Z] Step 5/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:14:52.853Z] ---> Running in 8bcf5fa1f5e5 [2021-11-19T18:14:52.853Z] Removing intermediate container 8bcf5fa1f5e5 [2021-11-19T18:14:52.853Z] ---> cd66a89b9561 [2021-11-19T18:14:52.853Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-19T18:14:52.853Z] ---> Running in 1b5d43844507 [2021-11-19T18:14:53.426Z] Removing intermediate container 1b5d43844507 [2021-11-19T18:14:53.426Z] ---> deb10cae9c08 [2021-11-19T18:14:53.426Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-19T18:14:53.426Z] ---> Running in b5e54589ffb5 [2021-11-19T18:14:53.687Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-19T18:14:54.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-19T18:14:54.897Z] OK: 220 MiB in 52 packages [2021-11-19T18:14:55.159Z] Removing intermediate container b5e54589ffb5 [2021-11-19T18:14:55.159Z] ---> 2282203f6643 [2021-11-19T18:14:55.159Z] Step 8/26 : WORKDIR /app [2021-11-19T18:14:55.159Z] ---> Running in d1957adbbc7c [2021-11-19T18:14:55.159Z] Removing intermediate container d1957adbbc7c [2021-11-19T18:14:55.159Z] ---> 144cc3aeccf7 [2021-11-19T18:14:55.159Z] Step 9/26 : COPY . . [2021-11-19T18:14:55.422Z] ---> 96967d7c105a [2021-11-19T18:14:55.422Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-19T18:14:55.422Z] ---> Running in 2d3cc49da117 [2021-11-19T18:14:55.995Z] Removing intermediate container 2d3cc49da117 [2021-11-19T18:14:55.995Z] ---> 0c8ce45cf7e5 [2021-11-19T18:14:55.995Z] Step 11/26 : ARG MAKE="make build" [2021-11-19T18:14:55.995Z] ---> Running in 6d703090b107 [2021-11-19T18:14:55.995Z] Removing intermediate container 6d703090b107 [2021-11-19T18:14:55.995Z] ---> 19c1b33725cd [2021-11-19T18:14:55.995Z] Step 12/26 : RUN $MAKE [2021-11-19T18:14:55.995Z] ---> Running in 2b5be8737281 [2021-11-19T18:14:56.568Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.0-dev.1" -o app-service-configurable [2021-11-19T18:15:08.882Z] Removing intermediate container 2b5be8737281 [2021-11-19T18:15:08.882Z] ---> 4c47c044770c [2021-11-19T18:15:08.882Z] Step 13/26 : FROM alpine:3.14 [2021-11-19T18:15:08.882Z] 3.14: Pulling from library/alpine [2021-11-19T18:15:08.882Z] 97518928ae5f: Pulling fs layer [2021-11-19T18:15:08.882Z] 97518928ae5f: Verifying Checksum [2021-11-19T18:15:08.882Z] 97518928ae5f: Download complete [2021-11-19T18:15:09.143Z] 97518928ae5f: Pull complete [2021-11-19T18:15:09.143Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-19T18:15:09.143Z] Status: Downloaded newer image for alpine:3.14 [2021-11-19T18:15:09.143Z] ---> 0a97eee8041e [2021-11-19T18:15:09.143Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:15:09.143Z] ---> Running in d330096aec8a [2021-11-19T18:15:09.143Z] Removing intermediate container d330096aec8a [2021-11-19T18:15:09.143Z] ---> dcb20ebf5c63 [2021-11-19T18:15:09.143Z] Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} [2021-11-19T18:15:09.143Z] ---> Running in 254fb0fdce07 [2021-11-19T18:15:09.143Z] Removing intermediate container 254fb0fdce07 [2021-11-19T18:15:09.143Z] ---> fc142958954a [2021-11-19T18:15:09.143Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2021-11-19T18:15:09.405Z] ---> Running in 38d2d0e4e6a0 [2021-11-19T18:15:09.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-19T18:15:09.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-19T18:15:09.936Z] (1/7) Installing ca-certificates (20191127-r5) [2021-11-19T18:15:09.936Z] (2/7) Installing dumb-init (1.2.5-r1) [2021-11-19T18:15:09.936Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2021-11-19T18:15:09.936Z] (4/7) Installing libsodium (1.0.18-r0) [2021-11-19T18:15:09.936Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-19T18:15:09.936Z] (6/7) Installing libzmq (4.3.4-r0) [2021-11-19T18:15:09.936Z] (7/7) Installing zeromq (4.3.4-r0) [2021-11-19T18:15:09.936Z] Executing busybox-1.33.1-r6.trigger [2021-11-19T18:15:09.936Z] Executing ca-certificates-20191127-r5.trigger [2021-11-19T18:15:09.936Z] OK: 9 MiB in 21 packages [2021-11-19T18:15:10.200Z] Removing intermediate container 38d2d0e4e6a0 [2021-11-19T18:15:10.200Z] ---> db00eead1bdf [2021-11-19T18:15:10.200Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2021-11-19T18:15:10.467Z] ---> 7ffdc805eb28 [2021-11-19T18:15:10.467Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2021-11-19T18:15:10.728Z] ---> 68bfd5bcf2f8 [2021-11-19T18:15:10.728Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2021-11-19T18:15:10.728Z] ---> 12343ec00c72 [2021-11-19T18:15:10.728Z] Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2021-11-19T18:15:11.303Z] ---> e98f6855de97 [2021-11-19T18:15:11.303Z] Step 21/26 : EXPOSE 48095 [2021-11-19T18:15:11.303Z] ---> Running in 3592d185f271 [2021-11-19T18:15:11.303Z] Removing intermediate container 3592d185f271 [2021-11-19T18:15:11.303Z] ---> cf6b9bf11081 [2021-11-19T18:15:11.303Z] Step 22/26 : ENTRYPOINT ["/app-service-configurable"] [2021-11-19T18:15:11.303Z] ---> Running in 577e405f74e3 [2021-11-19T18:15:11.303Z] Removing intermediate container 577e405f74e3 [2021-11-19T18:15:11.303Z] ---> 51a5c033d067 [2021-11-19T18:15:11.303Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-19T18:15:11.303Z] ---> Running in a72279b52f23 [2021-11-19T18:15:11.563Z] Removing intermediate container a72279b52f23 [2021-11-19T18:15:11.563Z] ---> 89c22f625e7a [2021-11-19T18:15:11.563Z] Step 24/26 : LABEL arch=amd64 [2021-11-19T18:15:11.563Z] ---> Running in bab1c3b045f8 [2021-11-19T18:15:11.563Z] Removing intermediate container bab1c3b045f8 [2021-11-19T18:15:11.563Z] ---> 08eb54180e63 [2021-11-19T18:15:11.563Z] Step 25/26 : LABEL git_sha=36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:15:11.563Z] ---> Running in f617173c4ce6 [2021-11-19T18:15:11.828Z] Removing intermediate container f617173c4ce6 [2021-11-19T18:15:11.828Z] ---> b02c5266bf89 [2021-11-19T18:15:11.828Z] Step 26/26 : LABEL version=2.2.0-dev.1 [2021-11-19T18:15:11.828Z] ---> Running in 4dc98c89d52a [2021-11-19T18:15:11.828Z] Removing intermediate container 4dc98c89d52a [2021-11-19T18:15:11.828Z] ---> 6d347c199128 [2021-11-19T18:15:11.828Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-19T18:15:11.828Z] Successfully built 6d347c199128 [2021-11-19T18:15:11.828Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:15:12.004Z] provisioning config files... [2021-11-19T18:15:12.020Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/37@tmp/config2705541027266577541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:15:12.330Z] ---> docker-login.sh [2021-11-19T18:15:12.330Z] nexus3.edgexfoundry.org:10001 [2021-11-19T18:15:12.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:15:12.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:15:12.330Z] Configure a credential helper to remove this warning. See [2021-11-19T18:15:12.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:15:12.330Z] [2021-11-19T18:15:12.330Z] Login Succeeded [2021-11-19T18:15:12.330Z] nexus3.edgexfoundry.org:10002 [2021-11-19T18:15:12.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:15:12.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:15:12.330Z] Configure a credential helper to remove this warning. See [2021-11-19T18:15:12.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:15:12.330Z] [2021-11-19T18:15:12.330Z] Login Succeeded [2021-11-19T18:15:12.330Z] nexus3.edgexfoundry.org:10003 [2021-11-19T18:15:12.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:15:12.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:15:12.597Z] Configure a credential helper to remove this warning. See [2021-11-19T18:15:12.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:15:12.597Z] [2021-11-19T18:15:12.597Z] Login Succeeded [2021-11-19T18:15:12.597Z] nexus3.edgexfoundry.org:10004 [2021-11-19T18:15:12.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:15:12.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:15:12.597Z] Configure a credential helper to remove this warning. See [2021-11-19T18:15:12.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:15:12.597Z] [2021-11-19T18:15:12.597Z] Login Succeeded [2021-11-19T18:15:12.597Z] docker.io [2021-11-19T18:15:12.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:15:13.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:15:13.119Z] Configure a credential helper to remove this warning. See [2021-11-19T18:15:13.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:15:13.119Z] [2021-11-19T18:15:13.119Z] Login Succeeded [2021-11-19T18:15:13.119Z] ---> docker-login.sh ends [Pipeline] } [2021-11-19T18:15:13.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-19T18:15:13.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-19T18:15:13.162Z] [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: [2021-11-19T18:15:13.162Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:15:13.162Z] latest [2021-11-19T18:15:13.162Z] 2.2.0-dev.1 [2021-11-19T18:15:13.162Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:15:13.162Z] main [2021-11-19T18:15:13.162Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:13.478Z] + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:13.787Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:15:13.787Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] [2021-11-19T18:15:13.787Z] 30c5879c37fe: Preparing [2021-11-19T18:15:13.787Z] 0d9ed93e1e9d: Preparing [2021-11-19T18:15:13.787Z] 5adc4f28eb31: Preparing [2021-11-19T18:15:13.787Z] 4335d0c90d2a: Preparing [2021-11-19T18:15:13.787Z] e0fc11e1b7fc: Preparing [2021-11-19T18:15:13.787Z] 1a058d5342cc: Preparing [2021-11-19T18:15:13.787Z] 1a058d5342cc: Waiting [2021-11-19T18:15:14.050Z] 4335d0c90d2a: Pushed [2021-11-19T18:15:14.050Z] 5adc4f28eb31: Pushed [2021-11-19T18:15:14.050Z] 0d9ed93e1e9d: Pushed [2021-11-19T18:15:14.050Z] 1a058d5342cc: Layer already exists [2021-11-19T18:15:14.050Z] e0fc11e1b7fc: Pushed [2021-11-19T18:15:15.434Z] 30c5879c37fe: Pushed [2021-11-19T18:15:15.434Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa: digest: sha256:68ae7f1cbb06b60f39d43b0de1af4dc4b5e77f5a59a84c303c16f4ce48db67fc size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:15.745Z] + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:16.040Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest [2021-11-19T18:15:16.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] [2021-11-19T18:15:16.040Z] 30c5879c37fe: Preparing [2021-11-19T18:15:16.040Z] 0d9ed93e1e9d: Preparing [2021-11-19T18:15:16.040Z] 5adc4f28eb31: Preparing [2021-11-19T18:15:16.040Z] 4335d0c90d2a: Preparing [2021-11-19T18:15:16.040Z] e0fc11e1b7fc: Preparing [2021-11-19T18:15:16.040Z] 1a058d5342cc: Preparing [2021-11-19T18:15:16.040Z] 1a058d5342cc: Waiting [2021-11-19T18:15:16.040Z] 4335d0c90d2a: Layer already exists [2021-11-19T18:15:16.040Z] e0fc11e1b7fc: Layer already exists [2021-11-19T18:15:16.040Z] 30c5879c37fe: Layer already exists [2021-11-19T18:15:16.040Z] 0d9ed93e1e9d: Layer already exists [2021-11-19T18:15:16.040Z] 5adc4f28eb31: Layer already exists [2021-11-19T18:15:16.040Z] 1a058d5342cc: Layer already exists [2021-11-19T18:15:16.040Z] latest: digest: sha256:68ae7f1cbb06b60f39d43b0de1af4dc4b5e77f5a59a84c303c16f4ce48db67fc size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:16.333Z] + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:16.629Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.1 [2021-11-19T18:15:16.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] [2021-11-19T18:15:16.629Z] 30c5879c37fe: Preparing [2021-11-19T18:15:16.629Z] 0d9ed93e1e9d: Preparing [2021-11-19T18:15:16.629Z] 5adc4f28eb31: Preparing [2021-11-19T18:15:16.629Z] 4335d0c90d2a: Preparing [2021-11-19T18:15:16.629Z] e0fc11e1b7fc: Preparing [2021-11-19T18:15:16.629Z] 1a058d5342cc: Preparing [2021-11-19T18:15:16.629Z] 1a058d5342cc: Waiting [2021-11-19T18:15:16.629Z] e0fc11e1b7fc: Layer already exists [2021-11-19T18:15:16.629Z] 30c5879c37fe: Layer already exists [2021-11-19T18:15:16.629Z] 0d9ed93e1e9d: Layer already exists [2021-11-19T18:15:16.629Z] 4335d0c90d2a: Layer already exists [2021-11-19T18:15:16.629Z] 5adc4f28eb31: Layer already exists [2021-11-19T18:15:16.629Z] 1a058d5342cc: Layer already exists [2021-11-19T18:15:16.629Z] 2.2.0-dev.1: digest: sha256:68ae7f1cbb06b60f39d43b0de1af4dc4b5e77f5a59a84c303c16f4ce48db67fc size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:16.925Z] + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:17.224Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:15:17.224Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] [2021-11-19T18:15:17.224Z] 30c5879c37fe: Preparing [2021-11-19T18:15:17.224Z] 0d9ed93e1e9d: Preparing [2021-11-19T18:15:17.224Z] 5adc4f28eb31: Preparing [2021-11-19T18:15:17.224Z] 4335d0c90d2a: Preparing [2021-11-19T18:15:17.224Z] e0fc11e1b7fc: Preparing [2021-11-19T18:15:17.224Z] 1a058d5342cc: Preparing [2021-11-19T18:15:17.224Z] 1a058d5342cc: Waiting [2021-11-19T18:15:17.224Z] e0fc11e1b7fc: Layer already exists [2021-11-19T18:15:17.224Z] 4335d0c90d2a: Layer already exists [2021-11-19T18:15:17.224Z] 30c5879c37fe: Layer already exists [2021-11-19T18:15:17.224Z] 0d9ed93e1e9d: Layer already exists [2021-11-19T18:15:17.224Z] 5adc4f28eb31: Layer already exists [2021-11-19T18:15:17.224Z] 1a058d5342cc: Layer already exists [2021-11-19T18:15:17.224Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1: digest: sha256:68ae7f1cbb06b60f39d43b0de1af4dc4b5e77f5a59a84c303c16f4ce48db67fc size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:17.523Z] + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:17.817Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main [2021-11-19T18:15:17.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] [2021-11-19T18:15:17.817Z] 30c5879c37fe: Preparing [2021-11-19T18:15:17.817Z] 0d9ed93e1e9d: Preparing [2021-11-19T18:15:17.817Z] 5adc4f28eb31: Preparing [2021-11-19T18:15:17.817Z] 4335d0c90d2a: Preparing [2021-11-19T18:15:17.817Z] e0fc11e1b7fc: Preparing [2021-11-19T18:15:17.817Z] 1a058d5342cc: Preparing [2021-11-19T18:15:17.817Z] 1a058d5342cc: Waiting [2021-11-19T18:15:17.817Z] e0fc11e1b7fc: Layer already exists [2021-11-19T18:15:17.817Z] 0d9ed93e1e9d: Layer already exists [2021-11-19T18:15:17.817Z] 30c5879c37fe: Layer already exists [2021-11-19T18:15:17.817Z] 4335d0c90d2a: Layer already exists [2021-11-19T18:15:17.817Z] 5adc4f28eb31: Layer already exists [2021-11-19T18:15:17.817Z] 1a058d5342cc: Layer already exists [2021-11-19T18:15:17.817Z] main: digest: sha256:68ae7f1cbb06b60f39d43b0de1af4dc4b5e77f5a59a84c303c16f4ce48db67fc size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-19T18:15:17.848Z] ===================================================== [Pipeline] echo [2021-11-19T18:15:17.856Z] taggedImages: [2021-11-19T18:15:17.856Z] - nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:15:17.856Z] - nexus3.edgexfoundry.org:10004/app-service-configurable:latest [2021-11-19T18:15:17.856Z] - nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.1 [2021-11-19T18:15:17.856Z] - nexus3.edgexfoundry.org:10004/app-service-configurable:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:15:17.856Z] - nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:18.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:15:18.404Z] [2021-11-19T18:15:18.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:18.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:15:18.713Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-19T18:15:18.713Z] b4d181a07f80: Pulling fs layer [2021-11-19T18:15:18.713Z] a1111a8f2ec3: Pulling fs layer [2021-11-19T18:15:18.713Z] ed53099fbce6: Pulling fs layer [2021-11-19T18:15:18.713Z] dc539afda2c1: Pulling fs layer [2021-11-19T18:15:18.713Z] 77bc0d833cb6: Pulling fs layer [2021-11-19T18:15:18.713Z] 9065ff56babe: Pulling fs layer [2021-11-19T18:15:18.713Z] d287ab97295c: Pulling fs layer [2021-11-19T18:15:18.713Z] dc539afda2c1: Waiting [2021-11-19T18:15:18.713Z] 77bc0d833cb6: Waiting [2021-11-19T18:15:18.713Z] 9065ff56babe: Waiting [2021-11-19T18:15:18.713Z] d287ab97295c: Waiting [2021-11-19T18:15:18.713Z] a1111a8f2ec3: Verifying Checksum [2021-11-19T18:15:18.713Z] a1111a8f2ec3: Download complete [2021-11-19T18:15:18.713Z] dc539afda2c1: Verifying Checksum [2021-11-19T18:15:18.713Z] dc539afda2c1: Download complete [2021-11-19T18:15:18.713Z] ed53099fbce6: Verifying Checksum [2021-11-19T18:15:18.713Z] ed53099fbce6: Download complete [2021-11-19T18:15:18.713Z] 9065ff56babe: Verifying Checksum [2021-11-19T18:15:18.713Z] 9065ff56babe: Download complete [2021-11-19T18:15:18.713Z] 77bc0d833cb6: Verifying Checksum [2021-11-19T18:15:18.713Z] 77bc0d833cb6: Download complete [2021-11-19T18:15:18.976Z] b4d181a07f80: Verifying Checksum [2021-11-19T18:15:18.976Z] b4d181a07f80: Download complete [2021-11-19T18:15:19.567Z] d287ab97295c: Verifying Checksum [2021-11-19T18:15:19.567Z] d287ab97295c: Download complete [2021-11-19T18:15:20.513Z] b4d181a07f80: Pull complete [2021-11-19T18:15:20.513Z] a1111a8f2ec3: Pull complete [2021-11-19T18:15:21.084Z] ed53099fbce6: Pull complete [2021-11-19T18:15:21.084Z] dc539afda2c1: Pull complete [2021-11-19T18:15:21.346Z] 77bc0d833cb6: Pull complete [2021-11-19T18:15:21.346Z] 9065ff56babe: Pull complete [2021-11-19T18:15:21.919Z] Removing intermediate container 7c321c8d88c3 [2021-11-19T18:15:21.919Z] ---> 2b061bda4a71 [2021-11-19T18:15:21.919Z] Step 11/12 : ARG MAKE="make build" [2021-11-19T18:15:21.919Z] ---> Running in ae7e3a3bbcc6 [2021-11-19T18:15:21.919Z] Removing intermediate container ae7e3a3bbcc6 [2021-11-19T18:15:21.919Z] ---> 7a1a7f74fbed [2021-11-19T18:15:21.919Z] Step 12/12 : RUN $MAKE [2021-11-19T18:15:21.919Z] ---> Running in b888afa4df2b [2021-11-19T18:15:21.919Z] noop [2021-11-19T18:15:21.919Z] Removing intermediate container b888afa4df2b [2021-11-19T18:15:21.919Z] ---> e34abc22f375 [2021-11-19T18:15:21.919Z] Successfully built e34abc22f375 [2021-11-19T18:15:21.919Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:22.260Z] + docker inspect -f . ci-base-image-arm64 [2021-11-19T18:15:22.260Z] . [Pipeline] withDockerContainer [2021-11-19T18:15:22.517Z] prd-ubuntu18.04-docker-arm64-4c-16g-177 does not seem to be running inside a container [2021-11-19T18:15:22.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@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 ******** ci-base-image-arm64 cat [2021-11-19T18:15:24.081Z] $ docker top 4b011972b9b07f8abe772f564708f3f9b7f2048942b301ce94e28633b7e1541d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-19T18:15:25.024Z] + go version [2021-11-19T18:15:25.024Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-19T18:15:25.049Z] $ docker stop --time=1 4b011972b9b07f8abe772f564708f3f9b7f2048942b301ce94e28633b7e1541d [2021-11-19T18:15:26.658Z] d287ab97295c: Pull complete [2021-11-19T18:15:26.658Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-19T18:15:26.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:15:26.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:15:26.731Z] $ docker rm -f 4b011972b9b07f8abe772f564708f3f9b7f2048942b301ce94e28633b7e1541d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-11-19T18:15:27.028Z] prd-centos7-docker-4c-2g-178 does not seem to be running inside a container [2021-11-19T18:15:27.063Z] $ 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/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-19T18:15:30.007Z] $ docker top dc6ad8eca24945210a0b0eef65ef97a636198d51e1faa5206e6bd44207c04ddd -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:15:30.642Z] ---> job-cost.sh [2021-11-19T18:15:30.642Z] lf-activate-venv: SKIPPING [2021-11-19T18:15:30.642Z] INFO: No Stack... [2021-11-19T18:15:30.740Z] + docker inspect -f . ci-base-image-arm64 [2021-11-19T18:15:30.740Z] . [Pipeline] withDockerContainer [2021-11-19T18:15:30.904Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-19T18:15:30.994Z] prd-ubuntu18.04-docker-arm64-4c-16g-177 does not seem to be running inside a container [2021-11-19T18:15:31.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@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 ******** ci-base-image-arm64 cat [2021-11-19T18:15:31.164Z] INFO: Archiving Costs [2021-11-19T18:15:32.542Z] $ docker top bfe6fea8bafc15e46ce87471b6d1a9b12012f855a2206f57a185348c2cafa4ad -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2021-11-19T18:15:33.123Z] + cat /w/workspace/app-service-configurable/37/archives/cost.csv [2021-11-19T18:15:33.123Z] + cut -d, -f6 [Pipeline] lock [2021-11-19T18:15:33.153Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [2021-11-19T18:15:33.162Z] Resource [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] did not exist. Created. [2021-11-19T18:15:33.162Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-19T18:15:33.461Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-19T18:15:33.489Z] Stashed 1 file(s) [Pipeline] } [2021-11-19T18:15:33.495Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-19T18:15:33.515Z] $ docker stop --time=1 dc6ad8eca24945210a0b0eef65ef97a636198d51e1faa5206e6bd44207c04ddd [2021-11-19T18:15:33.533Z] + make test [2021-11-19T18:15:33.533Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-19T18:15:34.650Z] $ docker rm -f dc6ad8eca24945210a0b0eef65ef97a636198d51e1faa5206e6bd44207c04ddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-19T18:16:30.119Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2021-11-19T18:16:30.119Z] CGO_ENABLED=1 go vet ./... [2021-11-19T18:16:52.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-19T18:16:52.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-19T18:16:52.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-19T18:16:52.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-19T18:16:52.374Z] $ docker stop --time=1 bfe6fea8bafc15e46ce87471b6d1a9b12012f855a2206f57a185348c2cafa4ad [2021-11-19T18:16:54.156Z] $ docker rm -f bfe6fea8bafc15e46ce87471b6d1a9b12012f855a2206f57a185348c2cafa4ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-19T18:16:55.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-19T18:16:55.065Z] Warning: overwriting stash ‘coverage-report’ [2021-11-19T18:16:55.495Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-19T18:16:55.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-19T18:16:56.262Z] + ls -al . [2021-11-19T18:16:56.262Z] total 172 [2021-11-19T18:16:56.262Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 19 18:16 . [2021-11-19T18:16:56.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:12 .. [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 19 18:13 .dockerignore [2021-11-19T18:16:56.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:13 .git [2021-11-19T18:16:56.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:13 .github [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 104 Nov 19 18:13 .gitignore [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 7608 Nov 19 18:13 Attribution.txt [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 23791 Nov 19 18:13 CHANGELOG.md [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 2064 Nov 19 18:13 Dockerfile [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:13 GOVERNANCE.md [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 687 Nov 19 18:13 Jenkinsfile [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 18:13 LICENSE [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 18:13 OWNERS.md [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 3429 Nov 19 18:13 README.md [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 18:11 VERSION [2021-11-19T18:16:56.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:13 bin [2021-11-19T18:16:56.262Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 19 18:15 coverage.out [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 129 Nov 19 18:13 go.mod [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 49193 Nov 19 18:13 go.sum [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 1949 Nov 19 18:13 main.go [2021-11-19T18:16:56.262Z] -rw-rw-r-- 1 jenkins jenkins 1614 Nov 19 18:13 makefile [2021-11-19T18:16:56.262Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 18:13 res [2021-11-19T18:16:56.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:13 snap [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:16:56.685Z] + 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=36e4556e19d47a73733e529c83cf9b2d06cecfaa --label arch=arm64 --label version=2.2.0-dev.1 . [2021-11-19T18:16:56.685Z] Sending build context to Docker daemon 201.7kB [2021-11-19T18:16:56.960Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.14 [2021-11-19T18:16:56.960Z] Step 2/26 : FROM ${BASE} AS builder [2021-11-19T18:16:56.960Z] ---> e34abc22f375 [2021-11-19T18:16:56.960Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-11-19T18:16:57.233Z] ---> Running in 2a59c74e41e0 [2021-11-19T18:16:57.506Z] Removing intermediate container 2a59c74e41e0 [2021-11-19T18:16:57.506Z] ---> 6cdb5488f6f4 [2021-11-19T18:16:57.506Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-11-19T18:16:57.506Z] ---> Running in 0eda5c891590 [2021-11-19T18:16:58.102Z] Removing intermediate container 0eda5c891590 [2021-11-19T18:16:58.102Z] ---> 1e88435cde34 [2021-11-19T18:16:58.102Z] Step 5/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:16:58.102Z] ---> Running in 1b025704ab5f [2021-11-19T18:16:58.377Z] Removing intermediate container 1b025704ab5f [2021-11-19T18:16:58.377Z] ---> 0ed81294457e [2021-11-19T18:16:58.377Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-19T18:16:58.656Z] ---> Running in 42f43b3c841f [2021-11-19T18:17:00.644Z] Removing intermediate container 42f43b3c841f [2021-11-19T18:17:00.644Z] ---> c4e76de6eb3c [2021-11-19T18:17:00.644Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-19T18:17:00.644Z] ---> Running in 634517b1c851 [2021-11-19T18:17:01.625Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-19T18:17:02.598Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-19T18:17:03.193Z] OK: 219 MiB in 52 packages [2021-11-19T18:17:04.171Z] Removing intermediate container 634517b1c851 [2021-11-19T18:17:04.171Z] ---> 568f024944a8 [2021-11-19T18:17:04.171Z] Step 8/26 : WORKDIR /app [2021-11-19T18:17:04.171Z] ---> Running in d5e482275226 [2021-11-19T18:17:04.767Z] Removing intermediate container d5e482275226 [2021-11-19T18:17:04.767Z] ---> e3c69bef5cb5 [2021-11-19T18:17:04.767Z] Step 9/26 : COPY . . [2021-11-19T18:17:05.358Z] ---> 7ace1a2bd4f0 [2021-11-19T18:17:05.358Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-19T18:17:05.650Z] ---> Running in a8257ed8b39b [2021-11-19T18:17:08.266Z] Removing intermediate container a8257ed8b39b [2021-11-19T18:17:08.266Z] ---> 07faa096402c [2021-11-19T18:17:08.266Z] Step 11/26 : ARG MAKE="make build" [2021-11-19T18:17:08.266Z] ---> Running in 4cd92ca10bd6 [2021-11-19T18:17:08.266Z] Removing intermediate container 4cd92ca10bd6 [2021-11-19T18:17:08.266Z] ---> cd10127f7105 [2021-11-19T18:17:08.266Z] Step 12/26 : RUN $MAKE [2021-11-19T18:17:08.539Z] ---> Running in 0413451ed44a [2021-11-19T18:17:09.519Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.0-dev.1" -o app-service-configurable [2021-11-19T18:17:48.624Z] Removing intermediate container 0413451ed44a [2021-11-19T18:17:48.624Z] ---> 949dbfabf1dd [2021-11-19T18:17:48.624Z] Step 13/26 : FROM alpine:3.14 [2021-11-19T18:17:48.624Z] 3.14: Pulling from library/alpine [2021-11-19T18:17:48.624Z] be307f383ecc: Pulling fs layer [2021-11-19T18:17:48.624Z] be307f383ecc: Verifying Checksum [2021-11-19T18:17:48.624Z] be307f383ecc: Download complete [2021-11-19T18:17:48.899Z] be307f383ecc: Pull complete [2021-11-19T18:17:48.899Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-19T18:17:48.899Z] Status: Downloaded newer image for alpine:3.14 [2021-11-19T18:17:48.899Z] ---> 5b8b7b635229 [2021-11-19T18:17:48.899Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2021-11-19T18:17:48.899Z] ---> Running in fbeb2e251845 [2021-11-19T18:17:49.493Z] Removing intermediate container fbeb2e251845 [2021-11-19T18:17:49.493Z] ---> f2e45e3b69be [2021-11-19T18:17:49.493Z] Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} [2021-11-19T18:17:49.493Z] ---> Running in 90993617429b [2021-11-19T18:17:49.766Z] Removing intermediate container 90993617429b [2021-11-19T18:17:49.766Z] ---> 32b8878a0dc2 [2021-11-19T18:17:49.766Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2021-11-19T18:17:49.766Z] ---> Running in 970ab28fdd77 [2021-11-19T18:17:51.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-19T18:17:51.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-19T18:17:51.789Z] (1/7) Installing ca-certificates (20191127-r5) [2021-11-19T18:17:52.062Z] (2/7) Installing dumb-init (1.2.5-r1) [2021-11-19T18:17:52.062Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2021-11-19T18:17:52.062Z] (4/7) Installing libsodium (1.0.18-r0) [2021-11-19T18:17:52.062Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-19T18:17:52.062Z] (6/7) Installing libzmq (4.3.4-r0) [2021-11-19T18:17:52.062Z] (7/7) Installing zeromq (4.3.4-r0) [2021-11-19T18:17:52.062Z] Executing busybox-1.33.1-r6.trigger [2021-11-19T18:17:52.062Z] Executing ca-certificates-20191127-r5.trigger [2021-11-19T18:17:52.333Z] OK: 9 MiB in 21 packages [2021-11-19T18:17:53.767Z] Removing intermediate container 970ab28fdd77 [2021-11-19T18:17:53.767Z] ---> a20d7faf7ab4 [2021-11-19T18:17:53.767Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2021-11-19T18:17:54.368Z] ---> eed23fcfe01b [2021-11-19T18:17:54.368Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2021-11-19T18:17:54.968Z] ---> 13e5062b6b1c [2021-11-19T18:17:54.968Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2021-11-19T18:17:55.947Z] ---> 5c77bd3d2bc8 [2021-11-19T18:17:55.947Z] Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2021-11-19T18:17:56.927Z] ---> 6246ce0024c9 [2021-11-19T18:17:56.927Z] Step 21/26 : EXPOSE 48095 [2021-11-19T18:17:56.927Z] ---> Running in 0d5ab85f41e0 [2021-11-19T18:17:57.522Z] Removing intermediate container 0d5ab85f41e0 [2021-11-19T18:17:57.522Z] ---> 34b1e96705ee [2021-11-19T18:17:57.522Z] Step 22/26 : ENTRYPOINT ["/app-service-configurable"] [2021-11-19T18:17:57.522Z] ---> Running in 43a6ce8778ab [2021-11-19T18:17:57.797Z] Removing intermediate container 43a6ce8778ab [2021-11-19T18:17:57.797Z] ---> 5877cdb6e54c [2021-11-19T18:17:57.797Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-19T18:17:58.069Z] ---> Running in cdc97eb491f1 [2021-11-19T18:17:58.342Z] Removing intermediate container cdc97eb491f1 [2021-11-19T18:17:58.342Z] ---> 55d2f4216aa4 [2021-11-19T18:17:58.342Z] Step 24/26 : LABEL arch=arm64 [2021-11-19T18:17:58.618Z] ---> Running in c8dc3b71495c [2021-11-19T18:17:58.894Z] Removing intermediate container c8dc3b71495c [2021-11-19T18:17:58.894Z] ---> 67dc4462b04f [2021-11-19T18:17:58.894Z] Step 25/26 : LABEL git_sha=36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:17:58.894Z] ---> Running in 0554503fb522 [2021-11-19T18:17:59.490Z] Removing intermediate container 0554503fb522 [2021-11-19T18:17:59.490Z] ---> f68f84d08a76 [2021-11-19T18:17:59.490Z] Step 26/26 : LABEL version=2.2.0-dev.1 [2021-11-19T18:17:59.490Z] ---> Running in 850c2d7cf636 [2021-11-19T18:17:59.762Z] Removing intermediate container 850c2d7cf636 [2021-11-19T18:17:59.762Z] ---> 7a34c8e9cb54 [2021-11-19T18:17:59.762Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-19T18:17:59.762Z] Successfully built 7a34c8e9cb54 [2021-11-19T18:17:59.762Z] Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:17:59.974Z] provisioning config files... [2021-11-19T18:17:59.992Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/37@tmp/config3518938660201444411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:18:00.335Z] ---> docker-login.sh [2021-11-19T18:18:00.335Z] nexus3.edgexfoundry.org:10001 [2021-11-19T18:18:00.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:18:00.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:18:00.884Z] Configure a credential helper to remove this warning. See [2021-11-19T18:18:00.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:18:00.884Z] [2021-11-19T18:18:00.884Z] Login Succeeded [2021-11-19T18:18:00.884Z] nexus3.edgexfoundry.org:10002 [2021-11-19T18:18:01.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:18:01.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:18:01.431Z] Configure a credential helper to remove this warning. See [2021-11-19T18:18:01.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:18:01.431Z] [2021-11-19T18:18:01.431Z] Login Succeeded [2021-11-19T18:18:01.431Z] nexus3.edgexfoundry.org:10003 [2021-11-19T18:18:01.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:18:01.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:18:01.976Z] Configure a credential helper to remove this warning. See [2021-11-19T18:18:01.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:18:01.976Z] [2021-11-19T18:18:01.976Z] Login Succeeded [2021-11-19T18:18:01.976Z] nexus3.edgexfoundry.org:10004 [2021-11-19T18:18:02.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:18:02.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:18:02.525Z] Configure a credential helper to remove this warning. See [2021-11-19T18:18:02.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:18:02.525Z] [2021-11-19T18:18:02.525Z] Login Succeeded [2021-11-19T18:18:02.525Z] docker.io [2021-11-19T18:18:02.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-19T18:18:03.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-19T18:18:03.391Z] Configure a credential helper to remove this warning. See [2021-11-19T18:18:03.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-19T18:18:03.391Z] [2021-11-19T18:18:03.391Z] Login Succeeded [2021-11-19T18:18:03.391Z] ---> docker-login.sh ends [Pipeline] } [2021-11-19T18:18:03.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-19T18:18:03.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-19T18:18:03.453Z] [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: [2021-11-19T18:18:03.453Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:18:03.453Z] latest [2021-11-19T18:18:03.453Z] 2.2.0-dev.1 [2021-11-19T18:18:03.453Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:18:03.453Z] main [2021-11-19T18:18:03.453Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:03.802Z] + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:04.143Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:18:04.143Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] [2021-11-19T18:18:04.143Z] 6b84d8ffeca2: Preparing [2021-11-19T18:18:04.143Z] 1d69d8fb62da: Preparing [2021-11-19T18:18:04.143Z] 2cd0219e3282: Preparing [2021-11-19T18:18:04.143Z] 13d4eebc74e0: Preparing [2021-11-19T18:18:04.143Z] b105f0ae5939: Preparing [2021-11-19T18:18:04.143Z] 62170e181a92: Preparing [2021-11-19T18:18:04.143Z] 62170e181a92: Waiting [2021-11-19T18:18:04.416Z] 13d4eebc74e0: Pushed [2021-11-19T18:18:04.416Z] 1d69d8fb62da: Pushed [2021-11-19T18:18:04.416Z] 2cd0219e3282: Pushed [2021-11-19T18:18:04.416Z] 62170e181a92: Layer already exists [2021-11-19T18:18:05.383Z] b105f0ae5939: Pushed [2021-11-19T18:18:07.985Z] 6b84d8ffeca2: Pushed [2021-11-19T18:18:07.985Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa: digest: sha256:80d707fd8cbfb84abbc34ba7855dac26e96f5b4ec408bc0de06a35c25e91f606 size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:08.321Z] + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:08.653Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [2021-11-19T18:18:08.653Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] [2021-11-19T18:18:08.653Z] 6b84d8ffeca2: Preparing [2021-11-19T18:18:08.653Z] 1d69d8fb62da: Preparing [2021-11-19T18:18:08.653Z] 2cd0219e3282: Preparing [2021-11-19T18:18:08.653Z] 13d4eebc74e0: Preparing [2021-11-19T18:18:08.653Z] b105f0ae5939: Preparing [2021-11-19T18:18:08.653Z] 62170e181a92: Preparing [2021-11-19T18:18:08.653Z] 62170e181a92: Waiting [2021-11-19T18:18:08.653Z] 1d69d8fb62da: Layer already exists [2021-11-19T18:18:08.653Z] 6b84d8ffeca2: Layer already exists [2021-11-19T18:18:08.653Z] b105f0ae5939: Layer already exists [2021-11-19T18:18:08.653Z] 13d4eebc74e0: Layer already exists [2021-11-19T18:18:08.653Z] 2cd0219e3282: Layer already exists [2021-11-19T18:18:08.653Z] 62170e181a92: Layer already exists [2021-11-19T18:18:08.925Z] latest: digest: sha256:80d707fd8cbfb84abbc34ba7855dac26e96f5b4ec408bc0de06a35c25e91f606 size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:09.265Z] + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:09.597Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.1 [2021-11-19T18:18:09.597Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] [2021-11-19T18:18:09.597Z] 6b84d8ffeca2: Preparing [2021-11-19T18:18:09.597Z] 1d69d8fb62da: Preparing [2021-11-19T18:18:09.597Z] 2cd0219e3282: Preparing [2021-11-19T18:18:09.597Z] 13d4eebc74e0: Preparing [2021-11-19T18:18:09.597Z] b105f0ae5939: Preparing [2021-11-19T18:18:09.597Z] 62170e181a92: Preparing [2021-11-19T18:18:09.597Z] 62170e181a92: Waiting [2021-11-19T18:18:09.597Z] 13d4eebc74e0: Layer already exists [2021-11-19T18:18:09.597Z] b105f0ae5939: Layer already exists [2021-11-19T18:18:09.597Z] 2cd0219e3282: Layer already exists [2021-11-19T18:18:09.597Z] 6b84d8ffeca2: Layer already exists [2021-11-19T18:18:09.597Z] 1d69d8fb62da: Layer already exists [2021-11-19T18:18:09.597Z] 62170e181a92: Layer already exists [2021-11-19T18:18:09.867Z] 2.2.0-dev.1: digest: sha256:80d707fd8cbfb84abbc34ba7855dac26e96f5b4ec408bc0de06a35c25e91f606 size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:10.204Z] + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:10.538Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:18:10.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] [2021-11-19T18:18:10.538Z] 6b84d8ffeca2: Preparing [2021-11-19T18:18:10.538Z] 1d69d8fb62da: Preparing [2021-11-19T18:18:10.538Z] 2cd0219e3282: Preparing [2021-11-19T18:18:10.538Z] 13d4eebc74e0: Preparing [2021-11-19T18:18:10.538Z] b105f0ae5939: Preparing [2021-11-19T18:18:10.538Z] 62170e181a92: Preparing [2021-11-19T18:18:10.538Z] 62170e181a92: Waiting [2021-11-19T18:18:10.538Z] 1d69d8fb62da: Layer already exists [2021-11-19T18:18:10.538Z] b105f0ae5939: Layer already exists [2021-11-19T18:18:10.538Z] 13d4eebc74e0: Layer already exists [2021-11-19T18:18:10.538Z] 2cd0219e3282: Layer already exists [2021-11-19T18:18:10.538Z] 6b84d8ffeca2: Layer already exists [2021-11-19T18:18:10.538Z] 62170e181a92: Layer already exists [2021-11-19T18:18:10.812Z] 36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1: digest: sha256:80d707fd8cbfb84abbc34ba7855dac26e96f5b4ec408bc0de06a35c25e91f606 size: 1574 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:11.152Z] + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:11.488Z] + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [2021-11-19T18:18:11.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] [2021-11-19T18:18:11.488Z] 6b84d8ffeca2: Preparing [2021-11-19T18:18:11.488Z] 1d69d8fb62da: Preparing [2021-11-19T18:18:11.488Z] 2cd0219e3282: Preparing [2021-11-19T18:18:11.488Z] 13d4eebc74e0: Preparing [2021-11-19T18:18:11.488Z] b105f0ae5939: Preparing [2021-11-19T18:18:11.488Z] 62170e181a92: Preparing [2021-11-19T18:18:11.488Z] 62170e181a92: Waiting [2021-11-19T18:18:11.488Z] 2cd0219e3282: Layer already exists [2021-11-19T18:18:11.488Z] 1d69d8fb62da: Layer already exists [2021-11-19T18:18:11.488Z] 13d4eebc74e0: Layer already exists [2021-11-19T18:18:11.488Z] b105f0ae5939: Layer already exists [2021-11-19T18:18:11.488Z] 6b84d8ffeca2: Layer already exists [2021-11-19T18:18:11.488Z] 62170e181a92: Layer already exists [2021-11-19T18:18:11.763Z] main: digest: sha256:80d707fd8cbfb84abbc34ba7855dac26e96f5b4ec408bc0de06a35c25e91f606 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-19T18:18:11.811Z] ===================================================== [Pipeline] echo [2021-11-19T18:18:11.817Z] taggedImages: [2021-11-19T18:18:11.817Z] - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa [2021-11-19T18:18:11.817Z] - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [2021-11-19T18:18:11.817Z] - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.1 [2021-11-19T18:18:11.817Z] - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:36e4556e19d47a73733e529c83cf9b2d06cecfaa-2.2.0-dev.1 [2021-11-19T18:18:11.817Z] - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:12.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-19T18:18:12.298Z] [2021-11-19T18:18:12.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:12.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-19T18:18:13.183Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-19T18:18:13.183Z] 448f6bf000e3: Pulling fs layer [2021-11-19T18:18:13.183Z] f757da607395: Pulling fs layer [2021-11-19T18:18:13.183Z] 05883995daec: Pulling fs layer [2021-11-19T18:18:13.183Z] 8603b9c90790: Pulling fs layer [2021-11-19T18:18:13.183Z] 1560dd03e051: Pulling fs layer [2021-11-19T18:18:13.183Z] 27f5ce0e4adf: Pulling fs layer [2021-11-19T18:18:13.183Z] c2d8d7efcc4b: Pulling fs layer [2021-11-19T18:18:13.183Z] 1560dd03e051: Waiting [2021-11-19T18:18:13.183Z] 27f5ce0e4adf: Waiting [2021-11-19T18:18:13.183Z] c2d8d7efcc4b: Waiting [2021-11-19T18:18:13.183Z] 8603b9c90790: Waiting [2021-11-19T18:18:13.183Z] f757da607395: Verifying Checksum [2021-11-19T18:18:13.183Z] f757da607395: Download complete [2021-11-19T18:18:13.183Z] 8603b9c90790: Verifying Checksum [2021-11-19T18:18:13.183Z] 8603b9c90790: Download complete [2021-11-19T18:18:13.457Z] 1560dd03e051: Verifying Checksum [2021-11-19T18:18:13.457Z] 1560dd03e051: Download complete [2021-11-19T18:18:13.457Z] 05883995daec: Verifying Checksum [2021-11-19T18:18:13.457Z] 05883995daec: Download complete [2021-11-19T18:18:13.457Z] 27f5ce0e4adf: Verifying Checksum [2021-11-19T18:18:13.457Z] 27f5ce0e4adf: Download complete [2021-11-19T18:18:13.729Z] 448f6bf000e3: Verifying Checksum [2021-11-19T18:18:13.729Z] 448f6bf000e3: Download complete [2021-11-19T18:18:16.347Z] c2d8d7efcc4b: Verifying Checksum [2021-11-19T18:18:16.347Z] c2d8d7efcc4b: Download complete [2021-11-19T18:18:17.329Z] 448f6bf000e3: Pull complete [2021-11-19T18:18:18.308Z] f757da607395: Pull complete [2021-11-19T18:18:19.741Z] 05883995daec: Pull complete [2021-11-19T18:18:19.741Z] 8603b9c90790: Pull complete [2021-11-19T18:18:20.720Z] 1560dd03e051: Pull complete [2021-11-19T18:18:20.992Z] 27f5ce0e4adf: Pull complete [2021-11-19T18:18:36.070Z] c2d8d7efcc4b: Pull complete [2021-11-19T18:18:36.070Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-19T18:18:36.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-19T18:18:36.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-19T18:18:36.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-177 does not seem to be running inside a container [2021-11-19T18:18:36.413Z] $ 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/37 -v /w/workspace/app-service-configurable/37:/w/workspace/app-service-configurable/37:rw,z -v /w/workspace/app-service-configurable/37@tmp:/w/workspace/app-service-configurable/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-19T18:18:39.232Z] $ docker top 4cddcd571f9959f32c3efc7d4c98a5e176fc789eed0b67b17b534e6e5eff05a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:18:40.266Z] ---> job-cost.sh [2021-11-19T18:18:40.266Z] lf-activate-venv: SKIPPING [2021-11-19T18:18:40.266Z] INFO: No Stack... [2021-11-19T18:18:40.541Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-19T18:18:41.133Z] INFO: Archiving Costs [Pipeline] sh [2021-11-19T18:18:41.794Z] + cat /w/workspace/app-service-configurable/37/archives/cost.csv [2021-11-19T18:18:41.794Z] + cut -d, -f6 [Pipeline] lock [2021-11-19T18:18:41.854Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [2021-11-19T18:18:41.860Z] Resource [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] did not exist. Created. [2021-11-19T18:18:41.860Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-19T18:18:42.526Z] /w/workspace/app-service-configurable/37@tmp/durable-11ebea9d/script.sh: 1: /w/workspace/app-service-configurable/37@tmp/durable-11ebea9d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-19T18:18:43.187Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-19T18:18:43.213Z] Warning: overwriting stash ‘stack-cost’ [2021-11-19T18:18:43.259Z] Stashed 1 file(s) [Pipeline] } [2021-11-19T18:18:43.268Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-19T18:18:43.279Z] $ docker stop --time=1 4cddcd571f9959f32c3efc7d4c98a5e176fc789eed0b67b17b534e6e5eff05a9 [2021-11-19T18:18:44.836Z] $ docker rm -f 4cddcd571f9959f32c3efc7d4c98a5e176fc789eed0b67b17b534e6e5eff05a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-19T18:18:45.534Z] provisioning config files... [2021-11-19T18:18:45.543Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config5556598758401119850tmp [Pipeline] { [Pipeline] sh [2021-11-19T18:18:45.851Z] + set +x [2021-11-19T18:18:45.851Z] + curl -s https://codecov.io/bash [2021-11-19T18:18:45.851Z] + bash -s -- [2021-11-19T18:18:45.851Z] [2021-11-19T18:18:45.851Z] _____ _ [2021-11-19T18:18:45.851Z] / ____| | | [2021-11-19T18:18:45.851Z] | | ___ __| | ___ ___ _____ __ [2021-11-19T18:18:45.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-19T18:18:45.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-19T18:18:45.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-19T18:18:45.851Z] Bash-1.0.6 [2021-11-19T18:18:45.851Z] [2021-11-19T18:18:45.851Z] [2021-11-19T18:18:45.851Z] ==> git version 2.24.4 found [2021-11-19T18:18:45.851Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-19T18:18:45.851Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-19T18:18:45.851Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-19T18:18:45.851Z] ==> Jenkins CI detected. [2021-11-19T18:18:45.851Z] current dir:  /w/workspace/ry_app-service-configurable_main [2021-11-19T18:18:45.851Z] project root: . [2021-11-19T18:18:45.851Z] --> token set from env [2021-11-19T18:18:45.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-19T18:18:45.851Z] ==> Running gcov in . (disable via -X gcov) [2021-11-19T18:18:46.113Z] ==> Python coveragepy not found [2021-11-19T18:18:46.113Z] ==> Searching for coverage reports in: [2021-11-19T18:18:46.113Z] + . [2021-11-19T18:18:46.113Z] -> Found 1 reports [2021-11-19T18:18:46.113Z] ==> Detecting git/mercurial file structure [2021-11-19T18:18:46.113Z] ==> Reading reports [2021-11-19T18:18:46.113Z] + ./coverage.out bytes=10 [2021-11-19T18:18:46.113Z] ==> Appending adjustments [2021-11-19T18:18:46.113Z] https://docs.codecov.io/docs/fixing-reports [2021-11-19T18:18:46.113Z] + Found adjustments [2021-11-19T18:18:46.113Z] ==> Gzipping contents [2021-11-19T18:18:46.113Z] 4.0K /tmp/codecov.3QxYDB.gz [2021-11-19T18:18:46.113Z] ==> Uploading reports [2021-11-19T18:18:46.113Z] url: https://codecov.io [2021-11-19T18:18:46.113Z] query: branch=main&commit=36e4556e19d47a73733e529c83cf9b2d06cecfaa&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-19T18:18:46.113Z] -> Pinging Codecov [2021-11-19T18:18:46.113Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=main&commit=36e4556e19d47a73733e529c83cf9b2d06cecfaa&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-19T18:18:46.375Z] -> Uploading to [2021-11-19T18:18:46.375Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-19/A97CA9966030D2A3747ED39772930CCE/36e4556e19d47a73733e529c83cf9b2d06cecfaa/0623cea9-f54a-48f8-9ad4-1b98a1038da2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211119T181846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14254c6d92e8fd08c0bb2dbd2e26c362a66a2c60eec2a6d501df757d8978ed5c [2021-11-19T18:18:46.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-19T18:18:46.375Z] Dload Upload Total Spent Left Speed [2021-11-19T18:18:46.635Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 0 0 100 566 0 2011 --:--:-- --:--:-- --:--:-- 2007 [2021-11-19T18:18:46.635Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] } [2021-11-19T18:18:46.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-19T18:18:46.999Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-19T18:18:47.011Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:47.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-19T18:18:47.318Z] [2021-11-19T18:18:47.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:18:47.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-19T18:18:47.638Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-19T18:18:47.638Z] 188c0c94c7c5: Pulling fs layer [2021-11-19T18:18:47.638Z] 0ef7d3d256c8: Pulling fs layer [2021-11-19T18:18:47.638Z] de9db76c5a1d: Pulling fs layer [2021-11-19T18:18:47.638Z] 0eba1c9be4d2: Pulling fs layer [2021-11-19T18:18:47.638Z] 0d57e429df01: Pulling fs layer [2021-11-19T18:18:47.638Z] 4e4be7b47b0d: Pulling fs layer [2021-11-19T18:18:47.638Z] e1f770b5df2f: Pulling fs layer [2021-11-19T18:18:47.638Z] 85a0685a4137: Pulling fs layer [2021-11-19T18:18:47.638Z] 0d57e429df01: Waiting [2021-11-19T18:18:47.638Z] 4e4be7b47b0d: Waiting [2021-11-19T18:18:47.638Z] e1f770b5df2f: Waiting [2021-11-19T18:18:47.638Z] 85a0685a4137: Waiting [2021-11-19T18:18:47.638Z] 0eba1c9be4d2: Waiting [2021-11-19T18:18:47.638Z] de9db76c5a1d: Verifying Checksum [2021-11-19T18:18:47.638Z] de9db76c5a1d: Download complete [2021-11-19T18:18:47.638Z] 0ef7d3d256c8: Verifying Checksum [2021-11-19T18:18:47.638Z] 0ef7d3d256c8: Download complete [2021-11-19T18:18:47.638Z] 0d57e429df01: Verifying Checksum [2021-11-19T18:18:47.638Z] 0d57e429df01: Download complete [2021-11-19T18:18:47.638Z] 4e4be7b47b0d: Verifying Checksum [2021-11-19T18:18:47.638Z] 4e4be7b47b0d: Download complete [2021-11-19T18:18:47.638Z] 188c0c94c7c5: Verifying Checksum [2021-11-19T18:18:47.639Z] 188c0c94c7c5: Download complete [2021-11-19T18:18:47.944Z] e1f770b5df2f: Verifying Checksum [2021-11-19T18:18:47.944Z] e1f770b5df2f: Download complete [2021-11-19T18:18:48.211Z] 188c0c94c7c5: Pull complete [2021-11-19T18:18:48.211Z] 0eba1c9be4d2: Verifying Checksum [2021-11-19T18:18:48.211Z] 0eba1c9be4d2: Download complete [2021-11-19T18:18:48.471Z] 0ef7d3d256c8: Pull complete [2021-11-19T18:18:48.471Z] de9db76c5a1d: Pull complete [2021-11-19T18:18:48.471Z] 85a0685a4137: Verifying Checksum [2021-11-19T18:18:48.471Z] 85a0685a4137: Download complete [2021-11-19T18:18:52.717Z] 0eba1c9be4d2: Pull complete [2021-11-19T18:18:52.717Z] 0d57e429df01: Pull complete [2021-11-19T18:18:52.717Z] 4e4be7b47b0d: Pull complete [2021-11-19T18:18:52.717Z] e1f770b5df2f: Pull complete [2021-11-19T18:18:56.994Z] 85a0685a4137: Pull complete [2021-11-19T18:18:56.994Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-19T18:18:56.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-19T18:18:56.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-19T18:18:57.062Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:18:57.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-19T18:18:59.210Z] $ docker top 2a9554e7ab03219f07445ca29633fd3d73c608c630731b20006a515c9f25c3b4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-19T18:18:59.292Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-19T18:18:59.578Z] + set -o pipefail [2021-11-19T18:18:59.578Z] + snyk monitor '--org=edgex-jenkins' [2021-11-19T18:19:06.174Z] [2021-11-19T18:19:06.174Z] Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... [2021-11-19T18:19:06.174Z] [2021-11-19T18:19:06.174Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/135b38ec-8106-4c5c-924c-31794e916e26 [2021-11-19T18:19:06.174Z] [2021-11-19T18:19:06.174Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-19T18:19:06.174Z] [2021-11-19T18:19:06.174Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-19T18:19:06.174Z] [2021-11-19T18:19:06.174Z] [Pipeline] } [2021-11-19T18:19:06.186Z] $ docker stop --time=1 2a9554e7ab03219f07445ca29633fd3d73c608c630731b20006a515c9f25c3b4 [2021-11-19T18:19:08.144Z] $ docker rm -f 2a9554e7ab03219f07445ca29633fd3d73c608c630731b20006a515c9f25c3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-19T18:19:09.019Z] + git log --format=format:%s -1 36e4556e19d47a73733e529c83cf9b2d06cecfaa [Pipeline] sh [2021-11-19T18:19:09.314Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-19T18:19:09.314Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:09.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:19:09.607Z] . [Pipeline] withDockerContainer [2021-11-19T18:19:09.667Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:19:09.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-19T18:19:10.044Z] $ docker top 0ff23daf54f30741377729aeb4cff3d5c914cf668a75849d96f92616dc8e98b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-19T18:19:10.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-19T18:19:10.139Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-19T18:19:10.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-19T18:19:10.246Z] $ docker exec 0ff23daf54f30741377729aeb4cff3d5c914cf668a75849d96f92616dc8e98b4 ssh-agent [2021-11-19T18:19:10.335Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGNeoAI/agent.14 [2021-11-19T18:19:10.336Z] SSH_AGENT_PID=21 [2021-11-19T18:19:10.340Z] Running ssh-add (command line suppressed) [2021-11-19T18:19:10.428Z] Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_4850066254976501686.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_4850066254976501686.key) [2021-11-19T18:19:10.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-19T18:19:10.748Z] + git semver tag [2021-11-19T18:19:10.748Z] # -> Open(): unable to determine branch for HEAD [2021-11-19T18:19:10.748Z] # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git [2021-11-19T18:19:10.748Z] # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main [2021-11-19T18:19:10.748Z] # $SEMVER_REMOTE_NAME = origin [2021-11-19T18:19:10.748Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-19T18:19:10.748Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-19T18:19:10.748Z] # $SEMVER_BRANCH = main [2021-11-19T18:19:10.748Z] # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [2021-11-19T18:19:10.748Z] # 36e4556e19d47a73733e529c83cf9b2d06cecfaa HEAD [2021-11-19T18:19:10.748Z] # -> Force: false [2021-11-19T18:19:10.748Z] # ae370311b40e2a7528b5c2c931aab72d9f847652 refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-11-19T18:19:10.759Z] $ docker exec --env ******** --env ******** 0ff23daf54f30741377729aeb4cff3d5c914cf668a75849d96f92616dc8e98b4 ssh-agent -k [2021-11-19T18:19:10.857Z] unset SSH_AUTH_SOCK; [2021-11-19T18:19:10.858Z] unset SSH_AGENT_PID; [2021-11-19T18:19:10.858Z] echo Agent pid 21 killed; [2021-11-19T18:19:10.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-19T18:19:11.177Z] + git semver [Pipeline] } [2021-11-19T18:19:11.190Z] $ docker stop --time=1 0ff23daf54f30741377729aeb4cff3d5c914cf668a75849d96f92616dc8e98b4 [2021-11-19T18:19:12.363Z] $ docker rm -f 0ff23daf54f30741377729aeb4cff3d5c914cf668a75849d96f92616dc8e98b4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:12.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-19T18:19:12.769Z] [2021-11-19T18:19:12.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:13.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-19T18:19:13.073Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-19T18:19:13.073Z] ab5ef0e58194: Pulling fs layer [2021-11-19T18:19:13.073Z] 9712f1f96733: Pulling fs layer [2021-11-19T18:19:13.073Z] 63f879dbbcfc: Pulling fs layer [2021-11-19T18:19:13.073Z] 0d9ebad4ef96: Pulling fs layer [2021-11-19T18:19:13.073Z] e9a5061849ea: Pulling fs layer [2021-11-19T18:19:13.073Z] d747dcd14b5f: Pulling fs layer [2021-11-19T18:19:13.073Z] 2de7ff778b66: Pulling fs layer [2021-11-19T18:19:13.073Z] 0d9ebad4ef96: Waiting [2021-11-19T18:19:13.073Z] e9a5061849ea: Waiting [2021-11-19T18:19:13.073Z] d747dcd14b5f: Waiting [2021-11-19T18:19:13.073Z] 2de7ff778b66: Waiting [2021-11-19T18:19:13.073Z] 9712f1f96733: Verifying Checksum [2021-11-19T18:19:13.073Z] 9712f1f96733: Download complete [2021-11-19T18:19:13.336Z] 63f879dbbcfc: Verifying Checksum [2021-11-19T18:19:13.336Z] 63f879dbbcfc: Download complete [2021-11-19T18:19:13.596Z] 0d9ebad4ef96: Verifying Checksum [2021-11-19T18:19:13.596Z] 0d9ebad4ef96: Download complete [2021-11-19T18:19:13.596Z] ab5ef0e58194: Verifying Checksum [2021-11-19T18:19:13.596Z] ab5ef0e58194: Download complete [2021-11-19T18:19:13.596Z] e9a5061849ea: Verifying Checksum [2021-11-19T18:19:13.596Z] e9a5061849ea: Download complete [2021-11-19T18:19:13.596Z] d747dcd14b5f: Verifying Checksum [2021-11-19T18:19:13.596Z] d747dcd14b5f: Download complete [2021-11-19T18:19:13.596Z] 2de7ff778b66: Verifying Checksum [2021-11-19T18:19:13.596Z] 2de7ff778b66: Download complete [2021-11-19T18:19:16.946Z] ab5ef0e58194: Pull complete [2021-11-19T18:19:16.946Z] 9712f1f96733: Pull complete [2021-11-19T18:19:17.206Z] 63f879dbbcfc: Pull complete [2021-11-19T18:19:21.447Z] 0d9ebad4ef96: Pull complete [2021-11-19T18:19:21.447Z] e9a5061849ea: Pull complete [2021-11-19T18:19:21.716Z] d747dcd14b5f: Pull complete [2021-11-19T18:19:23.129Z] 2de7ff778b66: Pull complete [2021-11-19T18:19:23.129Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-19T18:19:23.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-19T18:19:23.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-19T18:19:23.191Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:19:23.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-19T18:19:26.466Z] $ docker top 0289cab070afc2c8c2e1e7fafdb48a2674d0a700930ccf0ed417e89e393007d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:19:26.548Z] provisioning config files... [2021-11-19T18:19:26.556Z] copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config2720573956081738624tmp [2021-11-19T18:19:26.566Z] copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1527925251043525071tmp [2021-11-19T18:19:26.575Z] copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4882826732237633155tmp [Pipeline] { [Pipeline] echo [2021-11-19T18:19:26.586Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:26.872Z] ---> sigul-configuration.sh [2021-11-19T18:19:26.872Z] gpg: directory `/root/.gnupg' created [2021-11-19T18:19:26.872Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-19T18:19:26.872Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-19T18:19:26.872Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-19T18:19:26.872Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-19T18:19:26.872Z] gpg: CAST5 encrypted data [2021-11-19T18:19:26.872Z] gpg: encrypted with 1 passphrase [2021-11-19T18:19:26.872Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-19T18:19:27.168Z] + mkdir /home/jenkins [2021-11-19T18:19:27.168Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-19T18:19:27.461Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-19T18:19:27.470Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:27.759Z] ---> sigul-install.sh [2021-11-19T18:19:27.759Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-19T18:19:28.048Z] + git tag --list [2021-11-19T18:19:28.048Z] v1.0.0 [2021-11-19T18:19:28.048Z] v1.1.0 [2021-11-19T18:19:28.048Z] v1.2.0 [2021-11-19T18:19:28.048Z] v1.3.0 [2021-11-19T18:19:28.048Z] v1.3.1 [2021-11-19T18:19:28.048Z] v2.0.0 [2021-11-19T18:19:28.048Z] v2.0.1 [2021-11-19T18:19:28.048Z] v2.0.1-dev.1 [2021-11-19T18:19:28.048Z] v2.0.2-dev.1 [2021-11-19T18:19:28.048Z] v2.0.2-dev.10 [2021-11-19T18:19:28.048Z] v2.0.2-dev.11 [2021-11-19T18:19:28.048Z] v2.0.2-dev.12 [2021-11-19T18:19:28.048Z] v2.0.2-dev.13 [2021-11-19T18:19:28.048Z] v2.0.2-dev.14 [2021-11-19T18:19:28.048Z] v2.0.2-dev.15 [2021-11-19T18:19:28.048Z] v2.0.2-dev.16 [2021-11-19T18:19:28.049Z] v2.0.2-dev.17 [2021-11-19T18:19:28.049Z] v2.0.2-dev.18 [2021-11-19T18:19:28.049Z] v2.0.2-dev.19 [2021-11-19T18:19:28.049Z] v2.0.2-dev.2 [2021-11-19T18:19:28.049Z] v2.0.2-dev.20 [2021-11-19T18:19:28.049Z] v2.0.2-dev.21 [2021-11-19T18:19:28.049Z] v2.0.2-dev.22 [2021-11-19T18:19:28.049Z] v2.0.2-dev.23 [2021-11-19T18:19:28.049Z] v2.0.2-dev.24 [2021-11-19T18:19:28.049Z] v2.0.2-dev.25 [2021-11-19T18:19:28.049Z] v2.0.2-dev.26 [2021-11-19T18:19:28.049Z] v2.0.2-dev.27 [2021-11-19T18:19:28.049Z] v2.0.2-dev.28 [2021-11-19T18:19:28.049Z] v2.0.2-dev.29 [2021-11-19T18:19:28.049Z] v2.0.2-dev.3 [2021-11-19T18:19:28.049Z] v2.0.2-dev.30 [2021-11-19T18:19:28.049Z] v2.0.2-dev.4 [2021-11-19T18:19:28.049Z] v2.0.2-dev.5 [2021-11-19T18:19:28.049Z] v2.0.2-dev.6 [2021-11-19T18:19:28.049Z] v2.0.2-dev.7 [2021-11-19T18:19:28.049Z] v2.0.2-dev.8 [2021-11-19T18:19:28.049Z] v2.0.2-dev.9 [2021-11-19T18:19:28.049Z] v2.1.0 [2021-11-19T18:19:28.049Z] v2.2.0-dev.1 [Pipeline] sh [2021-11-19T18:19:28.338Z] + lftools sign git-tag v2.2.0-dev.1 [2021-11-19T18:19:28.913Z] Signing Git tag with Sigul... [2021-11-19T18:19:28.913Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-11-19T18:19:29.863Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:30.151Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-19T18:19:30.157Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-19T18:19:30.179Z] $ docker stop --time=1 0289cab070afc2c8c2e1e7fafdb48a2674d0a700930ccf0ed417e89e393007d3 [2021-11-19T18:19:31.366Z] $ docker rm -f 0289cab070afc2c8c2e1e7fafdb48a2674d0a700930ccf0ed417e89e393007d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-11-19T18:19:31.995Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-19T18:19:31.995Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:32.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:19:32.288Z] . [Pipeline] withDockerContainer [2021-11-19T18:19:32.350Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:19:32.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-19T18:19:32.700Z] $ docker top d4632bac62851121f4a1ca5229d59ddaa81be77fdef60d5af037cb3f319d3c48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-19T18:19:32.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-19T18:19:32.780Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-19T18:19:32.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-19T18:19:32.879Z] $ docker exec d4632bac62851121f4a1ca5229d59ddaa81be77fdef60d5af037cb3f319d3c48 ssh-agent [2021-11-19T18:19:32.980Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIllEDE/agent.14 [2021-11-19T18:19:32.980Z] SSH_AGENT_PID=20 [2021-11-19T18:19:32.986Z] Running ssh-add (command line suppressed) [2021-11-19T18:19:33.075Z] Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_2635133642805805186.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_2635133642805805186.key) [2021-11-19T18:19:33.084Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-19T18:19:33.376Z] + git semver bump pre [2021-11-19T18:19:33.376Z] # -> Open(): unable to determine branch for HEAD [2021-11-19T18:19:33.376Z] # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git [2021-11-19T18:19:33.376Z] # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main [2021-11-19T18:19:33.376Z] # $SEMVER_REMOTE_NAME = origin [2021-11-19T18:19:33.376Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-19T18:19:33.376Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-19T18:19:33.376Z] # $SEMVER_BRANCH = main [2021-11-19T18:19:33.376Z] # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [2021-11-19T18:19:33.376Z] 2.2.0-dev.2 [Pipeline] } [2021-11-19T18:19:33.391Z] $ docker exec --env ******** --env ******** d4632bac62851121f4a1ca5229d59ddaa81be77fdef60d5af037cb3f319d3c48 ssh-agent -k [2021-11-19T18:19:33.484Z] unset SSH_AUTH_SOCK; [2021-11-19T18:19:33.484Z] unset SSH_AGENT_PID; [2021-11-19T18:19:33.484Z] echo Agent pid 20 killed; [2021-11-19T18:19:33.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-19T18:19:33.809Z] + git semver [Pipeline] } [2021-11-19T18:19:33.822Z] $ docker stop --time=1 d4632bac62851121f4a1ca5229d59ddaa81be77fdef60d5af037cb3f319d3c48 [2021-11-19T18:19:35.021Z] $ docker rm -f d4632bac62851121f4a1ca5229d59ddaa81be77fdef60d5af037cb3f319d3c48 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-19T18:19:35.374Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-19T18:19:35.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:35.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-19T18:19:35.671Z] . [Pipeline] withDockerContainer [2021-11-19T18:19:35.741Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:19:35.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-19T18:19:36.125Z] $ docker top 84501a78f6729b026a6b46e2732778f60f7bc18ef059584ebcf06a3fa97f1203 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-19T18:19:36.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-19T18:19:36.222Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-19T18:19:36.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-19T18:19:36.330Z] $ docker exec 84501a78f6729b026a6b46e2732778f60f7bc18ef059584ebcf06a3fa97f1203 ssh-agent [2021-11-19T18:19:36.434Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdMJhdi/agent.13 [2021-11-19T18:19:36.434Z] SSH_AGENT_PID=20 [2021-11-19T18:19:36.438Z] Running ssh-add (command line suppressed) [2021-11-19T18:19:36.536Z] Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_1681945355049113119.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_1681945355049113119.key) [2021-11-19T18:19:36.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-19T18:19:36.843Z] + git semver push [2021-11-19T18:19:36.843Z] # -> Open(): unable to determine branch for HEAD [2021-11-19T18:19:36.843Z] # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git [2021-11-19T18:19:36.843Z] # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main [2021-11-19T18:19:36.843Z] # $SEMVER_REMOTE_NAME = origin [2021-11-19T18:19:36.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-19T18:19:36.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-19T18:19:36.843Z] # $SEMVER_BRANCH = main [2021-11-19T18:19:36.843Z] # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [Pipeline] } [2021-11-19T18:19:38.765Z] $ docker exec --env ******** --env ******** 84501a78f6729b026a6b46e2732778f60f7bc18ef059584ebcf06a3fa97f1203 ssh-agent -k [2021-11-19T18:19:38.853Z] unset SSH_AUTH_SOCK; [2021-11-19T18:19:38.854Z] unset SSH_AGENT_PID; [2021-11-19T18:19:38.854Z] echo Agent pid 20 killed; [2021-11-19T18:19:38.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-19T18:19:39.165Z] + git semver [Pipeline] } [2021-11-19T18:19:39.186Z] $ docker stop --time=1 84501a78f6729b026a6b46e2732778f60f7bc18ef059584ebcf06a3fa97f1203 [2021-11-19T18:19:40.373Z] $ docker rm -f 84501a78f6729b026a6b46e2732778f60f7bc18ef059584ebcf06a3fa97f1203 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-19T18:19:41.587Z] + '[' -d /w/workspace/ry_app-service-configurable_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:41.881Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:42.438Z] ---> package-listing.sh [2021-11-19T18:19:42.438Z] ++ facter osfamily [2021-11-19T18:19:42.438Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-19T18:19:42.699Z] + OS_FAMILY=redhat [2021-11-19T18:19:42.699Z] + workspace=/w/workspace/ry_app-service-configurable_main [2021-11-19T18:19:42.699Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-19T18:19:42.699Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-19T18:19:42.699Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-19T18:19:42.699Z] + PACKAGES=/tmp/packages_start.txt [2021-11-19T18:19:42.699Z] + '[' /w/workspace/ry_app-service-configurable_main ']' [2021-11-19T18:19:42.699Z] + PACKAGES=/tmp/packages_end.txt [2021-11-19T18:19:42.699Z] + case "${OS_FAMILY}" in [2021-11-19T18:19:42.699Z] + rpm -qa [2021-11-19T18:19:42.699Z] + sort [2021-11-19T18:19:43.269Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-19T18:19:43.269Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-19T18:19:43.269Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-19T18:19:43.269Z] + '[' /w/workspace/ry_app-service-configurable_main ']' [2021-11-19T18:19:43.269Z] + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ [2021-11-19T18:19:43.269Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo [2021-11-19T18:19:43.280Z] 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/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-19T18:19:43.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:44.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:19:44.114Z] [2021-11-19T18:19:44.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-19T18:19:44.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:19:44.419Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-19T18:19:44.419Z] b4d181a07f80: Pulling fs layer [2021-11-19T18:19:44.419Z] a1111a8f2ec3: Pulling fs layer [2021-11-19T18:19:44.419Z] ed53099fbce6: Pulling fs layer [2021-11-19T18:19:44.419Z] dc539afda2c1: Pulling fs layer [2021-11-19T18:19:44.419Z] 77bc0d833cb6: Pulling fs layer [2021-11-19T18:19:44.419Z] 9065ff56babe: Pulling fs layer [2021-11-19T18:19:44.419Z] d287ab97295c: Pulling fs layer [2021-11-19T18:19:44.419Z] dc539afda2c1: Waiting [2021-11-19T18:19:44.419Z] 77bc0d833cb6: Waiting [2021-11-19T18:19:44.419Z] 9065ff56babe: Waiting [2021-11-19T18:19:44.419Z] d287ab97295c: Waiting [2021-11-19T18:19:44.419Z] a1111a8f2ec3: Verifying Checksum [2021-11-19T18:19:44.419Z] a1111a8f2ec3: Download complete [2021-11-19T18:19:44.419Z] dc539afda2c1: Verifying Checksum [2021-11-19T18:19:44.419Z] dc539afda2c1: Download complete [2021-11-19T18:19:44.419Z] ed53099fbce6: Verifying Checksum [2021-11-19T18:19:44.419Z] ed53099fbce6: Download complete [2021-11-19T18:19:44.687Z] 9065ff56babe: Verifying Checksum [2021-11-19T18:19:44.687Z] 9065ff56babe: Download complete [2021-11-19T18:19:44.687Z] 77bc0d833cb6: Verifying Checksum [2021-11-19T18:19:44.687Z] 77bc0d833cb6: Download complete [2021-11-19T18:19:44.687Z] b4d181a07f80: Verifying Checksum [2021-11-19T18:19:44.687Z] b4d181a07f80: Download complete [2021-11-19T18:19:45.290Z] d287ab97295c: Verifying Checksum [2021-11-19T18:19:45.290Z] d287ab97295c: Download complete [2021-11-19T18:19:46.236Z] b4d181a07f80: Pull complete [2021-11-19T18:19:46.236Z] a1111a8f2ec3: Pull complete [2021-11-19T18:19:46.811Z] ed53099fbce6: Pull complete [2021-11-19T18:19:46.811Z] dc539afda2c1: Pull complete [2021-11-19T18:19:47.079Z] 77bc0d833cb6: Pull complete [2021-11-19T18:19:47.079Z] 9065ff56babe: Pull complete [2021-11-19T18:19:52.434Z] d287ab97295c: Pull complete [2021-11-19T18:19:52.434Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-19T18:19:52.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-19T18:19:52.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-19T18:19:52.515Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2021-11-19T18:19:52.552Z] $ 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/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-19T18:19:54.899Z] $ docker top 3fa37b9c7386a51a2c82f562b2423ffcd6a883c8424cdde2c8b706a9d4453f74 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-19T18:19:55.273Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-19T18:19:55.571Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-19T18:19:55.866Z] + ls /var/log/sa-host [2021-11-19T18:19:55.866Z] + sadf -c /var/log/sa-host/sa19 [2021-11-19T18:19:55.866Z] file_magic: OK [2021-11-19T18:19:55.866Z] HZ: Using current value: 100 [2021-11-19T18:19:55.866Z] file_header: OK [2021-11-19T18:19:55.866Z] 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 [2021-11-19T18:19:55.866Z] Statistics: [2021-11-19T18:19:55.866Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-19T18:19:55.866Z] File successfully converted to sysstat format version 12.0.3 [2021-11-19T18:19:55.866Z] + sadf -c /var/log/sa-host/sa30 [2021-11-19T18:19:55.866Z] file_magic: OK [2021-11-19T18:19:55.866Z] HZ: Using current value: 100 [2021-11-19T18:19:55.866Z] file_header: OK [2021-11-19T18:19:55.866Z] 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 [2021-11-19T18:19:55.866Z] Statistics: [2021-11-19T18:19:55.866Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-19T18:19:55.866Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-19T18:19:56.136Z] provisioning config files... [2021-11-19T18:19:56.148Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config7429761745914016215tmp [Pipeline] { [Pipeline] echo [2021-11-19T18:19:56.165Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:56.451Z] ---> create-netrc.sh [Pipeline] } [2021-11-19T18:19:56.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:56.796Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-19T18:19:56.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:57.110Z] ---> sudo-logs.sh [2021-11-19T18:19:57.111Z] Archiving 'sudo' log.. [2021-11-19T18:19:57.111Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-176.novalocal: Name or service not known [2021-11-19T18:19:57.111Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-176.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-19T18:19:57.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:57.432Z] ---> job-cost.sh [2021-11-19T18:19:57.432Z] lf-activate-venv: SKIPPING [2021-11-19T18:19:57.432Z] DEBUG: total: 0.10999999940395355 [2021-11-19T18:19:57.432Z] INFO: Retrieving Stack Cost... [2021-11-19T18:19:58.004Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-19T18:19:58.264Z] INFO: Archiving Costs [Pipeline] echo [2021-11-19T18:19:58.277Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-19T18:19:58.569Z] ---> logs-deploy.sh [2021-11-19T18:19:58.569Z] lf-activate-venv: SKIPPING [2021-11-19T18:19:58.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/37 [2021-11-19T18:19:58.569Z] INFO: archiving workspace using pattern(s): [2021-11-19T18:19:59.142Z] Archives upload complete. [2021-11-19T18:19:59.403Z] INFO: archiving logs to Nexus