Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 354093ed76bafc9ccf1014354cec2dcad1025761 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-ssh11885086942394459451.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh5286524509939114129.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh7906889872043560742.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13867726835076402879.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh16385827946768490393.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64417 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 354093ed76bafc9ccf1014354cec2dcad1025761 (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 354093ed76bafc9ccf1014354cec2dcad1025761 # timeout=10 Commit message: "fix: Correctly set the App and SDK versions when building the binary (#424)" > git rev-list --no-walk 1aebe0375d702ec5557b529d86506036d5612df5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:21:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:21:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:21:39 ========================================================= 22:21:39 EdgeX Global Pipelines Version Info 22:21:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:21:40 ------------------- 22:21:40 stable info: 22:21:40 ------------------- 22:21:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:21:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:21:40 Message: update stable to v1.0.230 22:21:41 ------------------- 22:21:41 experimental info: 22:21:41 ------------------- 22:21:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:21:41 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:21:41 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 354093e [Pipeline] echo 22:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:41 provisioning config files... 22:21:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config5628860252520437221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:42 ---> docker-login.sh 22:21:42 nexus3.edgexfoundry.org:10001 22:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:42 Configure a credential helper to remove this warning. See 22:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:42 22:21:42 Login Succeeded 22:21:42 nexus3.edgexfoundry.org:10002 22:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:42 Configure a credential helper to remove this warning. See 22:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:42 22:21:42 Login Succeeded 22:21:42 nexus3.edgexfoundry.org:10003 22:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:43 Configure a credential helper to remove this warning. See 22:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:43 22:21:43 Login Succeeded 22:21:43 nexus3.edgexfoundry.org:10004 22:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:43 Configure a credential helper to remove this warning. See 22:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:43 22:21:43 Login Succeeded 22:21:43 docker.io 22:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:43 Configure a credential helper to remove this warning. See 22:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:43 22:21:43 Login Succeeded 22:21:43 ---> docker-login.sh ends [Pipeline] } 22:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:21:43 + git rev-list -1 --merges 354093ed76bafc9ccf1014354cec2dcad1025761~1..354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] echo 22:21:44 -----------> git rev-list -1 --merges 354093ed76bafc9ccf1014354cec2dcad1025761~1..354093ed76bafc9ccf1014354cec2dcad1025761 354093ed76bafc9ccf1014354cec2dcad1025761 [false] [Pipeline] sh 22:21:44 + git log --format=format:%s -1 354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] echo 22:21:44 ========================================================= 22:21:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:21:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:44 + git log --format=format:%s -1 354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] echo 22:21:44 [semverPrep] GIT_COMMIT: 354093ed76bafc9ccf1014354cec2dcad1025761, Commit Message: fix: Correctly set the App and SDK versions when building the binary (#424) [Pipeline] echo 22:21:44 [semverPrep] This is not a build commit. [Pipeline] sh 22:21:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:45 + grep -v github /etc/ssh/ssh_known_hosts 22:21:45 + [ -e /tmp/ssh_known_hosts ] 22:21:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:21:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:21:45 + sudo tee -a /etc/ssh/ssh_known_hosts 22:21:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:21:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:21:45 22:21:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:21:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:21:45 latest: Pulling from edgex-devops/py-git-semver 22:21:45 1fe172e4850f: Pulling fs layer 22:21:45 caf521ccaac6: Pulling fs layer 22:21:45 3ead6fa29328: Pulling fs layer 22:21:45 5c2a1cbceb83: Pulling fs layer 22:21:45 a8d5f1318db7: Pulling fs layer 22:21:45 c427282e49a2: Pulling fs layer 22:21:45 1827001aaf11: Pulling fs layer 22:21:45 0714d37db230: Pulling fs layer 22:21:45 ac28cf19c067: Pulling fs layer 22:21:45 ca983d60f3e2: Pulling fs layer 22:21:45 9f894cec8388: Pulling fs layer 22:21:45 c427282e49a2: Waiting 22:21:45 ac28cf19c067: Waiting 22:21:45 ca983d60f3e2: Waiting 22:21:45 9f894cec8388: Waiting 22:21:45 1827001aaf11: Waiting 22:21:45 5c2a1cbceb83: Waiting 22:21:45 0714d37db230: Waiting 22:21:45 a8d5f1318db7: Waiting 22:21:45 caf521ccaac6: Download complete 22:21:45 5c2a1cbceb83: Verifying Checksum 22:21:45 5c2a1cbceb83: Download complete 22:21:46 a8d5f1318db7: Verifying Checksum 22:21:46 a8d5f1318db7: Download complete 22:21:46 3ead6fa29328: Verifying Checksum 22:21:46 3ead6fa29328: Download complete 22:21:46 c427282e49a2: Download complete 22:21:46 0714d37db230: Download complete 22:21:46 ac28cf19c067: Verifying Checksum 22:21:46 ac28cf19c067: Download complete 22:21:46 ca983d60f3e2: Download complete 22:21:46 9f894cec8388: Verifying Checksum 22:21:46 9f894cec8388: Download complete 22:21:46 1fe172e4850f: Verifying Checksum 22:21:46 1fe172e4850f: Download complete 22:21:46 1827001aaf11: Verifying Checksum 22:21:46 1827001aaf11: Download complete 22:21:47 1fe172e4850f: Pull complete 22:21:47 caf521ccaac6: Pull complete 22:21:48 3ead6fa29328: Pull complete 22:21:48 5c2a1cbceb83: Pull complete 22:21:48 a8d5f1318db7: Pull complete 22:21:48 c427282e49a2: Pull complete 22:21:50 1827001aaf11: Pull complete 22:21:50 0714d37db230: Pull complete 22:21:51 ac28cf19c067: Pull complete 22:21:51 ca983d60f3e2: Pull complete 22:21:51 9f894cec8388: Pull complete 22:21:51 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:21:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:21:51 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:21:51 $ 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:10003/edgex-devops/py-git-semver:latest cat 22:21:52 $ docker top ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc -eo pid,comm 22:21:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:21:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:52 [ssh-agent] Looking for ssh-agent implementation... 22:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:52 $ docker exec ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc ssh-agent 22:21:53 SSH_AUTH_SOCK=/tmp/ssh-CFLDB9r5FI6o/agent.34 22:21:53 SSH_AGENT_PID=40 22:21:53 Running ssh-add (command line suppressed) 22:21:53 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_6157117824510846293.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_6157117824510846293.key) 22:21:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:53 + git tag --points-at HEAD [Pipeline] } 22:21:53 $ docker exec --env ******** --env ******** ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc ssh-agent -k 22:21:53 unset SSH_AUTH_SOCK; 22:21:53 unset SSH_AGENT_PID; 22:21:53 echo Agent pid 40 killed; 22:21:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:21:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:53 [ssh-agent] Looking for ssh-agent implementation... 22:21:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:53 $ docker exec ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc ssh-agent 22:21:53 SSH_AUTH_SOCK=/tmp/ssh-TKFXz3jawMOg/agent.73 22:21:53 SSH_AGENT_PID=79 22:21:53 Running ssh-add (command line suppressed) 22:21:54 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_5587357998793126855.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_5587357998793126855.key) 22:21:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:54 + git semver init 22:21:54 2022-05-23 22:21:54,588 [run_init] DEBUG init version:0.0.0 force:False 22:21:54 2022-05-23 22:21:54,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-service-configurable_main/.semver 22:21:54 2022-05-23 22:21:54,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ry_app-service-configurable_main/.semver 22:21:54 2022-05-23 22:21:54,589 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/ry_app-service-configurable_main/.semver'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:21:55 2022-05-23 22:21:55,260 [append_file] DEBUG append to file:/w/workspace/ry_app-service-configurable_main/.git/info/exclude 22:21:55 2022-05-23 22:21:55,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:False 22:21:55 2022-05-23 22:21:55,262 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:21:55 2022-05-23 22:21:55,262 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:21:55 2.2.1-dev.1 [Pipeline] } 22:21:55 $ docker exec --env ******** --env ******** ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc ssh-agent -k 22:21:55 unset SSH_AUTH_SOCK; 22:21:55 unset SSH_AGENT_PID; 22:21:55 echo Agent pid 79 killed; 22:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:56 + git semver [Pipeline] } 22:21:56 $ docker stop --time=1 ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc 22:21:57 $ docker rm -f ccdf31c7c922fc8c28116f64be736f57e6b175802f7e70fef7f417fe07fb51dc [Pipeline] // withDockerContainer [Pipeline] sh 22:21:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:21:58 Stashed 1 file(s) [Pipeline] echo 22:21:58 [edgeXSemver]: initialized semver on version 2.2.1-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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:58 provisioning config files... 22:21:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3438662206933652701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:58 ---> docker-login.sh 22:21:58 nexus3.edgexfoundry.org:10001 22:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:58 Configure a credential helper to remove this warning. See 22:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:58 22:21:58 Login Succeeded 22:21:58 nexus3.edgexfoundry.org:10002 22:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:59 Configure a credential helper to remove this warning. See 22:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:59 22:21:59 Login Succeeded 22:21:59 nexus3.edgexfoundry.org:10003 22:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:59 Configure a credential helper to remove this warning. See 22:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:59 22:21:59 Login Succeeded 22:21:59 nexus3.edgexfoundry.org:10004 22:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:59 Configure a credential helper to remove this warning. See 22:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:59 22:21:59 Login Succeeded 22:21:59 docker.io 22:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:59 Configure a credential helper to remove this warning. See 22:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:59 22:21:59 Login Succeeded 22:21:59 ---> docker-login.sh ends [Pipeline] } 22:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:59 ========================================================= 22:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:21:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:21:59 Sending build context to Docker daemon 3.071MB 22:21:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:21:59 Step 2/13 : FROM ${BASE} AS builder 22:21:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:21:59 59bf1c3509f3: Pulling fs layer 22:21:59 666ba61612fd: Pulling fs layer 22:21:59 8ed8ca486205: Pulling fs layer 22:21:59 4fe6c5a15a65: Pulling fs layer 22:21:59 22a0e8bec74d: Pulling fs layer 22:21:59 ca2b28591e48: Pulling fs layer 22:21:59 a51346096db8: Pulling fs layer 22:21:59 daebc70d1ce1: Pulling fs layer 22:21:59 0e18a0eac166: Pulling fs layer 22:21:59 4fe6c5a15a65: Waiting 22:21:59 22a0e8bec74d: Waiting 22:21:59 daebc70d1ce1: Waiting 22:21:59 0e18a0eac166: Waiting 22:21:59 a51346096db8: Waiting 22:21:59 ca2b28591e48: Waiting 22:21:59 8ed8ca486205: Verifying Checksum 22:21:59 8ed8ca486205: Download complete 22:21:59 666ba61612fd: Download complete 22:21:59 22a0e8bec74d: Verifying Checksum 22:21:59 22a0e8bec74d: Download complete 22:21:59 ca2b28591e48: Verifying Checksum 22:21:59 ca2b28591e48: Download complete 22:21:59 59bf1c3509f3: Verifying Checksum 22:21:59 59bf1c3509f3: Download complete 22:21:59 a51346096db8: Download complete 22:22:00 daebc70d1ce1: Verifying Checksum 22:22:00 daebc70d1ce1: Download complete 22:22:00 59bf1c3509f3: Pull complete 22:22:00 666ba61612fd: Pull complete 22:22:00 8ed8ca486205: Pull complete 22:22:00 0e18a0eac166: Verifying Checksum 22:22:00 0e18a0eac166: Download complete 22:22:00 4fe6c5a15a65: Verifying Checksum 22:22:00 4fe6c5a15a65: Download complete 22:22:05 4fe6c5a15a65: Pull complete 22:22:05 22a0e8bec74d: Pull complete 22:22:05 ca2b28591e48: Pull complete 22:22:05 a51346096db8: Pull complete 22:22:05 daebc70d1ce1: Pull complete 22:22:07 0e18a0eac166: Pull complete 22:22:07 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:22:07 ---> f018257e8ee9 22:22:07 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:22:09 ---> Running in b1b5380607ab 22:22:09 Removing intermediate container b1b5380607ab 22:22:09 ---> f7b0c1e849ad 22:22:09 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:22:09 ---> Running in 2bcf45335bda 22:22:09 Removing intermediate container 2bcf45335bda 22:22:09 ---> 38d6b93b80b6 22:22:09 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:22:09 ---> Running in 20a2a4817f53 22:22:09 Removing intermediate container 20a2a4817f53 22:22:09 ---> 8f01da86c1d6 22:22:09 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:09 ---> Running in 29b089afe909 22:22:09 Removing intermediate container 29b089afe909 22:22:09 ---> 378055c4987d 22:22:09 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:09 ---> Running in ccd178da0f1d 22:22:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:22:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:22:11 OK: 221 MiB in 52 packages 22:22:11 Removing intermediate container ccd178da0f1d 22:22:11 ---> dd713e1fe7c6 22:22:11 Step 8/13 : WORKDIR /app 22:22:11 ---> Running in 6f679070d7ce 22:22:11 Removing intermediate container 6f679070d7ce 22:22:11 ---> d6045417cd30 22:22:11 Step 9/13 : COPY go.mod vendor* ./ 22:22:12 ---> 30805246484e 22:22:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:12 ---> Running in 6f868fff6085 22:22:13 Still waiting to schedule task 22:22:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:22:34 Removing intermediate container 6f868fff6085 22:22:34 ---> b54a6f12f92e 22:22:34 Step 11/13 : COPY . . 22:22:34 ---> a02ee55eb001 22:22:34 Step 12/13 : ARG MAKE="make build" 22:22:34 ---> Running in e85abac5dcf1 22:22:34 Removing intermediate container e85abac5dcf1 22:22:34 ---> 09912d082843 22:22:34 Step 13/13 : RUN $MAKE 22:22:34 ---> Running in 1444ab212312 22:22:34 noop 22:22:34 Removing intermediate container 1444ab212312 22:22:34 ---> c25aa4d2bf3c 22:22:34 Successfully built c25aa4d2bf3c 22:22:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:22:34 + docker inspect -f . ci-base-image-x86_64 22:22:34 . [Pipeline] withDockerContainer 22:22:34 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:22:34 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:22:34 $ docker top 01b501b0f2ce3ec86ad83c5ad52ff231d8ac8cd28c6e830389f818b30ee74d8a -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:35 + go version 22:22:35 go version go1.17.6 linux/amd64 [Pipeline] } 22:22:35 $ docker stop --time=1 01b501b0f2ce3ec86ad83c5ad52ff231d8ac8cd28c6e830389f818b30ee74d8a 22:22:36 $ docker rm -f 01b501b0f2ce3ec86ad83c5ad52ff231d8ac8cd28c6e830389f818b30ee74d8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:22:37 + docker inspect -f . ci-base-image-x86_64 22:22:37 . [Pipeline] withDockerContainer 22:22:37 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:22:37 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:22:37 $ docker top 0e3a3c23fabaab865a599f2c767fadd60cfbac3dc093c9af1f392f2af76f8e2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:22:38 + make test 22:22:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:22:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:22:48 CGO_ENABLED=1 go vet ./... 22:22:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:22:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:22:52 ./bin/test-attribution-txt.sh [Pipeline] echo 22:22:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:22:52 $ docker stop --time=1 0e3a3c23fabaab865a599f2c767fadd60cfbac3dc093c9af1f392f2af76f8e2b 22:22:54 $ docker rm -f 0e3a3c23fabaab865a599f2c767fadd60cfbac3dc093c9af1f392f2af76f8e2b [Pipeline] // withDockerContainer [Pipeline] sh 22:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:56 + ls -al . 22:22:56 total 168 22:22:56 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:22 . 22:22:56 drwxrwxr-x 4 jenkins jenkins 4096 May 23 22:21 .. 22:22:56 -rw-rw-r-- 1 jenkins jenkins 119 May 23 22:21 .dockerignore 22:22:56 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:21 .git 22:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:21 .github 22:22:56 -rw-rw-r-- 1 jenkins jenkins 104 May 23 22:21 .gitignore 22:22:56 drwxr-xr-x 3 jenkins jenkins 4096 May 23 22:21 .semver 22:22:56 -rw-rw-r-- 1 jenkins jenkins 8695 May 23 22:21 Attribution.txt 22:22:56 -rw-rw-r-- 1 jenkins jenkins 27269 May 23 22:21 CHANGELOG.md 22:22:56 -rw-rw-r-- 1 jenkins jenkins 2087 May 23 22:21 Dockerfile 22:22:56 -rw-rw-r-- 1 jenkins jenkins 677 May 23 22:21 GOVERNANCE.md 22:22:56 -rw-rw-r-- 1 jenkins jenkins 688 May 23 22:21 Jenkinsfile 22:22:56 -rw-rw-r-- 1 jenkins jenkins 10174 May 23 22:21 LICENSE 22:22:56 -rw-rw-r-- 1 jenkins jenkins 618 May 23 22:21 OWNERS.md 22:22:56 -rw-rw-r-- 1 jenkins jenkins 3718 May 23 22:21 README.md 22:22:56 -rw-rw-r-- 1 jenkins jenkins 11 May 23 22:21 VERSION 22:22:56 drwxrwxr-x 2 jenkins jenkins 4096 May 23 22:21 bin 22:22:56 -rw-r--r-- 1 jenkins jenkins 10 May 23 22:22 coverage.out 22:22:56 -rw-rw-r-- 1 jenkins jenkins 3222 May 23 22:21 go.mod 22:22:56 -rw-rw-r-- 1 jenkins jenkins 34558 May 23 22:21 go.sum 22:22:56 -rw-rw-r-- 1 jenkins jenkins 1949 May 23 22:21 main.go 22:22:56 -rw-rw-r-- 1 jenkins jenkins 1972 May 23 22:21 makefile 22:22:56 drwxrwxr-x 10 jenkins jenkins 4096 May 23 22:21 res 22:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:21 snap [Pipeline] isUnix [Pipeline] sh 22:22:56 + 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=354093ed76bafc9ccf1014354cec2dcad1025761 --label arch=amd64 --label version=2.2.1-dev.1 . 22:22:56 Sending build context to Docker daemon 3.072MB 22:22:56 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 22:22:56 Step 2/27 : FROM ${BASE} AS builder 22:22:56 ---> c25aa4d2bf3c 22:22:56 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:22:56 ---> Running in 9c2959578a25 22:22:56 Removing intermediate container 9c2959578a25 22:22:56 ---> 41859bcbeb6f 22:22:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:22:56 ---> Running in a54ed438f5a6 22:22:56 Removing intermediate container a54ed438f5a6 22:22:56 ---> 95afb8da85c7 22:22:56 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:22:56 ---> Running in 8045d3ab5248 22:22:56 Removing intermediate container 8045d3ab5248 22:22:56 ---> 3500814d0e7f 22:22:56 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:56 ---> Running in 05f3efd94d21 22:22:57 Removing intermediate container 05f3efd94d21 22:22:57 ---> 62c0390290ec 22:22:57 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:57 ---> Running in bfd0fff4ace7 22:22:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:22:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:22:59 OK: 221 MiB in 52 packages 22:22:59 Removing intermediate container bfd0fff4ace7 22:22:59 ---> 43d760fb3921 22:22:59 Step 8/27 : WORKDIR /app 22:22:59 ---> Running in d73aeb87fa99 22:22:59 Removing intermediate container d73aeb87fa99 22:22:59 ---> fb16ec9efd93 22:22:59 Step 9/27 : COPY go.mod vendor* ./ 22:22:59 ---> 8915243c1023 22:22:59 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:59 ---> Running in 3dbd86ff82fa 22:23:00 Removing intermediate container 3dbd86ff82fa 22:23:00 ---> 385f9e849c25 22:23:00 Step 11/27 : COPY . . 22:23:00 ---> fd6b371f2248 22:23:00 Step 12/27 : ARG MAKE="make build" 22:23:00 ---> Running in 0ee3d821e5cc 22:23:00 Removing intermediate container 0ee3d821e5cc 22:23:00 ---> bd3ffb6b9870 22:23:00 Step 13/27 : RUN $MAKE 22:23:00 ---> Running in ea31316636cb 22:23:01 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:23:23 Removing intermediate container ea31316636cb 22:23:23 ---> bb93b5688e71 22:23:23 Step 14/27 : FROM alpine:3.14 22:23:23 3.14: Pulling from library/alpine 22:23:23 8663204ce13b: Pulling fs layer 22:23:23 8663204ce13b: Verifying Checksum 22:23:23 8663204ce13b: Download complete 22:23:23 8663204ce13b: Pull complete 22:23:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:23:23 Status: Downloaded newer image for alpine:3.14 22:23:23 ---> e04c818066af 22:23:23 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:23:23 ---> Running in 76b1d3d9f94f 22:23:23 Removing intermediate container 76b1d3d9f94f 22:23:23 ---> 2517a0db5ae1 22:23:23 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:23:23 ---> Running in 3f79813e1827 22:23:23 Removing intermediate container 3f79813e1827 22:23:23 ---> 60c661714bab 22:23:23 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:23:23 ---> Running in c4835366bc2e 22:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:23:23 (1/7) Installing ca-certificates (20211220-r0) 22:23:23 (2/7) Installing dumb-init (1.2.5-r1) 22:23:23 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:23:23 (4/7) Installing libsodium (1.0.18-r0) 22:23:23 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:23:23 (6/7) Installing libzmq (4.3.4-r0) 22:23:23 (7/7) Installing zeromq (4.3.4-r0) 22:23:23 Executing busybox-1.33.1-r7.trigger 22:23:23 Executing ca-certificates-20211220-r0.trigger 22:23:23 OK: 9 MiB in 21 packages 22:23:24 Removing intermediate container c4835366bc2e 22:23:24 ---> facabdf9fb99 22:23:24 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:23:24 ---> d3be6257fad3 22:23:24 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:23:24 ---> c604fe2113b1 22:23:24 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:23:24 ---> 02c7e433dd84 22:23:24 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:23:25 ---> e662d196ebb5 22:23:25 Step 22/27 : EXPOSE 48095 22:23:25 ---> Running in a4312f4aca65 22:23:25 Removing intermediate container a4312f4aca65 22:23:25 ---> 39390807b97d 22:23:25 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:23:25 ---> Running in 0ca897673d1f 22:23:25 Removing intermediate container 0ca897673d1f 22:23:25 ---> 8720c1643020 22:23:25 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:23:25 ---> Running in c3357d354736 22:23:25 Removing intermediate container c3357d354736 22:23:25 ---> eb09be01b957 22:23:25 Step 25/27 : LABEL arch=amd64 22:23:25 ---> Running in 171b16ce255a 22:23:25 Removing intermediate container 171b16ce255a 22:23:25 ---> 3aa3fac811ed 22:23:25 Step 26/27 : LABEL git_sha=354093ed76bafc9ccf1014354cec2dcad1025761 22:23:25 ---> Running in a1484d17c083 22:23:25 Removing intermediate container a1484d17c083 22:23:25 ---> f6a299c813a6 22:23:25 Step 27/27 : LABEL version=2.2.1-dev.1 22:23:26 ---> Running in e1c5793bf14d 22:23:26 Removing intermediate container e1c5793bf14d 22:23:26 ---> 02a27cae4411 22:23:26 [Warning] One or more build-args [ARCH] were not consumed 22:23:26 Successfully built 02a27cae4411 22:23:26 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:26 provisioning config files... 22:23:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config7397560948002075558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:26 ---> docker-login.sh 22:23:26 nexus3.edgexfoundry.org:10001 22:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:26 Configure a credential helper to remove this warning. See 22:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:26 22:23:26 Login Succeeded 22:23:26 nexus3.edgexfoundry.org:10002 22:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:26 Configure a credential helper to remove this warning. See 22:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:26 22:23:26 Login Succeeded 22:23:26 nexus3.edgexfoundry.org:10003 22:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:26 Configure a credential helper to remove this warning. See 22:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:26 22:23:26 Login Succeeded 22:23:26 nexus3.edgexfoundry.org:10004 22:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:26 Configure a credential helper to remove this warning. See 22:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:26 22:23:26 Login Succeeded 22:23:26 docker.io 22:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:27 Configure a credential helper to remove this warning. See 22:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:27 22:23:27 Login Succeeded 22:23:27 ---> docker-login.sh ends [Pipeline] } 22:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:27 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 22:23:27 354093ed76bafc9ccf1014354cec2dcad1025761 22:23:27 latest 22:23:27 2.2.1-dev.1 22:23:27 354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:23:27 main 22:23:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:23:27 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] isUnix [Pipeline] sh 22:23:27 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761 22:23:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:23:27 ad3d624c2e0c: Preparing 22:23:27 45dd6a657cd4: Preparing 22:23:27 26ffacf0e525: Preparing 22:23:27 1e748ae5996f: Preparing 22:23:27 69aeaa131fac: Preparing 22:23:27 b541d28bf3b4: Preparing 22:23:27 b541d28bf3b4: Waiting 22:23:27 45dd6a657cd4: Pushed 22:23:27 26ffacf0e525: Pushed 22:23:27 1e748ae5996f: Pushed 22:23:27 b541d28bf3b4: Layer already exists 22:23:28 69aeaa131fac: Pushed 22:23:30 ad3d624c2e0c: Pushed 22:23:30 354093ed76bafc9ccf1014354cec2dcad1025761: digest: sha256:572cda99dd3dce404ba0bb3bbd2387155f829c60a867c288c6fabb544be5c51e size: 1575 [Pipeline] isUnix [Pipeline] sh 22:23:30 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 22:23:30 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 22:23:30 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:23:30 ad3d624c2e0c: Preparing 22:23:30 45dd6a657cd4: Preparing 22:23:30 26ffacf0e525: Preparing 22:23:30 1e748ae5996f: Preparing 22:23:30 69aeaa131fac: Preparing 22:23:30 b541d28bf3b4: Preparing 22:23:30 b541d28bf3b4: Waiting 22:23:30 26ffacf0e525: Layer already exists 22:23:30 69aeaa131fac: Layer already exists 22:23:30 45dd6a657cd4: Layer already exists 22:23:30 ad3d624c2e0c: Layer already exists 22:23:30 1e748ae5996f: Layer already exists 22:23:30 b541d28bf3b4: Layer already exists 22:23:30 latest: digest: sha256:572cda99dd3dce404ba0bb3bbd2387155f829c60a867c288c6fabb544be5c51e size: 1575 [Pipeline] isUnix [Pipeline] sh 22:23:31 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:23:31 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.1-dev.1 22:23:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:23:31 ad3d624c2e0c: Preparing 22:23:31 45dd6a657cd4: Preparing 22:23:31 26ffacf0e525: Preparing 22:23:31 1e748ae5996f: Preparing 22:23:31 69aeaa131fac: Preparing 22:23:31 b541d28bf3b4: Preparing 22:23:31 b541d28bf3b4: Waiting 22:23:31 45dd6a657cd4: Layer already exists 22:23:31 1e748ae5996f: Layer already exists 22:23:31 ad3d624c2e0c: Layer already exists 22:23:31 26ffacf0e525: Layer already exists 22:23:31 69aeaa131fac: Layer already exists 22:23:31 b541d28bf3b4: Layer already exists 22:23:31 2.2.1-dev.1: digest: sha256:572cda99dd3dce404ba0bb3bbd2387155f829c60a867c288c6fabb544be5c51e size: 1575 [Pipeline] isUnix [Pipeline] sh 22:23:31 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:23:32 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:23:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:23:32 ad3d624c2e0c: Preparing 22:23:32 45dd6a657cd4: Preparing 22:23:32 26ffacf0e525: Preparing 22:23:32 1e748ae5996f: Preparing 22:23:32 69aeaa131fac: Preparing 22:23:32 b541d28bf3b4: Preparing 22:23:32 b541d28bf3b4: Waiting 22:23:32 45dd6a657cd4: Layer already exists 22:23:32 69aeaa131fac: Layer already exists 22:23:32 26ffacf0e525: Layer already exists 22:23:32 ad3d624c2e0c: Layer already exists 22:23:32 1e748ae5996f: Layer already exists 22:23:32 b541d28bf3b4: Layer already exists 22:23:32 354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1: digest: sha256:572cda99dd3dce404ba0bb3bbd2387155f829c60a867c288c6fabb544be5c51e size: 1575 [Pipeline] isUnix [Pipeline] sh 22:23:32 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] isUnix [Pipeline] sh 22:23:32 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 22:23:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:23:32 ad3d624c2e0c: Preparing 22:23:32 45dd6a657cd4: Preparing 22:23:32 26ffacf0e525: Preparing 22:23:32 1e748ae5996f: Preparing 22:23:32 69aeaa131fac: Preparing 22:23:32 b541d28bf3b4: Preparing 22:23:32 b541d28bf3b4: Waiting 22:23:32 1e748ae5996f: Layer already exists 22:23:32 ad3d624c2e0c: Layer already exists 22:23:32 45dd6a657cd4: Layer already exists 22:23:32 26ffacf0e525: Layer already exists 22:23:32 69aeaa131fac: Layer already exists 22:23:32 b541d28bf3b4: Layer already exists 22:23:32 main: digest: sha256:572cda99dd3dce404ba0bb3bbd2387155f829c60a867c288c6fabb544be5c51e size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:23:32 ===================================================== [Pipeline] echo 22:23:32 taggedImages: 22:23:32 - nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761 22:23:32 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 22:23:32 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.1-dev.1 22:23:32 - nexus3.edgexfoundry.org:10004/app-service-configurable:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:23:32 - nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:33 22:23:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:23:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:33 latest: Pulling from edgex-lftools-log-publisher 22:23:33 5eb5b503b376: Pulling fs layer 22:23:33 5c69ac0246d0: Pulling fs layer 22:23:33 ec43610c2a17: Pulling fs layer 22:23:33 3a2ae6a8a46f: Pulling fs layer 22:23:33 33b1e0a273af: Pulling fs layer 22:23:33 5d3b04190fa2: Pulling fs layer 22:23:33 2f39f015ded8: Pulling fs layer 22:23:33 5d3b04190fa2: Waiting 22:23:33 33b1e0a273af: Waiting 22:23:33 2f39f015ded8: Waiting 22:23:33 3a2ae6a8a46f: Waiting 22:23:33 5c69ac0246d0: Verifying Checksum 22:23:33 5c69ac0246d0: Download complete 22:23:33 3a2ae6a8a46f: Verifying Checksum 22:23:33 3a2ae6a8a46f: Download complete 22:23:33 33b1e0a273af: Verifying Checksum 22:23:33 33b1e0a273af: Download complete 22:23:33 5d3b04190fa2: Verifying Checksum 22:23:33 5d3b04190fa2: Download complete 22:23:33 ec43610c2a17: Verifying Checksum 22:23:33 ec43610c2a17: Download complete 22:23:33 5eb5b503b376: Verifying Checksum 22:23:33 5eb5b503b376: Download complete 22:23:34 2f39f015ded8: Download complete 22:23:34 5eb5b503b376: Pull complete 22:23:35 5c69ac0246d0: Pull complete 22:23:35 ec43610c2a17: Pull complete 22:23:35 3a2ae6a8a46f: Pull complete 22:23:35 33b1e0a273af: Pull complete 22:23:35 5d3b04190fa2: Pull complete 22:23:40 2f39f015ded8: Pull complete 22:23:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:23:40 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:23:40 $ 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/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-lftools-log-publisher:latest cat 22:23:42 $ docker top bd8c6d357a6abf669323faeef816b843f460f85225fc5cecf463623f954e83ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:42 ---> job-cost.sh 22:23:42 lf-activate-venv: SKIPPING 22:23:42 INFO: No Stack... 22:23:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:43 INFO: Archiving Costs [Pipeline] sh 22:23:44 + cat /w/workspace/ry_app-service-configurable_main/archives/cost.csv 22:23:44 + cut -d, -f6 [Pipeline] lock 22:23:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] 22:23:44 Resource [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] did not exist. Created. 22:23:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:44 + echo total: 0.2199999988079071 [Pipeline] stash 22:23:44 Stashed 1 file(s) [Pipeline] } 22:23:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:44 $ docker stop --time=1 bd8c6d357a6abf669323faeef816b843f460f85225fc5cecf463623f954e83ee 22:23:45 $ docker rm -f bd8c6d357a6abf669323faeef816b843f460f85225fc5cecf463623f954e83ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:23:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64418 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 22:23:53 Running in /w/workspace/app-service-configurable/77 [Pipeline] { [Pipeline] checkout 22:23:53 Selected Git installation does not exist. Using Default 22:23:53 The recommended git tool is: NONE 22:23:59 using credential edgex-jenkins-ssh 22:23:59 Cloning the remote Git repository 22:23:59 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:23:59 > git init /w/workspace/app-service-configurable/77 # timeout=10 22:23:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:23:59 > git --version # timeout=10 22:23:59 > git --version # 'git version 2.25.1' 22:23:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:00 Avoid second fetch 22:24:00 Checking out Revision 354093ed76bafc9ccf1014354cec2dcad1025761 (main) 22:24:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:24:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:00 > git config core.sparsecheckout # timeout=10 22:24:00 > git checkout -f 354093ed76bafc9ccf1014354cec2dcad1025761 # timeout=10 22:24:04 Commit message: "fix: Correctly set the App and SDK versions when building the binary (#424)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:24:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:24:05 Dload Upload Total Spent Left Speed 22:24:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51483 0 --:--:-- --:--:-- --:--:-- 51483 [Pipeline] sh 22:24:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:24:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:24:06 + sudo tee /etc/docker/daemon.new 22:24:06 { 22:24:06 "registry-mirrors": [ 22:24:06 "https://nexus3.edgexfoundry.org:10001" 22:24:06 ], 22:24:06 "bip": "10.250.0.254/24", 22:24:06 "hosts": [ 22:24:06 "tcp://0.0.0.0:5555", 22:24:06 "unix:///var/run/docker.sock" 22:24:06 ], 22:24:06 "mtu": 1458, 22:24:06 "selinux-enabled": true, 22:24:06 "seccomp-profile": "/etc/docker/seccomp.json" 22:24:06 } [Pipeline] sh 22:24:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:24:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:25 provisioning config files... 22:24:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/77@tmp/config3256794768424622791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:24:26 ---> docker-login.sh 22:24:26 nexus3.edgexfoundry.org:10001 22:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:26 Configure a credential helper to remove this warning. See 22:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:26 22:24:26 Login Succeeded 22:24:26 nexus3.edgexfoundry.org:10002 22:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:27 Configure a credential helper to remove this warning. See 22:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:27 22:24:27 Login Succeeded 22:24:27 nexus3.edgexfoundry.org:10003 22:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:27 Configure a credential helper to remove this warning. See 22:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:27 22:24:27 Login Succeeded 22:24:27 nexus3.edgexfoundry.org:10004 22:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:28 Configure a credential helper to remove this warning. See 22:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:28 22:24:28 Login Succeeded 22:24:28 docker.io 22:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:28 Configure a credential helper to remove this warning. See 22:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:28 22:24:28 Login Succeeded 22:24:28 ---> docker-login.sh ends [Pipeline] } 22:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:24:29 ========================================================= 22:24:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:24:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:24:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:24:29 Sending build context to Docker daemon 203.3kB 22:24:30 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:24:30 Step 2/13 : FROM ${BASE} AS builder 22:24:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:24:30 9b3977197b4f: Pulling fs layer 22:24:30 1a89e8eeedd5: Pulling fs layer 22:24:30 94645a83ff95: Pulling fs layer 22:24:30 3f3a8bcf1eab: Pulling fs layer 22:24:30 0c92f367c5e7: Pulling fs layer 22:24:30 3096ccb668a1: Pulling fs layer 22:24:30 e8cf19c19ddd: Pulling fs layer 22:24:30 a4caa8a26152: Pulling fs layer 22:24:30 3f3a8bcf1eab: Waiting 22:24:30 0c92f367c5e7: Waiting 22:24:30 3096ccb668a1: Waiting 22:24:30 e8cf19c19ddd: Waiting 22:24:30 a4caa8a26152: Waiting 22:24:30 94645a83ff95: Verifying Checksum 22:24:30 94645a83ff95: Download complete 22:24:30 1a89e8eeedd5: Verifying Checksum 22:24:30 1a89e8eeedd5: Download complete 22:24:30 0c92f367c5e7: Verifying Checksum 22:24:30 0c92f367c5e7: Download complete 22:24:30 9b3977197b4f: Verifying Checksum 22:24:30 9b3977197b4f: Download complete 22:24:30 3096ccb668a1: Verifying Checksum 22:24:30 3096ccb668a1: Download complete 22:24:30 e8cf19c19ddd: Download complete 22:24:30 9b3977197b4f: Pull complete 22:24:31 1a89e8eeedd5: Pull complete 22:24:31 94645a83ff95: Pull complete 22:24:32 a4caa8a26152: Verifying Checksum 22:24:32 a4caa8a26152: Download complete 22:24:32 3f3a8bcf1eab: Verifying Checksum 22:24:32 3f3a8bcf1eab: Download complete 22:24:45 3f3a8bcf1eab: Pull complete 22:24:45 0c92f367c5e7: Pull complete 22:24:45 3096ccb668a1: Pull complete 22:24:45 e8cf19c19ddd: Pull complete 22:24:52 a4caa8a26152: Pull complete 22:24:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:24:52 ---> 725f1c02e7f9 22:24:52 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:24:53 ---> Running in 0a6b98889606 22:24:53 Removing intermediate container 0a6b98889606 22:24:53 ---> 32dfa9286512 22:24:53 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:24:53 ---> Running in 6802bb62aec6 22:24:53 Removing intermediate container 6802bb62aec6 22:24:53 ---> 7ba1b65bd54a 22:24:53 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:24:53 ---> Running in 236b5996f02e 22:24:53 Removing intermediate container 236b5996f02e 22:24:53 ---> 1557c8ceb0f2 22:24:53 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:24:53 ---> Running in 75b8ff00862c 22:24:55 Removing intermediate container 75b8ff00862c 22:24:55 ---> cdebb6602d26 22:24:55 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:24:55 ---> Running in d7408c46fbb7 22:24:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:24:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:24:59 OK: 220 MiB in 52 packages 22:25:00 Removing intermediate container d7408c46fbb7 22:25:00 ---> 842ce904000e 22:25:00 Step 8/13 : WORKDIR /app 22:25:00 ---> Running in 9e02c301f612 22:25:01 Removing intermediate container 9e02c301f612 22:25:01 ---> 25a40a9a1b90 22:25:01 Step 9/13 : COPY go.mod vendor* ./ 22:25:01 ---> 38d1f54494ce 22:25:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:01 ---> Running in 3d456dc5fbc0 22:25:48 Removing intermediate container 3d456dc5fbc0 22:25:48 ---> 1ac9eb48eced 22:25:48 Step 11/13 : COPY . . 22:25:48 ---> 38f9e47bc093 22:25:48 Step 12/13 : ARG MAKE="make build" 22:25:48 ---> Running in ecc50121cd7b 22:25:48 Removing intermediate container ecc50121cd7b 22:25:48 ---> cd1dcf9b89e5 22:25:48 Step 13/13 : RUN $MAKE 22:25:48 ---> Running in 85ed26b4ea90 22:25:48 noop 22:25:48 Removing intermediate container 85ed26b4ea90 22:25:48 ---> 58fc0ee676b7 22:25:48 Successfully built 58fc0ee676b7 22:25:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:25:49 + docker inspect -f . ci-base-image-arm64 22:25:49 . [Pipeline] withDockerContainer 22:25:49 prd-ubuntu20.04-docker-arm64-4c-16g-64418 does not seem to be running inside a container 22:25:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/77 -v /w/workspace/app-service-configurable/77:/w/workspace/app-service-configurable/77:rw,z -v /w/workspace/app-service-configurable/77@tmp:/w/workspace/app-service-configurable/77@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 22:25:50 $ docker top c9e6d6da18c262908ce676b844b0308141674ae45208bd904e7c95c80735e82b -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:51 + go version 22:25:51 go version go1.17.6 linux/arm64 [Pipeline] } 22:25:51 $ docker stop --time=1 c9e6d6da18c262908ce676b844b0308141674ae45208bd904e7c95c80735e82b 22:25:53 $ docker rm -f c9e6d6da18c262908ce676b844b0308141674ae45208bd904e7c95c80735e82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:25:53 + docker inspect -f . ci-base-image-arm64 22:25:53 . [Pipeline] withDockerContainer 22:25:54 prd-ubuntu20.04-docker-arm64-4c-16g-64418 does not seem to be running inside a container 22:25:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/77 -v /w/workspace/app-service-configurable/77:/w/workspace/app-service-configurable/77:rw,z -v /w/workspace/app-service-configurable/77@tmp:/w/workspace/app-service-configurable/77@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 22:25:55 $ docker top b397929dfaa9809598582cce767f4606c6fc6da8d027530b621c2139bce1ee84 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:25:56 + make test 22:25:56 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:27:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:27:18 CGO_ENABLED=1 go vet ./... 22:27:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:42 $ docker stop --time=1 b397929dfaa9809598582cce767f4606c6fc6da8d027530b621c2139bce1ee84 22:27:44 $ docker rm -f b397929dfaa9809598582cce767f4606c6fc6da8d027530b621c2139bce1ee84 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:45 Warning: overwriting stash ‘coverage-report’ 22:27:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:46 + ls -al . 22:27:46 total 164 22:27:46 drwxrwxr-x 7 jenkins jenkins 4096 May 23 22:27 . 22:27:46 drwxrwxr-x 4 jenkins jenkins 4096 May 23 22:23 .. 22:27:46 -rw-rw-r-- 1 jenkins jenkins 119 May 23 22:24 .dockerignore 22:27:46 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:24 .git 22:27:46 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:24 .github 22:27:46 -rw-rw-r-- 1 jenkins jenkins 104 May 23 22:24 .gitignore 22:27:46 -rw-rw-r-- 1 jenkins jenkins 8695 May 23 22:24 Attribution.txt 22:27:46 -rw-rw-r-- 1 jenkins jenkins 27269 May 23 22:24 CHANGELOG.md 22:27:46 -rw-rw-r-- 1 jenkins jenkins 2087 May 23 22:24 Dockerfile 22:27:46 -rw-rw-r-- 1 jenkins jenkins 677 May 23 22:24 GOVERNANCE.md 22:27:46 -rw-rw-r-- 1 jenkins jenkins 688 May 23 22:24 Jenkinsfile 22:27:46 -rw-rw-r-- 1 jenkins jenkins 10174 May 23 22:24 LICENSE 22:27:46 -rw-rw-r-- 1 jenkins jenkins 618 May 23 22:24 OWNERS.md 22:27:46 -rw-rw-r-- 1 jenkins jenkins 3718 May 23 22:24 README.md 22:27:46 -rw-rw-r-- 1 jenkins jenkins 11 May 23 22:21 VERSION 22:27:46 drwxrwxr-x 2 jenkins jenkins 4096 May 23 22:24 bin 22:27:46 -rw-r--r-- 1 jenkins jenkins 10 May 23 22:25 coverage.out 22:27:46 -rw-rw-r-- 1 jenkins jenkins 3222 May 23 22:24 go.mod 22:27:46 -rw-rw-r-- 1 jenkins jenkins 34558 May 23 22:24 go.sum 22:27:46 -rw-rw-r-- 1 jenkins jenkins 1949 May 23 22:24 main.go 22:27:46 -rw-rw-r-- 1 jenkins jenkins 1972 May 23 22:24 makefile 22:27:46 drwxrwxr-x 10 jenkins jenkins 4096 May 23 22:24 res 22:27:46 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:24 snap [Pipeline] isUnix [Pipeline] sh 22:27:46 + 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=354093ed76bafc9ccf1014354cec2dcad1025761 --label arch=arm64 --label version=2.2.1-dev.1 . 22:27:46 Sending build context to Docker daemon 204.3kB 22:27:46 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 22:27:46 Step 2/27 : FROM ${BASE} AS builder 22:27:46 ---> 58fc0ee676b7 22:27:46 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:27:46 ---> Running in 91037b77d29d 22:27:47 Removing intermediate container 91037b77d29d 22:27:47 ---> 910038cb984f 22:27:47 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:27:47 ---> Running in 7cf7e145dc62 22:27:47 Removing intermediate container 7cf7e145dc62 22:27:47 ---> 6b33a343b4b6 22:27:47 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:27:47 ---> Running in 677108e8d32e 22:27:48 Removing intermediate container 677108e8d32e 22:27:48 ---> 78db0f55887b 22:27:48 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:48 ---> Running in b2afd5a844b1 22:27:50 Removing intermediate container b2afd5a844b1 22:27:50 ---> 7bc220187ea5 22:27:50 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:50 ---> Running in 844b48dc10fe 22:27:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:27:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:27:52 OK: 220 MiB in 52 packages 22:27:53 Removing intermediate container 844b48dc10fe 22:27:53 ---> 33a46ca876e2 22:27:53 Step 8/27 : WORKDIR /app 22:27:53 ---> Running in 060ea89e473c 22:27:53 Removing intermediate container 060ea89e473c 22:27:53 ---> 3f108897c77a 22:27:53 Step 9/27 : COPY go.mod vendor* ./ 22:27:54 ---> 2d10fe6e6c99 22:27:54 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:54 ---> Running in b67707f60a7c 22:27:56 Removing intermediate container b67707f60a7c 22:27:56 ---> 50a33a4acef4 22:27:56 Step 11/27 : COPY . . 22:27:57 ---> 485bb1adfa6b 22:27:57 Step 12/27 : ARG MAKE="make build" 22:27:57 ---> Running in 2293403d5f40 22:27:57 Removing intermediate container 2293403d5f40 22:27:57 ---> 72bed8b703ca 22:27:57 Step 13/27 : RUN $MAKE 22:27:57 ---> Running in 087290bb041c 22:27:58 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:30:05 Removing intermediate container 087290bb041c 22:30:05 ---> 9ec07e2c1995 22:30:05 Step 14/27 : FROM alpine:3.14 22:30:05 3.14: Pulling from library/alpine 22:30:05 455c02918c45: Pulling fs layer 22:30:05 455c02918c45: Verifying Checksum 22:30:05 455c02918c45: Download complete 22:30:05 455c02918c45: Pull complete 22:30:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:30:05 Status: Downloaded newer image for alpine:3.14 22:30:05 ---> ac73e934f311 22:30:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:30:05 ---> Running in 3f36e7c81bfa 22:30:05 Removing intermediate container 3f36e7c81bfa 22:30:05 ---> 5d4c149128c2 22:30:05 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:30:05 ---> Running in 92b0ac6a44c4 22:30:05 Removing intermediate container 92b0ac6a44c4 22:30:05 ---> 176e2099c36a 22:30:05 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:30:05 ---> Running in 2c7bea6e6157 22:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:30:05 (1/7) Installing ca-certificates (20211220-r0) 22:30:05 (2/7) Installing dumb-init (1.2.5-r1) 22:30:05 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:30:05 (4/7) Installing libsodium (1.0.18-r0) 22:30:05 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:30:05 (6/7) Installing libzmq (4.3.4-r0) 22:30:05 (7/7) Installing zeromq (4.3.4-r0) 22:30:05 Executing busybox-1.33.1-r7.trigger 22:30:05 Executing ca-certificates-20211220-r0.trigger 22:30:05 OK: 9 MiB in 21 packages 22:30:05 Removing intermediate container 2c7bea6e6157 22:30:05 ---> 064b1e58ddb6 22:30:05 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:30:05 ---> f0a41714f1e5 22:30:05 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:30:05 ---> f932df3e26f5 22:30:05 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:30:05 ---> c3e17e6fb770 22:30:05 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:30:05 ---> 3013f6e61760 22:30:05 Step 22/27 : EXPOSE 48095 22:30:05 ---> Running in fc5cab27b5d8 22:30:05 Removing intermediate container fc5cab27b5d8 22:30:05 ---> 3b4bdcdb0299 22:30:05 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:30:05 ---> Running in 456c2dd89d60 22:30:05 Removing intermediate container 456c2dd89d60 22:30:05 ---> a8c09164aa50 22:30:05 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:30:05 ---> Running in 2093ef4db287 22:30:05 Removing intermediate container 2093ef4db287 22:30:05 ---> 9743bfc292a5 22:30:05 Step 25/27 : LABEL arch=arm64 22:30:05 ---> Running in 6e5142a11bab 22:30:05 Removing intermediate container 6e5142a11bab 22:30:05 ---> 9e8870024ca7 22:30:05 Step 26/27 : LABEL git_sha=354093ed76bafc9ccf1014354cec2dcad1025761 22:30:05 ---> Running in 846911db1bd3 22:30:05 Removing intermediate container 846911db1bd3 22:30:05 ---> 0410873011db 22:30:05 Step 27/27 : LABEL version=2.2.1-dev.1 22:30:05 ---> Running in 05c4647bff85 22:30:05 Removing intermediate container 05c4647bff85 22:30:05 ---> acf7883e62b2 22:30:05 [Warning] One or more build-args [ARCH] were not consumed 22:30:05 Successfully built acf7883e62b2 22:30:05 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 22:30:05 provisioning config files... 22:30:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/77@tmp/config6510432578914658546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:05 ---> docker-login.sh 22:30:05 nexus3.edgexfoundry.org:10001 22:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:05 Configure a credential helper to remove this warning. See 22:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:05 22:30:05 Login Succeeded 22:30:05 nexus3.edgexfoundry.org:10002 22:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:06 Configure a credential helper to remove this warning. See 22:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:06 22:30:06 Login Succeeded 22:30:06 nexus3.edgexfoundry.org:10003 22:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:06 Configure a credential helper to remove this warning. See 22:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:06 22:30:06 Login Succeeded 22:30:07 nexus3.edgexfoundry.org:10004 22:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:07 Configure a credential helper to remove this warning. See 22:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:07 22:30:07 Login Succeeded 22:30:07 docker.io 22:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:08 Configure a credential helper to remove this warning. See 22:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:08 22:30:08 Login Succeeded 22:30:08 ---> docker-login.sh ends [Pipeline] } 22:30:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:08 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 22:30:08 354093ed76bafc9ccf1014354cec2dcad1025761 22:30:08 latest 22:30:08 2.2.1-dev.1 22:30:08 354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:30:08 main 22:30:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:30:08 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] isUnix [Pipeline] sh 22:30:09 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761 22:30:09 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:30:09 5dff4120d359: Preparing 22:30:09 f38c75722832: Preparing 22:30:09 bf75bfec08ff: Preparing 22:30:09 418b7b02a865: Preparing 22:30:09 c67a54b5568d: Preparing 22:30:09 f73e7dbfee58: Preparing 22:30:09 f73e7dbfee58: Waiting 22:30:09 418b7b02a865: Pushed 22:30:09 bf75bfec08ff: Pushed 22:30:09 f38c75722832: Pushed 22:30:09 f73e7dbfee58: Layer already exists 22:30:10 c67a54b5568d: Pushed 22:30:15 5dff4120d359: Pushed 22:30:15 354093ed76bafc9ccf1014354cec2dcad1025761: digest: sha256:9adcb938e33dc4f11fe348878f7315f6f3971ba74c8bba90281242b7af2cb3ac size: 1575 [Pipeline] isUnix [Pipeline] sh 22:30:16 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:30:16 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 22:30:16 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:30:16 5dff4120d359: Preparing 22:30:16 f38c75722832: Preparing 22:30:16 bf75bfec08ff: Preparing 22:30:16 418b7b02a865: Preparing 22:30:16 c67a54b5568d: Preparing 22:30:16 f73e7dbfee58: Preparing 22:30:16 f73e7dbfee58: Waiting 22:30:16 c67a54b5568d: Layer already exists 22:30:16 5dff4120d359: Layer already exists 22:30:16 f38c75722832: Layer already exists 22:30:16 bf75bfec08ff: Layer already exists 22:30:16 418b7b02a865: Layer already exists 22:30:16 f73e7dbfee58: Layer already exists 22:30:16 latest: digest: sha256:9adcb938e33dc4f11fe348878f7315f6f3971ba74c8bba90281242b7af2cb3ac size: 1575 [Pipeline] isUnix [Pipeline] sh 22:30:17 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:30:17 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.1-dev.1 22:30:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:30:17 5dff4120d359: Preparing 22:30:17 f38c75722832: Preparing 22:30:17 bf75bfec08ff: Preparing 22:30:17 418b7b02a865: Preparing 22:30:17 c67a54b5568d: Preparing 22:30:17 f73e7dbfee58: Preparing 22:30:17 f73e7dbfee58: Waiting 22:30:17 c67a54b5568d: Layer already exists 22:30:17 bf75bfec08ff: Layer already exists 22:30:17 418b7b02a865: Layer already exists 22:30:17 f38c75722832: Layer already exists 22:30:17 5dff4120d359: Layer already exists 22:30:17 f73e7dbfee58: Layer already exists 22:30:17 2.2.1-dev.1: digest: sha256:9adcb938e33dc4f11fe348878f7315f6f3971ba74c8bba90281242b7af2cb3ac size: 1575 [Pipeline] isUnix [Pipeline] sh 22:30:18 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:30:18 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:30:18 5dff4120d359: Preparing 22:30:18 f38c75722832: Preparing 22:30:18 bf75bfec08ff: Preparing 22:30:18 418b7b02a865: Preparing 22:30:18 c67a54b5568d: Preparing 22:30:18 f73e7dbfee58: Preparing 22:30:18 f73e7dbfee58: Waiting 22:30:18 c67a54b5568d: Layer already exists 22:30:18 f38c75722832: Layer already exists 22:30:18 bf75bfec08ff: Layer already exists 22:30:18 418b7b02a865: Layer already exists 22:30:18 5dff4120d359: Layer already exists 22:30:18 f73e7dbfee58: Layer already exists 22:30:18 354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1: digest: sha256:9adcb938e33dc4f11fe348878f7315f6f3971ba74c8bba90281242b7af2cb3ac size: 1575 [Pipeline] isUnix [Pipeline] sh 22:30:18 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] isUnix [Pipeline] sh 22:30:19 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 22:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:30:19 5dff4120d359: Preparing 22:30:19 f38c75722832: Preparing 22:30:19 bf75bfec08ff: Preparing 22:30:19 418b7b02a865: Preparing 22:30:19 c67a54b5568d: Preparing 22:30:19 f73e7dbfee58: Preparing 22:30:19 f73e7dbfee58: Waiting 22:30:19 c67a54b5568d: Layer already exists 22:30:19 f38c75722832: Layer already exists 22:30:19 bf75bfec08ff: Layer already exists 22:30:19 418b7b02a865: Layer already exists 22:30:19 5dff4120d359: Layer already exists 22:30:19 f73e7dbfee58: Layer already exists 22:30:19 main: digest: sha256:9adcb938e33dc4f11fe348878f7315f6f3971ba74c8bba90281242b7af2cb3ac size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:19 ===================================================== [Pipeline] echo 22:30:19 taggedImages: 22:30:19 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761 22:30:19 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 22:30:19 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.1-dev.1 22:30:19 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:354093ed76bafc9ccf1014354cec2dcad1025761-2.2.1-dev.1 22:30:19 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:30:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:20 22:30:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:30:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:20 arm64: Pulling from edgex-lftools-log-publisher 22:30:20 8998bd30e6a1: Pulling fs layer 22:30:20 04944245beec: Pulling fs layer 22:30:20 699f458cf7ca: Pulling fs layer 22:30:20 765212b225bb: Pulling fs layer 22:30:20 f23df028b6ca: Pulling fs layer 22:30:20 d65c8cfc05b1: Pulling fs layer 22:30:20 2437ff75d9bd: Pulling fs layer 22:30:20 f23df028b6ca: Waiting 22:30:20 d65c8cfc05b1: Waiting 22:30:20 765212b225bb: Waiting 22:30:20 2437ff75d9bd: Waiting 22:30:20 04944245beec: Verifying Checksum 22:30:20 04944245beec: Download complete 22:30:20 765212b225bb: Verifying Checksum 22:30:20 765212b225bb: Download complete 22:30:20 f23df028b6ca: Verifying Checksum 22:30:20 f23df028b6ca: Download complete 22:30:20 d65c8cfc05b1: Verifying Checksum 22:30:20 d65c8cfc05b1: Download complete 22:30:20 699f458cf7ca: Verifying Checksum 22:30:20 699f458cf7ca: Download complete 22:30:21 8998bd30e6a1: Verifying Checksum 22:30:21 8998bd30e6a1: Download complete 22:30:23 2437ff75d9bd: Download complete 22:30:25 8998bd30e6a1: Pull complete 22:30:25 04944245beec: Pull complete 22:30:27 699f458cf7ca: Pull complete 22:30:27 765212b225bb: Pull complete 22:30:28 f23df028b6ca: Pull complete 22:30:28 d65c8cfc05b1: Pull complete 22:30:43 2437ff75d9bd: Pull complete 22:30:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:30:44 prd-ubuntu20.04-docker-arm64-4c-16g-64418 does not seem to be running inside a container 22:30:44 $ 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/77 -v /w/workspace/app-service-configurable/77:/w/workspace/app-service-configurable/77:rw,z -v /w/workspace/app-service-configurable/77@tmp:/w/workspace/app-service-configurable/77@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 22:30:46 $ docker top a7f6f015069dd4aceb4ad905e36d59a7f02ad1468d12c79441ead716866e2d13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:47 ---> job-cost.sh 22:30:47 lf-activate-venv: SKIPPING 22:30:47 INFO: No Stack... 22:30:47 INFO: Retrieving Pricing Info for: v3-standard-4 22:30:48 INFO: Archiving Costs [Pipeline] sh 22:30:49 + cat /w/workspace/app-service-configurable/77/archives/cost.csv 22:30:49 + cut -d, -f6 [Pipeline] lock 22:30:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] 22:30:49 Resource [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] did not exist. Created. 22:30:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:50 /w/workspace/app-service-configurable/77@tmp/durable-59aef07c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:30:51 + echo total: 0.10999999940395355 [Pipeline] stash 22:30:51 Warning: overwriting stash ‘stack-cost’ 22:30:51 Stashed 1 file(s) [Pipeline] } 22:30:51 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:51 $ docker stop --time=1 a7f6f015069dd4aceb4ad905e36d59a7f02ad1468d12c79441ead716866e2d13 22:30:52 $ docker rm -f a7f6f015069dd4aceb4ad905e36d59a7f02ad1468d12c79441ead716866e2d13 [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 22:30:53 provisioning config files... 22:30:53 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config2382138504557390869tmp [Pipeline] { [Pipeline] sh 22:30:53 + set +x 22:30:53 + curl -s https://codecov.io/bash 22:30:53 + bash -s -- 22:30:53 22:30:53 _____ _ 22:30:53 / ____| | | 22:30:53 | | ___ __| | ___ ___ _____ __ 22:30:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:30:53 | |___| (_) | (_| | __/ (_| (_) \ V / 22:30:53 \_____\___/ \__,_|\___|\___\___/ \_/ 22:30:53 Bash-1.0.6 22:30:53 22:30:53 22:30:53 ==> git version 2.25.1 found 22:30:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:30:53 Release-Date: 2020-01-08 22:30:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:30:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:30:53 ==> Jenkins CI detected. 22:30:53 current dir:  /w/workspace/ry_app-service-configurable_main 22:30:53 project root: . 22:30:53 --> token set from env 22:30:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:30:53 ==> Running gcov in . (disable via -X gcov) 22:30:53 ==> Python coveragepy not found 22:30:53 ==> Searching for coverage reports in: 22:30:53 + . 22:30:53 -> Found 1 reports 22:30:53 ==> Detecting git/mercurial file structure 22:30:53 ==> Reading reports 22:30:53 + ./coverage.out bytes=10 22:30:53 ==> Appending adjustments 22:30:53 https://docs.codecov.io/docs/fixing-reports 22:30:53 + Found adjustments 22:30:53 ==> Gzipping contents 22:30:53 4.0K /tmp/codecov.Iwb1EB.gz 22:30:53 ==> Uploading reports 22:30:53 url: https://codecov.io 22:30:53 query: branch=main&commit=354093ed76bafc9ccf1014354cec2dcad1025761&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:53 -> Pinging Codecov 22:30:53 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=354093ed76bafc9ccf1014354cec2dcad1025761&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:53 -> Uploading to 22:30:53 https://storage.googleapis.com/codecov/v4/raw/2022-05-23/A97CA9966030D2A3747ED39772930CCE/354093ed76bafc9ccf1014354cec2dcad1025761/1d74507e-a226-4a31-b391-827ea9451c08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220523T223053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e37294238970d706e8d8ce1731e52d98a43649038e72fea49941ba77ac40542 22:30:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:53 Dload Upload Total Spent Left Speed 22:30:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2358 --:--:-- --:--:-- --:--:-- 2368 22:30:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] } 22:30:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:30:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:30:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:54 22:30:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:30:55 188c0c94c7c5: Pulling fs layer 22:30:55 0ef7d3d256c8: Pulling fs layer 22:30:55 de9db76c5a1d: Pulling fs layer 22:30:55 0eba1c9be4d2: Pulling fs layer 22:30:55 0d57e429df01: Pulling fs layer 22:30:55 4e4be7b47b0d: Pulling fs layer 22:30:55 e1f770b5df2f: Pulling fs layer 22:30:55 85a0685a4137: Pulling fs layer 22:30:55 0eba1c9be4d2: Waiting 22:30:55 0d57e429df01: Waiting 22:30:55 4e4be7b47b0d: Waiting 22:30:55 85a0685a4137: Waiting 22:30:55 de9db76c5a1d: Verifying Checksum 22:30:55 de9db76c5a1d: Download complete 22:30:55 0ef7d3d256c8: Verifying Checksum 22:30:55 0ef7d3d256c8: Download complete 22:30:55 0d57e429df01: Download complete 22:30:55 4e4be7b47b0d: Verifying Checksum 22:30:55 4e4be7b47b0d: Download complete 22:30:55 188c0c94c7c5: Download complete 22:30:55 188c0c94c7c5: Pull complete 22:30:55 e1f770b5df2f: Verifying Checksum 22:30:55 e1f770b5df2f: Download complete 22:30:55 0ef7d3d256c8: Pull complete 22:30:55 de9db76c5a1d: Pull complete 22:30:55 0eba1c9be4d2: Verifying Checksum 22:30:55 0eba1c9be4d2: Download complete 22:30:56 85a0685a4137: Verifying Checksum 22:30:56 85a0685a4137: Download complete 22:30:59 0eba1c9be4d2: Pull complete 22:30:59 0d57e429df01: Pull complete 22:30:59 4e4be7b47b0d: Pull complete 22:30:59 e1f770b5df2f: Pull complete 22:31:02 85a0685a4137: Pull complete 22:31:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:31:02 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:03 $ 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 22:31:05 $ docker top d42425a9adf3746cd1c06ec85c5a6e667b150f2e17e7d0aa852de1e46cbeb7a1 -eo pid,comm [Pipeline] { [Pipeline] echo 22:31:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:31:05 + set -o pipefail 22:31:05 + snyk monitor '--org=edgex-jenkins' 22:31:12 22:31:12 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 22:31:12 22:31:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/9fe14349-e28f-4d0a-bd11-15d237d32069 22:31:12 22:31:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:31:12 22:31:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:31:12 22:31:12 [Pipeline] } 22:31:12 $ docker stop --time=1 d42425a9adf3746cd1c06ec85c5a6e667b150f2e17e7d0aa852de1e46cbeb7a1 22:31:14 $ docker rm -f d42425a9adf3746cd1c06ec85c5a6e667b150f2e17e7d0aa852de1e46cbeb7a1 [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 22:31:15 + git log --format=format:%s -1 354093ed76bafc9ccf1014354cec2dcad1025761 [Pipeline] sh 22:31:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:31:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:31:15 . [Pipeline] withDockerContainer 22:31:15 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:16 $ 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:10003/edgex-devops/py-git-semver:latest cat 22:31:16 $ docker top 47aabb2b6a68c6f8fac8da968edf7f9ba1697bf6a7a62c93d0cae4c97c017d7e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:16 [ssh-agent] Looking for ssh-agent implementation... 22:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:16 $ docker exec 47aabb2b6a68c6f8fac8da968edf7f9ba1697bf6a7a62c93d0cae4c97c017d7e ssh-agent 22:31:16 SSH_AUTH_SOCK=/tmp/ssh-vQGf5Lv5fWp9/agent.32 22:31:16 SSH_AGENT_PID=38 22:31:16 Running ssh-add (command line suppressed) 22:31:16 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_5513658884860186123.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_5513658884860186123.key) 22:31:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:17 + git semver tag 22:31:17 2022-05-23 22:31:17,326 [run_tag] DEBUG tag force:False 22:31:17 2022-05-23 22:31:17,326 [check_head_tag] DEBUG check head tag 22:31:17 2022-05-23 22:31:17,328 [execute] INFO git cat-file --batch-check 22:31:17 2022-05-23 22:31:17,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 22:31:17 2022-05-23 22:31:17,332 [execute] INFO git cat-file --batch 22:31:17 2022-05-23 22:31:17,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 22:31:17 2022-05-23 22:31:17,356 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:17 2022-05-23 22:31:17,357 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 22:31:17 2022-05-23 22:31:17,357 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:31:17 2022-05-23 22:31:17,361 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:17 2.2.1-dev.1 [Pipeline] } 22:31:17 $ docker exec --env ******** --env ******** 47aabb2b6a68c6f8fac8da968edf7f9ba1697bf6a7a62c93d0cae4c97c017d7e ssh-agent -k 22:31:17 unset SSH_AUTH_SOCK; 22:31:17 unset SSH_AGENT_PID; 22:31:17 echo Agent pid 38 killed; 22:31:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:17 + git semver [Pipeline] } 22:31:18 $ docker stop --time=1 47aabb2b6a68c6f8fac8da968edf7f9ba1697bf6a7a62c93d0cae4c97c017d7e 22:31:19 $ docker rm -f 47aabb2b6a68c6f8fac8da968edf7f9ba1697bf6a7a62c93d0cae4c97c017d7e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:31:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:19 22:31:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:20 0.23.1-centos7: Pulling from edgex-lftools 22:31:20 ab5ef0e58194: Pulling fs layer 22:31:20 9712f1f96733: Pulling fs layer 22:31:20 63f879dbbcfc: Pulling fs layer 22:31:20 0d9ebad4ef96: Pulling fs layer 22:31:20 e9a5061849ea: Pulling fs layer 22:31:20 d747dcd14b5f: Pulling fs layer 22:31:20 2de7ff778b66: Pulling fs layer 22:31:20 0d9ebad4ef96: Waiting 22:31:20 e9a5061849ea: Waiting 22:31:20 d747dcd14b5f: Waiting 22:31:20 2de7ff778b66: Waiting 22:31:20 9712f1f96733: Verifying Checksum 22:31:20 9712f1f96733: Download complete 22:31:20 63f879dbbcfc: Verifying Checksum 22:31:20 63f879dbbcfc: Download complete 22:31:20 e9a5061849ea: Verifying Checksum 22:31:20 e9a5061849ea: Download complete 22:31:20 0d9ebad4ef96: Verifying Checksum 22:31:20 0d9ebad4ef96: Download complete 22:31:20 d747dcd14b5f: Verifying Checksum 22:31:20 d747dcd14b5f: Download complete 22:31:20 ab5ef0e58194: Download complete 22:31:20 2de7ff778b66: Verifying Checksum 22:31:20 2de7ff778b66: Download complete 22:31:23 ab5ef0e58194: Pull complete 22:31:23 9712f1f96733: Pull complete 22:31:23 63f879dbbcfc: Pull complete 22:31:27 0d9ebad4ef96: Pull complete 22:31:27 e9a5061849ea: Pull complete 22:31:27 d747dcd14b5f: Pull complete 22:31:28 2de7ff778b66: Pull complete 22:31:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:31:28 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:29 $ 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 22:31:31 $ docker top 3296db6569e9a9a94f2bcc5048719cc7db43d25678a0936f8319b7f05b319e48 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:31:31 provisioning config files... 22:31:31 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4262708234083645703tmp 22:31:31 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3848242678352236721tmp 22:31:31 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config2503478179726184944tmp [Pipeline] { [Pipeline] echo 22:31:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:31:31 ---> sigul-configuration.sh 22:31:31 gpg: directory `/root/.gnupg' created 22:31:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:31:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:31:31 gpg: keyring `/root/.gnupg/secring.gpg' created 22:31:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:31:31 gpg: CAST5 encrypted data 22:31:31 gpg: encrypted with 1 passphrase 22:31:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:31:31 + mkdir /home/jenkins 22:31:31 + mkdir /home/jenkins/sigul [Pipeline] sh 22:31:32 + 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 22:31:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:31:32 ---> sigul-install.sh 22:31:32 Sigul already installed; skipping installation. [Pipeline] sh 22:31:32 + git tag --list 22:31:32 v1.0.0 22:31:32 v1.1.0 22:31:32 v1.2.0 22:31:32 v1.3.0 22:31:32 v1.3.1 22:31:32 v2.0.0 22:31:32 v2.0.1 22:31:32 v2.0.1-dev.1 22:31:32 v2.0.2-dev.1 22:31:32 v2.0.2-dev.10 22:31:32 v2.0.2-dev.11 22:31:32 v2.0.2-dev.12 22:31:32 v2.0.2-dev.13 22:31:32 v2.0.2-dev.14 22:31:32 v2.0.2-dev.15 22:31:32 v2.0.2-dev.16 22:31:32 v2.0.2-dev.17 22:31:32 v2.0.2-dev.18 22:31:32 v2.0.2-dev.19 22:31:32 v2.0.2-dev.2 22:31:32 v2.0.2-dev.20 22:31:32 v2.0.2-dev.21 22:31:32 v2.0.2-dev.22 22:31:32 v2.0.2-dev.23 22:31:32 v2.0.2-dev.24 22:31:32 v2.0.2-dev.25 22:31:32 v2.0.2-dev.26 22:31:32 v2.0.2-dev.27 22:31:32 v2.0.2-dev.28 22:31:32 v2.0.2-dev.29 22:31:32 v2.0.2-dev.3 22:31:32 v2.0.2-dev.30 22:31:32 v2.0.2-dev.4 22:31:32 v2.0.2-dev.5 22:31:32 v2.0.2-dev.6 22:31:32 v2.0.2-dev.7 22:31:32 v2.0.2-dev.8 22:31:32 v2.0.2-dev.9 22:31:32 v2.1.0 22:31:32 v2.2.0 22:31:32 v2.2.0-dev.1 22:31:32 v2.2.0-dev.10 22:31:32 v2.2.0-dev.11 22:31:32 v2.2.0-dev.12 22:31:32 v2.2.0-dev.13 22:31:32 v2.2.0-dev.14 22:31:32 v2.2.0-dev.15 22:31:32 v2.2.0-dev.16 22:31:32 v2.2.0-dev.17 22:31:32 v2.2.0-dev.18 22:31:32 v2.2.0-dev.19 22:31:32 v2.2.0-dev.2 22:31:32 v2.2.0-dev.20 22:31:32 v2.2.0-dev.21 22:31:32 v2.2.0-dev.22 22:31:32 v2.2.0-dev.23 22:31:32 v2.2.0-dev.24 22:31:32 v2.2.0-dev.25 22:31:32 v2.2.0-dev.26 22:31:32 v2.2.0-dev.27 22:31:32 v2.2.0-dev.28 22:31:32 v2.2.0-dev.29 22:31:32 v2.2.0-dev.3 22:31:32 v2.2.0-dev.30 22:31:32 v2.2.0-dev.31 22:31:32 v2.2.0-dev.32 22:31:32 v2.2.0-dev.33 22:31:32 v2.2.0-dev.34 22:31:32 v2.2.0-dev.35 22:31:32 v2.2.0-dev.36 22:31:32 v2.2.0-dev.37 22:31:32 v2.2.0-dev.38 22:31:32 v2.2.0-dev.39 22:31:32 v2.2.0-dev.4 22:31:32 v2.2.0-dev.5 22:31:32 v2.2.0-dev.6 22:31:32 v2.2.0-dev.7 22:31:32 v2.2.0-dev.8 22:31:32 v2.2.0-dev.9 22:31:32 v2.2.1-dev.1 [Pipeline] sh 22:31:32 + lftools sign git-tag v2.2.1-dev.1 22:31:33 Signing Git tag with Sigul... 22:31:33 Signing v2.2.1-dev.1 [Pipeline] echo 22:31:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:31:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:31:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:31:34 $ docker stop --time=1 3296db6569e9a9a94f2bcc5048719cc7db43d25678a0936f8319b7f05b319e48 22:31:35 $ docker rm -f 3296db6569e9a9a94f2bcc5048719cc7db43d25678a0936f8319b7f05b319e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:31:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:31:36 . [Pipeline] withDockerContainer 22:31:36 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:36 $ 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:10003/edgex-devops/py-git-semver:latest cat 22:31:36 $ docker top cd2e7905243b1cd4a6ca5558f4a35c54b59b731424fd6c0b46ea4fa5d8dbf727 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:36 [ssh-agent] Looking for ssh-agent implementation... 22:31:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:37 $ docker exec cd2e7905243b1cd4a6ca5558f4a35c54b59b731424fd6c0b46ea4fa5d8dbf727 ssh-agent 22:31:37 SSH_AUTH_SOCK=/tmp/ssh-T2tJdXLBRlpP/agent.33 22:31:37 SSH_AGENT_PID=39 22:31:37 Running ssh-add (command line suppressed) 22:31:37 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_3686357438925966239.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_3686357438925966239.key) 22:31:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:37 + git semver bump pre 22:31:37 2022-05-23 22:31:37,818 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:37 2022-05-23 22:31:37,818 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev 22:31:37 2022-05-23 22:31:37,818 [bump_version] DEBUG bumped version:2.2.1-dev.2 22:31:37 2022-05-23 22:31:37,818 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:True 22:31:37 2022-05-23 22:31:37,818 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:37 2022-05-23 22:31:37,818 [write_file] DEBUG write to file:/w/workspace/ry_app-service-configurable_main/.semver/main 22:31:37 2022-05-23 22:31:37,820 [execute] INFO git cat-file --batch-check 22:31:37 2022-05-23 22:31:37,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 22:31:37 2022-05-23 22:31:37,826 [execute] INFO git cat-file --batch 22:31:37 2022-05-23 22:31:37,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 22:31:37 2022-05-23 22:31:37,831 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:37 2.2.1-dev.2 [Pipeline] } 22:31:37 $ docker exec --env ******** --env ******** cd2e7905243b1cd4a6ca5558f4a35c54b59b731424fd6c0b46ea4fa5d8dbf727 ssh-agent -k 22:31:38 unset SSH_AUTH_SOCK; 22:31:38 unset SSH_AGENT_PID; 22:31:38 echo Agent pid 39 killed; 22:31:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:38 + git semver [Pipeline] } 22:31:38 $ docker stop --time=1 cd2e7905243b1cd4a6ca5558f4a35c54b59b731424fd6c0b46ea4fa5d8dbf727 22:31:39 $ docker rm -f cd2e7905243b1cd4a6ca5558f4a35c54b59b731424fd6c0b46ea4fa5d8dbf727 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:31:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:31:40 . [Pipeline] withDockerContainer 22:31:40 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:40 $ 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:10003/edgex-devops/py-git-semver:latest cat 22:31:41 $ docker top 26d15a7d7c6a568bf93137830295e8327ca872c755f2ef684c845f0ee582a50f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:41 [ssh-agent] Looking for ssh-agent implementation... 22:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:41 $ docker exec 26d15a7d7c6a568bf93137830295e8327ca872c755f2ef684c845f0ee582a50f ssh-agent 22:31:41 SSH_AUTH_SOCK=/tmp/ssh-lNVwDSrZqnua/agent.33 22:31:41 SSH_AGENT_PID=39 22:31:41 Running ssh-add (command line suppressed) 22:31:41 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_6827467719283889728.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_6827467719283889728.key) 22:31:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:41 + git semver push 22:31:42 2022-05-23 22:31:42,087 [run_push] DEBUG push 22:31:42 2022-05-23 22:31:42,088 [execute] INFO git push origin semver 22:31:42 2022-05-23 22:31:42,088 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 22:31:43 2022-05-23 22:31:42,798 [run_push] DEBUG push all version tags 22:31:43 2022-05-23 22:31:42,799 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:31:43 2022-05-23 22:31:42,799 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:31:43 2022-05-23 22:31:43,461 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:31:43 2.2.1-dev.2 [Pipeline] } 22:31:43 $ docker exec --env ******** --env ******** 26d15a7d7c6a568bf93137830295e8327ca872c755f2ef684c845f0ee582a50f ssh-agent -k 22:31:43 unset SSH_AUTH_SOCK; 22:31:43 unset SSH_AGENT_PID; 22:31:43 echo Agent pid 39 killed; 22:31:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:44 + git semver [Pipeline] } 22:31:44 $ docker stop --time=1 26d15a7d7c6a568bf93137830295e8327ca872c755f2ef684c845f0ee582a50f 22:31:45 $ docker rm -f 26d15a7d7c6a568bf93137830295e8327ca872c755f2ef684c845f0ee582a50f [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 22:31:46 + [ -d /w/workspace/ry_app-service-configurable_main/archives ] 22:31:46 + ls -al /w/workspace/ry_app-service-configurable_main/archives 22:31:46 total 16 22:31:46 drwxr-xr-x 3 root root 4096 May 23 22:23 . 22:31:46 drwxrwxr-x 9 jenkins jenkins 4096 May 23 22:31 .. 22:31:46 drwxr-xr-x 2 root root 4096 May 23 22:23 cost 22:31:46 -rw-r--r-- 1 root root 94 May 23 22:23 cost.csv 22:31:46 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-service-configurable_main/archives 22:31:46 + ls -al /w/workspace/ry_app-service-configurable_main/archives 22:31:46 total 16 22:31:46 drwxr-xr-x 3 jenkins jenkins 4096 May 23 22:23 . 22:31:46 drwxrwxr-x 9 jenkins jenkins 4096 May 23 22:31 .. 22:31:46 drwxr-xr-x 2 jenkins jenkins 4096 May 23 22:23 cost 22:31:46 -rw-r--r-- 1 jenkins jenkins 94 May 23 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:31:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:31:47 ---> package-listing.sh 22:31:47 ++ facter osfamily 22:31:47 ++ tr '[:upper:]' '[:lower:]' 22:31:47 + OS_FAMILY=debian 22:31:47 + workspace=/w/workspace/ry_app-service-configurable_main 22:31:47 + START_PACKAGES=/tmp/packages_start.txt 22:31:47 + END_PACKAGES=/tmp/packages_end.txt 22:31:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:31:47 + PACKAGES=/tmp/packages_start.txt 22:31:47 + '[' /w/workspace/ry_app-service-configurable_main ']' 22:31:47 + PACKAGES=/tmp/packages_end.txt 22:31:47 + case "${OS_FAMILY}" in 22:31:47 + dpkg -l 22:31:47 + grep '^ii' 22:31:47 + '[' -f /tmp/packages_start.txt ']' 22:31:47 + '[' -f /tmp/packages_end.txt ']' 22:31:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:31:47 + '[' /w/workspace/ry_app-service-configurable_main ']' 22:31:47 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 22:31:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 22:31:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 22:31:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:48 . [Pipeline] withDockerContainer 22:31:48 prd-ubuntu20.04-docker-8c-8g-64417 does not seem to be running inside a container 22:31:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 22:31:49 $ docker top f686333834071dccb45fc6006a9dd647b792589013714c55d073cdba54fe5d5a -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:31:49 + mkdir -p /var/log/sysstat [Pipeline] sh 22:31:49 + ls /var/log/sa-host 22:31:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:50 provisioning config files... 22:31:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4265542379089357732tmp [Pipeline] { [Pipeline] echo 22:31:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:31:50 ---> create-netrc.sh [Pipeline] } 22:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:31:50 ---> python-tools-install.sh [Pipeline] echo 22:31:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:31:51 ---> sudo-logs.sh 22:31:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:31:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:31:51 ---> job-cost.sh 22:31:51 lf-activate-venv: SKIPPING 22:31:51 DEBUG: total: 0.2199999988079071 22:31:51 INFO: Retrieving Stack Cost... 22:31:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:52 INFO: Archiving Costs [Pipeline] echo 22:31:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:31:52 ---> logs-deploy.sh 22:31:52 lf-activate-venv: SKIPPING 22:31:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/77 22:31:52 INFO: archiving workspace using pattern(s): 22:31:53 Archives upload complete. 22:31:53 INFO: archiving logs to Nexus