Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1aebe0375d702ec5557b529d86506036d5612df5 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-ssh14617023611395721466.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3672120519835666331.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12810360748088168112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9376885498501380012.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-ssh3874316074968486737.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63181 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 1aebe0375d702ec5557b529d86506036d5612df5 (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 1aebe0375d702ec5557b529d86506036d5612df5 # timeout=10 Commit message: "fix: Update port number for new metrics-influxdb profile to be 59707 (#422)" > git rev-list --no-walk 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:45:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:45:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:45:04 ========================================================= 19:45:04 EdgeX Global Pipelines Version Info 19:45:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:45:04 ------------------- 19:45:04 stable info: 19:45:04 ------------------- 19:45:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:45:04 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:45:04 Message: update stable to v1.0.230 19:45:05 ------------------- 19:45:05 experimental info: 19:45:05 ------------------- 19:45:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:45:05 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:45:05 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:45:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:45:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:45:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] echo 19:45:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aebe03 [Pipeline] echo 19:45:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:06 provisioning config files... 19:45:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1467676740605110558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:06 ---> docker-login.sh 19:45:06 nexus3.edgexfoundry.org:10001 19:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:06 Configure a credential helper to remove this warning. See 19:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:06 19:45:06 Login Succeeded 19:45:06 nexus3.edgexfoundry.org:10002 19:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:06 Configure a credential helper to remove this warning. See 19:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:06 19:45:06 Login Succeeded 19:45:06 nexus3.edgexfoundry.org:10003 19:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:06 Configure a credential helper to remove this warning. See 19:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:06 19:45:06 Login Succeeded 19:45:06 nexus3.edgexfoundry.org:10004 19:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:06 Configure a credential helper to remove this warning. See 19:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:06 19:45:06 Login Succeeded 19:45:07 docker.io 19:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:07 Configure a credential helper to remove this warning. See 19:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:07 19:45:07 Login Succeeded 19:45:07 ---> docker-login.sh ends [Pipeline] } 19:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:45:07 + git rev-list -1 --merges 1aebe0375d702ec5557b529d86506036d5612df5~1..1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] echo 19:45:07 -----------> git rev-list -1 --merges 1aebe0375d702ec5557b529d86506036d5612df5~1..1aebe0375d702ec5557b529d86506036d5612df5 1aebe0375d702ec5557b529d86506036d5612df5 [false] [Pipeline] sh 19:45:08 + git log --format=format:%s -1 1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] echo 19:45:08 ========================================================= 19:45:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:45:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:45:08 + git log --format=format:%s -1 1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] echo 19:45:08 [semverPrep] GIT_COMMIT: 1aebe0375d702ec5557b529d86506036d5612df5, Commit Message: fix: Update port number for new metrics-influxdb profile to be 59707 (#422) [Pipeline] echo 19:45:08 [semverPrep] This is not a build commit. [Pipeline] sh 19:45:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:45:09 + grep -v github /etc/ssh/ssh_known_hosts 19:45:09 + [ -e /tmp/ssh_known_hosts ] 19:45:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:45:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:45:09 + sudo tee -a /etc/ssh/ssh_known_hosts 19:45:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:45:09 19:45:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:45:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:45:09 latest: Pulling from edgex-devops/py-git-semver 19:45:09 1fe172e4850f: Pulling fs layer 19:45:09 caf521ccaac6: Pulling fs layer 19:45:09 3ead6fa29328: Pulling fs layer 19:45:09 5c2a1cbceb83: Pulling fs layer 19:45:09 a8d5f1318db7: Pulling fs layer 19:45:09 c427282e49a2: Pulling fs layer 19:45:09 1827001aaf11: Pulling fs layer 19:45:09 0714d37db230: Pulling fs layer 19:45:09 ac28cf19c067: Pulling fs layer 19:45:09 ca983d60f3e2: Pulling fs layer 19:45:09 9f894cec8388: Pulling fs layer 19:45:09 c427282e49a2: Waiting 19:45:09 1827001aaf11: Waiting 19:45:09 0714d37db230: Waiting 19:45:09 ac28cf19c067: Waiting 19:45:09 ca983d60f3e2: Waiting 19:45:09 9f894cec8388: Waiting 19:45:09 5c2a1cbceb83: Waiting 19:45:09 a8d5f1318db7: Waiting 19:45:09 caf521ccaac6: Verifying Checksum 19:45:09 caf521ccaac6: Download complete 19:45:09 5c2a1cbceb83: Download complete 19:45:09 a8d5f1318db7: Verifying Checksum 19:45:09 a8d5f1318db7: Download complete 19:45:09 c427282e49a2: Verifying Checksum 19:45:09 c427282e49a2: Download complete 19:45:09 3ead6fa29328: Verifying Checksum 19:45:09 3ead6fa29328: Download complete 19:45:09 0714d37db230: Download complete 19:45:09 ac28cf19c067: Verifying Checksum 19:45:09 ac28cf19c067: Download complete 19:45:09 ca983d60f3e2: Verifying Checksum 19:45:09 ca983d60f3e2: Download complete 19:45:09 9f894cec8388: Download complete 19:45:09 1fe172e4850f: Download complete 19:45:10 1827001aaf11: Verifying Checksum 19:45:10 1827001aaf11: Download complete 19:45:11 1fe172e4850f: Pull complete 19:45:11 caf521ccaac6: Pull complete 19:45:11 3ead6fa29328: Pull complete 19:45:11 5c2a1cbceb83: Pull complete 19:45:12 a8d5f1318db7: Pull complete 19:45:12 c427282e49a2: Pull complete 19:45:14 1827001aaf11: Pull complete 19:45:14 0714d37db230: Pull complete 19:45:14 ac28cf19c067: Pull complete 19:45:14 ca983d60f3e2: Pull complete 19:45:14 9f894cec8388: Pull complete 19:45:14 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 19:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:45:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 19:45:14 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:45:16 $ docker top aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 -eo pid,comm 19:45:16 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). 19:45:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:45:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:45:16 [ssh-agent] Looking for ssh-agent implementation... 19:45:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:45:16 $ docker exec aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 ssh-agent 19:45:16 SSH_AUTH_SOCK=/tmp/ssh-BiRQlrXu6LvO/agent.34 19:45:16 SSH_AGENT_PID=40 19:45:16 Running ssh-add (command line suppressed) 19:45:16 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_8082342882899821001.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_8082342882899821001.key) 19:45:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:45:16 + git tag --points-at HEAD [Pipeline] } 19:45:16 $ docker exec --env ******** --env ******** aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 ssh-agent -k 19:45:16 unset SSH_AUTH_SOCK; 19:45:16 unset SSH_AGENT_PID; 19:45:16 echo Agent pid 40 killed; 19:45:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:45:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:45:16 [ssh-agent] Looking for ssh-agent implementation... 19:45:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:45:17 $ docker exec aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 ssh-agent 19:45:17 SSH_AUTH_SOCK=/tmp/ssh-NUAokP0oo7yk/agent.72 19:45:17 SSH_AGENT_PID=79 19:45:17 Running ssh-add (command line suppressed) 19:45:17 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_2712283189470252102.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_2712283189470252102.key) 19:45:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:45:17 + git semver init 19:45:17 2022-05-11 19:45:17,906 [run_init] DEBUG init version:0.0.0 force:False 19:45:17 2022-05-11 19:45:17,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-service-configurable_main/.semver 19:45:17 2022-05-11 19:45:17,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ry_app-service-configurable_main/.semver 19:45:17 2022-05-11 19:45:17,909 [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) 19:45:18 2022-05-11 19:45:18,680 [append_file] DEBUG append to file:/w/workspace/ry_app-service-configurable_main/.git/info/exclude 19:45:18 2022-05-11 19:45:18,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:False 19:45:18 2022-05-11 19:45:18,681 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:45:18 2022-05-11 19:45:18,682 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:45:18 2.2.0-dev.39 [Pipeline] } 19:45:18 $ docker exec --env ******** --env ******** aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 ssh-agent -k 19:45:18 unset SSH_AUTH_SOCK; 19:45:18 unset SSH_AGENT_PID; 19:45:18 echo Agent pid 79 killed; 19:45:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:45:19 + git semver [Pipeline] } 19:45:19 $ docker stop --time=1 aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 19:45:20 $ docker rm -f aed0e095b4e43717be107be6c8f133ca220fc4bcdfdb544a431f284b00ce46e0 [Pipeline] // withDockerContainer [Pipeline] sh 19:45:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:45:21 Stashed 1 file(s) [Pipeline] echo 19:45:21 [edgeXSemver]: initialized semver on version 2.2.0-dev.39 [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 19:45:21 provisioning config files... 19:45:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config6909015228101500711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:21 ---> docker-login.sh 19:45:21 nexus3.edgexfoundry.org:10001 19:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:21 Configure a credential helper to remove this warning. See 19:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:21 19:45:21 Login Succeeded 19:45:21 nexus3.edgexfoundry.org:10002 19:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:22 Configure a credential helper to remove this warning. See 19:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:22 19:45:22 Login Succeeded 19:45:22 nexus3.edgexfoundry.org:10003 19:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:22 Configure a credential helper to remove this warning. See 19:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:22 19:45:22 Login Succeeded 19:45:22 nexus3.edgexfoundry.org:10004 19:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:22 Configure a credential helper to remove this warning. See 19:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:22 19:45:22 Login Succeeded 19:45:22 docker.io 19:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:22 Configure a credential helper to remove this warning. See 19:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:22 19:45:22 Login Succeeded 19:45:22 ---> docker-login.sh ends [Pipeline] } 19:45:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:22 ========================================================= 19:45:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:45:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:45:23 + 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 . 19:45:23 Sending build context to Docker daemon 3.067MB 19:45:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:45:23 Step 2/13 : FROM ${BASE} AS builder 19:45:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:45:23 59bf1c3509f3: Pulling fs layer 19:45:23 666ba61612fd: Pulling fs layer 19:45:23 8ed8ca486205: Pulling fs layer 19:45:23 4fe6c5a15a65: Pulling fs layer 19:45:23 22a0e8bec74d: Pulling fs layer 19:45:23 ca2b28591e48: Pulling fs layer 19:45:23 a51346096db8: Pulling fs layer 19:45:23 daebc70d1ce1: Pulling fs layer 19:45:23 0e18a0eac166: Pulling fs layer 19:45:23 ca2b28591e48: Waiting 19:45:23 a51346096db8: Waiting 19:45:23 4fe6c5a15a65: Waiting 19:45:23 0e18a0eac166: Waiting 19:45:23 22a0e8bec74d: Waiting 19:45:23 8ed8ca486205: Download complete 19:45:23 666ba61612fd: Download complete 19:45:23 22a0e8bec74d: Download complete 19:45:23 ca2b28591e48: Verifying Checksum 19:45:23 ca2b28591e48: Download complete 19:45:23 59bf1c3509f3: Verifying Checksum 19:45:23 59bf1c3509f3: Download complete 19:45:23 a51346096db8: Download complete 19:45:23 daebc70d1ce1: Verifying Checksum 19:45:23 daebc70d1ce1: Download complete 19:45:23 59bf1c3509f3: Pull complete 19:45:23 666ba61612fd: Pull complete 19:45:23 8ed8ca486205: Pull complete 19:45:23 0e18a0eac166: Verifying Checksum 19:45:23 0e18a0eac166: Download complete 19:45:24 4fe6c5a15a65: Verifying Checksum 19:45:24 4fe6c5a15a65: Download complete 19:45:28 4fe6c5a15a65: Pull complete 19:45:28 22a0e8bec74d: Pull complete 19:45:28 ca2b28591e48: Pull complete 19:45:28 a51346096db8: Pull complete 19:45:28 daebc70d1ce1: Pull complete 19:45:30 0e18a0eac166: Pull complete 19:45:30 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:45:30 ---> f018257e8ee9 19:45:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:45:31 ---> Running in f19700dbd743 19:45:31 Removing intermediate container f19700dbd743 19:45:31 ---> f3734d8e56ca 19:45:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:45:31 ---> Running in f856f4bd4cdf 19:45:31 Removing intermediate container f856f4bd4cdf 19:45:31 ---> 8cb00b00ded3 19:45:31 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:45:31 ---> Running in bfd1c3fc9efe 19:45:31 Removing intermediate container bfd1c3fc9efe 19:45:31 ---> ae472234c7c3 19:45:31 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:45:31 ---> Running in 12d51b674ea8 19:45:32 Removing intermediate container 12d51b674ea8 19:45:32 ---> fb3c73419283 19:45:32 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:45:32 ---> Running in 426fc018f8de 19:45:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:45:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:45:33 OK: 221 MiB in 52 packages 19:45:34 Removing intermediate container 426fc018f8de 19:45:34 ---> 666a7e623d03 19:45:34 Step 8/13 : WORKDIR /app 19:45:34 ---> Running in d53c6438349a 19:45:34 Removing intermediate container d53c6438349a 19:45:34 ---> 2c08debed25b 19:45:34 Step 9/13 : COPY go.mod vendor* ./ 19:45:34 ---> b94038521536 19:45:34 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:45:34 ---> Running in f6ac42ba9a7b 19:45:36 Still waiting to schedule task 19:45:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63179’ is offline 19:45:49 Removing intermediate container f6ac42ba9a7b 19:45:49 ---> 53ce111a829e 19:45:49 Step 11/13 : COPY . . 19:45:49 ---> a0cff7239201 19:45:49 Step 12/13 : ARG MAKE="make build" 19:45:49 ---> Running in d95cf422e7e9 19:45:49 Removing intermediate container d95cf422e7e9 19:45:49 ---> 68424244e4f1 19:45:49 Step 13/13 : RUN $MAKE 19:45:49 ---> Running in b7eb4724257c 19:45:49 noop 19:45:49 Removing intermediate container b7eb4724257c 19:45:49 ---> 76fe835a65ef 19:45:49 Successfully built 76fe835a65ef 19:45:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:45:49 + docker inspect -f . ci-base-image-x86_64 19:45:49 . [Pipeline] withDockerContainer 19:45:49 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:45:50 $ docker top 57b63198bafcc9d415ec73766bba758de4e6c2a78be54e62b3e361056ea990f0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:45:50 + go version 19:45:50 go version go1.17.6 linux/amd64 [Pipeline] } 19:45:50 $ docker stop --time=1 57b63198bafcc9d415ec73766bba758de4e6c2a78be54e62b3e361056ea990f0 19:45:51 $ docker rm -f 57b63198bafcc9d415ec73766bba758de4e6c2a78be54e62b3e361056ea990f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:45:52 + docker inspect -f . ci-base-image-x86_64 19:45:52 . [Pipeline] withDockerContainer 19:45:52 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:45:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:45:52 $ docker top 038c7b8b76c208dc923233056857d92b922f2215343a83420c4286d9141488e7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:45:53 + make test 19:45:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:46:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:46:05 CGO_ENABLED=1 go vet ./... 19:46:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:46:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:46:07 ./bin/test-attribution-txt.sh [Pipeline] echo 19:46:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:46:08 $ docker stop --time=1 038c7b8b76c208dc923233056857d92b922f2215343a83420c4286d9141488e7 19:46:09 $ docker rm -f 038c7b8b76c208dc923233056857d92b922f2215343a83420c4286d9141488e7 [Pipeline] // withDockerContainer [Pipeline] sh 19:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:46:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:46:11 + ls -al . 19:46:11 total 168 19:46:11 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:46 . 19:46:11 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:44 .. 19:46:11 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:45 .dockerignore 19:46:11 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:45 .git 19:46:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:45 .github 19:46:11 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:45 .gitignore 19:46:11 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:45 .semver 19:46:11 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:45 Attribution.txt 19:46:11 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:45 CHANGELOG.md 19:46:11 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:45 Dockerfile 19:46:11 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:45 GOVERNANCE.md 19:46:11 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:45 Jenkinsfile 19:46:11 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:45 LICENSE 19:46:11 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:45 OWNERS.md 19:46:11 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:45 README.md 19:46:11 -rw-rw-r-- 1 jenkins jenkins 12 May 11 19:45 VERSION 19:46:11 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:45 bin 19:46:11 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:45 coverage.out 19:46:11 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:45 go.mod 19:46:11 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:45 go.sum 19:46:11 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:45 main.go 19:46:11 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:45 makefile 19:46:11 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:45 res 19:46:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:45 snap [Pipeline] isUnix [Pipeline] sh 19:46:11 + 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=1aebe0375d702ec5557b529d86506036d5612df5 --label arch=amd64 --label version=2.2.0-dev.39 . 19:46:11 Sending build context to Docker daemon 3.068MB 19:46:11 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:46:11 Step 2/27 : FROM ${BASE} AS builder 19:46:11 ---> 76fe835a65ef 19:46:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:46:11 ---> Running in b14be3319196 19:46:11 Removing intermediate container b14be3319196 19:46:11 ---> 52c9c66d47ef 19:46:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:46:11 ---> Running in 0b1dc49242a3 19:46:11 Removing intermediate container 0b1dc49242a3 19:46:11 ---> 6a413f077621 19:46:11 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:46:11 ---> Running in 08ba7fdbd187 19:46:12 Removing intermediate container 08ba7fdbd187 19:46:12 ---> 91f0d04004a6 19:46:12 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:46:12 ---> Running in a1b22ef1123b 19:46:12 Removing intermediate container a1b22ef1123b 19:46:12 ---> 846751c5766b 19:46:12 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:46:12 ---> Running in 46358a1c1f71 19:46:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:46:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:46:14 OK: 221 MiB in 52 packages 19:46:14 Removing intermediate container 46358a1c1f71 19:46:14 ---> e0ae1d9a0585 19:46:14 Step 8/27 : WORKDIR /app 19:46:14 ---> Running in 672aa0ce41e6 19:46:14 Removing intermediate container 672aa0ce41e6 19:46:14 ---> 25b8e744dab3 19:46:14 Step 9/27 : COPY go.mod vendor* ./ 19:46:14 ---> 48baf73bc5a0 19:46:14 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:46:14 ---> Running in 76cb8c364a03 19:46:15 Removing intermediate container 76cb8c364a03 19:46:15 ---> a5cc2eff3a6a 19:46:15 Step 11/27 : COPY . . 19:46:15 ---> 59b3107ec3f5 19:46:15 Step 12/27 : ARG MAKE="make build" 19:46:15 ---> Running in 243fd6508e00 19:46:15 Removing intermediate container 243fd6508e00 19:46:15 ---> 90780e456c28 19:46:15 Step 13/27 : RUN $MAKE 19:46:15 ---> Running in da22661a31e8 19:46:16 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:46:38 Removing intermediate container da22661a31e8 19:46:38 ---> 815e9e4c81e4 19:46:38 Step 14/27 : FROM alpine:3.14 19:46:38 3.14: Pulling from library/alpine 19:46:38 8663204ce13b: Pulling fs layer 19:46:38 8663204ce13b: Verifying Checksum 19:46:38 8663204ce13b: Download complete 19:46:38 8663204ce13b: Pull complete 19:46:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:46:38 Status: Downloaded newer image for alpine:3.14 19:46:38 ---> e04c818066af 19:46:38 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:46:38 ---> Running in dddbe62938b9 19:46:38 Removing intermediate container dddbe62938b9 19:46:38 ---> b3a026ea415c 19:46:38 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:46:38 ---> Running in 4a45977bbc7f 19:46:38 Removing intermediate container 4a45977bbc7f 19:46:38 ---> e67ab035bea2 19:46:38 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:46:38 ---> Running in 75f68382a0d2 19:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:46:38 (1/7) Installing ca-certificates (20211220-r0) 19:46:38 (2/7) Installing dumb-init (1.2.5-r1) 19:46:38 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:46:38 (4/7) Installing libsodium (1.0.18-r0) 19:46:38 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:46:38 (6/7) Installing libzmq (4.3.4-r0) 19:46:38 (7/7) Installing zeromq (4.3.4-r0) 19:46:38 Executing busybox-1.33.1-r7.trigger 19:46:38 Executing ca-certificates-20211220-r0.trigger 19:46:38 OK: 9 MiB in 21 packages 19:46:38 Removing intermediate container 75f68382a0d2 19:46:38 ---> 53dbac22ea6d 19:46:38 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:46:38 ---> 56db96ba417c 19:46:38 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:46:38 ---> b07119e5b810 19:46:38 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:46:38 ---> 499373ae11bc 19:46:38 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:46:38 ---> 4d086623140b 19:46:38 Step 22/27 : EXPOSE 48095 19:46:38 ---> Running in ed2cbe2ecf39 19:46:38 Removing intermediate container ed2cbe2ecf39 19:46:38 ---> 5a5d2b47a65e 19:46:38 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:46:38 ---> Running in e6cc348be679 19:46:39 Removing intermediate container e6cc348be679 19:46:39 ---> 43baa97fed4d 19:46:39 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:46:39 ---> Running in d3c999c98661 19:46:39 Removing intermediate container d3c999c98661 19:46:39 ---> 07bc43008d57 19:46:39 Step 25/27 : LABEL arch=amd64 19:46:39 ---> Running in 05562f231a58 19:46:39 Removing intermediate container 05562f231a58 19:46:39 ---> 2a848110d1ca 19:46:39 Step 26/27 : LABEL git_sha=1aebe0375d702ec5557b529d86506036d5612df5 19:46:39 ---> Running in 8728c268841c 19:46:39 Removing intermediate container 8728c268841c 19:46:39 ---> 4e87eaece50c 19:46:39 Step 27/27 : LABEL version=2.2.0-dev.39 19:46:39 ---> Running in c9d5db296f18 19:46:39 Removing intermediate container c9d5db296f18 19:46:39 ---> 5a9b13a127fc 19:46:39 [Warning] One or more build-args [ARCH] were not consumed 19:46:39 Successfully built 5a9b13a127fc 19:46:39 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:39 provisioning config files... 19:46:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config5915522627887028376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:40 ---> docker-login.sh 19:46:40 nexus3.edgexfoundry.org:10001 19:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:40 Configure a credential helper to remove this warning. See 19:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:40 19:46:40 Login Succeeded 19:46:40 nexus3.edgexfoundry.org:10002 19:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:40 Configure a credential helper to remove this warning. See 19:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:40 19:46:40 Login Succeeded 19:46:40 nexus3.edgexfoundry.org:10003 19:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:40 Configure a credential helper to remove this warning. See 19:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:40 19:46:40 Login Succeeded 19:46:40 nexus3.edgexfoundry.org:10004 19:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:40 Configure a credential helper to remove this warning. See 19:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:40 19:46:40 Login Succeeded 19:46:40 docker.io 19:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:40 Configure a credential helper to remove this warning. See 19:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:40 19:46:40 Login Succeeded 19:46:40 ---> docker-login.sh ends [Pipeline] } 19:46:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:46:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:40 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 19:46:40 1aebe0375d702ec5557b529d86506036d5612df5 19:46:40 latest 19:46:40 2.2.0-dev.39 19:46:40 1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:46:40 main 19:46:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:46:41 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] isUnix [Pipeline] sh 19:46:41 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5 19:46:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 19:46:41 13a9c6a1f7b4: Preparing 19:46:41 f2d4b3867b05: Preparing 19:46:41 bc103ce25ccf: Preparing 19:46:41 28995d26f729: Preparing 19:46:41 422fe5fe0e6f: Preparing 19:46:41 b541d28bf3b4: Preparing 19:46:41 b541d28bf3b4: Waiting 19:46:41 bc103ce25ccf: Pushed 19:46:41 f2d4b3867b05: Pushed 19:46:41 28995d26f729: Pushed 19:46:41 b541d28bf3b4: Layer already exists 19:46:41 422fe5fe0e6f: Pushed 19:46:44 13a9c6a1f7b4: Pushed 19:46:44 1aebe0375d702ec5557b529d86506036d5612df5: digest: sha256:5bc2ecac866a6b11cdb809cd10649a4b739596bee08c0bd9dddc3054259e94ee size: 1575 [Pipeline] isUnix [Pipeline] sh 19:46:44 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 19:46:44 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 19:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 19:46:44 13a9c6a1f7b4: Preparing 19:46:44 f2d4b3867b05: Preparing 19:46:44 bc103ce25ccf: Preparing 19:46:44 28995d26f729: Preparing 19:46:44 422fe5fe0e6f: Preparing 19:46:44 b541d28bf3b4: Preparing 19:46:44 b541d28bf3b4: Waiting 19:46:44 13a9c6a1f7b4: Layer already exists 19:46:44 422fe5fe0e6f: Layer already exists 19:46:44 f2d4b3867b05: Layer already exists 19:46:44 bc103ce25ccf: Layer already exists 19:46:44 28995d26f729: Layer already exists 19:46:44 b541d28bf3b4: Layer already exists 19:46:44 latest: digest: sha256:5bc2ecac866a6b11cdb809cd10649a4b739596bee08c0bd9dddc3054259e94ee size: 1575 [Pipeline] isUnix [Pipeline] sh 19:46:45 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.39 [Pipeline] isUnix [Pipeline] sh 19:46:45 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.39 19:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 19:46:45 13a9c6a1f7b4: Preparing 19:46:45 f2d4b3867b05: Preparing 19:46:45 bc103ce25ccf: Preparing 19:46:45 28995d26f729: Preparing 19:46:45 422fe5fe0e6f: Preparing 19:46:45 b541d28bf3b4: Preparing 19:46:45 b541d28bf3b4: Waiting 19:46:45 13a9c6a1f7b4: Layer already exists 19:46:45 422fe5fe0e6f: Layer already exists 19:46:45 f2d4b3867b05: Layer already exists 19:46:45 28995d26f729: Layer already exists 19:46:45 bc103ce25ccf: Layer already exists 19:46:45 b541d28bf3b4: Layer already exists 19:46:45 2.2.0-dev.39: digest: sha256:5bc2ecac866a6b11cdb809cd10649a4b739596bee08c0bd9dddc3054259e94ee size: 1575 [Pipeline] isUnix [Pipeline] sh 19:46:45 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 [Pipeline] isUnix [Pipeline] sh 19:46:46 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 19:46:46 13a9c6a1f7b4: Preparing 19:46:46 f2d4b3867b05: Preparing 19:46:46 bc103ce25ccf: Preparing 19:46:46 28995d26f729: Preparing 19:46:46 422fe5fe0e6f: Preparing 19:46:46 b541d28bf3b4: Preparing 19:46:46 b541d28bf3b4: Waiting 19:46:46 13a9c6a1f7b4: Layer already exists 19:46:46 422fe5fe0e6f: Layer already exists 19:46:46 f2d4b3867b05: Layer already exists 19:46:46 bc103ce25ccf: Layer already exists 19:46:46 28995d26f729: Layer already exists 19:46:46 b541d28bf3b4: Layer already exists 19:46:46 1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39: digest: sha256:5bc2ecac866a6b11cdb809cd10649a4b739596bee08c0bd9dddc3054259e94ee size: 1575 [Pipeline] isUnix [Pipeline] sh 19:46:46 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] isUnix [Pipeline] sh 19:46:46 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 19:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 19:46:46 13a9c6a1f7b4: Preparing 19:46:46 f2d4b3867b05: Preparing 19:46:46 bc103ce25ccf: Preparing 19:46:46 28995d26f729: Preparing 19:46:46 422fe5fe0e6f: Preparing 19:46:46 b541d28bf3b4: Preparing 19:46:46 b541d28bf3b4: Waiting 19:46:46 f2d4b3867b05: Layer already exists 19:46:46 bc103ce25ccf: Layer already exists 19:46:46 28995d26f729: Layer already exists 19:46:46 422fe5fe0e6f: Layer already exists 19:46:46 13a9c6a1f7b4: Layer already exists 19:46:46 b541d28bf3b4: Layer already exists 19:46:46 main: digest: sha256:5bc2ecac866a6b11cdb809cd10649a4b739596bee08c0bd9dddc3054259e94ee size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:46:46 ===================================================== [Pipeline] echo 19:46:46 taggedImages: 19:46:46 - nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5 19:46:46 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 19:46:46 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.2.0-dev.39 19:46:46 - nexus3.edgexfoundry.org:10004/app-service-configurable:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:46:46 - 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 19:46:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:47 19:46:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:46:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:47 latest: Pulling from edgex-lftools-log-publisher 19:46:47 5eb5b503b376: Pulling fs layer 19:46:47 5c69ac0246d0: Pulling fs layer 19:46:47 ec43610c2a17: Pulling fs layer 19:46:47 3a2ae6a8a46f: Pulling fs layer 19:46:47 33b1e0a273af: Pulling fs layer 19:46:47 5d3b04190fa2: Pulling fs layer 19:46:47 2f39f015ded8: Pulling fs layer 19:46:47 3a2ae6a8a46f: Waiting 19:46:47 33b1e0a273af: Waiting 19:46:47 5d3b04190fa2: Waiting 19:46:47 2f39f015ded8: Waiting 19:46:47 5c69ac0246d0: Verifying Checksum 19:46:47 5c69ac0246d0: Download complete 19:46:47 3a2ae6a8a46f: Verifying Checksum 19:46:47 33b1e0a273af: Verifying Checksum 19:46:47 33b1e0a273af: Download complete 19:46:47 5d3b04190fa2: Verifying Checksum 19:46:47 5d3b04190fa2: Download complete 19:46:47 ec43610c2a17: Verifying Checksum 19:46:47 ec43610c2a17: Download complete 19:46:47 5eb5b503b376: Verifying Checksum 19:46:47 5eb5b503b376: Download complete 19:46:48 2f39f015ded8: Download complete 19:46:48 5eb5b503b376: Pull complete 19:46:48 5c69ac0246d0: Pull complete 19:46:49 ec43610c2a17: Pull complete 19:46:49 3a2ae6a8a46f: Pull complete 19:46:49 33b1e0a273af: Pull complete 19:46:49 5d3b04190fa2: Pull complete 19:46:55 2f39f015ded8: Pull complete 19:46:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:46:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:46:55 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:46:57 $ docker top 15832cbde02e43e5af1c9c247e86d1ad70645a575d6f6af40420357529563077 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:57 ---> job-cost.sh 19:46:57 lf-activate-venv: SKIPPING 19:46:57 INFO: No Stack... 19:46:57 INFO: Retrieving Pricing Info for: v3-standard-8 19:46:58 INFO: Archiving Costs [Pipeline] sh 19:46:58 + cat /w/workspace/ry_app-service-configurable_main/archives/cost.csv 19:46:58 + cut -d, -f6 [Pipeline] lock 19:46:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] 19:46:58 Resource [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] did not exist. Created. 19:46:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:46:58 + echo total: 0.2199999988079071 [Pipeline] stash 19:46:58 Stashed 1 file(s) [Pipeline] } 19:46:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 19:46:59 $ docker stop --time=1 15832cbde02e43e5af1c9c247e86d1ad70645a575d6f6af40420357529563077 19:47:00 $ docker rm -f 15832cbde02e43e5af1c9c247e86d1ad70645a575d6f6af40420357529563077 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:47:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63183 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 19:47:09 Running in /w/workspace/app-service-configurable/75 [Pipeline] { [Pipeline] checkout 19:47:09 Selected Git installation does not exist. Using Default 19:47:09 The recommended git tool is: NONE 19:47:15 using credential edgex-jenkins-ssh 19:47:15 Cloning the remote Git repository 19:47:15 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:47:15 > git init /w/workspace/app-service-configurable/75 # timeout=10 19:47:15 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:47:15 > git --version # timeout=10 19:47:15 > git --version # 'git version 2.25.1' 19:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:16 Avoid second fetch 19:47:16 Checking out Revision 1aebe0375d702ec5557b529d86506036d5612df5 (main) 19:47:16 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:47:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:16 > git config core.sparsecheckout # timeout=10 19:47:16 > git checkout -f 1aebe0375d702ec5557b529d86506036d5612df5 # timeout=10 19:47:21 Commit message: "fix: Update port number for new metrics-influxdb profile to be 59707 (#422)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:47:22 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:22 Dload Upload Total Spent Left Speed 19:47:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 19:47:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:47:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:47:22 + sudo tee /etc/docker/daemon.new 19:47:22 { 19:47:22 "registry-mirrors": [ 19:47:22 "https://nexus3.edgexfoundry.org:10001" 19:47:22 ], 19:47:22 "bip": "10.250.0.254/24", 19:47:22 "hosts": [ 19:47:22 "tcp://0.0.0.0:5555", 19:47:22 "unix:///var/run/docker.sock" 19:47:22 ], 19:47:22 "mtu": 1458, 19:47:22 "selinux-enabled": true, 19:47:22 "seccomp-profile": "/etc/docker/seccomp.json" 19:47:22 } [Pipeline] sh 19:47:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:47:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:42 provisioning config files... 19:47:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/75@tmp/config489774904280149312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:42 ---> docker-login.sh 19:47:42 nexus3.edgexfoundry.org:10001 19:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:43 Configure a credential helper to remove this warning. See 19:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:43 19:47:43 Login Succeeded 19:47:43 nexus3.edgexfoundry.org:10002 19:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:43 Configure a credential helper to remove this warning. See 19:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:43 19:47:43 Login Succeeded 19:47:43 nexus3.edgexfoundry.org:10003 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 nexus3.edgexfoundry.org:10004 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 docker.io 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 ---> docker-login.sh ends [Pipeline] } 19:47:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:47:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:47:45 ========================================================= 19:47:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:47:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:47:46 + 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 . 19:47:46 Sending build context to Docker daemon 203.3kB 19:47:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:47:46 Step 2/13 : FROM ${BASE} AS builder 19:47:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:47:46 9b3977197b4f: Pulling fs layer 19:47:46 1a89e8eeedd5: Pulling fs layer 19:47:46 94645a83ff95: Pulling fs layer 19:47:46 3f3a8bcf1eab: Pulling fs layer 19:47:46 0c92f367c5e7: Pulling fs layer 19:47:46 3096ccb668a1: Pulling fs layer 19:47:46 e8cf19c19ddd: Pulling fs layer 19:47:46 a4caa8a26152: Pulling fs layer 19:47:46 3f3a8bcf1eab: Waiting 19:47:46 0c92f367c5e7: Waiting 19:47:46 3096ccb668a1: Waiting 19:47:46 e8cf19c19ddd: Waiting 19:47:46 a4caa8a26152: Waiting 19:47:46 94645a83ff95: Verifying Checksum 19:47:46 94645a83ff95: Download complete 19:47:46 1a89e8eeedd5: Verifying Checksum 19:47:46 1a89e8eeedd5: Download complete 19:47:46 0c92f367c5e7: Verifying Checksum 19:47:46 0c92f367c5e7: Download complete 19:47:46 3096ccb668a1: Verifying Checksum 19:47:46 3096ccb668a1: Download complete 19:47:46 9b3977197b4f: Verifying Checksum 19:47:46 9b3977197b4f: Download complete 19:47:46 e8cf19c19ddd: Verifying Checksum 19:47:46 e8cf19c19ddd: Download complete 19:47:47 9b3977197b4f: Pull complete 19:47:47 1a89e8eeedd5: Pull complete 19:47:48 94645a83ff95: Pull complete 19:47:48 a4caa8a26152: Verifying Checksum 19:47:48 a4caa8a26152: Download complete 19:47:49 3f3a8bcf1eab: Verifying Checksum 19:47:49 3f3a8bcf1eab: Download complete 19:48:01 3f3a8bcf1eab: Pull complete 19:48:01 0c92f367c5e7: Pull complete 19:48:01 3096ccb668a1: Pull complete 19:48:01 e8cf19c19ddd: Pull complete 19:48:08 a4caa8a26152: Pull complete 19:48:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:48:08 ---> 725f1c02e7f9 19:48:08 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:48:09 ---> Running in 58afd413b00c 19:48:09 Removing intermediate container 58afd413b00c 19:48:09 ---> 51e3111ce164 19:48:09 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:48:09 ---> Running in 8ca521122885 19:48:10 Removing intermediate container 8ca521122885 19:48:10 ---> 50f82d69cc96 19:48:10 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:48:10 ---> Running in face3f38508c 19:48:10 Removing intermediate container face3f38508c 19:48:10 ---> 0c1d861b2e4a 19:48:10 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:48:10 ---> Running in a7dd2e5e4450 19:48:12 Removing intermediate container a7dd2e5e4450 19:48:12 ---> 2f4048c9bccc 19:48:12 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:12 ---> Running in d9265f70a87c 19:48:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:48:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:48:15 OK: 220 MiB in 52 packages 19:48:16 Removing intermediate container d9265f70a87c 19:48:16 ---> bd97ceffeabf 19:48:16 Step 8/13 : WORKDIR /app 19:48:16 ---> Running in a8301a9822c9 19:48:16 Removing intermediate container a8301a9822c9 19:48:16 ---> 3f31210e2ec3 19:48:16 Step 9/13 : COPY go.mod vendor* ./ 19:48:17 ---> 53e8ebe17a02 19:48:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:17 ---> Running in 389dd0f1c8f4 19:49:04 Removing intermediate container 389dd0f1c8f4 19:49:04 ---> 07077b1dff17 19:49:04 Step 11/13 : COPY . . 19:49:04 ---> e02f4e513ebc 19:49:04 Step 12/13 : ARG MAKE="make build" 19:49:04 ---> Running in 7cf2fd9f4247 19:49:04 Removing intermediate container 7cf2fd9f4247 19:49:04 ---> 0be8c9bc0cff 19:49:04 Step 13/13 : RUN $MAKE 19:49:04 ---> Running in 19d28d20220e 19:49:04 noop 19:49:04 Removing intermediate container 19d28d20220e 19:49:04 ---> b2aba0e12d2a 19:49:04 Successfully built b2aba0e12d2a 19:49:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:49:04 + docker inspect -f . ci-base-image-arm64 19:49:04 . [Pipeline] withDockerContainer 19:49:05 prd-ubuntu20.04-docker-arm64-4c-16g-63183 does not seem to be running inside a container 19:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/75 -v /w/workspace/app-service-configurable/75:/w/workspace/app-service-configurable/75:rw,z -v /w/workspace/app-service-configurable/75@tmp:/w/workspace/app-service-configurable/75@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 19:49:06 $ docker top 1cc4adfd5ade6dc6b86f2d004c443bdad07941d7ad908ad3de1efef4c92720bf -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:07 + go version 19:49:07 go version go1.17.6 linux/arm64 [Pipeline] } 19:49:07 $ docker stop --time=1 1cc4adfd5ade6dc6b86f2d004c443bdad07941d7ad908ad3de1efef4c92720bf 19:49:09 $ docker rm -f 1cc4adfd5ade6dc6b86f2d004c443bdad07941d7ad908ad3de1efef4c92720bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:49:09 + docker inspect -f . ci-base-image-arm64 19:49:09 . [Pipeline] withDockerContainer 19:49:09 prd-ubuntu20.04-docker-arm64-4c-16g-63183 does not seem to be running inside a container 19:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/75 -v /w/workspace/app-service-configurable/75:/w/workspace/app-service-configurable/75:rw,z -v /w/workspace/app-service-configurable/75@tmp:/w/workspace/app-service-configurable/75@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 19:49:11 $ docker top fa73e7d9c21546036d1d9b3e7461003c9ac5c476c3ae312b841e3f1c2b096bba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:49:12 + make test 19:49:12 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:50:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:50:33 CGO_ENABLED=1 go vet ./... 19:51:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:51:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:51:06 ./bin/test-attribution-txt.sh [Pipeline] echo 19:51:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:51:06 $ docker stop --time=1 fa73e7d9c21546036d1d9b3e7461003c9ac5c476c3ae312b841e3f1c2b096bba 19:51:08 $ docker rm -f fa73e7d9c21546036d1d9b3e7461003c9ac5c476c3ae312b841e3f1c2b096bba [Pipeline] // withDockerContainer [Pipeline] sh 19:51:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:51:09 Warning: overwriting stash ‘coverage-report’ 19:51:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:51:10 + ls -al . 19:51:10 total 164 19:51:10 drwxrwxr-x 7 jenkins jenkins 4096 May 11 19:51 . 19:51:10 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:47 .. 19:51:10 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:47 .dockerignore 19:51:10 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:47 .git 19:51:10 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:47 .github 19:51:10 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:47 .gitignore 19:51:10 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:47 Attribution.txt 19:51:10 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:47 CHANGELOG.md 19:51:10 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:47 Dockerfile 19:51:10 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:47 GOVERNANCE.md 19:51:10 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:47 Jenkinsfile 19:51:10 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:47 LICENSE 19:51:10 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:47 OWNERS.md 19:51:10 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:47 README.md 19:51:10 -rw-rw-r-- 1 jenkins jenkins 12 May 11 19:45 VERSION 19:51:10 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:47 bin 19:51:10 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:49 coverage.out 19:51:10 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:47 go.mod 19:51:10 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:47 go.sum 19:51:10 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:47 main.go 19:51:10 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:47 makefile 19:51:10 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:47 res 19:51:10 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:47 snap [Pipeline] isUnix [Pipeline] sh 19:51:10 + 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=1aebe0375d702ec5557b529d86506036d5612df5 --label arch=arm64 --label version=2.2.0-dev.39 . 19:51:10 Sending build context to Docker daemon 204.3kB 19:51:10 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:51:10 Step 2/27 : FROM ${BASE} AS builder 19:51:10 ---> b2aba0e12d2a 19:51:10 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:51:11 ---> Running in 3fce0f7218d6 19:51:11 Removing intermediate container 3fce0f7218d6 19:51:11 ---> b0db95920ba5 19:51:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:51:11 ---> Running in 95a2eb85c4b6 19:51:11 Removing intermediate container 95a2eb85c4b6 19:51:11 ---> aa933f544bbe 19:51:11 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:51:11 ---> Running in 4e5e26b6a682 19:51:12 Removing intermediate container 4e5e26b6a682 19:51:12 ---> aa76672ddcce 19:51:12 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:12 ---> Running in 585746b4a4fc 19:51:14 Removing intermediate container 585746b4a4fc 19:51:14 ---> 3c0b507325e2 19:51:14 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:14 ---> Running in bac005b2f1bb 19:51:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:51:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:51:17 OK: 220 MiB in 52 packages 19:51:18 Removing intermediate container bac005b2f1bb 19:51:18 ---> 4c5e0e25cd3d 19:51:18 Step 8/27 : WORKDIR /app 19:51:18 ---> Running in a651ad05881c 19:51:18 Removing intermediate container a651ad05881c 19:51:18 ---> c25386cfaaa8 19:51:18 Step 9/27 : COPY go.mod vendor* ./ 19:51:18 ---> 75c98370855b 19:51:18 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:18 ---> Running in b18e4d526471 19:51:20 Removing intermediate container b18e4d526471 19:51:20 ---> 2e78154f2bd6 19:51:20 Step 11/27 : COPY . . 19:51:21 ---> 0379f5d48b86 19:51:21 Step 12/27 : ARG MAKE="make build" 19:51:21 ---> Running in 52aea729fc1e 19:51:21 Removing intermediate container 52aea729fc1e 19:51:21 ---> 662f40246bd3 19:51:21 Step 13/27 : RUN $MAKE 19:51:22 ---> Running in 3bc78bc69b7c 19:51:23 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:53:29 Removing intermediate container 3bc78bc69b7c 19:53:29 ---> 9befb4dd5284 19:53:29 Step 14/27 : FROM alpine:3.14 19:53:29 3.14: Pulling from library/alpine 19:53:29 455c02918c45: Pulling fs layer 19:53:29 455c02918c45: Verifying Checksum 19:53:29 455c02918c45: Download complete 19:53:29 455c02918c45: Pull complete 19:53:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:53:29 Status: Downloaded newer image for alpine:3.14 19:53:29 ---> ac73e934f311 19:53:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:53:29 ---> Running in b1175e9d2dfb 19:53:29 Removing intermediate container b1175e9d2dfb 19:53:29 ---> 66c68bd27764 19:53:29 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:53:29 ---> Running in 996cd33afa8d 19:53:29 Removing intermediate container 996cd33afa8d 19:53:29 ---> 92e336db841f 19:53:29 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:53:29 ---> Running in 115575e8c2b0 19:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:53:29 (1/7) Installing ca-certificates (20211220-r0) 19:53:29 (2/7) Installing dumb-init (1.2.5-r1) 19:53:29 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:53:29 (4/7) Installing libsodium (1.0.18-r0) 19:53:29 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:53:29 (6/7) Installing libzmq (4.3.4-r0) 19:53:29 (7/7) Installing zeromq (4.3.4-r0) 19:53:29 Executing busybox-1.33.1-r7.trigger 19:53:29 Executing ca-certificates-20211220-r0.trigger 19:53:29 OK: 9 MiB in 21 packages 19:53:30 Removing intermediate container 115575e8c2b0 19:53:30 ---> 3cb677c7fdf3 19:53:30 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:53:31 ---> d39e2903d12f 19:53:31 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:53:31 ---> 1658e0fd4247 19:53:31 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:53:32 ---> 8e5ece81b5d6 19:53:32 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:53:33 ---> 21591290d631 19:53:33 Step 22/27 : EXPOSE 48095 19:53:33 ---> Running in fc6aa21979aa 19:53:33 Removing intermediate container fc6aa21979aa 19:53:33 ---> 67e641874265 19:53:33 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:53:33 ---> Running in d9584867e9dc 19:53:34 Removing intermediate container d9584867e9dc 19:53:34 ---> c1c124a6a0b8 19:53:34 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:53:34 ---> Running in 507573a34bdf 19:53:34 Removing intermediate container 507573a34bdf 19:53:34 ---> 70dcb6820e65 19:53:34 Step 25/27 : LABEL arch=arm64 19:53:34 ---> Running in 092d04451e46 19:53:34 Removing intermediate container 092d04451e46 19:53:34 ---> 4888b0d35636 19:53:34 Step 26/27 : LABEL git_sha=1aebe0375d702ec5557b529d86506036d5612df5 19:53:35 ---> Running in 124055993e76 19:53:35 Removing intermediate container 124055993e76 19:53:35 ---> cbebc1025161 19:53:35 Step 27/27 : LABEL version=2.2.0-dev.39 19:53:35 ---> Running in f5c4923444ef 19:53:35 Removing intermediate container f5c4923444ef 19:53:35 ---> 59fae6a36982 19:53:35 [Warning] One or more build-args [ARCH] were not consumed 19:53:35 Successfully built 59fae6a36982 19:53:35 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 19:53:35 provisioning config files... 19:53:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/75@tmp/config261537189540560680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:36 ---> docker-login.sh 19:53:36 nexus3.edgexfoundry.org:10001 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 nexus3.edgexfoundry.org:10002 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 nexus3.edgexfoundry.org:10003 19:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:37 Configure a credential helper to remove this warning. See 19:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:37 19:53:37 Login Succeeded 19:53:37 nexus3.edgexfoundry.org:10004 19:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:37 Configure a credential helper to remove this warning. See 19:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:37 19:53:37 Login Succeeded 19:53:37 docker.io 19:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:38 Configure a credential helper to remove this warning. See 19:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:38 19:53:38 Login Succeeded 19:53:38 ---> docker-login.sh ends [Pipeline] } 19:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:53:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:38 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 19:53:38 1aebe0375d702ec5557b529d86506036d5612df5 19:53:38 latest 19:53:38 2.2.0-dev.39 19:53:38 1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:53:38 main 19:53:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:53:39 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] isUnix [Pipeline] sh 19:53:39 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5 19:53:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 19:53:39 df44a368f581: Preparing 19:53:39 ca90d50d4072: Preparing 19:53:39 291a08732414: Preparing 19:53:39 95f4e3860f8a: Preparing 19:53:39 259460910011: Preparing 19:53:39 f73e7dbfee58: Preparing 19:53:39 f73e7dbfee58: Waiting 19:53:39 ca90d50d4072: Pushed 19:53:39 95f4e3860f8a: Pushed 19:53:39 291a08732414: Pushed 19:53:39 f73e7dbfee58: Layer already exists 19:53:40 259460910011: Pushed 19:53:46 df44a368f581: Pushed 19:53:46 1aebe0375d702ec5557b529d86506036d5612df5: digest: sha256:e0f8978522a1826650ac333a2974526ecbe9fd49dd2cdf45b1b8d15b00845072 size: 1575 [Pipeline] isUnix [Pipeline] sh 19:53:46 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:53:46 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 19:53:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 19:53:46 df44a368f581: Preparing 19:53:46 ca90d50d4072: Preparing 19:53:46 291a08732414: Preparing 19:53:46 95f4e3860f8a: Preparing 19:53:46 259460910011: Preparing 19:53:46 f73e7dbfee58: Preparing 19:53:46 f73e7dbfee58: Waiting 19:53:46 259460910011: Layer already exists 19:53:46 df44a368f581: Layer already exists 19:53:46 ca90d50d4072: Layer already exists 19:53:46 291a08732414: Layer already exists 19:53:46 95f4e3860f8a: Layer already exists 19:53:46 f73e7dbfee58: Layer already exists 19:53:46 latest: digest: sha256:e0f8978522a1826650ac333a2974526ecbe9fd49dd2cdf45b1b8d15b00845072 size: 1575 [Pipeline] isUnix [Pipeline] sh 19:53:47 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.39 [Pipeline] isUnix [Pipeline] sh 19:53:47 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.39 19:53:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 19:53:47 df44a368f581: Preparing 19:53:47 ca90d50d4072: Preparing 19:53:47 291a08732414: Preparing 19:53:47 95f4e3860f8a: Preparing 19:53:47 259460910011: Preparing 19:53:47 f73e7dbfee58: Preparing 19:53:47 f73e7dbfee58: Waiting 19:53:47 291a08732414: Layer already exists 19:53:47 259460910011: Layer already exists 19:53:47 df44a368f581: Layer already exists 19:53:47 ca90d50d4072: Layer already exists 19:53:47 95f4e3860f8a: Layer already exists 19:53:47 f73e7dbfee58: Layer already exists 19:53:47 2.2.0-dev.39: digest: sha256:e0f8978522a1826650ac333a2974526ecbe9fd49dd2cdf45b1b8d15b00845072 size: 1575 [Pipeline] isUnix [Pipeline] sh 19:53:48 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 [Pipeline] isUnix [Pipeline] sh 19:53:48 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:53:48 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 19:53:48 df44a368f581: Preparing 19:53:48 ca90d50d4072: Preparing 19:53:48 291a08732414: Preparing 19:53:48 95f4e3860f8a: Preparing 19:53:48 259460910011: Preparing 19:53:48 f73e7dbfee58: Preparing 19:53:48 f73e7dbfee58: Waiting 19:53:48 291a08732414: Layer already exists 19:53:48 259460910011: Layer already exists 19:53:48 df44a368f581: Layer already exists 19:53:48 95f4e3860f8a: Layer already exists 19:53:48 ca90d50d4072: Layer already exists 19:53:48 f73e7dbfee58: Layer already exists 19:53:48 1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39: digest: sha256:e0f8978522a1826650ac333a2974526ecbe9fd49dd2cdf45b1b8d15b00845072 size: 1575 [Pipeline] isUnix [Pipeline] sh 19:53:49 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] isUnix [Pipeline] sh 19:53:49 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 19:53:49 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 19:53:49 df44a368f581: Preparing 19:53:49 ca90d50d4072: Preparing 19:53:49 291a08732414: Preparing 19:53:49 95f4e3860f8a: Preparing 19:53:49 259460910011: Preparing 19:53:49 f73e7dbfee58: Preparing 19:53:49 f73e7dbfee58: Waiting 19:53:49 ca90d50d4072: Layer already exists 19:53:49 259460910011: Layer already exists 19:53:49 df44a368f581: Layer already exists 19:53:49 291a08732414: Layer already exists 19:53:49 95f4e3860f8a: Layer already exists 19:53:49 f73e7dbfee58: Layer already exists 19:53:49 main: digest: sha256:e0f8978522a1826650ac333a2974526ecbe9fd49dd2cdf45b1b8d15b00845072 size: 1575 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:53:49 ===================================================== [Pipeline] echo 19:53:49 taggedImages: 19:53:49 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5 19:53:49 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 19:53:49 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.2.0-dev.39 19:53:49 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1aebe0375d702ec5557b529d86506036d5612df5-2.2.0-dev.39 19:53:49 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:50 19:53:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:53:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:50 arm64: Pulling from edgex-lftools-log-publisher 19:53:50 8998bd30e6a1: Pulling fs layer 19:53:50 04944245beec: Pulling fs layer 19:53:50 699f458cf7ca: Pulling fs layer 19:53:50 765212b225bb: Pulling fs layer 19:53:50 f23df028b6ca: Pulling fs layer 19:53:50 d65c8cfc05b1: Pulling fs layer 19:53:50 2437ff75d9bd: Pulling fs layer 19:53:50 765212b225bb: Waiting 19:53:50 f23df028b6ca: Waiting 19:53:50 d65c8cfc05b1: Waiting 19:53:50 2437ff75d9bd: Waiting 19:53:50 04944245beec: Verifying Checksum 19:53:50 04944245beec: Download complete 19:53:50 765212b225bb: Verifying Checksum 19:53:50 765212b225bb: Download complete 19:53:50 f23df028b6ca: Verifying Checksum 19:53:50 f23df028b6ca: Download complete 19:53:50 d65c8cfc05b1: Download complete 19:53:51 699f458cf7ca: Verifying Checksum 19:53:51 699f458cf7ca: Download complete 19:53:51 8998bd30e6a1: Verifying Checksum 19:53:51 8998bd30e6a1: Download complete 19:53:54 2437ff75d9bd: Verifying Checksum 19:53:54 2437ff75d9bd: Download complete 19:53:56 8998bd30e6a1: Pull complete 19:53:56 04944245beec: Pull complete 19:53:57 699f458cf7ca: Pull complete 19:53:58 765212b225bb: Pull complete 19:53:59 f23df028b6ca: Pull complete 19:53:59 d65c8cfc05b1: Pull complete 19:54:17 2437ff75d9bd: Pull complete 19:54:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:54:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-63183 does not seem to be running inside a container 19:54:18 $ 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/75 -v /w/workspace/app-service-configurable/75:/w/workspace/app-service-configurable/75:rw,z -v /w/workspace/app-service-configurable/75@tmp:/w/workspace/app-service-configurable/75@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 19:54:20 $ docker top 5009d8dd38a6afe435ce2c97a30e87cd171f30587b4b555bc28ef1e17d9f2b2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:21 ---> job-cost.sh 19:54:21 lf-activate-venv: SKIPPING 19:54:21 INFO: No Stack... 19:54:22 INFO: Retrieving Pricing Info for: v3-standard-4 19:54:23 INFO: Archiving Costs [Pipeline] sh 19:54:24 + cat /w/workspace/app-service-configurable/75/archives/cost.csv 19:54:24 + cut -d, -f6 [Pipeline] lock 19:54:24 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] 19:54:24 Resource [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] did not exist. Created. 19:54:24 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:54:24 /w/workspace/app-service-configurable/75@tmp/durable-f4039fa8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:54:25 + echo total: 0.10999999940395355 [Pipeline] stash 19:54:25 Warning: overwriting stash ‘stack-cost’ 19:54:25 Stashed 1 file(s) [Pipeline] } 19:54:25 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 19:54:25 $ docker stop --time=1 5009d8dd38a6afe435ce2c97a30e87cd171f30587b4b555bc28ef1e17d9f2b2b 19:54:27 $ docker rm -f 5009d8dd38a6afe435ce2c97a30e87cd171f30587b4b555bc28ef1e17d9f2b2b [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 19:54:27 provisioning config files... 19:54:27 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3454942405735524595tmp [Pipeline] { [Pipeline] sh 19:54:28 + set +x 19:54:28 + curl -s https://codecov.io/bash 19:54:28 + bash -s -- 19:54:28 19:54:28 _____ _ 19:54:28 / ____| | | 19:54:28 | | ___ __| | ___ ___ _____ __ 19:54:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:54:28 | |___| (_) | (_| | __/ (_| (_) \ V / 19:54:28 \_____\___/ \__,_|\___|\___\___/ \_/ 19:54:28 Bash-1.0.6 19:54:28 19:54:28 19:54:28 ==> git version 2.25.1 found 19:54:28 ==> 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 19:54:28 Release-Date: 2020-01-08 19:54:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:54:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:54:28 ==> Jenkins CI detected. 19:54:28 current dir:  /w/workspace/ry_app-service-configurable_main 19:54:28 project root: . 19:54:28 --> token set from env 19:54:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:54:28 ==> Running gcov in . (disable via -X gcov) 19:54:28 ==> Python coveragepy not found 19:54:28 ==> Searching for coverage reports in: 19:54:28 + . 19:54:28 -> Found 1 reports 19:54:28 ==> Detecting git/mercurial file structure 19:54:28 ==> Reading reports 19:54:28 + ./coverage.out bytes=10 19:54:28 ==> Appending adjustments 19:54:28 https://docs.codecov.io/docs/fixing-reports 19:54:28 + Found adjustments 19:54:28 ==> Gzipping contents 19:54:28 4.0K /tmp/codecov.LxfR8T.gz 19:54:28 ==> Uploading reports 19:54:28 url: https://codecov.io 19:54:28 query: branch=main&commit=1aebe0375d702ec5557b529d86506036d5612df5&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 19:54:28 -> Pinging Codecov 19:54:28 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=1aebe0375d702ec5557b529d86506036d5612df5&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 19:54:28 -> Uploading to 19:54:28 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/A97CA9966030D2A3747ED39772930CCE/1aebe0375d702ec5557b529d86506036d5612df5/f50eb8a3-c371-40a8-894b-e8ff1ec0afd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T195428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9dba1e0ba0677915e496d25941842065e7cba342c47596467ddb300b3d171b89 19:54:28 % Total % Received % Xferd Average Speed Time Time Time Current 19:54:28 Dload Upload Total Spent Left Speed 19:54:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2573 --:--:-- --:--:-- --:--:-- 2573 19:54:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] } 19:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:54:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:54:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:54:29 19:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:54:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:54:29 188c0c94c7c5: Pulling fs layer 19:54:29 0ef7d3d256c8: Pulling fs layer 19:54:29 de9db76c5a1d: Pulling fs layer 19:54:29 0eba1c9be4d2: Pulling fs layer 19:54:29 0d57e429df01: Pulling fs layer 19:54:29 4e4be7b47b0d: Pulling fs layer 19:54:29 e1f770b5df2f: Pulling fs layer 19:54:29 85a0685a4137: Pulling fs layer 19:54:29 0eba1c9be4d2: Waiting 19:54:29 0d57e429df01: Waiting 19:54:29 4e4be7b47b0d: Waiting 19:54:29 85a0685a4137: Waiting 19:54:29 de9db76c5a1d: Verifying Checksum 19:54:29 de9db76c5a1d: Download complete 19:54:29 0ef7d3d256c8: Verifying Checksum 19:54:29 0ef7d3d256c8: Download complete 19:54:29 0d57e429df01: Verifying Checksum 19:54:29 0d57e429df01: Download complete 19:54:29 4e4be7b47b0d: Download complete 19:54:29 188c0c94c7c5: Verifying Checksum 19:54:29 188c0c94c7c5: Download complete 19:54:29 188c0c94c7c5: Pull complete 19:54:29 e1f770b5df2f: Download complete 19:54:29 0ef7d3d256c8: Pull complete 19:54:30 de9db76c5a1d: Pull complete 19:54:30 0eba1c9be4d2: Verifying Checksum 19:54:30 0eba1c9be4d2: Download complete 19:54:30 85a0685a4137: Verifying Checksum 19:54:30 85a0685a4137: Download complete 19:54:33 0eba1c9be4d2: Pull complete 19:54:33 0d57e429df01: Pull complete 19:54:33 4e4be7b47b0d: Pull complete 19:54:34 e1f770b5df2f: Pull complete 19:54:37 85a0685a4137: Pull complete 19:54:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:54:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:54:37 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:54:39 $ docker top 52d473e5bfc6d2204f103e05e84c657dc8fd4272994a0b40b21662e376990333 -eo pid,comm [Pipeline] { [Pipeline] echo 19:54:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:54:39 + set -o pipefail 19:54:39 + snyk monitor '--org=edgex-jenkins' 19:54:45 19:54:45 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 19:54:45 19:54:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/d14c660d-b1bf-478c-9b0e-adda10715d99 19:54:45 19:54:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:54:45 19:54:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:54:45 19:54:45 [Pipeline] } 19:54:45 $ docker stop --time=1 52d473e5bfc6d2204f103e05e84c657dc8fd4272994a0b40b21662e376990333 19:54:47 $ docker rm -f 52d473e5bfc6d2204f103e05e84c657dc8fd4272994a0b40b21662e376990333 [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 19:54:47 + git log --format=format:%s -1 1aebe0375d702ec5557b529d86506036d5612df5 [Pipeline] sh 19:54:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:54:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:54:48 . [Pipeline] withDockerContainer 19:54:48 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:54:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:54:48 $ docker top 1ad5b1c7210d2a273259cd26a73c5a68eafc643b3514b4e3c1950d9763a23b46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:54:49 [ssh-agent] Looking for ssh-agent implementation... 19:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:54:49 $ docker exec 1ad5b1c7210d2a273259cd26a73c5a68eafc643b3514b4e3c1950d9763a23b46 ssh-agent 19:54:49 SSH_AUTH_SOCK=/tmp/ssh-2cQ0V1y8c3ZX/agent.34 19:54:49 SSH_AGENT_PID=41 19:54:49 Running ssh-add (command line suppressed) 19:54:49 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_5846415696331873332.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_5846415696331873332.key) 19:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:54:49 + git semver tag 19:54:50 2022-05-11 19:54:50,044 [run_tag] DEBUG tag force:False 19:54:50 2022-05-11 19:54:50,044 [check_head_tag] DEBUG check head tag 19:54:50 2022-05-11 19:54:50,045 [execute] INFO git cat-file --batch-check 19:54:50 2022-05-11 19:54:50,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 19:54:50 2022-05-11 19:54:50,048 [execute] INFO git cat-file --batch 19:54:50 2022-05-11 19:54:50,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 19:54:50 2022-05-11 19:54:50,073 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:54:50 2022-05-11 19:54:50,074 [execute] INFO git tag -a v2.2.0-dev.39 -m v2.2.0-dev.39 19:54:50 2022-05-11 19:54:50,074 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.39', '-m', 'v2.2.0-dev.39'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 19:54:50 2022-05-11 19:54:50,078 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:54:50 2.2.0-dev.39 [Pipeline] } 19:54:50 $ docker exec --env ******** --env ******** 1ad5b1c7210d2a273259cd26a73c5a68eafc643b3514b4e3c1950d9763a23b46 ssh-agent -k 19:54:50 unset SSH_AUTH_SOCK; 19:54:50 unset SSH_AGENT_PID; 19:54:50 echo Agent pid 41 killed; 19:54:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:54:50 + git semver [Pipeline] } 19:54:51 $ docker stop --time=1 1ad5b1c7210d2a273259cd26a73c5a68eafc643b3514b4e3c1950d9763a23b46 19:54:52 $ docker rm -f 1ad5b1c7210d2a273259cd26a73c5a68eafc643b3514b4e3c1950d9763a23b46 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:54:52 19:54:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:54:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:54:53 0.23.1-centos7: Pulling from edgex-lftools 19:54:53 ab5ef0e58194: Pulling fs layer 19:54:53 9712f1f96733: Pulling fs layer 19:54:53 63f879dbbcfc: Pulling fs layer 19:54:53 0d9ebad4ef96: Pulling fs layer 19:54:53 e9a5061849ea: Pulling fs layer 19:54:53 d747dcd14b5f: Pulling fs layer 19:54:53 2de7ff778b66: Pulling fs layer 19:54:53 0d9ebad4ef96: Waiting 19:54:53 d747dcd14b5f: Waiting 19:54:53 e9a5061849ea: Waiting 19:54:53 2de7ff778b66: Waiting 19:54:53 9712f1f96733: Verifying Checksum 19:54:53 9712f1f96733: Download complete 19:54:53 63f879dbbcfc: Verifying Checksum 19:54:53 63f879dbbcfc: Download complete 19:54:53 e9a5061849ea: Verifying Checksum 19:54:53 e9a5061849ea: Download complete 19:54:53 d747dcd14b5f: Verifying Checksum 19:54:53 d747dcd14b5f: Download complete 19:54:53 0d9ebad4ef96: Verifying Checksum 19:54:53 0d9ebad4ef96: Download complete 19:54:53 ab5ef0e58194: Verifying Checksum 19:54:53 ab5ef0e58194: Download complete 19:54:53 2de7ff778b66: Verifying Checksum 19:54:53 2de7ff778b66: Download complete 19:54:56 ab5ef0e58194: Pull complete 19:54:56 9712f1f96733: Pull complete 19:54:56 63f879dbbcfc: Pull complete 19:55:01 0d9ebad4ef96: Pull complete 19:55:01 e9a5061849ea: Pull complete 19:55:01 d747dcd14b5f: Pull complete 19:55:02 2de7ff778b66: Pull complete 19:55:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:55:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:55:02 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:55: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:55:04 $ docker top 55a262b65c6c9de95d3d235a74cbf6ce022d8872d3151aef2606ebfd3c858613 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:55:04 provisioning config files... 19:55:04 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config8515653344727137055tmp 19:55:04 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3038349696954834003tmp 19:55:04 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3328043656132236593tmp [Pipeline] { [Pipeline] echo 19:55:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:55:04 ---> sigul-configuration.sh 19:55:04 gpg: directory `/root/.gnupg' created 19:55:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:55:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:55:04 gpg: keyring `/root/.gnupg/secring.gpg' created 19:55:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:55:04 gpg: CAST5 encrypted data 19:55:04 gpg: encrypted with 1 passphrase 19:55:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:55:05 + mkdir /home/jenkins 19:55:05 + mkdir /home/jenkins/sigul [Pipeline] sh 19:55:05 + 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 19:55:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:55:05 ---> sigul-install.sh 19:55:05 Sigul already installed; skipping installation. [Pipeline] sh 19:55:07 + git tag --list 19:55:07 v1.0.0 19:55:07 v1.1.0 19:55:07 v1.2.0 19:55:07 v1.3.0 19:55:07 v1.3.1 19:55:07 v2.0.0 19:55:07 v2.0.1 19:55:07 v2.0.1-dev.1 19:55:07 v2.0.2-dev.1 19:55:07 v2.0.2-dev.10 19:55:07 v2.0.2-dev.11 19:55:07 v2.0.2-dev.12 19:55:07 v2.0.2-dev.13 19:55:07 v2.0.2-dev.14 19:55:07 v2.0.2-dev.15 19:55:07 v2.0.2-dev.16 19:55:07 v2.0.2-dev.17 19:55:07 v2.0.2-dev.18 19:55:07 v2.0.2-dev.19 19:55:07 v2.0.2-dev.2 19:55:07 v2.0.2-dev.20 19:55:07 v2.0.2-dev.21 19:55:07 v2.0.2-dev.22 19:55:07 v2.0.2-dev.23 19:55:07 v2.0.2-dev.24 19:55:07 v2.0.2-dev.25 19:55:07 v2.0.2-dev.26 19:55:07 v2.0.2-dev.27 19:55:07 v2.0.2-dev.28 19:55:07 v2.0.2-dev.29 19:55:07 v2.0.2-dev.3 19:55:07 v2.0.2-dev.30 19:55:07 v2.0.2-dev.4 19:55:07 v2.0.2-dev.5 19:55:07 v2.0.2-dev.6 19:55:07 v2.0.2-dev.7 19:55:07 v2.0.2-dev.8 19:55:07 v2.0.2-dev.9 19:55:07 v2.1.0 19:55:07 v2.2.0-dev.1 19:55:07 v2.2.0-dev.10 19:55:07 v2.2.0-dev.11 19:55:07 v2.2.0-dev.12 19:55:07 v2.2.0-dev.13 19:55:07 v2.2.0-dev.14 19:55:07 v2.2.0-dev.15 19:55:07 v2.2.0-dev.16 19:55:07 v2.2.0-dev.17 19:55:07 v2.2.0-dev.18 19:55:07 v2.2.0-dev.19 19:55:07 v2.2.0-dev.2 19:55:07 v2.2.0-dev.20 19:55:07 v2.2.0-dev.21 19:55:07 v2.2.0-dev.22 19:55:07 v2.2.0-dev.23 19:55:07 v2.2.0-dev.24 19:55:07 v2.2.0-dev.25 19:55:07 v2.2.0-dev.26 19:55:07 v2.2.0-dev.27 19:55:07 v2.2.0-dev.28 19:55:07 v2.2.0-dev.29 19:55:07 v2.2.0-dev.3 19:55:07 v2.2.0-dev.30 19:55:07 v2.2.0-dev.31 19:55:07 v2.2.0-dev.32 19:55:07 v2.2.0-dev.33 19:55:07 v2.2.0-dev.34 19:55:07 v2.2.0-dev.35 19:55:07 v2.2.0-dev.36 19:55:07 v2.2.0-dev.37 19:55:07 v2.2.0-dev.38 19:55:07 v2.2.0-dev.39 19:55:07 v2.2.0-dev.4 19:55:07 v2.2.0-dev.5 19:55:07 v2.2.0-dev.6 19:55:07 v2.2.0-dev.7 19:55:07 v2.2.0-dev.8 19:55:07 v2.2.0-dev.9 [Pipeline] sh 19:55:07 + lftools sign git-tag v2.2.0-dev.39 19:55:08 Signing Git tag with Sigul... 19:55:08 Signing v2.2.0-dev.39 [Pipeline] echo 19:55:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:55:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:55:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:55:09 $ docker stop --time=1 55a262b65c6c9de95d3d235a74cbf6ce022d8872d3151aef2606ebfd3c858613 19:55:10 $ docker rm -f 55a262b65c6c9de95d3d235a74cbf6ce022d8872d3151aef2606ebfd3c858613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:55:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:55:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:55:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:55:11 . [Pipeline] withDockerContainer 19:55:11 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:55:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:55:11 $ docker top 942d2589e34d1921a79079c9e7e0239072f2c705749e0ab9c0e9c273c593837a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:55:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:55:11 [ssh-agent] Looking for ssh-agent implementation... 19:55:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:55:11 $ docker exec 942d2589e34d1921a79079c9e7e0239072f2c705749e0ab9c0e9c273c593837a ssh-agent 19:55:12 SSH_AUTH_SOCK=/tmp/ssh-dS6t37NfVqtJ/agent.34 19:55:12 SSH_AGENT_PID=41 19:55:12 Running ssh-add (command line suppressed) 19:55:12 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_8663990010494669311.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_8663990010494669311.key) 19:55:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:55:12 + git semver bump pre 19:55:13 2022-05-11 19:55:12,732 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:55:13 2022-05-11 19:55:12,732 [bump_version] DEBUG bumping version:2.2.0-dev.39 on axis:pre with prefix:dev 19:55:13 2022-05-11 19:55:12,732 [bump_version] DEBUG bumped version:2.2.0-dev.40 19:55:13 2022-05-11 19:55:12,733 [write_version] DEBUG write version:2.2.0-dev.40 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:True 19:55:13 2022-05-11 19:55:12,733 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:55:13 2022-05-11 19:55:12,733 [write_file] DEBUG write to file:/w/workspace/ry_app-service-configurable_main/.semver/main 19:55:13 2022-05-11 19:55:12,736 [execute] INFO git cat-file --batch-check 19:55:13 2022-05-11 19:55:12,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 19:55:13 2022-05-11 19:55:12,741 [execute] INFO git cat-file --batch 19:55:13 2022-05-11 19:55:12,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 19:55:13 2022-05-11 19:55:12,746 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:55:13 2.2.0-dev.40 [Pipeline] } 19:55:13 $ docker exec --env ******** --env ******** 942d2589e34d1921a79079c9e7e0239072f2c705749e0ab9c0e9c273c593837a ssh-agent -k 19:55:13 unset SSH_AUTH_SOCK; 19:55:13 unset SSH_AGENT_PID; 19:55:13 echo Agent pid 41 killed; 19:55:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:55:13 + git semver [Pipeline] } 19:55:13 $ docker stop --time=1 942d2589e34d1921a79079c9e7e0239072f2c705749e0ab9c0e9c273c593837a 19:55:15 $ docker rm -f 942d2589e34d1921a79079c9e7e0239072f2c705749e0ab9c0e9c273c593837a [Pipeline] // withDockerContainer [Pipeline] sh 19:55:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:55:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:55:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:55:15 . [Pipeline] withDockerContainer 19:55:15 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:55:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:55:16 $ docker top 6f8c5a9669ab00450a2a3203009263343a640e0bf8129889a3fe744a593591a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:55:16 [ssh-agent] Looking for ssh-agent implementation... 19:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:55:16 $ docker exec 6f8c5a9669ab00450a2a3203009263343a640e0bf8129889a3fe744a593591a8 ssh-agent 19:55:16 SSH_AUTH_SOCK=/tmp/ssh-bJ7XeNvO0XeJ/agent.35 19:55:16 SSH_AGENT_PID=41 19:55:16 Running ssh-add (command line suppressed) 19:55:16 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_5017118622020554917.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_5017118622020554917.key) 19:55:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:55:16 + git semver push 19:55:17 2022-05-11 19:55:17,138 [run_push] DEBUG push 19:55:17 2022-05-11 19:55:17,139 [execute] INFO git push origin semver 19:55:17 2022-05-11 19:55:17,139 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 19:55:18 2022-05-11 19:55:17,912 [run_push] DEBUG push all version tags 19:55:18 2022-05-11 19:55:17,912 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:55:18 2022-05-11 19:55:17,913 [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) 19:55:18 2022-05-11 19:55:18,674 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 19:55:18 2.2.0-dev.40 [Pipeline] } 19:55:18 $ docker exec --env ******** --env ******** 6f8c5a9669ab00450a2a3203009263343a640e0bf8129889a3fe744a593591a8 ssh-agent -k 19:55:18 unset SSH_AUTH_SOCK; 19:55:18 unset SSH_AGENT_PID; 19:55:18 echo Agent pid 41 killed; 19:55:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:55:19 + git semver [Pipeline] } 19:55:19 $ docker stop --time=1 6f8c5a9669ab00450a2a3203009263343a640e0bf8129889a3fe744a593591a8 19:55:20 $ docker rm -f 6f8c5a9669ab00450a2a3203009263343a640e0bf8129889a3fe744a593591a8 [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 19:55:21 + [ -d /w/workspace/ry_app-service-configurable_main/archives ] 19:55:21 + ls -al /w/workspace/ry_app-service-configurable_main/archives 19:55:21 total 16 19:55:21 drwxr-xr-x 3 root root 4096 May 11 19:46 . 19:55:21 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:55 .. 19:55:21 drwxr-xr-x 2 root root 4096 May 11 19:46 cost 19:55:21 -rw-r--r-- 1 root root 94 May 11 19:46 cost.csv 19:55:21 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-service-configurable_main/archives 19:55:21 + ls -al /w/workspace/ry_app-service-configurable_main/archives 19:55:21 total 16 19:55:21 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:46 . 19:55:21 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:55 .. 19:55:21 drwxr-xr-x 2 jenkins jenkins 4096 May 11 19:46 cost 19:55:21 -rw-r--r-- 1 jenkins jenkins 94 May 11 19:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:55:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:55:22 ---> package-listing.sh 19:55:22 ++ facter osfamily 19:55:22 ++ tr '[:upper:]' '[:lower:]' 19:55:22 + OS_FAMILY=debian 19:55:22 + workspace=/w/workspace/ry_app-service-configurable_main 19:55:22 + START_PACKAGES=/tmp/packages_start.txt 19:55:22 + END_PACKAGES=/tmp/packages_end.txt 19:55:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:55:22 + PACKAGES=/tmp/packages_start.txt 19:55:22 + '[' /w/workspace/ry_app-service-configurable_main ']' 19:55:22 + PACKAGES=/tmp/packages_end.txt 19:55:22 + case "${OS_FAMILY}" in 19:55:22 + dpkg -l 19:55:22 + grep '^ii' 19:55:22 + '[' -f /tmp/packages_start.txt ']' 19:55:22 + '[' -f /tmp/packages_end.txt ']' 19:55:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:55:22 + '[' /w/workspace/ry_app-service-configurable_main ']' 19:55:22 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 19:55:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 19:55:22 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 19:55:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:23 . [Pipeline] withDockerContainer 19:55:23 prd-ubuntu20.04-docker-8c-8g-63181 does not seem to be running inside a container 19:55:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:55:23 $ docker top fa38f44def39e20cd68dc8ce5f336f1434a4f9080e4eb530853df0690a347eed -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:24 + touch /tmp/pre-build-complete [Pipeline] sh 19:55:24 + mkdir -p /var/log/sysstat [Pipeline] sh 19:55:24 + ls /var/log/sa-host 19:55:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:24 provisioning config files... 19:55:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config8334469057006914389tmp [Pipeline] { [Pipeline] echo 19:55:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:55:25 ---> create-netrc.sh [Pipeline] } 19:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:55:25 ---> python-tools-install.sh [Pipeline] echo 19:55:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:55:25 ---> sudo-logs.sh 19:55:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:55:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:55:26 ---> job-cost.sh 19:55:26 lf-activate-venv: SKIPPING 19:55:26 DEBUG: total: 0.2199999988079071 19:55:26 INFO: Retrieving Stack Cost... 19:55:26 INFO: Retrieving Pricing Info for: v3-standard-8 19:55:27 INFO: Archiving Costs [Pipeline] echo 19:55:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:55:27 ---> logs-deploy.sh 19:55:27 lf-activate-venv: SKIPPING 19:55:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/75 19:55:27 INFO: archiving workspace using pattern(s): 19:55:28 Archives upload complete. 19:55:28 INFO: archiving logs to Nexus