Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a685ee38dea662665d79d6c95481bff5d89fc51 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-ssh6319009321413308553.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16517761253509159887.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16775284538065102158.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh3887594467488642768.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4015801232253478182.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7197 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 4a685ee38dea662665d79d6c95481bff5d89fc51 (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 4a685ee38dea662665d79d6c95481bff5d89fc51 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#473)" > git rev-list --no-walk cea3c1fe0f425ee2313aa5154ce94f5a2eb43780 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:24 ========================================================= 20:41:24 EdgeX Global Pipelines Version Info 20:41:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:41:25 ------------------- 20:41:25 stable info: 20:41:25 ------------------- 20:41:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:41:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:41:25 Message: update stable to v1.0.239 20:41:25 ------------------- 20:41:25 experimental info: 20:41:25 ------------------- 20:41:25 Commited By: **** collab-it+edgex@linuxfoundation.org 20:41:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:41:25 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a685ee [Pipeline] echo 20:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:26 provisioning config files... 20:41:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config6303977496271932734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:26 ---> docker-login.sh 20:41:26 nexus3.edgexfoundry.org:10001 20:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:27 Configure a credential helper to remove this warning. See 20:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:27 20:41:27 Login Succeeded 20:41:27 nexus3.edgexfoundry.org:10002 20:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:27 Configure a credential helper to remove this warning. See 20:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:27 20:41:27 Login Succeeded 20:41:27 nexus3.edgexfoundry.org:10003 20:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:27 Configure a credential helper to remove this warning. See 20:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:27 20:41:27 Login Succeeded 20:41:27 nexus3.edgexfoundry.org:10004 20:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:27 Configure a credential helper to remove this warning. See 20:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:27 20:41:27 Login Succeeded 20:41:27 docker.io 20:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:28 Configure a credential helper to remove this warning. See 20:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:28 20:41:28 Login Succeeded 20:41:28 ---> docker-login.sh ends [Pipeline] } 20:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:28 + git rev-list -1 --merges 4a685ee38dea662665d79d6c95481bff5d89fc51~1..4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] echo 20:41:28 -----------> git rev-list -1 --merges 4a685ee38dea662665d79d6c95481bff5d89fc51~1..4a685ee38dea662665d79d6c95481bff5d89fc51 4a685ee38dea662665d79d6c95481bff5d89fc51 [false] [Pipeline] sh 20:41:28 + git log --format=format:%s -1 4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] echo 20:41:28 ========================================================= 20:41:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:29 + git log --format=format:%s -1 4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] echo 20:41:29 [semverPrep] GIT_COMMIT: 4a685ee38dea662665d79d6c95481bff5d89fc51, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#473) [Pipeline] echo 20:41:29 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:29 + grep -v github /etc/ssh/ssh_known_hosts 20:41:29 + [ -e /tmp/ssh_known_hosts ] 20:41:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:41:29 + sudo tee -a /etc/ssh/ssh_known_hosts 20:41:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:29 20:41:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:30 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:30 b85a868b505f: Pulling fs layer 20:41:30 e2be974225ed: Pulling fs layer 20:41:30 339a4e72a1f5: Pulling fs layer 20:41:30 988bab9f4d93: Pulling fs layer 20:41:30 1469e6f7b9e6: Pulling fs layer 20:41:30 eaf3925da568: Pulling fs layer 20:41:30 bab4dde63d76: Pulling fs layer 20:41:30 bde34c3a00c8: Pulling fs layer 20:41:30 b352a97aabf1: Pulling fs layer 20:41:30 988bab9f4d93: Waiting 20:41:30 4872d77fe225: Pulling fs layer 20:41:30 5851b861e8e6: Pulling fs layer 20:41:30 eaf3925da568: Waiting 20:41:30 bab4dde63d76: Waiting 20:41:30 bde34c3a00c8: Waiting 20:41:30 b352a97aabf1: Waiting 20:41:30 4872d77fe225: Waiting 20:41:30 5851b861e8e6: Waiting 20:41:30 e2be974225ed: Verifying Checksum 20:41:30 e2be974225ed: Download complete 20:41:30 988bab9f4d93: Verifying Checksum 20:41:30 988bab9f4d93: Download complete 20:41:30 1469e6f7b9e6: Verifying Checksum 20:41:30 1469e6f7b9e6: Download complete 20:41:30 339a4e72a1f5: Verifying Checksum 20:41:30 339a4e72a1f5: Download complete 20:41:30 eaf3925da568: Verifying Checksum 20:41:30 eaf3925da568: Download complete 20:41:30 bde34c3a00c8: Download complete 20:41:30 b352a97aabf1: Verifying Checksum 20:41:30 b352a97aabf1: Download complete 20:41:30 4872d77fe225: Download complete 20:41:30 5851b861e8e6: Download complete 20:41:30 b85a868b505f: Download complete 20:41:30 bab4dde63d76: Verifying Checksum 20:41:30 bab4dde63d76: Download complete 20:41:31 b85a868b505f: Pull complete 20:41:31 e2be974225ed: Pull complete 20:41:32 339a4e72a1f5: Pull complete 20:41:32 988bab9f4d93: Pull complete 20:41:32 1469e6f7b9e6: Pull complete 20:41:32 eaf3925da568: Pull complete 20:41:34 bab4dde63d76: Pull complete 20:41:34 bde34c3a00c8: Pull complete 20:41:34 b352a97aabf1: Pull complete 20:41:34 4872d77fe225: Pull complete 20:41:34 5851b861e8e6: Pull complete 20:41:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:34 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:41:34 $ 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:0.1.4 cat 20:41:36 $ docker top fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 -eo pid,comm 20:41:36 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). 20:41:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:36 [ssh-agent] Looking for ssh-agent implementation... 20:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:36 $ docker exec fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 ssh-agent 20:41:36 SSH_AUTH_SOCK=/tmp/ssh-kjUmlGkx0ki4/agent.15 20:41:36 SSH_AGENT_PID=26 20:41:36 Running ssh-add (command line suppressed) 20:41:37 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_16660456374888711948.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_16660456374888711948.key) 20:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:37 + git tag --points-at HEAD [Pipeline] } 20:41:37 $ docker exec --env ******** --env ******** fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 ssh-agent -k 20:41:37 unset SSH_AUTH_SOCK; 20:41:37 unset SSH_AGENT_PID; 20:41:37 echo Agent pid 26 killed; 20:41:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:37 [ssh-agent] Looking for ssh-agent implementation... 20:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:37 $ docker exec fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 ssh-agent 20:41:37 SSH_AUTH_SOCK=/tmp/ssh-QeIqIiPwJ3mh/agent.69 20:41:37 SSH_AGENT_PID=75 20:41:37 Running ssh-add (command line suppressed) 20:41:37 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_13868140532978009073.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_13868140532978009073.key) 20:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:38 + git semver init 20:41:38 2022-10-05 20:41:38,350 [run_init] DEBUG init version:0.0.0 force:False 20:41:38 2022-10-05 20:41:38,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-service-configurable_main/.semver 20:41:38 2022-10-05 20:41:38,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ry_app-service-configurable_main/.semver 20:41:38 2022-10-05 20:41:38,352 [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) 20:41:39 2022-10-05 20:41:39,232 [append_file] DEBUG append to file:/w/workspace/ry_app-service-configurable_main/.git/info/exclude 20:41:39 2022-10-05 20:41:39,232 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:False 20:41:39 2022-10-05 20:41:39,233 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:41:39 2022-10-05 20:41:39,233 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:41:39 2.3.0-dev.28 [Pipeline] } 20:41:39 $ docker exec --env ******** --env ******** fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 ssh-agent -k 20:41:39 unset SSH_AUTH_SOCK; 20:41:39 unset SSH_AGENT_PID; 20:41:39 echo Agent pid 75 killed; 20:41:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:39 + git semver [Pipeline] } 20:41:40 $ docker stop --time=1 fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 20:41:41 $ docker rm -f fa69925928154e812a593ea765f993dc512eb723c20ff878077bd33de369c745 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:41 Stashed 1 file(s) [Pipeline] echo 20:41:41 [edgeXSemver]: initialized semver on version 2.3.0-dev.28 [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 20:41:42 provisioning config files... 20:41:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config2800380512181798987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:42 ---> docker-login.sh 20:41:42 nexus3.edgexfoundry.org:10001 20:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:42 Configure a credential helper to remove this warning. See 20:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:42 20:41:42 Login Succeeded 20:41:42 nexus3.edgexfoundry.org:10002 20:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:42 Configure a credential helper to remove this warning. See 20:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:42 20:41:42 Login Succeeded 20:41:42 nexus3.edgexfoundry.org:10003 20:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:42 Configure a credential helper to remove this warning. See 20:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:42 20:41:42 Login Succeeded 20:41:42 nexus3.edgexfoundry.org:10004 20:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:42 Configure a credential helper to remove this warning. See 20:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:42 20:41:42 Login Succeeded 20:41:42 docker.io 20:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:43 Configure a credential helper to remove this warning. See 20:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:43 20:41:43 Login Succeeded 20:41:43 ---> docker-login.sh ends [Pipeline] } 20:41:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:43 ========================================================= 20:41:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:41:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:41:43 Sending build context to Docker daemon 3.134MB 20:41:43 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:41:43 Step 2/14 : FROM ${BASE} AS builder 20:41:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:43 2408cc74d12b: Pulling fs layer 20:41:43 ea60b727a1ce: Pulling fs layer 20:41:43 30c4a7721957: Pulling fs layer 20:41:43 370296b7ddb6: Pulling fs layer 20:41:43 7c6cee850709: Pulling fs layer 20:41:43 aa9baa53a306: Pulling fs layer 20:41:43 8b309c321861: Pulling fs layer 20:41:43 d8d76fd02f46: Pulling fs layer 20:41:43 fa31f396de31: Pulling fs layer 20:41:43 8b309c321861: Waiting 20:41:43 370296b7ddb6: Waiting 20:41:43 d8d76fd02f46: Waiting 20:41:43 fa31f396de31: Waiting 20:41:43 7c6cee850709: Waiting 20:41:43 30c4a7721957: Verifying Checksum 20:41:43 30c4a7721957: Download complete 20:41:43 ea60b727a1ce: Verifying Checksum 20:41:43 ea60b727a1ce: Download complete 20:41:43 7c6cee850709: Verifying Checksum 20:41:43 7c6cee850709: Download complete 20:41:43 aa9baa53a306: Verifying Checksum 20:41:43 aa9baa53a306: Download complete 20:41:43 2408cc74d12b: Verifying Checksum 20:41:43 2408cc74d12b: Download complete 20:41:43 8b309c321861: Verifying Checksum 20:41:43 8b309c321861: Download complete 20:41:43 2408cc74d12b: Pull complete 20:41:44 ea60b727a1ce: Pull complete 20:41:44 30c4a7721957: Pull complete 20:41:44 fa31f396de31: Verifying Checksum 20:41:44 fa31f396de31: Download complete 20:41:44 370296b7ddb6: Verifying Checksum 20:41:44 370296b7ddb6: Download complete 20:41:44 d8d76fd02f46: Verifying Checksum 20:41:44 d8d76fd02f46: Download complete 20:41:47 370296b7ddb6: Pull complete 20:41:47 7c6cee850709: Pull complete 20:41:47 aa9baa53a306: Pull complete 20:41:47 8b309c321861: Pull complete 20:41:49 d8d76fd02f46: Pull complete 20:41:50 fa31f396de31: Pull complete 20:41:50 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 20:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:41:50 ---> cef68f9685f8 20:41:50 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:41:53 ---> Running in 366501c8f139 20:41:53 Removing intermediate container 366501c8f139 20:41:53 ---> 6967306d0fec 20:41:53 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 20:41:53 ---> Running in 05fad2854dba 20:41:53 Removing intermediate container 05fad2854dba 20:41:53 ---> 2d5bc8e5e4c8 20:41:53 Step 5/14 : ARG ADD_BUILD_TAGS="" 20:41:53 ---> Running in 6468d0d559fb 20:41:53 Removing intermediate container 6468d0d559fb 20:41:53 ---> 9a092fe05cb3 20:41:53 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:41:53 ---> Running in bb58462faa01 20:41:53 Removing intermediate container bb58462faa01 20:41:53 ---> 3954e55dca2c 20:41:53 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:41:53 ---> Running in 5fd23bce7f0b 20:41:54 Removing intermediate container 5fd23bce7f0b 20:41:54 ---> dfb1e2b41733 20:41:54 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:54 ---> Running in cd5d8c5a94c3 20:41:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:55 OK: 211 MiB in 51 packages 20:41:56 Removing intermediate container cd5d8c5a94c3 20:41:56 ---> ebdf3d4089f6 20:41:56 Step 9/14 : WORKDIR /app 20:41:56 ---> Running in 4a197e4a216d 20:41:56 Removing intermediate container 4a197e4a216d 20:41:56 ---> 2c1f08b74374 20:41:56 Step 10/14 : COPY go.mod vendor* ./ 20:41:56 ---> edcdad107758 20:41:56 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:56 ---> Running in f93cddb0e3f3 20:41:56 Still waiting to schedule task 20:41:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:42:18 Removing intermediate container f93cddb0e3f3 20:42:18 ---> f9898f3df794 20:42:18 Step 12/14 : COPY . . 20:42:19 ---> 380acafc4bb8 20:42:19 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:19 ---> Running in 11547ed52f6c 20:42:19 Removing intermediate container 11547ed52f6c 20:42:19 ---> 803e3cd5ecdf 20:42:19 Step 14/14 : RUN $MAKE 20:42:19 ---> Running in f02885388fee 20:42:19 noop 20:42:19 Removing intermediate container f02885388fee 20:42:19 ---> 0c77ca2f8348 20:42:19 Successfully built 0c77ca2f8348 20:42:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:19 + docker inspect -f . ci-base-image-x86_64 20:42:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:19 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:42:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:20 $ docker top 1a10ae14abc5baa0322f092051809c9e78983260874462a23ef0c592a3c9408a -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:20 + go version 20:42:20 go version go1.18.3 linux/amd64 [Pipeline] } 20:42:20 $ docker stop --time=1 1a10ae14abc5baa0322f092051809c9e78983260874462a23ef0c592a3c9408a 20:42:21 $ docker rm -f 1a10ae14abc5baa0322f092051809c9e78983260874462a23ef0c592a3c9408a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:22 + docker inspect -f . ci-base-image-x86_64 20:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:22 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:22 $ docker top 82f45765e7ef639885843ac26cd3327f45102c3c738201af3b33a2e5b7e5535f -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:23 + git config --global --add safe.directory /w/workspace/ry_app-service-configurable_main [Pipeline] fileExists [Pipeline] sh 20:42:23 + make test 20:42:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:42:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:42:33 CGO_ENABLED=1 go vet ./... 20:42:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:35 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:35 $ docker stop --time=1 82f45765e7ef639885843ac26cd3327f45102c3c738201af3b33a2e5b7e5535f 20:42:37 $ docker rm -f 82f45765e7ef639885843ac26cd3327f45102c3c738201af3b33a2e5b7e5535f [Pipeline] // withDockerContainer [Pipeline] sh 20:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:39 + ls -al . 20:42:39 total 176 20:42:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 20:42 . 20:42:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 20:41 .. 20:42:39 -rw-rw-r-- 1 jenkins jenkins 119 Oct 5 20:41 .dockerignore 20:42:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 20:41 .git 20:42:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 20:41 .github 20:42:39 -rw-rw-r-- 1 jenkins jenkins 171 Oct 5 20:41 .gitignore 20:42:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 20:41 .semver 20:42:39 -rw-rw-r-- 1 jenkins jenkins 9207 Oct 5 20:41 Attribution.txt 20:42:39 -rw-rw-r-- 1 jenkins jenkins 27269 Oct 5 20:41 CHANGELOG.md 20:42:39 -rw-rw-r-- 1 jenkins jenkins 2146 Oct 5 20:41 Dockerfile 20:42:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 20:41 GOVERNANCE.md 20:42:39 -rw-rw-r-- 1 jenkins jenkins 688 Oct 5 20:41 Jenkinsfile 20:42:39 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 5 20:41 LICENSE 20:42:39 -rw-rw-r-- 1 jenkins jenkins 618 Oct 5 20:41 OWNERS.md 20:42:39 -rw-rw-r-- 1 jenkins jenkins 4369 Oct 5 20:41 README.md 20:42:39 -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 20:41 VERSION 20:42:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 20:41 bin 20:42:39 -rw-r--r-- 1 jenkins jenkins 10 Oct 5 20:42 coverage.out 20:42:39 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 5 20:41 go.mod 20:42:39 -rw-rw-r-- 1 jenkins jenkins 37326 Oct 5 20:41 go.sum 20:42:39 -rw-rw-r-- 1 jenkins jenkins 1949 Oct 5 20:41 main.go 20:42:39 -rw-rw-r-- 1 jenkins jenkins 2185 Oct 5 20:41 makefile 20:42:39 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 20:41 res 20:42:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 20:41 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:39 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4a685ee38dea662665d79d6c95481bff5d89fc51 --label arch=amd64 --label version=2.3.0-dev.28 . 20:42:39 Sending build context to Docker daemon 3.135MB 20:42:39 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 20:42:39 Step 2/28 : FROM ${BASE} AS builder 20:42:39 ---> 0c77ca2f8348 20:42:39 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:42:39 ---> Running in fb6218d74d5a 20:42:39 Removing intermediate container fb6218d74d5a 20:42:39 ---> ee341da48b2b 20:42:39 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 20:42:39 ---> Running in 9f9297865dcc 20:42:39 Removing intermediate container 9f9297865dcc 20:42:39 ---> ca80f7089d00 20:42:39 Step 5/28 : ARG ADD_BUILD_TAGS="" 20:42:39 ---> Running in c9ec8f8352cd 20:42:39 Removing intermediate container c9ec8f8352cd 20:42:39 ---> c0871ce50907 20:42:39 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:42:39 ---> Running in a7be4eceaac7 20:42:40 Removing intermediate container a7be4eceaac7 20:42:40 ---> 6a277bc93dd4 20:42:40 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:40 ---> Running in f50e89715233 20:42:40 Removing intermediate container f50e89715233 20:42:40 ---> e9c73c6fc42d 20:42:40 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:40 ---> Running in e2266b9a6e3e 20:42:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:42:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:42:42 OK: 211 MiB in 51 packages 20:42:42 Removing intermediate container e2266b9a6e3e 20:42:42 ---> a7a05a8833fe 20:42:42 Step 9/28 : WORKDIR /app 20:42:42 ---> Running in c8505276cb3e 20:42:42 Removing intermediate container c8505276cb3e 20:42:42 ---> a692de516a9b 20:42:42 Step 10/28 : COPY go.mod vendor* ./ 20:42:42 ---> 066653615247 20:42:42 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:42 ---> Running in 66739b64f7f7 20:42:43 Removing intermediate container 66739b64f7f7 20:42:43 ---> 980b0f7ffa55 20:42:43 Step 12/28 : COPY . . 20:42:43 ---> 37d6b4171346 20:42:43 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:43 ---> Running in 1df58db683a4 20:42:43 Removing intermediate container 1df58db683a4 20:42:43 ---> b69a3e18bc82 20:42:43 Step 14/28 : RUN $MAKE 20:42:43 ---> Running in 02e7df710f46 20:42:43 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.46 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 20:43:05 Removing intermediate container 02e7df710f46 20:43:05 ---> 747e8ca54615 20:43:05 Step 15/28 : FROM alpine:3.16 20:43:05 3.16: Pulling from library/alpine 20:43:05 213ec9aee27d: Pulling fs layer 20:43:05 213ec9aee27d: Verifying Checksum 20:43:05 213ec9aee27d: Download complete 20:43:05 213ec9aee27d: Pull complete 20:43:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:43:05 Status: Downloaded newer image for alpine:3.16 20:43:05 ---> 9c6f07244728 20:43:05 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:43:05 ---> Running in e0f319b31c46 20:43:05 Removing intermediate container e0f319b31c46 20:43:05 ---> 47e3ae945b3c 20:43:05 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 20:43:05 ---> Running in f879708b09a9 20:43:05 Removing intermediate container f879708b09a9 20:43:05 ---> 01fb04a95cd7 20:43:05 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 20:43:05 ---> Running in a1dfd146f63d 20:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:43:06 (1/7) Installing ca-certificates (20220614-r0) 20:43:06 (2/7) Installing dumb-init (1.2.5-r1) 20:43:06 (3/7) Installing libgcc (11.2.1_git20220219-r2) 20:43:06 (4/7) Installing libsodium (1.0.18-r0) 20:43:06 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 20:43:06 (6/7) Installing libzmq (4.3.4-r0) 20:43:06 (7/7) Installing zeromq (4.3.4-r0) 20:43:06 Executing busybox-1.35.0-r17.trigger 20:43:06 Executing ca-certificates-20220614-r0.trigger 20:43:06 OK: 9 MiB in 21 packages 20:43:07 Removing intermediate container a1dfd146f63d 20:43:07 ---> 3c4dfea5b0be 20:43:07 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:43:07 ---> 899811dd9b99 20:43:07 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 20:43:07 ---> e57fc2a9a046 20:43:07 Step 21/28 : COPY --from=builder /app/res/ /res/ 20:43:08 ---> e216a2fdd7a6 20:43:08 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:43:09 ---> cf9790ff0b66 20:43:09 Step 23/28 : EXPOSE 48095 20:43:09 ---> Running in 794fdcad64bd 20:43:09 Removing intermediate container 794fdcad64bd 20:43:09 ---> d875dc35aca7 20:43:09 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 20:43:09 ---> Running in a13c1a5073c4 20:43:10 Removing intermediate container a13c1a5073c4 20:43:10 ---> 608d5c6c687f 20:43:10 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:43:10 ---> Running in aed034d464bd 20:43:10 Removing intermediate container aed034d464bd 20:43:10 ---> 13b70befc42c 20:43:10 Step 26/28 : LABEL arch=amd64 20:43:10 ---> Running in 2f2b6df4ca49 20:43:10 Removing intermediate container 2f2b6df4ca49 20:43:10 ---> 64ee2b9d9a6c 20:43:10 Step 27/28 : LABEL git_sha=4a685ee38dea662665d79d6c95481bff5d89fc51 20:43:10 ---> Running in f50cdeafb1fa 20:43:11 Removing intermediate container f50cdeafb1fa 20:43:11 ---> 749a299e826d 20:43:11 Step 28/28 : LABEL version=2.3.0-dev.28 20:43:11 ---> Running in b91e7bad74c7 20:43:11 Removing intermediate container b91e7bad74c7 20:43:11 ---> 3ad91aa89284 20:43:11 [Warning] One or more build-args [ARCH] were not consumed 20:43:11 Successfully built 3ad91aa89284 20:43:11 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:11 provisioning config files... 20:43:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1154330003404504334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:12 ---> docker-login.sh 20:43:12 nexus3.edgexfoundry.org:10001 20:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:12 Configure a credential helper to remove this warning. See 20:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:12 20:43:12 Login Succeeded 20:43:12 nexus3.edgexfoundry.org:10002 20:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:12 Configure a credential helper to remove this warning. See 20:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:12 20:43:12 Login Succeeded 20:43:12 nexus3.edgexfoundry.org:10003 20:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:12 Configure a credential helper to remove this warning. See 20:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:12 20:43:12 Login Succeeded 20:43:12 nexus3.edgexfoundry.org:10004 20:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:12 Configure a credential helper to remove this warning. See 20:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:12 20:43:12 Login Succeeded 20:43:12 docker.io 20:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:13 Configure a credential helper to remove this warning. See 20:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:13 20:43:13 Login Succeeded 20:43:13 ---> docker-login.sh ends [Pipeline] } 20:43:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:43:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:13 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 20:43:13 4a685ee38dea662665d79d6c95481bff5d89fc51 20:43:13 latest 20:43:13 2.3.0-dev.28 20:43:13 4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:43:13 main 20:43:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:13 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:13 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51 20:43:13 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 20:43:13 f8fe3b17fee1: Preparing 20:43:13 7c70843f2f2d: Preparing 20:43:13 6ab0c7f94aae: Preparing 20:43:13 3c409b9a3188: Preparing 20:43:13 15ee8b17775f: Preparing 20:43:13 994393dc58e7: Preparing 20:43:13 994393dc58e7: Waiting 20:43:13 3c409b9a3188: Pushed 20:43:13 7c70843f2f2d: Pushed 20:43:13 6ab0c7f94aae: Pushed 20:43:13 994393dc58e7: Layer already exists 20:43:14 15ee8b17775f: Pushed 20:43:16 f8fe3b17fee1: Pushed 20:43:16 4a685ee38dea662665d79d6c95481bff5d89fc51: digest: sha256:c46378b0982e8aa2111ce0ae6bc72fb5fcecabfa86f3c127670c8e2fffba5e34 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:17 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:17 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 20:43:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 20:43:17 f8fe3b17fee1: Preparing 20:43:17 7c70843f2f2d: Preparing 20:43:17 6ab0c7f94aae: Preparing 20:43:17 3c409b9a3188: Preparing 20:43:17 15ee8b17775f: Preparing 20:43:17 994393dc58e7: Preparing 20:43:17 994393dc58e7: Waiting 20:43:17 7c70843f2f2d: Layer already exists 20:43:17 15ee8b17775f: Layer already exists 20:43:17 f8fe3b17fee1: Layer already exists 20:43:17 6ab0c7f94aae: Layer already exists 20:43:17 3c409b9a3188: Layer already exists 20:43:17 994393dc58e7: Layer already exists 20:43:17 latest: digest: sha256:c46378b0982e8aa2111ce0ae6bc72fb5fcecabfa86f3c127670c8e2fffba5e34 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:17 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:17 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.28 20:43:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 20:43:17 f8fe3b17fee1: Preparing 20:43:17 7c70843f2f2d: Preparing 20:43:17 6ab0c7f94aae: Preparing 20:43:17 3c409b9a3188: Preparing 20:43:17 15ee8b17775f: Preparing 20:43:17 994393dc58e7: Preparing 20:43:17 994393dc58e7: Waiting 20:43:17 7c70843f2f2d: Layer already exists 20:43:17 3c409b9a3188: Layer already exists 20:43:17 6ab0c7f94aae: Layer already exists 20:43:17 f8fe3b17fee1: Layer already exists 20:43:17 15ee8b17775f: Layer already exists 20:43:17 994393dc58e7: Layer already exists 20:43:17 2.3.0-dev.28: digest: sha256:c46378b0982e8aa2111ce0ae6bc72fb5fcecabfa86f3c127670c8e2fffba5e34 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:43:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 20:43:18 f8fe3b17fee1: Preparing 20:43:18 7c70843f2f2d: Preparing 20:43:18 6ab0c7f94aae: Preparing 20:43:18 3c409b9a3188: Preparing 20:43:18 15ee8b17775f: Preparing 20:43:18 994393dc58e7: Preparing 20:43:18 994393dc58e7: Waiting 20:43:18 f8fe3b17fee1: Layer already exists 20:43:18 7c70843f2f2d: Layer already exists 20:43:18 15ee8b17775f: Layer already exists 20:43:18 6ab0c7f94aae: Layer already exists 20:43:18 3c409b9a3188: Layer already exists 20:43:18 994393dc58e7: Layer already exists 20:43:18 4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28: digest: sha256:c46378b0982e8aa2111ce0ae6bc72fb5fcecabfa86f3c127670c8e2fffba5e34 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:19 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 20:43:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 20:43:19 f8fe3b17fee1: Preparing 20:43:19 7c70843f2f2d: Preparing 20:43:19 6ab0c7f94aae: Preparing 20:43:19 3c409b9a3188: Preparing 20:43:19 15ee8b17775f: Preparing 20:43:19 994393dc58e7: Preparing 20:43:19 994393dc58e7: Waiting 20:43:19 3c409b9a3188: Layer already exists 20:43:19 15ee8b17775f: Layer already exists 20:43:19 f8fe3b17fee1: Layer already exists 20:43:19 6ab0c7f94aae: Layer already exists 20:43:19 7c70843f2f2d: Layer already exists 20:43:19 994393dc58e7: Layer already exists 20:43:19 main: digest: sha256:c46378b0982e8aa2111ce0ae6bc72fb5fcecabfa86f3c127670c8e2fffba5e34 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:43:19 ===================================================== [Pipeline] echo 20:43:19 taggedImages: 20:43:19 - nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51 20:43:19 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 20:43:19 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.28 20:43:19 - nexus3.edgexfoundry.org:10004/app-service-configurable:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:43:19 - 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] withEnv [Pipeline] { [Pipeline] sh 20:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:19 20:43:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:19 latest: Pulling from edgex-lftools-log-publisher 20:43:19 5eb5b503b376: Pulling fs layer 20:43:19 5c69ac0246d0: Pulling fs layer 20:43:19 ec43610c2a17: Pulling fs layer 20:43:19 3a2ae6a8a46f: Pulling fs layer 20:43:19 33b1e0a273af: Pulling fs layer 20:43:19 5d3b04190fa2: Pulling fs layer 20:43:19 2f39f015ded8: Pulling fs layer 20:43:19 33b1e0a273af: Waiting 20:43:19 5d3b04190fa2: Waiting 20:43:19 5c69ac0246d0: Download complete 20:43:19 3a2ae6a8a46f: Download complete 20:43:20 33b1e0a273af: Verifying Checksum 20:43:20 33b1e0a273af: Download complete 20:43:20 5d3b04190fa2: Download complete 20:43:20 ec43610c2a17: Verifying Checksum 20:43:20 ec43610c2a17: Download complete 20:43:20 5eb5b503b376: Verifying Checksum 20:43:20 5eb5b503b376: Download complete 20:43:20 2f39f015ded8: Verifying Checksum 20:43:20 2f39f015ded8: Download complete 20:43:21 5eb5b503b376: Pull complete 20:43:21 5c69ac0246d0: Pull complete 20:43:22 ec43610c2a17: Pull complete 20:43:22 3a2ae6a8a46f: Pull complete 20:43:22 33b1e0a273af: Pull complete 20:43:23 5d3b04190fa2: Pull complete 20:43:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7198 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 20:43:26 Running in /w/workspace/app-service-configurable/107 [Pipeline] { [Pipeline] checkout 20:43:26 Selected Git installation does not exist. Using Default 20:43:26 The recommended git tool is: NONE 20:43:27 2f39f015ded8: Pull complete 20:43:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:27 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:31 using credential edgex-jenkins-ssh 20:43:31 Cloning the remote Git repository 20:43:31 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:43:31 > git init /w/workspace/app-service-configurable/107 # timeout=10 20:43:31 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:43:31 > git --version # timeout=10 20:43:31 > git --version # 'git version 2.25.1' 20:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:31 Verifying host key using known hosts file 20:43:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:43:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:33 $ docker top 5ef0b4f51675c688d5a8b7d4eb28d4906a49a582f5a8f59600812d747686fc0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:33 ---> job-cost.sh 20:43:33 lf-activate-venv: SKIPPING 20:43:33 INFO: No Stack... 20:43:33 Avoid second fetch 20:43:33 Checking out Revision 4a685ee38dea662665d79d6c95481bff5d89fc51 (main) 20:43:32 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:43:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:33 > git config core.sparsecheckout # timeout=10 20:43:33 > git checkout -f 4a685ee38dea662665d79d6c95481bff5d89fc51 # timeout=10 20:43:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:34 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#473)" 20:43:34 INFO: Archiving Costs [Pipeline] sh 20:43:34 20:43:34 GitHub has been notified of this commit’s build result 20:43:34 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:34 + cat /w/workspace/ry_app-service-configurable_main/archives/cost.csv 20:43:34 + cut -d, -f6 [Pipeline] lock 20:43:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] 20:43:34 Resource [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] did not exist. Created. 20:43:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:34 Dload Upload Total Spent Left Speed 20:43:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 79759 0 --:--:-- --:--:-- --:--:-- 79759 20:43:35 + echo total: 0.2199999988079071 [Pipeline] stash 20:43:35 Stashed 1 file(s) [Pipeline] } 20:43:35 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:35 $ docker stop --time=1 5ef0b4f51675c688d5a8b7d4eb28d4906a49a582f5a8f59600812d747686fc0e 20:43:36 $ docker rm -f 5ef0b4f51675c688d5a8b7d4eb28d4906a49a582f5a8f59600812d747686fc0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:37 + + sudo tee /etc/docker/daemon.newsudo 20:43:37 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:37 { 20:43:37 "registry-mirrors": [ 20:43:37 "https://nexus3.edgexfoundry.org:10001" 20:43:37 ], 20:43:37 "bip": "10.250.0.254/24", 20:43:37 "hosts": [ 20:43:37 "tcp://0.0.0.0:5555", 20:43:37 "unix:///var/run/docker.sock" 20:43:37 ], 20:43:37 "mtu": 1458, 20:43:37 "selinux-enabled": true, 20:43:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:37 } [Pipeline] sh 20:43:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:55 provisioning config files... 20:43:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/107@tmp/config2487015111583604366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:56 ---> docker-login.sh 20:43:56 nexus3.edgexfoundry.org:10001 20:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:56 Configure a credential helper to remove this warning. See 20:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:56 20:43:56 Login Succeeded 20:43:56 nexus3.edgexfoundry.org:10002 20:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:57 Configure a credential helper to remove this warning. See 20:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:57 20:43:57 Login Succeeded 20:43:57 nexus3.edgexfoundry.org:10003 20:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:57 Configure a credential helper to remove this warning. See 20:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:57 20:43:57 Login Succeeded 20:43:57 nexus3.edgexfoundry.org:10004 20:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:57 Configure a credential helper to remove this warning. See 20:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:57 20:43:57 Login Succeeded 20:43:57 docker.io 20:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:58 Configure a credential helper to remove this warning. See 20:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:58 20:43:58 Login Succeeded 20:43:58 ---> docker-login.sh ends [Pipeline] } 20:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:58 ========================================================= 20:43:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:43:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:43:58 Sending build context to Docker daemon 207.4kB 20:43:59 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:43:59 Step 2/14 : FROM ${BASE} AS builder 20:43:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:59 b3c136eddcbf: Pulling fs layer 20:43:59 c0a3192eca97: Pulling fs layer 20:43:59 a050256f5b6f: Pulling fs layer 20:43:59 656be50a0ddc: Pulling fs layer 20:43:59 2bbca73fdf42: Pulling fs layer 20:43:59 f607e4fc86c3: Pulling fs layer 20:43:59 4d572c569a2c: Pulling fs layer 20:43:59 fcf976331f73: Pulling fs layer 20:43:59 2bbca73fdf42: Waiting 20:43:59 f607e4fc86c3: Waiting 20:43:59 4d572c569a2c: Waiting 20:43:59 fcf976331f73: Waiting 20:43:59 656be50a0ddc: Waiting 20:43:59 a050256f5b6f: Verifying Checksum 20:43:59 a050256f5b6f: Download complete 20:43:59 c0a3192eca97: Verifying Checksum 20:43:59 c0a3192eca97: Download complete 20:43:59 2bbca73fdf42: Verifying Checksum 20:43:59 2bbca73fdf42: Download complete 20:43:59 f607e4fc86c3: Verifying Checksum 20:43:59 f607e4fc86c3: Download complete 20:43:59 b3c136eddcbf: Verifying Checksum 20:43:59 b3c136eddcbf: Download complete 20:44:00 fcf976331f73: Verifying Checksum 20:44:00 fcf976331f73: Download complete 20:44:01 4d572c569a2c: Verifying Checksum 20:44:01 4d572c569a2c: Download complete 20:44:01 656be50a0ddc: Verifying Checksum 20:44:01 656be50a0ddc: Download complete 20:44:01 b3c136eddcbf: Pull complete 20:44:02 c0a3192eca97: Pull complete 20:44:02 a050256f5b6f: Pull complete 20:44:14 656be50a0ddc: Pull complete 20:44:14 2bbca73fdf42: Pull complete 20:44:14 f607e4fc86c3: Pull complete 20:44:20 4d572c569a2c: Pull complete 20:44:22 fcf976331f73: Pull complete 20:44:22 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 20:44:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:44:22 ---> 3970a7415f9e 20:44:22 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:44:24 ---> Running in c6a0078a2481 20:44:24 Removing intermediate container c6a0078a2481 20:44:24 ---> 0e223c22e825 20:44:24 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 20:44:24 ---> Running in 80908faf42c8 20:44:24 Removing intermediate container 80908faf42c8 20:44:24 ---> 358c2bbc246b 20:44:24 Step 5/14 : ARG ADD_BUILD_TAGS="" 20:44:24 ---> Running in 6eb5f1bf907d 20:44:24 Removing intermediate container 6eb5f1bf907d 20:44:24 ---> faca82f6ab69 20:44:24 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:44:24 ---> Running in ad684a76fd83 20:44:25 Removing intermediate container ad684a76fd83 20:44:25 ---> ddf6045c82df 20:44:25 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:44:25 ---> Running in a0a085f0942b 20:44:27 Removing intermediate container a0a085f0942b 20:44:27 ---> f06d26f16c07 20:44:27 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:27 ---> Running in f7a04edbb8b9 20:44:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:44:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:44:29 OK: 221 MiB in 51 packages 20:44:30 Removing intermediate container f7a04edbb8b9 20:44:30 ---> 31f1f4f18d89 20:44:30 Step 9/14 : WORKDIR /app 20:44:30 ---> Running in 4a34c8485f16 20:44:30 Removing intermediate container 4a34c8485f16 20:44:30 ---> 4b6e456869ab 20:44:30 Step 10/14 : COPY go.mod vendor* ./ 20:44:31 ---> 3425490d3f7b 20:44:31 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:31 ---> Running in c24ae2fe4c97 20:45:18 Removing intermediate container c24ae2fe4c97 20:45:18 ---> bf4ea1a41743 20:45:18 Step 12/14 : COPY . . 20:45:18 ---> 7c0c3ba74670 20:45:18 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:18 ---> Running in 8aa3bf0921ef 20:45:18 Removing intermediate container 8aa3bf0921ef 20:45:18 ---> b4ec6105b12e 20:45:18 Step 14/14 : RUN $MAKE 20:45:18 ---> Running in 745f72331b64 20:45:19 noop 20:45:19 Removing intermediate container 745f72331b64 20:45:19 ---> 249a0722a410 20:45:19 Successfully built 249a0722a410 20:45:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:19 + docker inspect -f . ci-base-image-arm64 20:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:20 prd-ubuntu20.04-docker-arm64-4c-16g-7198 does not seem to be running inside a container 20:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/107 -v /w/workspace/app-service-configurable/107:/w/workspace/app-service-configurable/107:rw,z -v /w/workspace/app-service-configurable/107@tmp:/w/workspace/app-service-configurable/107@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 20:45:21 $ docker top 82c7782ac88c6e86600580a0064d8c2329b220cf43d050293197e5032599daad -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:22 + go version 20:45:22 go version go1.18.3 linux/arm64 [Pipeline] } 20:45:22 $ docker stop --time=1 82c7782ac88c6e86600580a0064d8c2329b220cf43d050293197e5032599daad 20:45:23 $ docker rm -f 82c7782ac88c6e86600580a0064d8c2329b220cf43d050293197e5032599daad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:24 + docker inspect -f . ci-base-image-arm64 20:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:24 prd-ubuntu20.04-docker-arm64-4c-16g-7198 does not seem to be running inside a container 20:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/107 -v /w/workspace/app-service-configurable/107:/w/workspace/app-service-configurable/107:rw,z -v /w/workspace/app-service-configurable/107@tmp:/w/workspace/app-service-configurable/107@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 20:45:26 $ docker top 65850d392cfa58e01defa543c5f8c67920482f8622560ccc25a8d373394be4af -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:26 + git config --global --add safe.directory /w/workspace/app-service-configurable/107 [Pipeline] fileExists [Pipeline] sh 20:45:27 + make test 20:45:27 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:46:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:46:48 CGO_ENABLED=1 go vet ./... 20:47:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:47:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:47:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:47:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:47:10 $ docker stop --time=1 65850d392cfa58e01defa543c5f8c67920482f8622560ccc25a8d373394be4af 20:47:12 $ docker rm -f 65850d392cfa58e01defa543c5f8c67920482f8622560ccc25a8d373394be4af [Pipeline] // withDockerContainer [Pipeline] sh 20:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:13 Warning: overwriting stash ‘coverage-report’ 20:47:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:14 + ls -al . 20:47:14 total 172 20:47:14 drwxrwxr-x 7 jenkins jenkins 4096 Oct 5 20:45 . 20:47:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 20:43 .. 20:47:14 -rw-rw-r-- 1 jenkins jenkins 119 Oct 5 20:43 .dockerignore 20:47:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 20:43 .git 20:47:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 20:43 .github 20:47:14 -rw-rw-r-- 1 jenkins jenkins 171 Oct 5 20:43 .gitignore 20:47:14 -rw-rw-r-- 1 jenkins jenkins 9207 Oct 5 20:43 Attribution.txt 20:47:14 -rw-rw-r-- 1 jenkins jenkins 27269 Oct 5 20:43 CHANGELOG.md 20:47:14 -rw-rw-r-- 1 jenkins jenkins 2146 Oct 5 20:43 Dockerfile 20:47:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 20:43 GOVERNANCE.md 20:47:14 -rw-rw-r-- 1 jenkins jenkins 688 Oct 5 20:43 Jenkinsfile 20:47:14 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 5 20:43 LICENSE 20:47:14 -rw-rw-r-- 1 jenkins jenkins 618 Oct 5 20:43 OWNERS.md 20:47:14 -rw-rw-r-- 1 jenkins jenkins 4369 Oct 5 20:43 README.md 20:47:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 20:41 VERSION 20:47:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 20:43 bin 20:47:14 -rw-r--r-- 1 jenkins jenkins 10 Oct 5 20:45 coverage.out 20:47:14 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 5 20:43 go.mod 20:47:14 -rw-rw-r-- 1 jenkins jenkins 37326 Oct 5 20:43 go.sum 20:47:14 -rw-rw-r-- 1 jenkins jenkins 1949 Oct 5 20:43 main.go 20:47:14 -rw-rw-r-- 1 jenkins jenkins 2185 Oct 5 20:43 makefile 20:47:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 20:43 res 20:47:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 20:43 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:15 + 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=4a685ee38dea662665d79d6c95481bff5d89fc51 --label arch=arm64 --label version=2.3.0-dev.28 . 20:47:15 Sending build context to Docker daemon 208.4kB 20:47:15 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 20:47:15 Step 2/28 : FROM ${BASE} AS builder 20:47:15 ---> 249a0722a410 20:47:15 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:47:15 ---> Running in 72f9dbf72628 20:47:15 Removing intermediate container 72f9dbf72628 20:47:15 ---> 7e727d333941 20:47:15 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 20:47:15 ---> Running in 79bab97971fd 20:47:16 Removing intermediate container 79bab97971fd 20:47:16 ---> 3d5aedda6315 20:47:16 Step 5/28 : ARG ADD_BUILD_TAGS="" 20:47:16 ---> Running in c45be32f47c5 20:47:16 Removing intermediate container c45be32f47c5 20:47:16 ---> 9b132bccc021 20:47:16 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:47:16 ---> Running in 61c4d6907971 20:47:16 Removing intermediate container 61c4d6907971 20:47:16 ---> 2f2dae3060b9 20:47:16 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:16 ---> Running in 0aa41c4eee6a 20:47:18 Removing intermediate container 0aa41c4eee6a 20:47:18 ---> 34e30ebf6330 20:47:18 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:18 ---> Running in 4413f23057cc 20:47:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:47:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:47:21 OK: 221 MiB in 51 packages 20:47:22 Removing intermediate container 4413f23057cc 20:47:22 ---> 73766e577856 20:47:22 Step 9/28 : WORKDIR /app 20:47:22 ---> Running in d02fa94e4b5e 20:47:22 Removing intermediate container d02fa94e4b5e 20:47:22 ---> 3de640cf5f87 20:47:22 Step 10/28 : COPY go.mod vendor* ./ 20:47:22 ---> 5d56a9d610dc 20:47:22 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:22 ---> Running in a0dde888b4cb 20:47:24 Removing intermediate container a0dde888b4cb 20:47:24 ---> 8913a629015b 20:47:24 Step 12/28 : COPY . . 20:47:25 ---> cfa1d7426a45 20:47:25 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:25 ---> Running in 65dc7666f596 20:47:25 Removing intermediate container 65dc7666f596 20:47:25 ---> 9ab835186ebe 20:47:25 Step 14/28 : RUN $MAKE 20:47:25 ---> Running in 9b97a280a002 20:47:26 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.46 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 20:50:03 Removing intermediate container 9b97a280a002 20:50:03 ---> 8924edc9bf43 20:50:03 Step 15/28 : FROM alpine:3.16 20:50:03 3.16: Pulling from library/alpine 20:50:03 9b18e9b68314: Pulling fs layer 20:50:03 9b18e9b68314: Verifying Checksum 20:50:03 9b18e9b68314: Download complete 20:50:03 9b18e9b68314: Pull complete 20:50:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:50:03 Status: Downloaded newer image for alpine:3.16 20:50:03 ---> a6215f271958 20:50:03 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:50:03 ---> Running in d776e4bcfaa8 20:50:03 Removing intermediate container d776e4bcfaa8 20:50:03 ---> c3035394c5de 20:50:03 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 20:50:03 ---> Running in 51f9e2a704cb 20:50:03 Removing intermediate container 51f9e2a704cb 20:50:03 ---> 527abcfdca4c 20:50:03 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 20:50:03 ---> Running in 7fa0bd4b7702 20:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:50:03 (1/7) Installing ca-certificates (20220614-r0) 20:50:03 (2/7) Installing dumb-init (1.2.5-r1) 20:50:03 (3/7) Installing libgcc (11.2.1_git20220219-r2) 20:50:03 (4/7) Installing libsodium (1.0.18-r0) 20:50:03 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 20:50:03 (6/7) Installing libzmq (4.3.4-r0) 20:50:03 (7/7) Installing zeromq (4.3.4-r0) 20:50:03 Executing busybox-1.35.0-r17.trigger 20:50:03 Executing ca-certificates-20220614-r0.trigger 20:50:03 OK: 9 MiB in 21 packages 20:50:05 Removing intermediate container 7fa0bd4b7702 20:50:05 ---> 1fd365326f5b 20:50:05 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:50:06 ---> a52bd4ec34df 20:50:06 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 20:50:06 ---> 4018e00e11c5 20:50:06 Step 21/28 : COPY --from=builder /app/res/ /res/ 20:50:07 ---> a8d3c5352eb9 20:50:07 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:50:08 ---> f63269a35b16 20:50:08 Step 23/28 : EXPOSE 48095 20:50:08 ---> Running in 1fda58168f57 20:50:08 Removing intermediate container 1fda58168f57 20:50:08 ---> ae18f5b67c3a 20:50:08 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 20:50:08 ---> Running in 9f277f4d874e 20:50:08 Removing intermediate container 9f277f4d874e 20:50:08 ---> 3dfcf3b173c2 20:50:08 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:50:08 ---> Running in bfbe629d3a6f 20:50:09 Removing intermediate container bfbe629d3a6f 20:50:09 ---> fab6a4a4bc35 20:50:09 Step 26/28 : LABEL arch=arm64 20:50:09 ---> Running in 79a3d0ffc741 20:50:09 Removing intermediate container 79a3d0ffc741 20:50:09 ---> 51d570ae4ad3 20:50:09 Step 27/28 : LABEL git_sha=4a685ee38dea662665d79d6c95481bff5d89fc51 20:50:09 ---> Running in 65e6fd39c3fc 20:50:09 Removing intermediate container 65e6fd39c3fc 20:50:09 ---> 1d94f0637b02 20:50:09 Step 28/28 : LABEL version=2.3.0-dev.28 20:50:09 ---> Running in 7977ca855494 20:50:10 Removing intermediate container 7977ca855494 20:50:10 ---> 954563bd0b4e 20:50:10 [Warning] One or more build-args [ARCH] were not consumed 20:50:10 Successfully built 954563bd0b4e 20:50:10 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:10 provisioning config files... 20:50:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/107@tmp/config12777264031089287333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:10 ---> docker-login.sh 20:50:10 nexus3.edgexfoundry.org:10001 20:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:10 Configure a credential helper to remove this warning. See 20:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:10 20:50:10 Login Succeeded 20:50:10 nexus3.edgexfoundry.org:10002 20:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:11 Configure a credential helper to remove this warning. See 20:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:11 20:50:11 Login Succeeded 20:50:11 nexus3.edgexfoundry.org:10003 20:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:11 Configure a credential helper to remove this warning. See 20:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:11 20:50:11 Login Succeeded 20:50:11 nexus3.edgexfoundry.org:10004 20:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:11 Configure a credential helper to remove this warning. See 20:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:11 20:50:11 Login Succeeded 20:50:11 docker.io 20:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:12 Configure a credential helper to remove this warning. See 20:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:12 20:50:12 Login Succeeded 20:50:12 ---> docker-login.sh ends [Pipeline] } 20:50:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:12 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 20:50:12 4a685ee38dea662665d79d6c95481bff5d89fc51 20:50:12 latest 20:50:12 2.3.0-dev.28 20:50:12 4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:50:12 main 20:50:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:12 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:13 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51 20:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 20:50:13 12465c994bad: Preparing 20:50:13 5ba1312f0c07: Preparing 20:50:13 db7cb7e11bac: Preparing 20:50:13 f1946451fa03: Preparing 20:50:13 85437ca576bb: Preparing 20:50:13 5d3e392a13a0: Preparing 20:50:13 5d3e392a13a0: Waiting 20:50:13 db7cb7e11bac: Pushed 20:50:13 5ba1312f0c07: Pushed 20:50:13 f1946451fa03: Pushed 20:50:13 5d3e392a13a0: Layer already exists 20:50:14 85437ca576bb: Pushed 20:50:18 12465c994bad: Pushed 20:50:18 4a685ee38dea662665d79d6c95481bff5d89fc51: digest: sha256:ab6f869758f87adb9e483e1c9c5354305f3a71a49145dbdae69ca1c930b9c7a5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:19 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:19 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 20:50:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 20:50:19 12465c994bad: Preparing 20:50:19 5ba1312f0c07: Preparing 20:50:19 db7cb7e11bac: Preparing 20:50:19 f1946451fa03: Preparing 20:50:19 85437ca576bb: Preparing 20:50:19 5d3e392a13a0: Preparing 20:50:19 5d3e392a13a0: Waiting 20:50:19 12465c994bad: Layer already exists 20:50:19 5ba1312f0c07: Layer already exists 20:50:19 db7cb7e11bac: Layer already exists 20:50:19 f1946451fa03: Layer already exists 20:50:19 85437ca576bb: Layer already exists 20:50:19 5d3e392a13a0: Layer already exists 20:50:19 latest: digest: sha256:ab6f869758f87adb9e483e1c9c5354305f3a71a49145dbdae69ca1c930b9c7a5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:19 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:20 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.28 20:50:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 20:50:20 12465c994bad: Preparing 20:50:20 5ba1312f0c07: Preparing 20:50:20 db7cb7e11bac: Preparing 20:50:20 f1946451fa03: Preparing 20:50:20 85437ca576bb: Preparing 20:50:20 5d3e392a13a0: Preparing 20:50:20 5d3e392a13a0: Waiting 20:50:20 85437ca576bb: Layer already exists 20:50:20 db7cb7e11bac: Layer already exists 20:50:20 12465c994bad: Layer already exists 20:50:20 f1946451fa03: Layer already exists 20:50:20 5ba1312f0c07: Layer already exists 20:50:20 5d3e392a13a0: Layer already exists 20:50:20 2.3.0-dev.28: digest: sha256:ab6f869758f87adb9e483e1c9c5354305f3a71a49145dbdae69ca1c930b9c7a5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:20 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:21 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 20:50:21 12465c994bad: Preparing 20:50:21 5ba1312f0c07: Preparing 20:50:21 db7cb7e11bac: Preparing 20:50:21 f1946451fa03: Preparing 20:50:21 85437ca576bb: Preparing 20:50:21 5d3e392a13a0: Preparing 20:50:21 5d3e392a13a0: Waiting 20:50:21 5ba1312f0c07: Layer already exists 20:50:21 85437ca576bb: Layer already exists 20:50:21 12465c994bad: Layer already exists 20:50:21 db7cb7e11bac: Layer already exists 20:50:21 f1946451fa03: Layer already exists 20:50:21 5d3e392a13a0: Layer already exists 20:50:21 4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28: digest: sha256:ab6f869758f87adb9e483e1c9c5354305f3a71a49145dbdae69ca1c930b9c7a5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:21 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:21 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 20:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 20:50:21 12465c994bad: Preparing 20:50:21 5ba1312f0c07: Preparing 20:50:21 db7cb7e11bac: Preparing 20:50:21 f1946451fa03: Preparing 20:50:21 85437ca576bb: Preparing 20:50:21 5d3e392a13a0: Preparing 20:50:21 5d3e392a13a0: Waiting 20:50:21 f1946451fa03: Layer already exists 20:50:21 85437ca576bb: Layer already exists 20:50:21 5ba1312f0c07: Layer already exists 20:50:21 12465c994bad: Layer already exists 20:50:21 db7cb7e11bac: Layer already exists 20:50:21 5d3e392a13a0: Layer already exists 20:50:21 main: digest: sha256:ab6f869758f87adb9e483e1c9c5354305f3a71a49145dbdae69ca1c930b9c7a5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:22 ===================================================== [Pipeline] echo 20:50:22 taggedImages: 20:50:22 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51 20:50:22 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 20:50:22 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.28 20:50:22 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:4a685ee38dea662665d79d6c95481bff5d89fc51-2.3.0-dev.28 20:50:22 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:22 20:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:22 arm64: Pulling from edgex-lftools-log-publisher 20:50:22 8998bd30e6a1: Pulling fs layer 20:50:22 04944245beec: Pulling fs layer 20:50:22 699f458cf7ca: Pulling fs layer 20:50:22 765212b225bb: Pulling fs layer 20:50:22 f23df028b6ca: Pulling fs layer 20:50:22 d65c8cfc05b1: Pulling fs layer 20:50:22 2437ff75d9bd: Pulling fs layer 20:50:22 765212b225bb: Waiting 20:50:22 2437ff75d9bd: Waiting 20:50:22 f23df028b6ca: Waiting 20:50:22 d65c8cfc05b1: Waiting 20:50:23 04944245beec: Verifying Checksum 20:50:23 04944245beec: Download complete 20:50:23 765212b225bb: Verifying Checksum 20:50:23 765212b225bb: Download complete 20:50:23 f23df028b6ca: Verifying Checksum 20:50:23 f23df028b6ca: Download complete 20:50:23 d65c8cfc05b1: Verifying Checksum 20:50:23 d65c8cfc05b1: Download complete 20:50:23 699f458cf7ca: Verifying Checksum 20:50:23 699f458cf7ca: Download complete 20:50:23 8998bd30e6a1: Download complete 20:50:25 2437ff75d9bd: Verifying Checksum 20:50:25 2437ff75d9bd: Download complete 20:50:27 8998bd30e6a1: Pull complete 20:50:28 04944245beec: Pull complete 20:50:29 699f458cf7ca: Pull complete 20:50:29 765212b225bb: Pull complete 20:50:30 f23df028b6ca: Pull complete 20:50:30 d65c8cfc05b1: Pull complete 20:50:45 2437ff75d9bd: Pull complete 20:50:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:45 prd-ubuntu20.04-docker-arm64-4c-16g-7198 does not seem to be running inside a container 20:50:45 $ 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/107 -v /w/workspace/app-service-configurable/107:/w/workspace/app-service-configurable/107:rw,z -v /w/workspace/app-service-configurable/107@tmp:/w/workspace/app-service-configurable/107@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 20:50:48 $ docker top eef529d0db5c3aca47ed96f501539b6f1f94a489286e75d97d3e84dad0cd8407 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:49 ---> job-cost.sh 20:50:49 lf-activate-venv: SKIPPING 20:50:49 INFO: No Stack... 20:50:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:50:50 INFO: Archiving Costs [Pipeline] sh 20:50:51 + cat /w/workspace/app-service-configurable/107/archives/cost.csv 20:50:51 + cut -d, -f6 [Pipeline] lock 20:50:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] 20:50:51 Resource [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] did not exist. Created. 20:50:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:50:51 /w/workspace/app-service-configurable/107@tmp/durable-c5a1dd6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:50:52 + echo total: 0.10999999940395355 [Pipeline] stash 20:50:52 Warning: overwriting stash ‘stack-cost’ 20:50:52 Stashed 1 file(s) [Pipeline] } 20:50:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 20:50:52 $ docker stop --time=1 eef529d0db5c3aca47ed96f501539b6f1f94a489286e75d97d3e84dad0cd8407 20:50:54 $ docker rm -f eef529d0db5c3aca47ed96f501539b6f1f94a489286e75d97d3e84dad0cd8407 [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 20:50:54 provisioning config files... 20:50:54 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1758651952058209725tmp [Pipeline] { [Pipeline] sh 20:50:54 + set +x 20:50:54 + curl -s https://codecov.io/bash 20:50:54 + bash -s -- 20:50:54 20:50:54 _____ _ 20:50:54 / ____| | | 20:50:54 | | ___ __| | ___ ___ _____ __ 20:50:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:50:54 | |___| (_) | (_| | __/ (_| (_) \ V / 20:50:54 \_____\___/ \__,_|\___|\___\___/ \_/ 20:50:54 Bash-1.0.6 20:50:54 20:50:54 20:50:54 ==> git version 2.25.1 found 20:50:54 ==> 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 20:50:54 Release-Date: 2020-01-08 20:50:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:50:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:50:54 ==> Jenkins CI detected. 20:50:54 current dir:  /w/workspace/ry_app-service-configurable_main 20:50:54 project root: . 20:50:54 --> token set from env 20:50:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:50:54 ==> Running gcov in . (disable via -X gcov) 20:50:54 ==> Python coveragepy not found 20:50:54 ==> Searching for coverage reports in: 20:50:54 + . 20:50:55 -> Found 1 reports 20:50:55 ==> Detecting git/mercurial file structure 20:50:55 ==> Reading reports 20:50:55 + ./coverage.out bytes=10 20:50:55 ==> Appending adjustments 20:50:55 https://docs.codecov.io/docs/fixing-reports 20:50:55 + Found adjustments 20:50:55 ==> Gzipping contents 20:50:55 4.0K /tmp/codecov.DH1XXy.gz 20:50:55 ==> Uploading reports 20:50:55 url: https://codecov.io 20:50:55 query: branch=main&commit=4a685ee38dea662665d79d6c95481bff5d89fc51&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 20:50:55 -> Pinging Codecov 20:50:55 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=4a685ee38dea662665d79d6c95481bff5d89fc51&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 20:50:55 -> Uploading to 20:50:55 https://storage.googleapis.com/codecov/v4/raw/2022-10-05/A97CA9966030D2A3747ED39772930CCE/4a685ee38dea662665d79d6c95481bff5d89fc51/b228d646-0c0b-4401-bba5-2fd6fcc0a010.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221005T205055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3f04916bedea17cd2661d0c7ca5f44ffd1d5ec44390a4f41695ad3beb8a44b7 20:50:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:50:55 Dload Upload Total Spent Left Speed 20:50:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 1657 --:--:-- --:--:-- --:--:-- 1652 100 527 0 0 100 527 0 1657 --:--:-- --:--:-- --:--:-- 1652 20:50:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] } 20:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:50:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:50:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:50:56 20:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:50:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:50:57 df9b9388f04a: Pulling fs layer 20:50:57 52dc419b0ee2: Pulling fs layer 20:50:57 25bc292e5bac: Pulling fs layer 20:50:57 114826534d7a: Pulling fs layer 20:50:57 4657fd5d0bcf: Pulling fs layer 20:50:57 6ad1cebc031e: Pulling fs layer 20:50:57 4657fd5d0bcf: Waiting 20:50:57 114826534d7a: Waiting 20:50:57 8a3aa393b2d8: Pulling fs layer 20:50:57 6ad1cebc031e: Waiting 20:50:57 8a3aa393b2d8: Waiting 20:50:57 25bc292e5bac: Verifying Checksum 20:50:57 25bc292e5bac: Download complete 20:50:57 52dc419b0ee2: Download complete 20:50:57 4657fd5d0bcf: Verifying Checksum 20:50:57 4657fd5d0bcf: Download complete 20:50:57 df9b9388f04a: Download complete 20:50:57 6ad1cebc031e: Verifying Checksum 20:50:57 6ad1cebc031e: Download complete 20:50:57 df9b9388f04a: Pull complete 20:50:58 52dc419b0ee2: Pull complete 20:50:58 114826534d7a: Verifying Checksum 20:50:58 114826534d7a: Download complete 20:50:58 25bc292e5bac: Pull complete 20:50:58 8a3aa393b2d8: Verifying Checksum 20:50:58 8a3aa393b2d8: Download complete 20:51:02 114826534d7a: Pull complete 20:51:02 4657fd5d0bcf: Pull complete 20:51:03 6ad1cebc031e: Pull complete 20:51:07 8a3aa393b2d8: Pull complete 20:51:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:51:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:07 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:51:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:51:20 $ docker top 9739c43b910b334289c77196615d132bb54cfdc44163e4e5544b0b8886ceeb48 -eo pid,comm [Pipeline] { [Pipeline] echo 20:51:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-service-configurable:main' [Pipeline] sh 20:51:20 + set -o pipefail 20:51:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-service-configurable:main' 20:51:27 20:51:27 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 20:51:27 20:51:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5a27cfc0-dfdd-4ec8-bbe4-aefccf3d4d74/history/b930884c-75cd-4183-9104-e3ab1cd183f2 20:51:27 20:51:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:51:27 20:51:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:51:27 20:51:27 20:51:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:51:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:51:27 More details here: https://snyk.co/ue1NS [Pipeline] } 20:51:27 $ docker stop --time=1 9739c43b910b334289c77196615d132bb54cfdc44163e4e5544b0b8886ceeb48 20:51:35 $ docker rm -f 9739c43b910b334289c77196615d132bb54cfdc44163e4e5544b0b8886ceeb48 [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 20:51:35 + git log --format=format:%s -1 4a685ee38dea662665d79d6c95481bff5d89fc51 [Pipeline] sh 20:51:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:36 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:51:37 $ docker top 747d5f5ea30abe120e110d033fc93221fb8f0549b56535c079a8e99af190b687 -eo pid,comm 20:51:37 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). 20:51:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:51:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:37 [ssh-agent] Looking for ssh-agent implementation... 20:51:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:37 $ docker exec 747d5f5ea30abe120e110d033fc93221fb8f0549b56535c079a8e99af190b687 ssh-agent 20:51:38 SSH_AUTH_SOCK=/tmp/ssh-mNfGKFNKb5NO/agent.14 20:51:38 SSH_AGENT_PID=20 20:51:38 Running ssh-add (command line suppressed) 20:51:38 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_7176842553703968177.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_7176842553703968177.key) 20:51:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:38 + git semver tag 20:51:38 2022-10-05 20:51:38,607 [run_tag] DEBUG tag force:False 20:51:38 2022-10-05 20:51:38,607 [check_head_tag] DEBUG check head tag 20:51:38 2022-10-05 20:51:38,608 [execute] INFO git cat-file --batch-check 20:51:38 2022-10-05 20:51:38,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 20:51:38 2022-10-05 20:51:38,613 [execute] INFO git cat-file --batch 20:51:38 2022-10-05 20:51:38,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 20:51:38 2022-10-05 20:51:38,630 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:51:38 2022-10-05 20:51:38,631 [execute] INFO git tag -a v2.3.0-dev.28 -m v2.3.0-dev.28 20:51:38 2022-10-05 20:51:38,631 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.28', '-m', 'v2.3.0-dev.28'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 20:51:38 2022-10-05 20:51:38,636 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:51:38 2.3.0-dev.28 [Pipeline] } 20:51:38 $ docker exec --env ******** --env ******** 747d5f5ea30abe120e110d033fc93221fb8f0549b56535c079a8e99af190b687 ssh-agent -k 20:51:38 unset SSH_AUTH_SOCK; 20:51:38 unset SSH_AGENT_PID; 20:51:38 echo Agent pid 20 killed; 20:51:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:39 + git semver [Pipeline] } 20:51:39 $ docker stop --time=1 747d5f5ea30abe120e110d033fc93221fb8f0549b56535c079a8e99af190b687 20:51:40 $ docker rm -f 747d5f5ea30abe120e110d033fc93221fb8f0549b56535c079a8e99af190b687 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:41 20:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:41 0.23.1-centos7: Pulling from edgex-lftools 20:51:41 ab5ef0e58194: Pulling fs layer 20:51:41 9712f1f96733: Pulling fs layer 20:51:41 63f879dbbcfc: Pulling fs layer 20:51:41 0d9ebad4ef96: Pulling fs layer 20:51:41 e9a5061849ea: Pulling fs layer 20:51:41 d747dcd14b5f: Pulling fs layer 20:51:41 2de7ff778b66: Pulling fs layer 20:51:41 e9a5061849ea: Waiting 20:51:41 d747dcd14b5f: Waiting 20:51:41 2de7ff778b66: Waiting 20:51:41 9712f1f96733: Download complete 20:51:42 63f879dbbcfc: Verifying Checksum 20:51:42 63f879dbbcfc: Download complete 20:51:42 ab5ef0e58194: Verifying Checksum 20:51:42 ab5ef0e58194: Download complete 20:51:42 d747dcd14b5f: Verifying Checksum 20:51:42 d747dcd14b5f: Download complete 20:51:42 0d9ebad4ef96: Verifying Checksum 20:51:42 0d9ebad4ef96: Download complete 20:51:42 e9a5061849ea: Verifying Checksum 20:51:42 e9a5061849ea: Download complete 20:51:42 2de7ff778b66: Verifying Checksum 20:51:42 2de7ff778b66: Download complete 20:51:45 ab5ef0e58194: Pull complete 20:51:45 9712f1f96733: Pull complete 20:51:45 63f879dbbcfc: Pull complete 20:51:51 0d9ebad4ef96: Pull complete 20:51:51 e9a5061849ea: Pull complete 20:51:51 d747dcd14b5f: Pull complete 20:51:52 2de7ff778b66: Pull complete 20:51:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:52 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:51: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:52:02 $ docker top fba276c00a8342fdcdc12ff58f2f412190bc434bccb31ecd296c3ce54e0465b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:52:02 provisioning config files... 20:52:02 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1808774727035192284tmp 20:52:02 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config11848310162209915913tmp 20:52:02 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config16672630590181430339tmp [Pipeline] { [Pipeline] echo 20:52:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> sigul-configuration.sh 20:52:02 gpg: directory `/root/.gnupg' created 20:52:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:52:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:52:02 gpg: keyring `/root/.gnupg/secring.gpg' created 20:52:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:52:02 gpg: CAST5 encrypted data 20:52:02 gpg: encrypted with 1 passphrase 20:52:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:52:03 + mkdir /home/jenkins 20:52:03 + mkdir /home/jenkins/sigul [Pipeline] sh 20:52:03 + 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 20:52:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:52:03 ---> sigul-install.sh 20:52:03 Sigul already installed; skipping installation. [Pipeline] sh 20:52:04 + git tag --list 20:52:04 v1.0.0 20:52:04 v1.1.0 20:52:04 v1.2.0 20:52:04 v1.3.0 20:52:04 v1.3.1 20:52:04 v2.0.0 20:52:04 v2.0.1 20:52:04 v2.1.0 20:52:04 v2.1.1 20:52:04 v2.1.1-dev.1 20:52:04 v2.1.1-dev.2 20:52:04 v2.2.0 20:52:04 v2.2.1-dev.1 20:52:04 v2.2.1-dev.10 20:52:04 v2.2.1-dev.2 20:52:04 v2.2.1-dev.3 20:52:04 v2.2.1-dev.4 20:52:04 v2.2.1-dev.5 20:52:04 v2.2.1-dev.6 20:52:04 v2.2.1-dev.7 20:52:04 v2.2.1-dev.8 20:52:04 v2.2.1-dev.9 20:52:04 v2.3.0-dev.10 20:52:04 v2.3.0-dev.11 20:52:04 v2.3.0-dev.12 20:52:04 v2.3.0-dev.13 20:52:04 v2.3.0-dev.14 20:52:04 v2.3.0-dev.15 20:52:04 v2.3.0-dev.16 20:52:04 v2.3.0-dev.17 20:52:04 v2.3.0-dev.18 20:52:04 v2.3.0-dev.19 20:52:04 v2.3.0-dev.20 20:52:04 v2.3.0-dev.21 20:52:04 v2.3.0-dev.22 20:52:04 v2.3.0-dev.23 20:52:04 v2.3.0-dev.24 20:52:04 v2.3.0-dev.25 20:52:04 v2.3.0-dev.26 20:52:04 v2.3.0-dev.27 20:52:04 v2.3.0-dev.28 [Pipeline] sh 20:52:04 + lftools sign git-tag v2.3.0-dev.28 20:52:04 Signing Git tag with Sigul... 20:52:04 Signing v2.3.0-dev.28 [Pipeline] echo 20:52:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:52:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:52:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:52:05 $ docker stop --time=1 fba276c00a8342fdcdc12ff58f2f412190bc434bccb31ecd296c3ce54e0465b5 20:52:07 $ docker rm -f fba276c00a8342fdcdc12ff58f2f412190bc434bccb31ecd296c3ce54e0465b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:52:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:08 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:08 $ docker top 4c99b940fe9daa538f67784b058d7e2f5c636f11885d655366b12036e1533a69 -eo pid,comm 20:52:08 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). 20:52:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:08 [ssh-agent] Looking for ssh-agent implementation... 20:52:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:08 $ docker exec 4c99b940fe9daa538f67784b058d7e2f5c636f11885d655366b12036e1533a69 ssh-agent 20:52:09 SSH_AUTH_SOCK=/tmp/ssh-tIk7GhNQMQYb/agent.32 20:52:09 SSH_AGENT_PID=38 20:52:09 Running ssh-add (command line suppressed) 20:52:09 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_12009884658769891526.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_12009884658769891526.key) 20:52:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:09 + git semver bump pre 20:52:09 2022-10-05 20:52:09,701 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:52:09 2022-10-05 20:52:09,701 [bump_version] DEBUG bumping version:2.3.0-dev.28 on axis:pre with prefix:dev 20:52:09 2022-10-05 20:52:09,701 [bump_version] DEBUG bumped version:2.3.0-dev.29 20:52:09 2022-10-05 20:52:09,701 [write_version] DEBUG write version:2.3.0-dev.29 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:True 20:52:09 2022-10-05 20:52:09,701 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:52:09 2022-10-05 20:52:09,701 [write_file] DEBUG write to file:/w/workspace/ry_app-service-configurable_main/.semver/main 20:52:09 2022-10-05 20:52:09,705 [execute] INFO git cat-file --batch-check 20:52:09 2022-10-05 20:52:09,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 20:52:09 2022-10-05 20:52:09,711 [execute] INFO git cat-file --batch 20:52:09 2022-10-05 20:52:09,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 20:52:09 2022-10-05 20:52:09,716 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:52:09 2.3.0-dev.29 [Pipeline] } 20:52:09 $ docker exec --env ******** --env ******** 4c99b940fe9daa538f67784b058d7e2f5c636f11885d655366b12036e1533a69 ssh-agent -k 20:52:09 unset SSH_AUTH_SOCK; 20:52:09 unset SSH_AGENT_PID; 20:52:09 echo Agent pid 38 killed; 20:52:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:10 + git semver [Pipeline] } 20:52:10 $ docker stop --time=1 4c99b940fe9daa538f67784b058d7e2f5c636f11885d655366b12036e1533a69 20:52:12 $ docker rm -f 4c99b940fe9daa538f67784b058d7e2f5c636f11885d655366b12036e1533a69 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:13 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:13 $ docker top f23f26d44b9441030ffc93dbedeff77697da6218b0cd1e3ff43f8a4f42ab704a -eo pid,comm 20:52:13 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). 20:52:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:13 [ssh-agent] Looking for ssh-agent implementation... 20:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:13 $ docker exec f23f26d44b9441030ffc93dbedeff77697da6218b0cd1e3ff43f8a4f42ab704a ssh-agent 20:52:13 SSH_AUTH_SOCK=/tmp/ssh-vsN4KrCEu05W/agent.32 20:52:13 SSH_AGENT_PID=38 20:52:13 Running ssh-add (command line suppressed) 20:52:13 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_2431481392393673758.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_2431481392393673758.key) 20:52:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:14 + git semver push 20:52:14 2022-10-05 20:52:14,487 [run_push] DEBUG push 20:52:14 2022-10-05 20:52:14,487 [execute] INFO git cat-file --batch-check 20:52:14 2022-10-05 20:52:14,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 20:52:14 2022-10-05 20:52:14,491 [execute] INFO git rev-list 0a8ef27c8a424f0c480cc0f80e43f03e9a743680 -- 20:52:14 2022-10-05 20:52:14,491 [execute] DEBUG Popen(['git', 'rev-list', '0a8ef27c8a424f0c480cc0f80e43f03e9a743680', '--'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 20:52:14 2022-10-05 20:52:14,500 [execute] INFO git fetch -v origin 20:52:14 2022-10-05 20:52:14,500 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=True, shell=None, istream=None) 20:52:15 2022-10-05 20:52:15,081 [run_push] DEBUG no remote changes detected 20:52:15 2022-10-05 20:52:15,081 [execute] INFO git push origin semver 20:52:15 2022-10-05 20:52:15,082 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 20:52:16 2022-10-05 20:52:15,816 [run_push] DEBUG push all version tags 20:52:16 2022-10-05 20:52:15,816 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:52:16 2022-10-05 20:52:15,817 [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) 20:52:16 2022-10-05 20:52:16,704 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 20:52:16 2.3.0-dev.29 [Pipeline] } 20:52:16 $ docker exec --env ******** --env ******** f23f26d44b9441030ffc93dbedeff77697da6218b0cd1e3ff43f8a4f42ab704a ssh-agent -k 20:52:17 unset SSH_AUTH_SOCK; 20:52:17 unset SSH_AGENT_PID; 20:52:17 echo Agent pid 38 killed; 20:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:17 + git semver [Pipeline] } 20:52:17 $ docker stop --time=1 f23f26d44b9441030ffc93dbedeff77697da6218b0cd1e3ff43f8a4f42ab704a 20:52:19 $ docker rm -f f23f26d44b9441030ffc93dbedeff77697da6218b0cd1e3ff43f8a4f42ab704a [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 20:52:19 + [ -d /w/workspace/ry_app-service-configurable_main/archives ] 20:52:19 + ls -al /w/workspace/ry_app-service-configurable_main/archives 20:52:19 total 16 20:52:19 drwxr-xr-x 3 root root 4096 Oct 5 20:43 . 20:52:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 20:52 .. 20:52:19 drwxr-xr-x 2 root root 4096 Oct 5 20:43 cost 20:52:19 -rw-r--r-- 1 root root 96 Oct 5 20:43 cost.csv 20:52:19 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-service-configurable_main/archives 20:52:19 + ls -al /w/workspace/ry_app-service-configurable_main/archives 20:52:19 total 16 20:52:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 20:43 . 20:52:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 20:52 .. 20:52:19 drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 20:43 cost 20:52:19 -rw-r--r-- 1 jenkins jenkins 96 Oct 5 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:52:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:52:21 ---> package-listing.sh 20:52:21 ++ facter osfamily 20:52:21 ++ tr '[:upper:]' '[:lower:]' 20:52:21 + OS_FAMILY=debian 20:52:21 + workspace=/w/workspace/ry_app-service-configurable_main 20:52:21 + START_PACKAGES=/tmp/packages_start.txt 20:52:21 + END_PACKAGES=/tmp/packages_end.txt 20:52:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:52:21 + PACKAGES=/tmp/packages_start.txt 20:52:21 + '[' /w/workspace/ry_app-service-configurable_main ']' 20:52:21 + PACKAGES=/tmp/packages_end.txt 20:52:21 + case "${OS_FAMILY}" in 20:52:21 + dpkg -l 20:52:21 + grep '^ii' 20:52:21 + '[' -f /tmp/packages_start.txt ']' 20:52:21 + '[' -f /tmp/packages_end.txt ']' 20:52:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:52:21 + '[' /w/workspace/ry_app-service-configurable_main ']' 20:52:21 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 20:52:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 20:52:21 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 20:52:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:22 prd-ubuntu20.04-docker-8c-8g-7197 does not seem to be running inside a container 20:52:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:52:22 $ docker top ea989ab1ea5ef1c81edf6bca8a6775e4ce73525a9a4a26dd0af7764631cef5d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:23 + ls /var/log/sa-host 20:52:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:23 provisioning config files... 20:52:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config3030547374491527503tmp [Pipeline] { [Pipeline] echo 20:52:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:24 ---> create-netrc.sh [Pipeline] } 20:52:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:24 ---> python-tools-install.sh [Pipeline] echo 20:52:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:24 ---> sudo-logs.sh 20:52:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:25 ---> job-cost.sh 20:52:25 lf-activate-venv: SKIPPING 20:52:25 DEBUG: total: 0.2199999988079071 20:52:25 INFO: Retrieving Stack Cost... 20:52:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:25 INFO: Archiving Costs [Pipeline] echo 20:52:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:26 ---> logs-deploy.sh 20:52:26 lf-activate-venv: SKIPPING 20:52:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/107 20:52:26 INFO: archiving workspace using pattern(s): 20:52:27 Archives upload complete. 20:52:27 INFO: archiving logs to Nexus