Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 630649d9e86e1599e588b2207988e7000b3d75e7 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-ssh17626315940497267141.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3690476525333694206.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8922596284263387791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh13313216722996979880.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-ssh12174606159541215942.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-33673 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 630649d9e86e1599e588b2207988e7000b3d75e7 (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 630649d9e86e1599e588b2207988e7000b3d75e7 # timeout=10 Commit message: "feat: Used Batch for metrics-influxdb profile (#413)" > git rev-list --no-walk b8e8d1853d64b48b61878642b37bb0eb2b624c73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:58 ========================================================= 15:58:58 EdgeX Global Pipelines Version Info 15:58:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:59 ------------------- 15:58:59 stable info: 15:58:59 ------------------- 15:58:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 15:58:59 Message: update stable to v1.0.227 15:59:00 ------------------- 15:59:00 experimental info: 15:59:00 ------------------- 15:59:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:59:00 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 15:59:00 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 630649d [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:00 provisioning config files... 15:59:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config5884750139199731346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:01 ---> docker-login.sh 15:59:01 nexus3.edgexfoundry.org:10001 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 nexus3.edgexfoundry.org:10002 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 nexus3.edgexfoundry.org:10003 15:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:02 Configure a credential helper to remove this warning. See 15:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:02 15:59:02 Login Succeeded 15:59:02 nexus3.edgexfoundry.org:10004 15:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:02 Configure a credential helper to remove this warning. See 15:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:02 15:59:02 Login Succeeded 15:59:02 docker.io 15:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:02 Configure a credential helper to remove this warning. See 15:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:02 15:59:02 Login Succeeded 15:59:02 ---> docker-login.sh ends [Pipeline] } 15:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:59:02 + git rev-list -1 --merges 630649d9e86e1599e588b2207988e7000b3d75e7~1..630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] echo 15:59:03 -----------> git rev-list -1 --merges 630649d9e86e1599e588b2207988e7000b3d75e7~1..630649d9e86e1599e588b2207988e7000b3d75e7 630649d9e86e1599e588b2207988e7000b3d75e7 [false] [Pipeline] sh 15:59:03 + git log --format=format:%s -1 630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] echo 15:59:03 ========================================================= 15:59:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:59:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:03 + git log --format=format:%s -1 630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] echo 15:59:03 [semverPrep] GIT_COMMIT: 630649d9e86e1599e588b2207988e7000b3d75e7, Commit Message: feat: Used Batch for metrics-influxdb profile (#413) [Pipeline] echo 15:59:03 [semverPrep] This is not a build commit. [Pipeline] sh 15:59:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:04 + grep -v github /etc/ssh/ssh_known_hosts 15:59:04 + [ -e /tmp/ssh_known_hosts ] 15:59:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:59:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:59:04 + sudo tee -a /etc/ssh/ssh_known_hosts 15:59:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:59:04 15:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:59:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:59:04 latest: Pulling from edgex-devops/py-git-semver 15:59:04 1fe172e4850f: Pulling fs layer 15:59:04 caf521ccaac6: Pulling fs layer 15:59:04 3ead6fa29328: Pulling fs layer 15:59:04 5c2a1cbceb83: Pulling fs layer 15:59:04 a8d5f1318db7: Pulling fs layer 15:59:04 c427282e49a2: Pulling fs layer 15:59:04 1827001aaf11: Pulling fs layer 15:59:04 0714d37db230: Pulling fs layer 15:59:04 ac28cf19c067: Pulling fs layer 15:59:04 ca983d60f3e2: Pulling fs layer 15:59:04 9f894cec8388: Pulling fs layer 15:59:04 1827001aaf11: Waiting 15:59:04 ac28cf19c067: Waiting 15:59:04 a8d5f1318db7: Waiting 15:59:04 c427282e49a2: Waiting 15:59:04 ca983d60f3e2: Waiting 15:59:04 9f894cec8388: Waiting 15:59:04 5c2a1cbceb83: Waiting 15:59:04 0714d37db230: Waiting 15:59:04 caf521ccaac6: Verifying Checksum 15:59:04 caf521ccaac6: Download complete 15:59:05 5c2a1cbceb83: Verifying Checksum 15:59:05 5c2a1cbceb83: Download complete 15:59:05 a8d5f1318db7: Verifying Checksum 15:59:05 a8d5f1318db7: Download complete 15:59:05 c427282e49a2: Download complete 15:59:05 3ead6fa29328: Verifying Checksum 15:59:05 3ead6fa29328: Download complete 15:59:05 0714d37db230: Verifying Checksum 15:59:05 0714d37db230: Download complete 15:59:05 ac28cf19c067: Verifying Checksum 15:59:05 ac28cf19c067: Download complete 15:59:05 ca983d60f3e2: Download complete 15:59:05 9f894cec8388: Download complete 15:59:05 1fe172e4850f: Download complete 15:59:05 1827001aaf11: Verifying Checksum 15:59:05 1827001aaf11: Download complete 15:59:17 1fe172e4850f: Pull complete 15:59:17 caf521ccaac6: Pull complete 15:59:17 3ead6fa29328: Pull complete 15:59:17 5c2a1cbceb83: Pull complete 15:59:17 a8d5f1318db7: Pull complete 15:59:17 c427282e49a2: Pull complete 15:59:19 1827001aaf11: Pull complete 15:59:19 0714d37db230: Pull complete 15:59:19 ac28cf19c067: Pull complete 15:59:19 ca983d60f3e2: Pull complete 15:59:19 9f894cec8388: Pull complete 15:59:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:59:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:59:19 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 15:59:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:59:21 $ docker top 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb -eo pid,comm 15:59:21 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). 15:59:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:21 [ssh-agent] Looking for ssh-agent implementation... 15:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:21 $ docker exec 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb ssh-agent 15:59:21 SSH_AUTH_SOCK=/tmp/ssh-iyLBT0JPNBn2/agent.33 15:59:21 SSH_AGENT_PID=39 15:59:21 Running ssh-add (command line suppressed) 15:59:21 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_3591971200720571289.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_3591971200720571289.key) 15:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:22 + git tag --points-at HEAD [Pipeline] } 15:59:22 $ docker exec --env ******** --env ******** 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb ssh-agent -k 15:59:22 unset SSH_AUTH_SOCK; 15:59:22 unset SSH_AGENT_PID; 15:59:22 echo Agent pid 39 killed; 15:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:22 [ssh-agent] Looking for ssh-agent implementation... 15:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:22 $ docker exec 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb ssh-agent 15:59:22 SSH_AUTH_SOCK=/tmp/ssh-xMz8FXLUyjxt/agent.72 15:59:22 SSH_AGENT_PID=78 15:59:22 Running ssh-add (command line suppressed) 15:59:22 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_4921274080972196832.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_4921274080972196832.key) 15:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:22 + git semver init 15:59:23 2022-04-28 15:59:23,076 [run_init] DEBUG init version:0.0.0 force:False 15:59:23 2022-04-28 15:59:23,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-service-configurable_main/.semver 15:59:23 2022-04-28 15:59:23,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ry_app-service-configurable_main/.semver 15:59:23 2022-04-28 15:59:23,078 [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) 15:59:24 2022-04-28 15:59:23,877 [append_file] DEBUG append to file:/w/workspace/ry_app-service-configurable_main/.git/info/exclude 15:59:24 2022-04-28 15:59:23,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:False 15:59:24 2022-04-28 15:59:23,878 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 15:59:24 2022-04-28 15:59:23,878 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 15:59:24 2.2.0-dev.32 [Pipeline] } 15:59:24 $ docker exec --env ******** --env ******** 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb ssh-agent -k 15:59:24 unset SSH_AUTH_SOCK; 15:59:24 unset SSH_AGENT_PID; 15:59:24 echo Agent pid 78 killed; 15:59:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:24 + git semver [Pipeline] } 15:59:25 $ docker stop --time=1 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb 15:59:26 $ docker rm -f 83eb7997e3ab1e691bc5ae6965fceac2337807689ffac06d2a17755f6b4f29eb [Pipeline] // withDockerContainer [Pipeline] sh 15:59:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:59:27 Stashed 1 file(s) [Pipeline] echo 15:59:27 [edgeXSemver]: initialized semver on version 2.2.0-dev.32 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:27 provisioning config files... 15:59:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1029652079250246750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:27 ---> docker-login.sh 15:59:27 nexus3.edgexfoundry.org:10001 15:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:27 Configure a credential helper to remove this warning. See 15:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:27 15:59:27 Login Succeeded 15:59:27 nexus3.edgexfoundry.org:10002 15:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:27 Configure a credential helper to remove this warning. See 15:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:27 15:59:27 Login Succeeded 15:59:27 nexus3.edgexfoundry.org:10003 15:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:27 Configure a credential helper to remove this warning. See 15:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:27 15:59:27 Login Succeeded 15:59:27 nexus3.edgexfoundry.org:10004 15:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:28 Configure a credential helper to remove this warning. See 15:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:28 15:59:28 Login Succeeded 15:59:28 docker.io 15:59:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:28 Configure a credential helper to remove this warning. See 15:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:28 15:59:28 Login Succeeded 15:59:28 ---> docker-login.sh ends [Pipeline] } 15:59:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:59:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:28 ========================================================= 15:59:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:59:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:59:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:59:28 Sending build context to Docker daemon 3.047MB 15:59:28 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:59:28 Step 2/13 : FROM ${BASE} AS builder 15:59:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:59:28 59bf1c3509f3: Pulling fs layer 15:59:28 666ba61612fd: Pulling fs layer 15:59:28 8ed8ca486205: Pulling fs layer 15:59:28 4fe6c5a15a65: Pulling fs layer 15:59:28 22a0e8bec74d: Pulling fs layer 15:59:28 ca2b28591e48: Pulling fs layer 15:59:28 a51346096db8: Pulling fs layer 15:59:28 daebc70d1ce1: Pulling fs layer 15:59:28 0e18a0eac166: Pulling fs layer 15:59:28 4fe6c5a15a65: Waiting 15:59:28 daebc70d1ce1: Waiting 15:59:28 0e18a0eac166: Waiting 15:59:28 22a0e8bec74d: Waiting 15:59:28 a51346096db8: Waiting 15:59:28 ca2b28591e48: Waiting 15:59:28 8ed8ca486205: Verifying Checksum 15:59:28 8ed8ca486205: Download complete 15:59:28 666ba61612fd: Download complete 15:59:28 22a0e8bec74d: Verifying Checksum 15:59:28 22a0e8bec74d: Download complete 15:59:28 ca2b28591e48: Verifying Checksum 15:59:28 ca2b28591e48: Download complete 15:59:28 59bf1c3509f3: Verifying Checksum 15:59:28 a51346096db8: Verifying Checksum 15:59:28 a51346096db8: Download complete 15:59:28 daebc70d1ce1: Verifying Checksum 15:59:28 daebc70d1ce1: Download complete 15:59:28 59bf1c3509f3: Pull complete 15:59:29 666ba61612fd: Pull complete 15:59:29 8ed8ca486205: Pull complete 15:59:29 0e18a0eac166: Verifying Checksum 15:59:29 0e18a0eac166: Download complete 15:59:29 4fe6c5a15a65: Verifying Checksum 15:59:29 4fe6c5a15a65: Download complete 15:59:33 4fe6c5a15a65: Pull complete 15:59:33 22a0e8bec74d: Pull complete 15:59:33 ca2b28591e48: Pull complete 15:59:33 a51346096db8: Pull complete 15:59:33 daebc70d1ce1: Pull complete 15:59:36 0e18a0eac166: Pull complete 15:59:36 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:59:36 ---> f018257e8ee9 15:59:36 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:59:37 ---> Running in b9f12f80a936 15:59:37 Removing intermediate container b9f12f80a936 15:59:37 ---> 3f5e25cea292 15:59:37 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:59:37 ---> Running in 01330c92fbc5 15:59:37 Removing intermediate container 01330c92fbc5 15:59:37 ---> f86b67f73831 15:59:37 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 15:59:38 ---> Running in 6657c5ef4a2e 15:59:38 Removing intermediate container 6657c5ef4a2e 15:59:38 ---> 334c6ddd46be 15:59:38 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:59:38 ---> Running in 3af337baf98a 15:59:38 Removing intermediate container 3af337baf98a 15:59:38 ---> 058a197c782e 15:59:38 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:38 ---> Running in c9f59255f8ff 15:59:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:59:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:59:40 OK: 221 MiB in 52 packages 15:59:40 Removing intermediate container c9f59255f8ff 15:59:40 ---> b0426c2062f3 15:59:40 Step 8/13 : WORKDIR /app 15:59:40 ---> Running in 02b473395b3c 15:59:40 Removing intermediate container 02b473395b3c 15:59:40 ---> f23d7e4a6906 15:59:40 Step 9/13 : COPY go.mod vendor* ./ 15:59:40 ---> c9f62f45a5f0 15:59:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:40 ---> Running in c01b73201503 15:59:42 Still waiting to schedule task 15:59:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:59:59 Removing intermediate container c01b73201503 15:59:59 ---> 085c5e20f25e 15:59:59 Step 11/13 : COPY . . 15:59:59 ---> 5789debd24ad 15:59:59 Step 12/13 : ARG MAKE="make build" 15:59:59 ---> Running in 38ae1bab6c27 15:59:59 Removing intermediate container 38ae1bab6c27 15:59:59 ---> c0914aa517ec 15:59:59 Step 13/13 : RUN $MAKE 15:59:59 ---> Running in 2d2b98a740fe 15:59:59 noop 15:59:59 Removing intermediate container 2d2b98a740fe 15:59:59 ---> a1680bc9a85d 15:59:59 Successfully built a1680bc9a85d 15:59:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:00:00 + docker inspect -f . ci-base-image-x86_64 16:00:00 . [Pipeline] withDockerContainer 16:00:00 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:00:00 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:00:00 $ docker top 87991b999fde031cdf11249624f0ee62aa0c57ca1c1c3c2d49604e8bf3ab19de -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:01 + go version 16:00:01 go version go1.17.6 linux/amd64 [Pipeline] } 16:00:01 $ docker stop --time=1 87991b999fde031cdf11249624f0ee62aa0c57ca1c1c3c2d49604e8bf3ab19de 16:00:02 $ docker rm -f 87991b999fde031cdf11249624f0ee62aa0c57ca1c1c3c2d49604e8bf3ab19de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:00:02 + docker inspect -f . ci-base-image-x86_64 16:00:02 . [Pipeline] withDockerContainer 16:00:02 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:00:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:00:03 $ docker top 7546a92cb4b0f0122fa17eb39e689de7117118041c6eb5c739c5558aafb5a7d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:00:03 + make test 16:00:03 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:00:13 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:00:13 CGO_ENABLED=1 go vet ./... 16:00:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:00:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:00:17 ./bin/test-attribution-txt.sh [Pipeline] echo 16:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:00:17 $ docker stop --time=1 7546a92cb4b0f0122fa17eb39e689de7117118041c6eb5c739c5558aafb5a7d8 16:00:19 $ docker rm -f 7546a92cb4b0f0122fa17eb39e689de7117118041c6eb5c739c5558aafb5a7d8 [Pipeline] // withDockerContainer [Pipeline] sh 16:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:00:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:00:20 + ls -al . 16:00:20 total 164 16:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 16:00 . 16:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 15:58 .. 16:00:20 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 15:58 .dockerignore 16:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 15:59 .git 16:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 15:58 .github 16:00:20 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 15:58 .gitignore 16:00:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 15:59 .semver 16:00:20 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 15:58 Attribution.txt 16:00:20 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 15:58 CHANGELOG.md 16:00:20 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 15:58 Dockerfile 16:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 15:58 GOVERNANCE.md 16:00:20 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 15:58 Jenkinsfile 16:00:20 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 15:58 LICENSE 16:00:20 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 15:58 OWNERS.md 16:00:20 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 15:58 README.md 16:00:20 -rw-rw-r-- 1 jenkins jenkins 12 Apr 28 15:59 VERSION 16:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 15:58 bin 16:00:20 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 16:00 coverage.out 16:00:20 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 15:58 go.mod 16:00:20 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 15:58 go.sum 16:00:20 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 15:58 main.go 16:00:20 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 15:58 makefile 16:00:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 15:58 res 16:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 15:58 snap [Pipeline] isUnix [Pipeline] sh 16:00:20 + 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=630649d9e86e1599e588b2207988e7000b3d75e7 --label arch=amd64 --label version=2.2.0-dev.32 . 16:00:20 Sending build context to Docker daemon 3.048MB 16:00:20 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 16:00:20 Step 2/27 : FROM ${BASE} AS builder 16:00:20 ---> a1680bc9a85d 16:00:20 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:00:20 ---> Running in 468bd5755412 16:00:21 Removing intermediate container 468bd5755412 16:00:21 ---> 7ae2a30b23a3 16:00:21 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:00:21 ---> Running in 79e855bbc6ea 16:00:21 Removing intermediate container 79e855bbc6ea 16:00:21 ---> b6b7f361a152 16:00:21 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:00:21 ---> Running in 7ccb133b2354 16:00:21 Removing intermediate container 7ccb133b2354 16:00:21 ---> a43d45235fde 16:00:21 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:00:21 ---> Running in af0b1b1cca00 16:00:22 Removing intermediate container af0b1b1cca00 16:00:22 ---> c4534f491455 16:00:22 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:00:22 ---> Running in e094c708ad6a 16:00:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:00:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:00:23 OK: 221 MiB in 52 packages 16:00:24 Removing intermediate container e094c708ad6a 16:00:24 ---> 6bb0b4c151f2 16:00:24 Step 8/27 : WORKDIR /app 16:00:24 ---> Running in f0ef0bb4b4df 16:00:24 Removing intermediate container f0ef0bb4b4df 16:00:24 ---> 07a40e4987f4 16:00:24 Step 9/27 : COPY go.mod vendor* ./ 16:00:24 ---> 942a9c67a183 16:00:24 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:24 ---> Running in 3921574d6c8e 16:00:25 Removing intermediate container 3921574d6c8e 16:00:25 ---> 72c766f12777 16:00:25 Step 11/27 : COPY . . 16:00:25 ---> aad98352a5fb 16:00:25 Step 12/27 : ARG MAKE="make build" 16:00:25 ---> Running in df57ddaeb616 16:00:25 Removing intermediate container df57ddaeb616 16:00:25 ---> 5bbd8177131a 16:00:25 Step 13/27 : RUN $MAKE 16:00:25 ---> Running in 4f1a66107cc1 16:00:25 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 16:00:47 Removing intermediate container 4f1a66107cc1 16:00:47 ---> d51751da8e64 16:00:47 Step 14/27 : FROM alpine:3.14 16:00:47 3.14: Pulling from library/alpine 16:00:47 8663204ce13b: Pulling fs layer 16:00:47 8663204ce13b: Verifying Checksum 16:00:47 8663204ce13b: Download complete 16:00:47 8663204ce13b: Pull complete 16:00:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:00:47 Status: Downloaded newer image for alpine:3.14 16:00:47 ---> e04c818066af 16:00:47 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:00:47 ---> Running in 83048232d666 16:00:47 Removing intermediate container 83048232d666 16:00:47 ---> 91995b302dd0 16:00:47 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:00:47 ---> Running in 8e85d62a00cb 16:00:47 Removing intermediate container 8e85d62a00cb 16:00:47 ---> cd110ed1c955 16:00:47 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 16:00:47 ---> Running in cd25ce694286 16:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:00:47 (1/7) Installing ca-certificates (20211220-r0) 16:00:47 (2/7) Installing dumb-init (1.2.5-r1) 16:00:47 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:00:47 (4/7) Installing libsodium (1.0.18-r0) 16:00:47 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:00:47 (6/7) Installing libzmq (4.3.4-r0) 16:00:47 (7/7) Installing zeromq (4.3.4-r0) 16:00:47 Executing busybox-1.33.1-r7.trigger 16:00:47 Executing ca-certificates-20211220-r0.trigger 16:00:47 OK: 9 MiB in 21 packages 16:00:47 Removing intermediate container cd25ce694286 16:00:47 ---> be26d46949f4 16:00:47 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:00:48 ---> 012c62c23931 16:00:48 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:00:48 ---> e9fdbd1ca0f7 16:00:48 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:00:48 ---> 6f1e720a6472 16:00:48 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:00:49 ---> 27ac11dcb1ee 16:00:49 Step 22/27 : EXPOSE 48095 16:00:49 ---> Running in 2e92127ee41f 16:00:49 Removing intermediate container 2e92127ee41f 16:00:49 ---> 739b70b49a3e 16:00:49 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:00:49 ---> Running in 2b8cdec45780 16:00:49 Removing intermediate container 2b8cdec45780 16:00:49 ---> df42b50d3b07 16:00:49 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:00:49 ---> Running in a887930652d8 16:00:49 Removing intermediate container a887930652d8 16:00:49 ---> 977f643df4ab 16:00:49 Step 25/27 : LABEL arch=amd64 16:00:49 ---> Running in fa2303503da0 16:00:49 Removing intermediate container fa2303503da0 16:00:49 ---> f04986bbede0 16:00:49 Step 26/27 : LABEL git_sha=630649d9e86e1599e588b2207988e7000b3d75e7 16:00:49 ---> Running in a902e9403f55 16:00:49 Removing intermediate container a902e9403f55 16:00:49 ---> b2d8d6f56106 16:00:49 Step 27/27 : LABEL version=2.2.0-dev.32 16:00:49 ---> Running in 8174ebd04f20 16:00:49 Removing intermediate container 8174ebd04f20 16:00:49 ---> 81c12046896d 16:00:49 [Warning] One or more build-args [ARCH] were not consumed 16:00:49 Successfully built 81c12046896d 16:00:49 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:49 provisioning config files... 16:00:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config7306354140029733884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:50 ---> docker-login.sh 16:00:50 nexus3.edgexfoundry.org:10001 16:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:50 Configure a credential helper to remove this warning. See 16:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:50 16:00:50 Login Succeeded 16:00:50 nexus3.edgexfoundry.org:10002 16:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:50 Configure a credential helper to remove this warning. See 16:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:50 16:00:50 Login Succeeded 16:00:50 nexus3.edgexfoundry.org:10003 16:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:50 Configure a credential helper to remove this warning. See 16:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:50 16:00:50 Login Succeeded 16:00:50 nexus3.edgexfoundry.org:10004 16:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:50 Configure a credential helper to remove this warning. See 16:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:50 16:00:50 Login Succeeded 16:00:50 docker.io 16:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:51 Configure a credential helper to remove this warning. See 16:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:51 16:00:51 Login Succeeded 16:00:51 ---> docker-login.sh ends [Pipeline] } 16:00:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:51 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 16:00:51 630649d9e86e1599e588b2207988e7000b3d75e7 16:00:51 latest 16:00:51 2.2.0-dev.32 16:00:51 630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:00:51 main 16:00:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:00:51 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] isUnix [Pipeline] sh 16:00:52 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7 16:00:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 16:00:52 b0b22b17476c: Preparing 16:00:52 f7abadbf42a7: Preparing 16:00:52 54ab6610c0da: Preparing 16:00:52 02bfbe777313: Preparing 16:00:52 2d21706776e5: Preparing 16:00:52 b541d28bf3b4: Preparing 16:00:52 b541d28bf3b4: Waiting 16:00:52 02bfbe777313: Pushed 16:00:52 f7abadbf42a7: Pushed 16:00:52 54ab6610c0da: Pushed 16:00:52 b541d28bf3b4: Layer already exists 16:00:52 2d21706776e5: Pushed 16:00:54 b0b22b17476c: Pushed 16:00:54 630649d9e86e1599e588b2207988e7000b3d75e7: digest: sha256:9f695d645815286c9d0086063defb9e0166481754b423b9488946d649a0b1091 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:00:55 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 16:00:55 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 16:00:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 16:00:55 b0b22b17476c: Preparing 16:00:55 f7abadbf42a7: Preparing 16:00:55 54ab6610c0da: Preparing 16:00:55 02bfbe777313: Preparing 16:00:55 2d21706776e5: Preparing 16:00:55 b541d28bf3b4: Preparing 16:00:55 b541d28bf3b4: Waiting 16:00:55 f7abadbf42a7: Layer already exists 16:00:55 b0b22b17476c: Layer already exists 16:00:55 2d21706776e5: Layer already exists 16:00:55 54ab6610c0da: Layer already exists 16:00:55 02bfbe777313: Layer already exists 16:00:55 b541d28bf3b4: Layer already exists 16:00:55 latest: digest: sha256:9f695d645815286c9d0086063defb9e0166481754b423b9488946d649a0b1091 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:00:55 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.32 [Pipeline] isUnix [Pipeline] sh 16:00:56 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.32 16:00:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 16:00:56 b0b22b17476c: Preparing 16:00:56 f7abadbf42a7: Preparing 16:00:56 54ab6610c0da: Preparing 16:00:56 02bfbe777313: Preparing 16:00:56 2d21706776e5: Preparing 16:00:56 b541d28bf3b4: Preparing 16:00:56 b541d28bf3b4: Waiting 16:00:56 02bfbe777313: Layer already exists 16:00:56 2d21706776e5: Layer already exists 16:00:56 54ab6610c0da: Layer already exists 16:00:56 f7abadbf42a7: Layer already exists 16:00:56 b0b22b17476c: Layer already exists 16:00:56 b541d28bf3b4: Layer already exists 16:00:56 2.2.0-dev.32: digest: sha256:9f695d645815286c9d0086063defb9e0166481754b423b9488946d649a0b1091 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:00:56 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 [Pipeline] isUnix [Pipeline] sh 16:00:56 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:00:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 16:00:56 b0b22b17476c: Preparing 16:00:56 f7abadbf42a7: Preparing 16:00:56 54ab6610c0da: Preparing 16:00:56 02bfbe777313: Preparing 16:00:56 2d21706776e5: Preparing 16:00:56 b541d28bf3b4: Preparing 16:00:56 b541d28bf3b4: Waiting 16:00:56 b0b22b17476c: Layer already exists 16:00:56 02bfbe777313: Layer already exists 16:00:56 f7abadbf42a7: Layer already exists 16:00:56 2d21706776e5: Layer already exists 16:00:56 54ab6610c0da: Layer already exists 16:00:56 b541d28bf3b4: Layer already exists 16:00:56 630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32: digest: sha256:9f695d645815286c9d0086063defb9e0166481754b423b9488946d649a0b1091 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:00:56 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] isUnix [Pipeline] sh 16:00:57 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 16:00:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 16:00:57 b0b22b17476c: Preparing 16:00:57 f7abadbf42a7: Preparing 16:00:57 54ab6610c0da: Preparing 16:00:57 02bfbe777313: Preparing 16:00:57 2d21706776e5: Preparing 16:00:57 b541d28bf3b4: Preparing 16:00:57 b541d28bf3b4: Waiting 16:00:57 b0b22b17476c: Layer already exists 16:00:57 54ab6610c0da: Layer already exists 16:00:57 2d21706776e5: Layer already exists 16:00:57 02bfbe777313: Layer already exists 16:00:57 f7abadbf42a7: Layer already exists 16:00:57 b541d28bf3b4: Layer already exists 16:00:57 main: digest: sha256:9f695d645815286c9d0086063defb9e0166481754b423b9488946d649a0b1091 size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:57 ===================================================== [Pipeline] echo 16:00:57 taggedImages: 16:00:57 - nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7 16:00:57 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 16:00:57 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.32 16:00:57 - nexus3.edgexfoundry.org:10004/app-service-configurable:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:00:57 - 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 16:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:57 16:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:57 latest: Pulling from edgex-lftools-log-publisher 16:00:57 5eb5b503b376: Pulling fs layer 16:00:57 5c69ac0246d0: Pulling fs layer 16:00:57 ec43610c2a17: Pulling fs layer 16:00:57 3a2ae6a8a46f: Pulling fs layer 16:00:57 33b1e0a273af: Pulling fs layer 16:00:57 5d3b04190fa2: Pulling fs layer 16:00:57 2f39f015ded8: Pulling fs layer 16:00:57 3a2ae6a8a46f: Waiting 16:00:57 2f39f015ded8: Waiting 16:00:57 5d3b04190fa2: Waiting 16:00:57 33b1e0a273af: Waiting 16:00:57 5c69ac0246d0: Download complete 16:00:57 3a2ae6a8a46f: Verifying Checksum 16:00:57 3a2ae6a8a46f: Download complete 16:00:57 33b1e0a273af: Verifying Checksum 16:00:57 33b1e0a273af: Download complete 16:00:57 5d3b04190fa2: Verifying Checksum 16:00:57 5d3b04190fa2: Download complete 16:00:57 ec43610c2a17: Verifying Checksum 16:00:57 ec43610c2a17: Download complete 16:00:58 5eb5b503b376: Verifying Checksum 16:00:58 5eb5b503b376: Download complete 16:00:58 2f39f015ded8: Download complete 16:00:59 5eb5b503b376: Pull complete 16:00:59 5c69ac0246d0: Pull complete 16:00:59 ec43610c2a17: Pull complete 16:01:00 3a2ae6a8a46f: Pull complete 16:01:00 33b1e0a273af: Pull complete 16:01:00 5d3b04190fa2: Pull complete 16:01:05 2f39f015ded8: Pull complete 16:01:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:01:05 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:01:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:01:07 $ docker top 673c85e97e87b5a0d80c78c2efdfad0650bfbb144970efca83a2538afef69847 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:07 ---> job-cost.sh 16:01:07 lf-activate-venv: SKIPPING 16:01:07 INFO: No Stack... 16:01:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:08 INFO: Archiving Costs [Pipeline] sh 16:01:09 + cat /w/workspace/ry_app-service-configurable_main/archives/cost.csv 16:01:09 + cut -d, -f6 [Pipeline] lock 16:01:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] 16:01:09 Resource [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] did not exist. Created. 16:01:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:01:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:01:09 Stashed 1 file(s) [Pipeline] } 16:01:09 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 16:01:09 $ docker stop --time=1 673c85e97e87b5a0d80c78c2efdfad0650bfbb144970efca83a2538afef69847 16:01:10 $ docker rm -f 673c85e97e87b5a0d80c78c2efdfad0650bfbb144970efca83a2538afef69847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:01:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33675 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 16:01:17 Running in /w/workspace/app-service-configurable/68 [Pipeline] { [Pipeline] checkout 16:01:17 Selected Git installation does not exist. Using Default 16:01:17 The recommended git tool is: NONE 16:01:24 using credential edgex-jenkins-ssh 16:01:24 Cloning the remote Git repository 16:01:24 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 16:01:24 > git init /w/workspace/app-service-configurable/68 # timeout=10 16:01:24 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:01:24 > git --version # timeout=10 16:01:24 > git --version # 'git version 2.25.1' 16:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:26 Avoid second fetch 16:01:26 Checking out Revision 630649d9e86e1599e588b2207988e7000b3d75e7 (main) 16:01:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:01:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:26 > git config core.sparsecheckout # timeout=10 16:01:26 > git checkout -f 630649d9e86e1599e588b2207988e7000b3d75e7 # timeout=10 16:01:30 Commit message: "feat: Used Batch for metrics-influxdb profile (#413)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:01:31 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:31 Dload Upload Total Spent Left Speed 16:01:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68854 0 --:--:-- --:--:-- --:--:-- 68854 [Pipeline] sh 16:01:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:01:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 16:01:32 sudo tee /etc/docker/daemon.new 16:01:32 { 16:01:32 "registry-mirrors": [ 16:01:32 "https://nexus3.edgexfoundry.org:10001" 16:01:32 ], 16:01:32 "bip": "10.250.0.254/24", 16:01:32 "hosts": [ 16:01:32 "tcp://0.0.0.0:5555", 16:01:32 "unix:///var/run/docker.sock" 16:01:32 ], 16:01:32 "mtu": 1458, 16:01:32 "selinux-enabled": true, 16:01:32 "seccomp-profile": "/etc/docker/seccomp.json" 16:01:32 } [Pipeline] sh 16:01:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:01:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:51 provisioning config files... 16:01:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/68@tmp/config3603348599393413785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:51 ---> docker-login.sh 16:01:51 nexus3.edgexfoundry.org:10001 16:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:52 Configure a credential helper to remove this warning. See 16:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:52 16:01:52 Login Succeeded 16:01:52 nexus3.edgexfoundry.org:10002 16:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:52 Configure a credential helper to remove this warning. See 16:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:52 16:01:52 Login Succeeded 16:01:52 nexus3.edgexfoundry.org:10003 16:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:53 Configure a credential helper to remove this warning. See 16:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:53 16:01:53 Login Succeeded 16:01:53 nexus3.edgexfoundry.org:10004 16:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:53 Configure a credential helper to remove this warning. See 16:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:53 16:01:53 Login Succeeded 16:01:53 docker.io 16:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:54 Configure a credential helper to remove this warning. See 16:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:54 16:01:54 Login Succeeded 16:01:54 ---> docker-login.sh ends [Pipeline] } 16:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:55 ========================================================= 16:01:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:01:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:01:55 + 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 . 16:01:55 Sending build context to Docker daemon 207.4kB 16:01:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:01:55 Step 2/13 : FROM ${BASE} AS builder 16:01:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:55 9b3977197b4f: Pulling fs layer 16:01:55 1a89e8eeedd5: Pulling fs layer 16:01:55 94645a83ff95: Pulling fs layer 16:01:55 3f3a8bcf1eab: Pulling fs layer 16:01:55 0c92f367c5e7: Pulling fs layer 16:01:55 3096ccb668a1: Pulling fs layer 16:01:55 e8cf19c19ddd: Pulling fs layer 16:01:55 a4caa8a26152: Pulling fs layer 16:01:55 3f3a8bcf1eab: Waiting 16:01:55 0c92f367c5e7: Waiting 16:01:55 e8cf19c19ddd: Waiting 16:01:55 a4caa8a26152: Waiting 16:01:55 3096ccb668a1: Waiting 16:01:56 94645a83ff95: Verifying Checksum 16:01:56 94645a83ff95: Download complete 16:01:56 1a89e8eeedd5: Download complete 16:01:56 0c92f367c5e7: Verifying Checksum 16:01:56 0c92f367c5e7: Download complete 16:01:56 3096ccb668a1: Verifying Checksum 16:01:56 3096ccb668a1: Download complete 16:01:56 9b3977197b4f: Download complete 16:01:56 e8cf19c19ddd: Verifying Checksum 16:01:56 e8cf19c19ddd: Download complete 16:01:56 9b3977197b4f: Pull complete 16:01:57 1a89e8eeedd5: Pull complete 16:01:57 94645a83ff95: Pull complete 16:01:57 a4caa8a26152: Verifying Checksum 16:01:57 a4caa8a26152: Download complete 16:01:58 3f3a8bcf1eab: Verifying Checksum 16:01:58 3f3a8bcf1eab: Download complete 16:02:11 3f3a8bcf1eab: Pull complete 16:02:11 0c92f367c5e7: Pull complete 16:02:11 3096ccb668a1: Pull complete 16:02:11 e8cf19c19ddd: Pull complete 16:02:17 a4caa8a26152: Pull complete 16:02:17 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:02:17 ---> 725f1c02e7f9 16:02:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:02:18 ---> Running in 60bcab864986 16:02:19 Removing intermediate container 60bcab864986 16:02:19 ---> df5243fe4444 16:02:19 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:02:19 ---> Running in 233699d5e7db 16:02:19 Removing intermediate container 233699d5e7db 16:02:19 ---> 135d39d842d3 16:02:19 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:02:19 ---> Running in 63d09cc8ce58 16:02:19 Removing intermediate container 63d09cc8ce58 16:02:19 ---> 3ee18c8249ea 16:02:19 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:02:20 ---> Running in 38d09f8bd663 16:02:21 Removing intermediate container 38d09f8bd663 16:02:21 ---> f81d55b786e8 16:02:21 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:21 ---> Running in f674756de6d1 16:02:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:02:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:02:24 OK: 220 MiB in 52 packages 16:02:25 Removing intermediate container f674756de6d1 16:02:25 ---> 11d1196fa2c0 16:02:25 Step 8/13 : WORKDIR /app 16:02:25 ---> Running in 1feeaddcded2 16:02:25 Removing intermediate container 1feeaddcded2 16:02:25 ---> d2ac06c5d494 16:02:25 Step 9/13 : COPY go.mod vendor* ./ 16:02:25 ---> 1d6e8ee34509 16:02:25 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:26 ---> Running in 1fdfa3866d60 16:03:13 Removing intermediate container 1fdfa3866d60 16:03:13 ---> bbedbbb2dedf 16:03:13 Step 11/13 : COPY . . 16:03:13 ---> 15d2c0817172 16:03:13 Step 12/13 : ARG MAKE="make build" 16:03:13 ---> Running in d4b4c929fbd9 16:03:13 Removing intermediate container d4b4c929fbd9 16:03:13 ---> ccc30368bf9c 16:03:13 Step 13/13 : RUN $MAKE 16:03:13 ---> Running in f6275c6dab0a 16:03:13 noop 16:03:14 Removing intermediate container f6275c6dab0a 16:03:14 ---> 72aa82d95d48 16:03:14 Successfully built 72aa82d95d48 16:03:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:03:14 + docker inspect -f . ci-base-image-arm64 16:03:14 . [Pipeline] withDockerContainer 16:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-33675 does not seem to be running inside a container 16:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/68 -v /w/workspace/app-service-configurable/68:/w/workspace/app-service-configurable/68:rw,z -v /w/workspace/app-service-configurable/68@tmp:/w/workspace/app-service-configurable/68@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 16:03:16 $ docker top 352bdfb353f7149d5a7e556709922daeb1703b2fc69cdfbf3bef045b1c079295 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:17 + go version 16:03:17 go version go1.17.6 linux/arm64 [Pipeline] } 16:03:17 $ docker stop --time=1 352bdfb353f7149d5a7e556709922daeb1703b2fc69cdfbf3bef045b1c079295 16:03:18 $ docker rm -f 352bdfb353f7149d5a7e556709922daeb1703b2fc69cdfbf3bef045b1c079295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:03:19 + docker inspect -f . ci-base-image-arm64 16:03:19 . [Pipeline] withDockerContainer 16:03:19 prd-ubuntu20.04-docker-arm64-4c-16g-33675 does not seem to be running inside a container 16:03:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/68 -v /w/workspace/app-service-configurable/68:/w/workspace/app-service-configurable/68:rw,z -v /w/workspace/app-service-configurable/68@tmp:/w/workspace/app-service-configurable/68@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 16:03:21 $ docker top 93a8ab2c8391a737699a717b68ec5d1420ebb7c6b76a40816f5f3f881c4e7815 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:03:22 + make test 16:03:22 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:04:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:04:43 CGO_ENABLED=1 go vet ./... 16:05:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:05:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:05:02 ./bin/test-attribution-txt.sh [Pipeline] echo 16:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:05:04 $ docker stop --time=1 93a8ab2c8391a737699a717b68ec5d1420ebb7c6b76a40816f5f3f881c4e7815 16:05:06 $ docker rm -f 93a8ab2c8391a737699a717b68ec5d1420ebb7c6b76a40816f5f3f881c4e7815 [Pipeline] // withDockerContainer [Pipeline] sh 16:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:05:07 Warning: overwriting stash ‘coverage-report’ 16:05:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:05:08 + ls -al . 16:05:08 total 160 16:05:08 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 16:05 . 16:05:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 16:01 .. 16:05:08 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 16:01 .dockerignore 16:05:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 16:01 .git 16:05:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 16:01 .github 16:05:08 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 16:01 .gitignore 16:05:08 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 16:01 Attribution.txt 16:05:08 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 16:01 CHANGELOG.md 16:05:08 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 16:01 Dockerfile 16:05:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 16:01 GOVERNANCE.md 16:05:08 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 16:01 Jenkinsfile 16:05:08 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 16:01 LICENSE 16:05:08 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 16:01 OWNERS.md 16:05:08 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 16:01 README.md 16:05:08 -rw-rw-r-- 1 jenkins jenkins 12 Apr 28 15:59 VERSION 16:05:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 16:01 bin 16:05:08 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 16:03 coverage.out 16:05:08 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 16:01 go.mod 16:05:08 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 28 16:01 go.sum 16:05:08 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 16:01 main.go 16:05:08 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 16:01 makefile 16:05:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 16:01 res 16:05:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 16:01 snap [Pipeline] isUnix [Pipeline] sh 16:05:09 + 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=630649d9e86e1599e588b2207988e7000b3d75e7 --label arch=arm64 --label version=2.2.0-dev.32 . 16:05:09 Sending build context to Docker daemon 208.4kB 16:05:09 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 16:05:09 Step 2/27 : FROM ${BASE} AS builder 16:05:09 ---> 72aa82d95d48 16:05:09 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:05:09 ---> Running in 1d185b5a327c 16:05:10 Removing intermediate container 1d185b5a327c 16:05:10 ---> faebdf54c76a 16:05:10 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:05:10 ---> Running in 8fa7fc3603d1 16:05:10 Removing intermediate container 8fa7fc3603d1 16:05:10 ---> cba2ac9b4b78 16:05:10 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:05:10 ---> Running in a8fafe30b6a1 16:05:10 Removing intermediate container a8fafe30b6a1 16:05:10 ---> 0294ad62be04 16:05:10 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:05:10 ---> Running in 6d6fdcdfc9e9 16:05:12 Removing intermediate container 6d6fdcdfc9e9 16:05:12 ---> 6ec5478cfe76 16:05:12 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:12 ---> Running in a33561f1365a 16:05:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:05:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:05:15 OK: 220 MiB in 52 packages 16:05:16 Removing intermediate container a33561f1365a 16:05:16 ---> 45804513cd5c 16:05:16 Step 8/27 : WORKDIR /app 16:05:16 ---> Running in 50563852f12f 16:05:16 Removing intermediate container 50563852f12f 16:05:16 ---> 5142c5713afb 16:05:16 Step 9/27 : COPY go.mod vendor* ./ 16:05:16 ---> fe2ea6d38eff 16:05:16 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:16 ---> Running in 75836fc3ac89 16:05:18 Removing intermediate container 75836fc3ac89 16:05:18 ---> 22804bac04a6 16:05:18 Step 11/27 : COPY . . 16:05:19 ---> 074826bc1a51 16:05:19 Step 12/27 : ARG MAKE="make build" 16:05:19 ---> Running in a99218c42af6 16:05:20 Removing intermediate container a99218c42af6 16:05:20 ---> 8b76c580f48e 16:05:20 Step 13/27 : RUN $MAKE 16:05:20 ---> Running in 574632d93a7d 16:05:21 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 16:07:27 Removing intermediate container 574632d93a7d 16:07:27 ---> c8282448672e 16:07:27 Step 14/27 : FROM alpine:3.14 16:07:27 3.14: Pulling from library/alpine 16:07:27 455c02918c45: Pulling fs layer 16:07:27 455c02918c45: Verifying Checksum 16:07:27 455c02918c45: Download complete 16:07:27 455c02918c45: Pull complete 16:07:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:07:27 Status: Downloaded newer image for alpine:3.14 16:07:27 ---> ac73e934f311 16:07:27 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 16:07:27 ---> Running in 9101ca772c48 16:07:27 Removing intermediate container 9101ca772c48 16:07:27 ---> 498c1bce3213 16:07:27 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:07:27 ---> Running in 427490da23aa 16:07:27 Removing intermediate container 427490da23aa 16:07:27 ---> 76014cb77507 16:07:27 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 16:07:27 ---> Running in aedb074c75e5 16:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:07:27 (1/7) Installing ca-certificates (20211220-r0) 16:07:27 (2/7) Installing dumb-init (1.2.5-r1) 16:07:27 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:07:27 (4/7) Installing libsodium (1.0.18-r0) 16:07:27 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:07:27 (6/7) Installing libzmq (4.3.4-r0) 16:07:27 (7/7) Installing zeromq (4.3.4-r0) 16:07:27 Executing busybox-1.33.1-r7.trigger 16:07:27 Executing ca-certificates-20211220-r0.trigger 16:07:27 OK: 9 MiB in 21 packages 16:07:27 Removing intermediate container aedb074c75e5 16:07:27 ---> 50b1524c8745 16:07:27 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:07:27 ---> 9cb3301f1748 16:07:27 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:07:27 ---> 90546f8293ae 16:07:27 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:07:27 ---> b225d4bf3400 16:07:27 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:07:27 ---> 77f212d688f7 16:07:27 Step 22/27 : EXPOSE 48095 16:07:27 ---> Running in ebdfeff9be44 16:07:27 Removing intermediate container ebdfeff9be44 16:07:27 ---> d49359ec62e1 16:07:27 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:07:27 ---> Running in 0c27568fca87 16:07:27 Removing intermediate container 0c27568fca87 16:07:27 ---> 2ddeccf5b6c1 16:07:27 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:07:27 ---> Running in 5df9fec20125 16:07:27 Removing intermediate container 5df9fec20125 16:07:27 ---> cf2cd93619b2 16:07:27 Step 25/27 : LABEL arch=arm64 16:07:27 ---> Running in 2fa1ac63c25c 16:07:27 Removing intermediate container 2fa1ac63c25c 16:07:27 ---> b2c21aea67e4 16:07:27 Step 26/27 : LABEL git_sha=630649d9e86e1599e588b2207988e7000b3d75e7 16:07:27 ---> Running in 99c647c5a676 16:07:27 Removing intermediate container 99c647c5a676 16:07:27 ---> ae61d2959271 16:07:27 Step 27/27 : LABEL version=2.2.0-dev.32 16:07:27 ---> Running in 828ec4b411cb 16:07:27 Removing intermediate container 828ec4b411cb 16:07:27 ---> a7d14bd4ac54 16:07:27 [Warning] One or more build-args [ARCH] were not consumed 16:07:27 Successfully built a7d14bd4ac54 16:07:27 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 16:07:28 provisioning config files... 16:07:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/68@tmp/config7977639762004080626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:28 ---> docker-login.sh 16:07:28 nexus3.edgexfoundry.org:10001 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10002 16:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:29 Configure a credential helper to remove this warning. See 16:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:29 16:07:29 Login Succeeded 16:07:29 nexus3.edgexfoundry.org:10003 16:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:29 Configure a credential helper to remove this warning. See 16:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:29 16:07:29 Login Succeeded 16:07:29 nexus3.edgexfoundry.org:10004 16:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:30 Configure a credential helper to remove this warning. See 16:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:30 16:07:30 Login Succeeded 16:07:30 docker.io 16:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:31 Configure a credential helper to remove this warning. See 16:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:31 16:07:31 Login Succeeded 16:07:31 ---> docker-login.sh ends [Pipeline] } 16:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:31 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 16:07:31 630649d9e86e1599e588b2207988e7000b3d75e7 16:07:31 latest 16:07:31 2.2.0-dev.32 16:07:31 630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:07:31 main 16:07:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:07:31 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] isUnix [Pipeline] sh 16:07:31 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7 16:07:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 16:07:31 6c468dedc490: Preparing 16:07:31 5a9089893055: Preparing 16:07:31 8a63b92c6122: Preparing 16:07:31 54d451cdca65: Preparing 16:07:31 7d945d074a71: Preparing 16:07:31 f73e7dbfee58: Preparing 16:07:31 f73e7dbfee58: Waiting 16:07:32 54d451cdca65: Pushed 16:07:32 8a63b92c6122: Pushed 16:07:32 5a9089893055: Pushed 16:07:32 f73e7dbfee58: Layer already exists 16:07:33 7d945d074a71: Pushed 16:07:38 6c468dedc490: Pushed 16:07:38 630649d9e86e1599e588b2207988e7000b3d75e7: digest: sha256:e2f7de590b059349dc62eac00767417263c5eabd87d81a38a69014b86bc674a5 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:07:38 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:07:39 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 16:07:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 16:07:39 6c468dedc490: Preparing 16:07:39 5a9089893055: Preparing 16:07:39 8a63b92c6122: Preparing 16:07:39 54d451cdca65: Preparing 16:07:39 7d945d074a71: Preparing 16:07:39 f73e7dbfee58: Preparing 16:07:39 f73e7dbfee58: Waiting 16:07:39 54d451cdca65: Layer already exists 16:07:39 8a63b92c6122: Layer already exists 16:07:39 5a9089893055: Layer already exists 16:07:39 7d945d074a71: Layer already exists 16:07:39 6c468dedc490: Layer already exists 16:07:39 f73e7dbfee58: Layer already exists 16:07:39 latest: digest: sha256:e2f7de590b059349dc62eac00767417263c5eabd87d81a38a69014b86bc674a5 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:07:39 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.32 [Pipeline] isUnix [Pipeline] sh 16:07:40 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.32 16:07:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 16:07:40 6c468dedc490: Preparing 16:07:40 5a9089893055: Preparing 16:07:40 8a63b92c6122: Preparing 16:07:40 54d451cdca65: Preparing 16:07:40 7d945d074a71: Preparing 16:07:40 f73e7dbfee58: Preparing 16:07:40 f73e7dbfee58: Waiting 16:07:40 54d451cdca65: Layer already exists 16:07:40 6c468dedc490: Layer already exists 16:07:40 5a9089893055: Layer already exists 16:07:40 7d945d074a71: Layer already exists 16:07:40 8a63b92c6122: Layer already exists 16:07:40 f73e7dbfee58: Layer already exists 16:07:40 2.2.0-dev.32: digest: sha256:e2f7de590b059349dc62eac00767417263c5eabd87d81a38a69014b86bc674a5 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:07:40 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 [Pipeline] isUnix [Pipeline] sh 16:07:41 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:07:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 16:07:41 6c468dedc490: Preparing 16:07:41 5a9089893055: Preparing 16:07:41 8a63b92c6122: Preparing 16:07:41 54d451cdca65: Preparing 16:07:41 7d945d074a71: Preparing 16:07:41 f73e7dbfee58: Preparing 16:07:41 f73e7dbfee58: Waiting 16:07:41 7d945d074a71: Layer already exists 16:07:41 54d451cdca65: Layer already exists 16:07:41 8a63b92c6122: Layer already exists 16:07:41 5a9089893055: Layer already exists 16:07:41 6c468dedc490: Layer already exists 16:07:41 f73e7dbfee58: Layer already exists 16:07:41 630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32: digest: sha256:e2f7de590b059349dc62eac00767417263c5eabd87d81a38a69014b86bc674a5 size: 1575 [Pipeline] isUnix [Pipeline] sh 16:07:41 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] isUnix [Pipeline] sh 16:07:41 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 16:07:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 16:07:41 6c468dedc490: Preparing 16:07:41 5a9089893055: Preparing 16:07:41 8a63b92c6122: Preparing 16:07:41 54d451cdca65: Preparing 16:07:41 7d945d074a71: Preparing 16:07:41 f73e7dbfee58: Preparing 16:07:41 6c468dedc490: Layer already exists 16:07:41 7d945d074a71: Layer already exists 16:07:41 5a9089893055: Layer already exists 16:07:41 54d451cdca65: Layer already exists 16:07:41 8a63b92c6122: Layer already exists 16:07:41 f73e7dbfee58: Layer already exists 16:07:42 main: digest: sha256:e2f7de590b059349dc62eac00767417263c5eabd87d81a38a69014b86bc674a5 size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:42 ===================================================== [Pipeline] echo 16:07:42 taggedImages: 16:07:42 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7 16:07:42 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 16:07:42 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.32 16:07:42 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:630649d9e86e1599e588b2207988e7000b3d75e7-2.2.0-dev.32 16:07:42 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:42 16:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:07:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:43 arm64: Pulling from edgex-lftools-log-publisher 16:07:43 8998bd30e6a1: Pulling fs layer 16:07:43 04944245beec: Pulling fs layer 16:07:43 699f458cf7ca: Pulling fs layer 16:07:43 765212b225bb: Pulling fs layer 16:07:43 f23df028b6ca: Pulling fs layer 16:07:43 d65c8cfc05b1: Pulling fs layer 16:07:43 2437ff75d9bd: Pulling fs layer 16:07:43 f23df028b6ca: Waiting 16:07:43 d65c8cfc05b1: Waiting 16:07:43 765212b225bb: Waiting 16:07:43 2437ff75d9bd: Waiting 16:07:43 04944245beec: Verifying Checksum 16:07:43 04944245beec: Download complete 16:07:43 765212b225bb: Verifying Checksum 16:07:43 765212b225bb: Download complete 16:07:43 f23df028b6ca: Verifying Checksum 16:07:43 f23df028b6ca: Download complete 16:07:43 d65c8cfc05b1: Verifying Checksum 16:07:43 d65c8cfc05b1: Download complete 16:07:43 699f458cf7ca: Verifying Checksum 16:07:43 699f458cf7ca: Download complete 16:07:43 8998bd30e6a1: Verifying Checksum 16:07:43 8998bd30e6a1: Download complete 16:07:46 2437ff75d9bd: Verifying Checksum 16:07:46 2437ff75d9bd: Download complete 16:07:48 8998bd30e6a1: Pull complete 16:07:48 04944245beec: Pull complete 16:07:50 699f458cf7ca: Pull complete 16:07:50 765212b225bb: Pull complete 16:07:51 f23df028b6ca: Pull complete 16:07:51 d65c8cfc05b1: Pull complete 16:08:06 2437ff75d9bd: Pull complete 16:08:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-33675 does not seem to be running inside a container 16:08:06 $ 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/68 -v /w/workspace/app-service-configurable/68:/w/workspace/app-service-configurable/68:rw,z -v /w/workspace/app-service-configurable/68@tmp:/w/workspace/app-service-configurable/68@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 16:08:09 $ docker top b80010175eeecf59763d8a4e52b14d5c3f92b1a8ac3cea2fab795ca60db3eef8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:10 ---> job-cost.sh 16:08:10 lf-activate-venv: SKIPPING 16:08:10 INFO: No Stack... 16:08:10 INFO: Retrieving Pricing Info for: v3-standard-4 16:08:11 INFO: Archiving Costs [Pipeline] sh 16:08:12 + cut -d, -f6+ 16:08:12 cat /w/workspace/app-service-configurable/68/archives/cost.csv [Pipeline] lock 16:08:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] 16:08:12 Resource [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] did not exist. Created. 16:08:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:13 /w/workspace/app-service-configurable/68@tmp/durable-e8ea3ebf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:13 + echo total: 0.10999999940395355 [Pipeline] stash 16:08:13 Warning: overwriting stash ‘stack-cost’ 16:08:14 Stashed 1 file(s) [Pipeline] } 16:08:14 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:14 $ docker stop --time=1 b80010175eeecf59763d8a4e52b14d5c3f92b1a8ac3cea2fab795ca60db3eef8 16:08:15 $ docker rm -f b80010175eeecf59763d8a4e52b14d5c3f92b1a8ac3cea2fab795ca60db3eef8 [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 16:08:16 provisioning config files... 16:08:16 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4340973106172056898tmp [Pipeline] { [Pipeline] sh 16:08:16 + set +x 16:08:16 + curl -s https://codecov.io/bash 16:08:16 + bash -s -- 16:08:16 16:08:16 _____ _ 16:08:16 / ____| | | 16:08:16 | | ___ __| | ___ ___ _____ __ 16:08:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:16 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:16 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:16 Bash-1.0.6 16:08:16 16:08:16 16:08:16 ==> git version 2.25.1 found 16:08:16 ==> 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 16:08:16 Release-Date: 2020-01-08 16:08:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:08:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:08:16 ==> Jenkins CI detected. 16:08:16 current dir:  /w/workspace/ry_app-service-configurable_main 16:08:16 project root: . 16:08:16 --> token set from env 16:08:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:16 ==> Running gcov in . (disable via -X gcov) 16:08:16 ==> Python coveragepy not found 16:08:16 ==> Searching for coverage reports in: 16:08:16 + . 16:08:16 -> Found 1 reports 16:08:16 ==> Detecting git/mercurial file structure 16:08:16 ==> Reading reports 16:08:16 + ./coverage.out bytes=10 16:08:16 ==> Appending adjustments 16:08:16 https://docs.codecov.io/docs/fixing-reports 16:08:16 + Found adjustments 16:08:16 ==> Gzipping contents 16:08:16 4.0K /tmp/codecov.zRPmtC.gz 16:08:16 ==> Uploading reports 16:08:16 url: https://codecov.io 16:08:16 query: branch=main&commit=630649d9e86e1599e588b2207988e7000b3d75e7&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:16 -> Pinging Codecov 16:08:16 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=630649d9e86e1599e588b2207988e7000b3d75e7&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:16 -> Uploading to 16:08:16 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/A97CA9966030D2A3747ED39772930CCE/630649d9e86e1599e588b2207988e7000b3d75e7/91693cd8-f56e-4d66-9d46-baa72e343878.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T160816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6abcea1ddfb9033f46064b547f29c02086ab706bc49d7b35aaac95ff4011a5ec 16:08:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:16 Dload Upload Total Spent Left Speed 16:08:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2573 --:--:-- --:--:-- --:--:-- 2573 16:08:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] } 16:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:08:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:08:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:17 16:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:08:18 188c0c94c7c5: Pulling fs layer 16:08:18 0ef7d3d256c8: Pulling fs layer 16:08:18 de9db76c5a1d: Pulling fs layer 16:08:18 0eba1c9be4d2: Pulling fs layer 16:08:18 0d57e429df01: Pulling fs layer 16:08:18 4e4be7b47b0d: Pulling fs layer 16:08:18 e1f770b5df2f: Pulling fs layer 16:08:18 85a0685a4137: Pulling fs layer 16:08:18 0eba1c9be4d2: Waiting 16:08:18 0d57e429df01: Waiting 16:08:18 4e4be7b47b0d: Waiting 16:08:18 e1f770b5df2f: Waiting 16:08:18 85a0685a4137: Waiting 16:08:18 de9db76c5a1d: Verifying Checksum 16:08:18 0ef7d3d256c8: Verifying Checksum 16:08:18 0ef7d3d256c8: Download complete 16:08:18 0d57e429df01: Verifying Checksum 16:08:18 0d57e429df01: Download complete 16:08:18 4e4be7b47b0d: Download complete 16:08:18 188c0c94c7c5: Download complete 16:08:18 188c0c94c7c5: Pull complete 16:08:18 e1f770b5df2f: Verifying Checksum 16:08:18 e1f770b5df2f: Download complete 16:08:18 0ef7d3d256c8: Pull complete 16:08:18 de9db76c5a1d: Pull complete 16:08:18 0eba1c9be4d2: Verifying Checksum 16:08:18 0eba1c9be4d2: Download complete 16:08:19 85a0685a4137: Verifying Checksum 16:08:19 85a0685a4137: Download complete 16:08:22 0eba1c9be4d2: Pull complete 16:08:22 0d57e429df01: Pull complete 16:08:22 4e4be7b47b0d: Pull complete 16:08:22 e1f770b5df2f: Pull complete 16:08:25 85a0685a4137: Pull complete 16:08:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:08:26 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:08:26 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:08:28 $ docker top 64d4f9a729a46334004b3a7813ca9e3d34eed0b9a0a73c979c71cd60b5116341 -eo pid,comm [Pipeline] { [Pipeline] echo 16:08:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:08:29 + set -o pipefail 16:08:29 + snyk monitor '--org=edgex-jenkins' 16:08:35 16:08:35 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 16:08:35 16:08:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/0127164f-046a-4141-8c09-3e156dbb0def 16:08:35 16:08:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:08:35 16:08:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:08:35 16:08:35 [Pipeline] } 16:08:35 $ docker stop --time=1 64d4f9a729a46334004b3a7813ca9e3d34eed0b9a0a73c979c71cd60b5116341 16:08:38 $ docker rm -f 64d4f9a729a46334004b3a7813ca9e3d34eed0b9a0a73c979c71cd60b5116341 [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 16:08:38 + git log --format=format:%s -1 630649d9e86e1599e588b2207988e7000b3d75e7 [Pipeline] sh 16:08:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:08:39 . [Pipeline] withDockerContainer 16:08:39 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:08:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 16:08:39 $ docker top 329ffe435ee3ea9e814d1850d37878ee4e11b5f3ccca46fb3e04fdc76919424d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:39 [ssh-agent] Looking for ssh-agent implementation... 16:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:40 $ docker exec 329ffe435ee3ea9e814d1850d37878ee4e11b5f3ccca46fb3e04fdc76919424d ssh-agent 16:08:40 SSH_AUTH_SOCK=/tmp/ssh-iK2I83X1ru7Q/agent.35 16:08:40 SSH_AGENT_PID=42 16:08:40 Running ssh-add (command line suppressed) 16:08:40 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_9204232461981977291.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_9204232461981977291.key) 16:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:40 + git semver tag 16:08:40 2022-04-28 16:08:40,915 [run_tag] DEBUG tag force:False 16:08:40 2022-04-28 16:08:40,915 [check_head_tag] DEBUG check head tag 16:08:40 2022-04-28 16:08:40,916 [execute] INFO git cat-file --batch-check 16:08:40 2022-04-28 16:08:40,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 16:08:40 2022-04-28 16:08:40,920 [execute] INFO git cat-file --batch 16:08:40 2022-04-28 16:08:40,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 16:08:40 2022-04-28 16:08:40,941 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:08:40 2022-04-28 16:08:40,941 [execute] INFO git tag -a v2.2.0-dev.32 -m v2.2.0-dev.32 16:08:40 2022-04-28 16:08:40,941 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.32', '-m', 'v2.2.0-dev.32'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 16:08:40 2022-04-28 16:08:40,944 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:08:40 2.2.0-dev.32 [Pipeline] } 16:08:40 $ docker exec --env ******** --env ******** 329ffe435ee3ea9e814d1850d37878ee4e11b5f3ccca46fb3e04fdc76919424d ssh-agent -k 16:08:41 unset SSH_AUTH_SOCK; 16:08:41 unset SSH_AGENT_PID; 16:08:41 echo Agent pid 42 killed; 16:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:41 + git semver [Pipeline] } 16:08:41 $ docker stop --time=1 329ffe435ee3ea9e814d1850d37878ee4e11b5f3ccca46fb3e04fdc76919424d 16:08:43 $ docker rm -f 329ffe435ee3ea9e814d1850d37878ee4e11b5f3ccca46fb3e04fdc76919424d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:43 16:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:43 0.23.1-centos7: Pulling from edgex-lftools 16:08:43 ab5ef0e58194: Pulling fs layer 16:08:43 9712f1f96733: Pulling fs layer 16:08:43 63f879dbbcfc: Pulling fs layer 16:08:43 0d9ebad4ef96: Pulling fs layer 16:08:43 e9a5061849ea: Pulling fs layer 16:08:43 d747dcd14b5f: Pulling fs layer 16:08:43 2de7ff778b66: Pulling fs layer 16:08:43 d747dcd14b5f: Waiting 16:08:43 e9a5061849ea: Waiting 16:08:43 9712f1f96733: Verifying Checksum 16:08:43 9712f1f96733: Download complete 16:08:44 63f879dbbcfc: Verifying Checksum 16:08:44 63f879dbbcfc: Download complete 16:08:44 e9a5061849ea: Verifying Checksum 16:08:44 e9a5061849ea: Download complete 16:08:44 d747dcd14b5f: Verifying Checksum 16:08:44 d747dcd14b5f: Download complete 16:08:44 0d9ebad4ef96: Verifying Checksum 16:08:44 0d9ebad4ef96: Download complete 16:08:44 ab5ef0e58194: Verifying Checksum 16:08:44 ab5ef0e58194: Download complete 16:08:44 2de7ff778b66: Verifying Checksum 16:08:44 2de7ff778b66: Download complete 16:08:47 ab5ef0e58194: Pull complete 16:08:47 9712f1f96733: Pull complete 16:08:48 63f879dbbcfc: Pull complete 16:08:51 0d9ebad4ef96: Pull complete 16:08:51 e9a5061849ea: Pull complete 16:08:51 d747dcd14b5f: Pull complete 16:08:52 2de7ff778b66: Pull complete 16:08:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:08:52 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:08:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:08:55 $ docker top b8f72be8d4796b93318be771cf5bbf50bc842cd59f27f4570056e09c4ab2ce48 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:08:55 provisioning config files... 16:08:55 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config6611614849420372366tmp 16:08:55 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4716576669136610157tmp 16:08:55 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config981398044035967043tmp [Pipeline] { [Pipeline] echo 16:08:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:08:55 ---> sigul-configuration.sh 16:08:55 gpg: directory `/root/.gnupg' created 16:08:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:08:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:08:55 gpg: keyring `/root/.gnupg/secring.gpg' created 16:08:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:08:55 gpg: CAST5 encrypted data 16:08:55 gpg: encrypted with 1 passphrase 16:08:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:08:56 + mkdir /home/jenkins 16:08:56 + mkdir /home/jenkins/sigul [Pipeline] sh 16:08:56 + 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 16:08:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:08:56 ---> sigul-install.sh 16:08:56 Sigul already installed; skipping installation. [Pipeline] sh 16:08:56 + git tag --list 16:08:56 v1.0.0 16:08:56 v1.1.0 16:08:56 v1.2.0 16:08:56 v1.3.0 16:08:56 v1.3.1 16:08:56 v2.0.0 16:08:56 v2.0.1 16:08:56 v2.0.1-dev.1 16:08:56 v2.0.2-dev.1 16:08:56 v2.0.2-dev.10 16:08:56 v2.0.2-dev.11 16:08:56 v2.0.2-dev.12 16:08:56 v2.0.2-dev.13 16:08:56 v2.0.2-dev.14 16:08:56 v2.0.2-dev.15 16:08:56 v2.0.2-dev.16 16:08:56 v2.0.2-dev.17 16:08:56 v2.0.2-dev.18 16:08:56 v2.0.2-dev.19 16:08:56 v2.0.2-dev.2 16:08:56 v2.0.2-dev.20 16:08:56 v2.0.2-dev.21 16:08:56 v2.0.2-dev.22 16:08:56 v2.0.2-dev.23 16:08:56 v2.0.2-dev.24 16:08:56 v2.0.2-dev.25 16:08:56 v2.0.2-dev.26 16:08:56 v2.0.2-dev.27 16:08:56 v2.0.2-dev.28 16:08:56 v2.0.2-dev.29 16:08:56 v2.0.2-dev.3 16:08:56 v2.0.2-dev.30 16:08:56 v2.0.2-dev.4 16:08:56 v2.0.2-dev.5 16:08:56 v2.0.2-dev.6 16:08:56 v2.0.2-dev.7 16:08:56 v2.0.2-dev.8 16:08:56 v2.0.2-dev.9 16:08:56 v2.1.0 16:08:56 v2.2.0-dev.1 16:08:56 v2.2.0-dev.10 16:08:56 v2.2.0-dev.11 16:08:56 v2.2.0-dev.12 16:08:56 v2.2.0-dev.13 16:08:56 v2.2.0-dev.14 16:08:56 v2.2.0-dev.15 16:08:56 v2.2.0-dev.16 16:08:56 v2.2.0-dev.17 16:08:56 v2.2.0-dev.18 16:08:56 v2.2.0-dev.19 16:08:56 v2.2.0-dev.2 16:08:56 v2.2.0-dev.20 16:08:56 v2.2.0-dev.21 16:08:56 v2.2.0-dev.22 16:08:56 v2.2.0-dev.23 16:08:56 v2.2.0-dev.24 16:08:56 v2.2.0-dev.25 16:08:56 v2.2.0-dev.26 16:08:56 v2.2.0-dev.27 16:08:56 v2.2.0-dev.28 16:08:56 v2.2.0-dev.29 16:08:56 v2.2.0-dev.3 16:08:56 v2.2.0-dev.30 16:08:56 v2.2.0-dev.31 16:08:56 v2.2.0-dev.32 16:08:56 v2.2.0-dev.4 16:08:56 v2.2.0-dev.5 16:08:56 v2.2.0-dev.6 16:08:56 v2.2.0-dev.7 16:08:56 v2.2.0-dev.8 16:08:56 v2.2.0-dev.9 [Pipeline] sh 16:08:57 + lftools sign git-tag v2.2.0-dev.32 16:08:57 Signing Git tag with Sigul... 16:08:57 Signing v2.2.0-dev.32 [Pipeline] echo 16:08:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:08:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:08:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:08:58 $ docker stop --time=1 b8f72be8d4796b93318be771cf5bbf50bc842cd59f27f4570056e09c4ab2ce48 16:08:59 $ docker rm -f b8f72be8d4796b93318be771cf5bbf50bc842cd59f27f4570056e09c4ab2ce48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:09:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:09:00 . [Pipeline] withDockerContainer 16:09:00 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:09:00 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 16:09:01 $ docker top 52234bde8030c5cd0883c93496f6d94e975dcf60f7056403234b9c7a6e7f008e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:01 [ssh-agent] Looking for ssh-agent implementation... 16:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:01 $ docker exec 52234bde8030c5cd0883c93496f6d94e975dcf60f7056403234b9c7a6e7f008e ssh-agent 16:09:01 SSH_AUTH_SOCK=/tmp/ssh-mobEDHEWj0lb/agent.33 16:09:01 SSH_AGENT_PID=40 16:09:01 Running ssh-add (command line suppressed) 16:09:01 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_6676331115886566750.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_6676331115886566750.key) 16:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:01 + git semver bump pre 16:09:02 2022-04-28 16:09:02,108 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:09:02 2022-04-28 16:09:02,110 [bump_version] DEBUG bumping version:2.2.0-dev.32 on axis:pre with prefix:dev 16:09:02 2022-04-28 16:09:02,110 [bump_version] DEBUG bumped version:2.2.0-dev.33 16:09:02 2022-04-28 16:09:02,110 [write_version] DEBUG write version:2.2.0-dev.33 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:True 16:09:02 2022-04-28 16:09:02,111 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:09:02 2022-04-28 16:09:02,111 [write_file] DEBUG write to file:/w/workspace/ry_app-service-configurable_main/.semver/main 16:09:02 2022-04-28 16:09:02,116 [execute] INFO git cat-file --batch-check 16:09:02 2022-04-28 16:09:02,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 16:09:02 2022-04-28 16:09:02,122 [execute] INFO git cat-file --batch 16:09:02 2022-04-28 16:09:02,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 16:09:02 2022-04-28 16:09:02,127 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:09:02 2.2.0-dev.33 [Pipeline] } 16:09:02 $ docker exec --env ******** --env ******** 52234bde8030c5cd0883c93496f6d94e975dcf60f7056403234b9c7a6e7f008e ssh-agent -k 16:09:02 unset SSH_AUTH_SOCK; 16:09:02 unset SSH_AGENT_PID; 16:09:02 echo Agent pid 40 killed; 16:09:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:02 + git semver [Pipeline] } 16:09:03 $ docker stop --time=1 52234bde8030c5cd0883c93496f6d94e975dcf60f7056403234b9c7a6e7f008e 16:09:04 $ docker rm -f 52234bde8030c5cd0883c93496f6d94e975dcf60f7056403234b9c7a6e7f008e [Pipeline] // withDockerContainer [Pipeline] sh 16:09:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:09:05 . [Pipeline] withDockerContainer 16:09:05 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:09:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 16:09:05 $ docker top 9b87916c92cb4fd7325abedb8383a81740dfa0f9100c2255bbfdaab556a6e36e -eo pid,comm 16:09:05 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). 16:09:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:05 [ssh-agent] Looking for ssh-agent implementation... 16:09:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:05 $ docker exec 9b87916c92cb4fd7325abedb8383a81740dfa0f9100c2255bbfdaab556a6e36e ssh-agent 16:09:06 SSH_AUTH_SOCK=/tmp/ssh-yKAEO7PEHzQU/agent.35 16:09:06 SSH_AGENT_PID=42 16:09:06 Running ssh-add (command line suppressed) 16:09:06 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_3357288070322084421.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_3357288070322084421.key) 16:09:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:06 + git semver push 16:09:06 2022-04-28 16:09:06,643 [run_push] DEBUG push 16:09:06 2022-04-28 16:09:06,644 [execute] INFO git push origin semver 16:09:06 2022-04-28 16:09:06,644 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 16:09:07 2022-04-28 16:09:07,433 [run_push] DEBUG push all version tags 16:09:07 2022-04-28 16:09:07,434 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:09:07 2022-04-28 16:09:07,434 [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) 16:09:08 2022-04-28 16:09:08,249 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 16:09:08 2.2.0-dev.33 [Pipeline] } 16:09:08 $ docker exec --env ******** --env ******** 9b87916c92cb4fd7325abedb8383a81740dfa0f9100c2255bbfdaab556a6e36e ssh-agent -k 16:09:08 unset SSH_AUTH_SOCK; 16:09:08 unset SSH_AGENT_PID; 16:09:08 echo Agent pid 42 killed; 16:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:09 + git semver [Pipeline] } 16:09:09 $ docker stop --time=1 9b87916c92cb4fd7325abedb8383a81740dfa0f9100c2255bbfdaab556a6e36e 16:09:10 $ docker rm -f 9b87916c92cb4fd7325abedb8383a81740dfa0f9100c2255bbfdaab556a6e36e [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 16:09:11 + [ -d /w/workspace/ry_app-service-configurable_main/archives ] 16:09:11 + ls -al /w/workspace/ry_app-service-configurable_main/archives 16:09:11 total 16 16:09:11 drwxr-xr-x 3 root root 4096 Apr 28 16:01 . 16:09:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 16:08 .. 16:09:11 drwxr-xr-x 2 root root 4096 Apr 28 16:01 cost 16:09:11 -rw-r--r-- 1 root root 94 Apr 28 16:01 cost.csv 16:09:11 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-service-configurable_main/archives 16:09:11 + ls -al /w/workspace/ry_app-service-configurable_main/archives 16:09:11 total 16 16:09:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 16:01 . 16:09:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 16:08 .. 16:09:11 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 16:01 cost 16:09:11 -rw-r--r-- 1 jenkins jenkins 94 Apr 28 16:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:09:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:12 ---> package-listing.sh 16:09:12 ++ tr '[:upper:]' '[:lower:]' 16:09:12 ++ facter osfamily 16:09:12 + OS_FAMILY=debian 16:09:12 + workspace=/w/workspace/ry_app-service-configurable_main 16:09:12 + START_PACKAGES=/tmp/packages_start.txt 16:09:12 + END_PACKAGES=/tmp/packages_end.txt 16:09:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:12 + PACKAGES=/tmp/packages_start.txt 16:09:12 + '[' /w/workspace/ry_app-service-configurable_main ']' 16:09:12 + PACKAGES=/tmp/packages_end.txt 16:09:12 + case "${OS_FAMILY}" in 16:09:12 + dpkg -l 16:09:12 + grep '^ii' 16:09:12 + '[' -f /tmp/packages_start.txt ']' 16:09:12 + '[' -f /tmp/packages_end.txt ']' 16:09:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:12 + '[' /w/workspace/ry_app-service-configurable_main ']' 16:09:12 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 16:09:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 16:09:12 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 16:09:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:09:13 . [Pipeline] withDockerContainer 16:09:13 prd-ubuntu20.04-docker-8c-8g-33673 does not seem to be running inside a container 16:09:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:09:13 $ docker top a6e96b6a039bf09bca8b46b514a501b1bdec20e9fa60e488ee22de25b9856cef -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:09:14 + mkdir -p /var/log/sysstat [Pipeline] sh 16:09:14 + ls /var/log/sa-host 16:09:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:14 provisioning config files... 16:09:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config8951056720197475568tmp [Pipeline] { [Pipeline] echo 16:09:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:09:15 ---> create-netrc.sh [Pipeline] } 16:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:09:15 ---> python-tools-install.sh [Pipeline] echo 16:09:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:09:15 ---> sudo-logs.sh 16:09:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:09:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:09:16 ---> job-cost.sh 16:09:16 lf-activate-venv: SKIPPING 16:09:16 DEBUG: total: 0.2199999988079071 16:09:16 INFO: Retrieving Stack Cost... 16:09:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:09:17 INFO: Archiving Costs [Pipeline] echo 16:09:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:09:17 ---> logs-deploy.sh 16:09:17 lf-activate-venv: SKIPPING 16:09:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/68 16:09:17 INFO: archiving workspace using pattern(s): 16:09:18 Archives upload complete. 16:09:18 INFO: archiving logs to Nexus