Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1230c23662baaf085523f10f0e3e516ed8431cf7 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-ssh2095813732457762677.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-ssh10845279418343409481.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-ssh6395989426420745274.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-ssh12391087573249744485.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-ssh16867181264315989346.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-659 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 1230c23662baaf085523f10f0e3e516ed8431cf7 (main) Commit message: "refactor: Adjust NATS Subject to be for all data not just Events (#469)" > 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 1230c23662baaf085523f10f0e3e516ed8431cf7 # timeout=10 > git rev-list --no-walk c8a5d46700fb7f28d3d7157a33cb96b157f5d133 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:09:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:09:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:09:08 ========================================================= 22:09:08 EdgeX Global Pipelines Version Info 22:09:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:09:09 ------------------- 22:09:09 stable info: 22:09:09 ------------------- 22:09:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:09:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:09:09 Message: update stable to v1.0.239 22:09:10 ------------------- 22:09:10 experimental info: 22:09:10 ------------------- 22:09:10 Commited By: **** collab-it+edgex@linuxfoundation.org 22:09:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:09:10 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1230c23 [Pipeline] echo 22:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:09:10 provisioning config files... 22:09:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config6678011733379252167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:10 ---> docker-login.sh 22:09:10 nexus3.edgexfoundry.org:10001 22:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:11 Configure a credential helper to remove this warning. See 22:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:11 22:09:11 Login Succeeded 22:09:11 nexus3.edgexfoundry.org:10002 22:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:11 Configure a credential helper to remove this warning. See 22:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:11 22:09:11 Login Succeeded 22:09:11 nexus3.edgexfoundry.org:10003 22:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:11 Configure a credential helper to remove this warning. See 22:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:11 22:09:11 Login Succeeded 22:09:11 nexus3.edgexfoundry.org:10004 22:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:11 Configure a credential helper to remove this warning. See 22:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:11 22:09:11 Login Succeeded 22:09:11 docker.io 22:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:12 Configure a credential helper to remove this warning. See 22:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:12 22:09:12 Login Succeeded 22:09:12 ---> docker-login.sh ends [Pipeline] } 22:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:09:12 + git rev-list -1 --merges 1230c23662baaf085523f10f0e3e516ed8431cf7~1..1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] echo 22:09:12 -----------> git rev-list -1 --merges 1230c23662baaf085523f10f0e3e516ed8431cf7~1..1230c23662baaf085523f10f0e3e516ed8431cf7 1230c23662baaf085523f10f0e3e516ed8431cf7 [false] [Pipeline] sh 22:09:12 + git log --format=format:%s -1 1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] echo 22:09:12 ========================================================= 22:09:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:09:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:13 + git log --format=format:%s -1 1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] echo 22:09:13 [semverPrep] GIT_COMMIT: 1230c23662baaf085523f10f0e3e516ed8431cf7, Commit Message: refactor: Adjust NATS Subject to be for all data not just Events (#469) [Pipeline] echo 22:09:13 [semverPrep] This is not a build commit. [Pipeline] sh 22:09:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:09:13 + grep -v github /etc/ssh/ssh_known_hosts 22:09:13 + [ -e /tmp/ssh_known_hosts ] 22:09:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:09:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:09:13 + sudo tee -a /etc/ssh/ssh_known_hosts 22:09:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:09:13 22:09:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:09:14 0.1.4: Pulling from edgex-devops/py-git-semver 22:09:14 b85a868b505f: Pulling fs layer 22:09:14 e2be974225ed: Pulling fs layer 22:09:14 339a4e72a1f5: Pulling fs layer 22:09:14 988bab9f4d93: Pulling fs layer 22:09:14 1469e6f7b9e6: Pulling fs layer 22:09:14 eaf3925da568: Pulling fs layer 22:09:14 bab4dde63d76: Pulling fs layer 22:09:14 bde34c3a00c8: Pulling fs layer 22:09:14 b352a97aabf1: Pulling fs layer 22:09:14 4872d77fe225: Pulling fs layer 22:09:14 5851b861e8e6: Pulling fs layer 22:09:14 bab4dde63d76: Waiting 22:09:14 4872d77fe225: Waiting 22:09:14 5851b861e8e6: Waiting 22:09:14 b352a97aabf1: Waiting 22:09:14 bde34c3a00c8: Waiting 22:09:14 1469e6f7b9e6: Waiting 22:09:14 eaf3925da568: Waiting 22:09:14 988bab9f4d93: Waiting 22:09:14 e2be974225ed: Verifying Checksum 22:09:14 e2be974225ed: Download complete 22:09:14 988bab9f4d93: Verifying Checksum 22:09:14 988bab9f4d93: Download complete 22:09:14 1469e6f7b9e6: Verifying Checksum 22:09:14 1469e6f7b9e6: Download complete 22:09:14 eaf3925da568: Download complete 22:09:14 339a4e72a1f5: Verifying Checksum 22:09:14 339a4e72a1f5: Download complete 22:09:14 bde34c3a00c8: Verifying Checksum 22:09:14 bde34c3a00c8: Download complete 22:09:14 b352a97aabf1: Verifying Checksum 22:09:14 b352a97aabf1: Download complete 22:09:14 4872d77fe225: Verifying Checksum 22:09:14 4872d77fe225: Download complete 22:09:14 5851b861e8e6: Download complete 22:09:14 b85a868b505f: Verifying Checksum 22:09:14 b85a868b505f: Download complete 22:09:14 bab4dde63d76: Verifying Checksum 22:09:14 bab4dde63d76: Download complete 22:09:15 b85a868b505f: Pull complete 22:09:15 e2be974225ed: Pull complete 22:09:16 339a4e72a1f5: Pull complete 22:09:16 988bab9f4d93: Pull complete 22:09:16 1469e6f7b9e6: Pull complete 22:09:16 eaf3925da568: Pull complete 22:09:18 bab4dde63d76: Pull complete 22:09:18 bde34c3a00c8: Pull complete 22:09:18 b352a97aabf1: Pull complete 22:09:18 4872d77fe225: Pull complete 22:09:18 5851b861e8e6: Pull complete 22:09:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:09:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:18 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:09:18 $ 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 22:09:20 $ docker top 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 -eo pid,comm 22:09:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:09:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:09:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:20 [ssh-agent] Looking for ssh-agent implementation... 22:09:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:20 $ docker exec 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 ssh-agent 22:09:20 SSH_AUTH_SOCK=/tmp/ssh-7RlSgAGvNopi/agent.31 22:09:20 SSH_AGENT_PID=37 22:09:20 Running ssh-add (command line suppressed) 22:09:20 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_895741993283451800.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_895741993283451800.key) 22:09:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:20 + git tag --points-at HEAD [Pipeline] } 22:09:20 $ docker exec --env ******** --env ******** 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 ssh-agent -k 22:09:20 unset SSH_AUTH_SOCK; 22:09:20 unset SSH_AGENT_PID; 22:09:20 echo Agent pid 37 killed; 22:09:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:09:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:20 [ssh-agent] Looking for ssh-agent implementation... 22:09:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:21 $ docker exec 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 ssh-agent 22:09:21 SSH_AUTH_SOCK=/tmp/ssh-KE7k19sJAODr/agent.69 22:09:21 SSH_AGENT_PID=75 22:09:21 Running ssh-add (command line suppressed) 22:09:21 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_44640305889391141.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_44640305889391141.key) 22:09:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:21 + git semver init 22:09:21 2022-09-22 22:09:21,776 [run_init] DEBUG init version:0.0.0 force:False 22:09:21 2022-09-22 22:09:21,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-service-configurable_main/.semver 22:09:21 2022-09-22 22:09:21,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ry_app-service-configurable_main/.semver 22:09:21 2022-09-22 22:09:21,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/ry_app-service-configurable_main/.semver'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:09:22 2022-09-22 22:09:22,668 [append_file] DEBUG append to file:/w/workspace/ry_app-service-configurable_main/.git/info/exclude 22:09:22 2022-09-22 22:09:22,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:False 22:09:22 2022-09-22 22:09:22,669 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:09:22 2022-09-22 22:09:22,669 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:09:22 2.3.0-dev.25 [Pipeline] } 22:09:22 $ docker exec --env ******** --env ******** 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 ssh-agent -k 22:09:22 unset SSH_AUTH_SOCK; 22:09:22 unset SSH_AGENT_PID; 22:09:22 echo Agent pid 75 killed; 22:09:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:09:23 + git semver [Pipeline] } 22:09:23 $ docker stop --time=1 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 22:09:24 $ docker rm -f 3dd8214768c633d4a98a7f716567b4e9aeb21f76c319164c00b99b535df8d8c2 [Pipeline] // withDockerContainer [Pipeline] sh 22:09:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:09:25 Stashed 1 file(s) [Pipeline] echo 22:09:25 [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:09:25 provisioning config files... 22:09:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config5187150611744254774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:25 ---> docker-login.sh 22:09:25 nexus3.edgexfoundry.org:10001 22:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:25 Configure a credential helper to remove this warning. See 22:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:25 22:09:25 Login Succeeded 22:09:25 nexus3.edgexfoundry.org:10002 22:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:25 Configure a credential helper to remove this warning. See 22:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:25 22:09:25 Login Succeeded 22:09:25 nexus3.edgexfoundry.org:10003 22:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:25 Configure a credential helper to remove this warning. See 22:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:25 22:09:25 Login Succeeded 22:09:25 nexus3.edgexfoundry.org:10004 22:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:25 Configure a credential helper to remove this warning. See 22:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:25 22:09:25 Login Succeeded 22:09:25 docker.io 22:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:26 Configure a credential helper to remove this warning. See 22:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:26 22:09:26 Login Succeeded 22:09:26 ---> docker-login.sh ends [Pipeline] } 22:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:09:26 ========================================================= 22:09:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:09:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:26 + 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 . 22:09:26 Sending build context to Docker daemon 3.128MB 22:09:26 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:09:26 Step 2/14 : FROM ${BASE} AS builder 22:09:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:09:26 2408cc74d12b: Pulling fs layer 22:09:26 ea60b727a1ce: Pulling fs layer 22:09:26 30c4a7721957: Pulling fs layer 22:09:26 370296b7ddb6: Pulling fs layer 22:09:26 7c6cee850709: Pulling fs layer 22:09:26 39a5fcdaea64: Pulling fs layer 22:09:26 d94ebbe4e438: Pulling fs layer 22:09:26 bcfd1f05c69d: Pulling fs layer 22:09:26 59ccb84bbe0f: Pulling fs layer 22:09:26 d94ebbe4e438: Waiting 22:09:26 bcfd1f05c69d: Waiting 22:09:26 59ccb84bbe0f: Waiting 22:09:26 370296b7ddb6: Waiting 22:09:26 7c6cee850709: Waiting 22:09:26 39a5fcdaea64: Waiting 22:09:26 30c4a7721957: Verifying Checksum 22:09:26 30c4a7721957: Download complete 22:09:26 ea60b727a1ce: Download complete 22:09:26 7c6cee850709: Verifying Checksum 22:09:26 7c6cee850709: Download complete 22:09:26 39a5fcdaea64: Verifying Checksum 22:09:26 39a5fcdaea64: Download complete 22:09:27 2408cc74d12b: Verifying Checksum 22:09:27 2408cc74d12b: Download complete 22:09:27 d94ebbe4e438: Download complete 22:09:27 2408cc74d12b: Pull complete 22:09:27 ea60b727a1ce: Pull complete 22:09:27 30c4a7721957: Pull complete 22:09:27 59ccb84bbe0f: Verifying Checksum 22:09:27 59ccb84bbe0f: Download complete 22:09:28 bcfd1f05c69d: Verifying Checksum 22:09:28 bcfd1f05c69d: Download complete 22:09:28 370296b7ddb6: Verifying Checksum 22:09:28 370296b7ddb6: Download complete 22:09:32 370296b7ddb6: Pull complete 22:09:32 7c6cee850709: Pull complete 22:09:32 39a5fcdaea64: Pull complete 22:09:32 d94ebbe4e438: Pull complete 22:09:33 bcfd1f05c69d: Pull complete 22:09:34 59ccb84bbe0f: Pull complete 22:09:34 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:09:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:09:34 ---> a4fb48ad2a94 22:09:34 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:09:35 ---> Running in 540d97f955bb 22:09:36 Removing intermediate container 540d97f955bb 22:09:36 ---> 7ee64534e1a2 22:09:36 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 22:09:36 ---> Running in ed2bc29bb827 22:09:36 Removing intermediate container ed2bc29bb827 22:09:36 ---> 2ceda41c5926 22:09:36 Step 5/14 : ARG ADD_BUILD_TAGS="" 22:09:36 ---> Running in 922356dd7878 22:09:36 Removing intermediate container 922356dd7878 22:09:36 ---> 0aab4dd0aae9 22:09:36 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:09:36 ---> Running in 9fe528378f38 22:09:36 Removing intermediate container 9fe528378f38 22:09:36 ---> 641eaf6d9db0 22:09:36 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:36 ---> Running in 1dacd17a763f 22:09:37 Removing intermediate container 1dacd17a763f 22:09:37 ---> 68d17f9af7ca 22:09:37 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:37 ---> Running in b44d69e8cc4f 22:09:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:09:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:09:38 OK: 211 MiB in 51 packages 22:09:38 Removing intermediate container b44d69e8cc4f 22:09:38 ---> 370638da6d76 22:09:38 Step 9/14 : WORKDIR /app 22:09:38 ---> Running in 29a7468f0cca 22:09:39 Removing intermediate container 29a7468f0cca 22:09:39 ---> d1d3f7e44fcd 22:09:39 Step 10/14 : COPY go.mod vendor* ./ 22:09:39 ---> f58e3a064a41 22:09:39 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:39 ---> Running in 57d969a14d37 22:09:40 Still waiting to schedule task 22:09:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-660’ is offline 22:09:57 Removing intermediate container 57d969a14d37 22:09:57 ---> 0ea5237e8ec7 22:09:57 Step 12/14 : COPY . . 22:09:57 ---> 0e76f650daee 22:09:57 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:09:57 ---> Running in 7ca01c565865 22:09:57 Removing intermediate container 7ca01c565865 22:09:57 ---> ee8d44ec7f23 22:09:57 Step 14/14 : RUN $MAKE 22:09:57 ---> Running in a877a41e2e3e 22:09:57 noop 22:09:57 Removing intermediate container a877a41e2e3e 22:09:57 ---> a262c6e4f298 22:09:57 Successfully built a262c6e4f298 22:09:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:57 + docker inspect -f . ci-base-image-x86_64 22:09:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:57 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:09:57 $ 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 22:09:58 $ docker top be4aa3c08fb52d2e49c1f95c7e3f1fcc400126a29ab5f0b1724833fef6a23d95 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:58 + go version 22:09:58 go version go1.18.3 linux/amd64 [Pipeline] } 22:09:58 $ docker stop --time=1 be4aa3c08fb52d2e49c1f95c7e3f1fcc400126a29ab5f0b1724833fef6a23d95 22:09:59 $ docker rm -f be4aa3c08fb52d2e49c1f95c7e3f1fcc400126a29ab5f0b1724833fef6a23d95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:00 + docker inspect -f . ci-base-image-x86_64 22:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:00 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:10:00 $ 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 22:10:00 $ docker top cf32d3bfa6c9ab7946bc3267eed83cc2efe423cd28637419facc5d72630dce5c -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:00 + git config --global --add safe.directory /w/workspace/ry_app-service-configurable_main [Pipeline] fileExists [Pipeline] sh 22:10:01 + make test 22:10:01 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:10:11 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:10:11 CGO_ENABLED=1 go vet ./... 22:10:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:10:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:10:13 ./bin/test-attribution-txt.sh [Pipeline] echo 22:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:10:13 $ docker stop --time=1 cf32d3bfa6c9ab7946bc3267eed83cc2efe423cd28637419facc5d72630dce5c 22:10:15 $ docker rm -f cf32d3bfa6c9ab7946bc3267eed83cc2efe423cd28637419facc5d72630dce5c [Pipeline] // withDockerContainer [Pipeline] sh 22:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:10:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:10:16 + ls -al . 22:10:16 total 176 22:10:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:10 . 22:10:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:09 .. 22:10:16 -rw-rw-r-- 1 jenkins jenkins 119 Sep 22 22:09 .dockerignore 22:10:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:09 .git 22:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:09 .github 22:10:16 -rw-rw-r-- 1 jenkins jenkins 171 Sep 22 22:09 .gitignore 22:10:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:09 .semver 22:10:16 -rw-rw-r-- 1 jenkins jenkins 9207 Sep 22 22:09 Attribution.txt 22:10:16 -rw-rw-r-- 1 jenkins jenkins 27269 Sep 22 22:09 CHANGELOG.md 22:10:16 -rw-rw-r-- 1 jenkins jenkins 2146 Sep 22 22:09 Dockerfile 22:10:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:09 GOVERNANCE.md 22:10:16 -rw-rw-r-- 1 jenkins jenkins 688 Sep 22 22:09 Jenkinsfile 22:10:16 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 22 22:09 LICENSE 22:10:16 -rw-rw-r-- 1 jenkins jenkins 618 Sep 22 22:09 OWNERS.md 22:10:16 -rw-rw-r-- 1 jenkins jenkins 4369 Sep 22 22:09 README.md 22:10:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 22:09 VERSION 22:10:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:09 bin 22:10:16 -rw-r--r-- 1 jenkins jenkins 10 Sep 22 22:10 coverage.out 22:10:16 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 22 22:09 go.mod 22:10:16 -rw-rw-r-- 1 jenkins jenkins 37381 Sep 22 22:09 go.sum 22:10:16 -rw-rw-r-- 1 jenkins jenkins 1949 Sep 22 22:09 main.go 22:10:16 -rw-rw-r-- 1 jenkins jenkins 2185 Sep 22 22:09 makefile 22:10:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:09 res 22:10:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:16 + 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=1230c23662baaf085523f10f0e3e516ed8431cf7 --label arch=amd64 --label version=2.3.0-dev.25 . 22:10:16 Sending build context to Docker daemon 3.129MB 22:10:16 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 22:10:16 Step 2/28 : FROM ${BASE} AS builder 22:10:16 ---> a262c6e4f298 22:10:16 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:10:16 ---> Running in 75cc2c3964b6 22:10:17 Removing intermediate container 75cc2c3964b6 22:10:17 ---> b1ed50333b0d 22:10:17 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 22:10:17 ---> Running in 6b115e9ff9c4 22:10:17 Removing intermediate container 6b115e9ff9c4 22:10:17 ---> 7ffeaa65c67c 22:10:17 Step 5/28 : ARG ADD_BUILD_TAGS="" 22:10:17 ---> Running in feb7d236946d 22:10:17 Removing intermediate container feb7d236946d 22:10:17 ---> 82cbab79f13d 22:10:17 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:10:17 ---> Running in 6226640b7637 22:10:17 Removing intermediate container 6226640b7637 22:10:17 ---> a5db026f9a48 22:10:17 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:10:17 ---> Running in aa2557415678 22:10:18 Removing intermediate container aa2557415678 22:10:18 ---> fdef96e841f3 22:10:18 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:10:18 ---> Running in ccbdee1f57b0 22:10:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:10:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:10:19 OK: 211 MiB in 51 packages 22:10:20 Removing intermediate container ccbdee1f57b0 22:10:20 ---> 51c95f223594 22:10:20 Step 9/28 : WORKDIR /app 22:10:20 ---> Running in f9f61164a698 22:10:20 Removing intermediate container f9f61164a698 22:10:20 ---> 35a76c77598f 22:10:20 Step 10/28 : COPY go.mod vendor* ./ 22:10:20 ---> e4b1369c7503 22:10:20 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:20 ---> Running in 593c0f75d88e 22:10:21 Removing intermediate container 593c0f75d88e 22:10:21 ---> 16dc125a0e00 22:10:21 Step 12/28 : COPY . . 22:10:21 ---> 59eca602358a 22:10:21 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:21 ---> Running in c5c15b85a506 22:10:21 Removing intermediate container c5c15b85a506 22:10:21 ---> 03a561a12d88 22:10:21 Step 14/28 : RUN $MAKE 22:10:21 ---> Running in 0c54cc17042d 22:10:21 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:10:44 Removing intermediate container 0c54cc17042d 22:10:44 ---> 5edcba61df5a 22:10:44 Step 15/28 : FROM alpine:3.16 22:10:44 3.16: Pulling from library/alpine 22:10:44 213ec9aee27d: Pulling fs layer 22:10:44 213ec9aee27d: Download complete 22:10:44 213ec9aee27d: Pull complete 22:10:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:10:44 Status: Downloaded newer image for alpine:3.16 22:10:44 ---> 9c6f07244728 22:10:44 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:10:44 ---> Running in 6da81da8a24e 22:10:44 Removing intermediate container 6da81da8a24e 22:10:44 ---> f9b6bd8fa48d 22:10:44 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 22:10:44 ---> Running in a88b722386f7 22:10:44 Removing intermediate container a88b722386f7 22:10:44 ---> 6a98896c7b44 22:10:44 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:10:44 ---> Running in 86aa8d600395 22:10:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:10:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:10:44 (1/7) Installing ca-certificates (20220614-r0) 22:10:44 (2/7) Installing dumb-init (1.2.5-r1) 22:10:44 (3/7) Installing libgcc (11.2.1_git20220219-r2) 22:10:44 (4/7) Installing libsodium (1.0.18-r0) 22:10:44 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 22:10:44 (6/7) Installing libzmq (4.3.4-r0) 22:10:44 (7/7) Installing zeromq (4.3.4-r0) 22:10:44 Executing busybox-1.35.0-r17.trigger 22:10:44 Executing ca-certificates-20220614-r0.trigger 22:10:44 OK: 9 MiB in 21 packages 22:10:44 Removing intermediate container 86aa8d600395 22:10:44 ---> b01accb28158 22:10:44 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:10:44 ---> f11c3015e97d 22:10:44 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 22:10:44 ---> 07de1ac97180 22:10:44 Step 21/28 : COPY --from=builder /app/res/ /res/ 22:10:44 ---> 713069a7281c 22:10:44 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:10:44 ---> 61915425d86e 22:10:44 Step 23/28 : EXPOSE 48095 22:10:44 ---> Running in a32ae173a0f2 22:10:44 Removing intermediate container a32ae173a0f2 22:10:44 ---> 3a2931d196c6 22:10:44 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 22:10:44 ---> Running in 7775b31dec4f 22:10:44 Removing intermediate container 7775b31dec4f 22:10:44 ---> 7cd59ec06e60 22:10:44 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:10:44 ---> Running in cde063381d49 22:10:45 Removing intermediate container cde063381d49 22:10:45 ---> a79ae8fe2bd8 22:10:45 Step 26/28 : LABEL arch=amd64 22:10:45 ---> Running in f7c3c76abc3a 22:10:45 Removing intermediate container f7c3c76abc3a 22:10:45 ---> eb9e7f0eff2d 22:10:45 Step 27/28 : LABEL git_sha=1230c23662baaf085523f10f0e3e516ed8431cf7 22:10:45 ---> Running in 2b2223c009b1 22:10:45 Removing intermediate container 2b2223c009b1 22:10:45 ---> e5c9848a6ea0 22:10:45 Step 28/28 : LABEL version=2.3.0-dev.25 22:10:45 ---> Running in bc0b35091aed 22:10:45 Removing intermediate container bc0b35091aed 22:10:45 ---> 401334653b27 22:10:45 [Warning] One or more build-args [ARCH] were not consumed 22:10:45 Successfully built 401334653b27 22:10:45 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 22:10:45 provisioning config files... 22:10:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config17411295353105966830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:45 ---> docker-login.sh 22:10:45 nexus3.edgexfoundry.org:10001 22:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:45 Configure a credential helper to remove this warning. See 22:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:45 22:10:45 Login Succeeded 22:10:45 nexus3.edgexfoundry.org:10002 22:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:45 Configure a credential helper to remove this warning. See 22:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:45 22:10:45 Login Succeeded 22:10:45 nexus3.edgexfoundry.org:10003 22:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:45 Configure a credential helper to remove this warning. See 22:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:45 22:10:45 Login Succeeded 22:10:45 nexus3.edgexfoundry.org:10004 22:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:45 Configure a credential helper to remove this warning. See 22:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:45 22:10:45 Login Succeeded 22:10:45 docker.io 22:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:46 Configure a credential helper to remove this warning. See 22:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:46 22:10:46 Login Succeeded 22:10:46 ---> docker-login.sh ends [Pipeline] } 22:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:10:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:46 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 22:10:46 1230c23662baaf085523f10f0e3e516ed8431cf7 22:10:46 latest 22:10:46 2.3.0-dev.25 22:10:46 1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:10:46 main 22:10:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:46 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:47 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7 22:10:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:10:47 468291a5c09a: Preparing 22:10:47 8f23a339ad0f: Preparing 22:10:47 afd2a4bef3b1: Preparing 22:10:47 3e0e23ac8a90: Preparing 22:10:47 2d3357ca8c81: Preparing 22:10:47 994393dc58e7: Preparing 22:10:47 994393dc58e7: Waiting 22:10:47 3e0e23ac8a90: Pushed 22:10:47 8f23a339ad0f: Pushed 22:10:47 afd2a4bef3b1: Pushed 22:10:47 994393dc58e7: Layer already exists 22:10:47 2d3357ca8c81: Pushed 22:10:49 468291a5c09a: Pushed 22:10:49 1230c23662baaf085523f10f0e3e516ed8431cf7: digest: sha256:a70f84a4cd2be62116c3cc3f5cb6d3e932ac86389ea6c7d4364b163d775efe50 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:50 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:50 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 22:10:50 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:10:50 468291a5c09a: Preparing 22:10:50 8f23a339ad0f: Preparing 22:10:50 afd2a4bef3b1: Preparing 22:10:50 3e0e23ac8a90: Preparing 22:10:50 2d3357ca8c81: Preparing 22:10:50 994393dc58e7: Preparing 22:10:50 994393dc58e7: Waiting 22:10:50 2d3357ca8c81: Layer already exists 22:10:50 3e0e23ac8a90: Layer already exists 22:10:50 468291a5c09a: Layer already exists 22:10:50 afd2a4bef3b1: Layer already exists 22:10:50 8f23a339ad0f: Layer already exists 22:10:50 994393dc58e7: Layer already exists 22:10:50 latest: digest: sha256:a70f84a4cd2be62116c3cc3f5cb6d3e932ac86389ea6c7d4364b163d775efe50 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:50 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:51 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.25 22:10:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:10:51 468291a5c09a: Preparing 22:10:51 8f23a339ad0f: Preparing 22:10:51 afd2a4bef3b1: Preparing 22:10:51 3e0e23ac8a90: Preparing 22:10:51 2d3357ca8c81: Preparing 22:10:51 994393dc58e7: Preparing 22:10:51 994393dc58e7: Waiting 22:10:51 468291a5c09a: Layer already exists 22:10:51 2d3357ca8c81: Layer already exists 22:10:51 afd2a4bef3b1: Layer already exists 22:10:51 3e0e23ac8a90: Layer already exists 22:10:51 8f23a339ad0f: Layer already exists 22:10:51 994393dc58e7: Layer already exists 22:10:51 2.3.0-dev.25: digest: sha256:a70f84a4cd2be62116c3cc3f5cb6d3e932ac86389ea6c7d4364b163d775efe50 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:51 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:51 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:10:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:10:51 468291a5c09a: Preparing 22:10:51 8f23a339ad0f: Preparing 22:10:51 afd2a4bef3b1: Preparing 22:10:51 3e0e23ac8a90: Preparing 22:10:51 2d3357ca8c81: Preparing 22:10:51 994393dc58e7: Preparing 22:10:51 994393dc58e7: Waiting 22:10:51 afd2a4bef3b1: Layer already exists 22:10:51 2d3357ca8c81: Layer already exists 22:10:51 3e0e23ac8a90: Layer already exists 22:10:51 8f23a339ad0f: Layer already exists 22:10:51 468291a5c09a: Layer already exists 22:10:51 994393dc58e7: Layer already exists 22:10:51 1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25: digest: sha256:a70f84a4cd2be62116c3cc3f5cb6d3e932ac86389ea6c7d4364b163d775efe50 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:52 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:52 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 22:10:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 22:10:52 468291a5c09a: Preparing 22:10:52 8f23a339ad0f: Preparing 22:10:52 afd2a4bef3b1: Preparing 22:10:52 3e0e23ac8a90: Preparing 22:10:52 2d3357ca8c81: Preparing 22:10:52 994393dc58e7: Preparing 22:10:52 994393dc58e7: Waiting 22:10:52 468291a5c09a: Layer already exists 22:10:52 8f23a339ad0f: Layer already exists 22:10:52 2d3357ca8c81: Layer already exists 22:10:52 3e0e23ac8a90: Layer already exists 22:10:52 afd2a4bef3b1: Layer already exists 22:10:52 994393dc58e7: Layer already exists 22:10:52 main: digest: sha256:a70f84a4cd2be62116c3cc3f5cb6d3e932ac86389ea6c7d4364b163d775efe50 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:10:52 ===================================================== [Pipeline] echo 22:10:52 taggedImages: 22:10:52 - nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7 22:10:52 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 22:10:52 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.3.0-dev.25 22:10:52 - nexus3.edgexfoundry.org:10004/app-service-configurable:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:10:52 - 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 22:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:52 22:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:53 latest: Pulling from edgex-lftools-log-publisher 22:10:53 5eb5b503b376: Pulling fs layer 22:10:53 5c69ac0246d0: Pulling fs layer 22:10:53 ec43610c2a17: Pulling fs layer 22:10:53 3a2ae6a8a46f: Pulling fs layer 22:10:53 33b1e0a273af: Pulling fs layer 22:10:53 5d3b04190fa2: Pulling fs layer 22:10:53 2f39f015ded8: Pulling fs layer 22:10:53 3a2ae6a8a46f: Waiting 22:10:53 5d3b04190fa2: Waiting 22:10:53 2f39f015ded8: Waiting 22:10:53 5c69ac0246d0: Download complete 22:10:53 3a2ae6a8a46f: Download complete 22:10:53 33b1e0a273af: Verifying Checksum 22:10:53 33b1e0a273af: Download complete 22:10:53 5d3b04190fa2: Download complete 22:10:53 ec43610c2a17: Verifying Checksum 22:10:53 ec43610c2a17: Download complete 22:10:53 5eb5b503b376: Download complete 22:10:53 2f39f015ded8: Download complete 22:10:54 5eb5b503b376: Pull complete 22:10:54 5c69ac0246d0: Pull complete 22:10:54 ec43610c2a17: Pull complete 22:10:54 3a2ae6a8a46f: Pull complete 22:10:54 33b1e0a273af: Pull complete 22:10:54 5d3b04190fa2: Pull complete 22:10:59 2f39f015ded8: Pull complete 22:10:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:59 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:10:59 $ 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 22:11:00 $ docker top b328f2b4541b5e399dd772b12874d3b4e00bcc9eb9fc476d42db30508e63e064 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:01 ---> job-cost.sh 22:11:01 lf-activate-venv: SKIPPING 22:11:01 INFO: No Stack... 22:11:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:11:02 INFO: Archiving Costs [Pipeline] sh 22:11:02 + cat /w/workspace/ry_app-service-configurable_main/archives/cost.csv 22:11:02 + cut -d, -f6 [Pipeline] lock 22:11:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] 22:11:02 Resource [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] did not exist. Created. 22:11:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:11:02 + echo total: 0.2199999988079071 [Pipeline] stash 22:11:02 Stashed 1 file(s) [Pipeline] } 22:11:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] [Pipeline] // lock [Pipeline] } 22:11:02 $ docker stop --time=1 b328f2b4541b5e399dd772b12874d3b4e00bcc9eb9fc476d42db30508e63e064 22:11:04 $ docker rm -f b328f2b4541b5e399dd772b12874d3b4e00bcc9eb9fc476d42db30508e63e064 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:11:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-662 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 22:11:48 Running in /w/workspace/app-service-configurable/104 [Pipeline] { [Pipeline] checkout 22:11:48 Selected Git installation does not exist. Using Default 22:11:48 The recommended git tool is: NONE 22:11:54 using credential edgex-jenkins-ssh 22:11:54 Cloning the remote Git repository 22:11:54 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:11:54 > git init /w/workspace/app-service-configurable/104 # timeout=10 22:11:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:11:54 > git --version # timeout=10 22:11:54 > git --version # 'git version 2.25.1' 22:11:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:11:54 Verifying host key using known hosts file 22:11:54 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. 22:11:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:11:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:11:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:11:57 Avoid second fetch 22:11:57 Checking out Revision 1230c23662baaf085523f10f0e3e516ed8431cf7 (main) 22:11:57 Commit message: "refactor: Adjust NATS Subject to be for all data not just Events (#469)" 22:11:57 > git config core.sparsecheckout # timeout=10 22:11:57 > git checkout -f 1230c23662baaf085523f10f0e3e516ed8431cf7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:11:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:11:58 Dload Upload Total Spent Left Speed 22:11:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh 22:11:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:11:59 + sudo tee /etc/docker/daemon.new 22:11:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:11:59 { 22:11:59 "registry-mirrors": [ 22:11:59 "https://nexus3.edgexfoundry.org:10001" 22:11:59 ], 22:11:59 "bip": "10.250.0.254/24", 22:11:59 "hosts": [ 22:11:59 "tcp://0.0.0.0:5555", 22:11:59 "unix:///var/run/docker.sock" 22:11:59 ], 22:11:59 "mtu": 1458, 22:11:59 "selinux-enabled": true, 22:11:59 "seccomp-profile": "/etc/docker/seccomp.json" 22:11:59 } [Pipeline] sh 22:11:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:18 provisioning config files... 22:12:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/104@tmp/config13541992576339619542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:18 ---> docker-login.sh 22:12:18 nexus3.edgexfoundry.org:10001 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 nexus3.edgexfoundry.org:10002 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 nexus3.edgexfoundry.org:10003 22:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:20 Configure a credential helper to remove this warning. See 22:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:20 22:12:20 Login Succeeded 22:12:20 nexus3.edgexfoundry.org:10004 22:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:20 Configure a credential helper to remove this warning. See 22:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:20 22:12:20 Login Succeeded 22:12:20 docker.io 22:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:21 Configure a credential helper to remove this warning. See 22:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:21 22:12:21 Login Succeeded 22:12:21 ---> docker-login.sh ends [Pipeline] } 22:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:21 ========================================================= 22:12:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:12:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:21 + 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 . 22:12:21 Sending build context to Docker daemon 207.9kB 22:12:22 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:12:22 Step 2/14 : FROM ${BASE} AS builder 22:12:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:12:22 b3c136eddcbf: Pulling fs layer 22:12:22 c0a3192eca97: Pulling fs layer 22:12:22 a050256f5b6f: Pulling fs layer 22:12:22 656be50a0ddc: Pulling fs layer 22:12:22 2bbca73fdf42: Pulling fs layer 22:12:22 46d945488cbd: Pulling fs layer 22:12:22 8a5474983e97: Pulling fs layer 22:12:22 329c88fbcd65: Pulling fs layer 22:12:22 46d945488cbd: Waiting 22:12:22 656be50a0ddc: Waiting 22:12:22 2bbca73fdf42: Waiting 22:12:22 8a5474983e97: Waiting 22:12:22 329c88fbcd65: Waiting 22:12:22 a050256f5b6f: Verifying Checksum 22:12:22 a050256f5b6f: Download complete 22:12:22 c0a3192eca97: Verifying Checksum 22:12:22 c0a3192eca97: Download complete 22:12:22 2bbca73fdf42: Verifying Checksum 22:12:22 2bbca73fdf42: Download complete 22:12:22 46d945488cbd: Verifying Checksum 22:12:22 46d945488cbd: Download complete 22:12:22 b3c136eddcbf: Verifying Checksum 22:12:22 b3c136eddcbf: Download complete 22:12:23 b3c136eddcbf: Pull complete 22:12:23 329c88fbcd65: Verifying Checksum 22:12:23 329c88fbcd65: Download complete 22:12:23 c0a3192eca97: Pull complete 22:12:24 a050256f5b6f: Pull complete 22:12:24 8a5474983e97: Verifying Checksum 22:12:24 8a5474983e97: Download complete 22:12:25 656be50a0ddc: Verifying Checksum 22:12:25 656be50a0ddc: Download complete 22:12:37 656be50a0ddc: Pull complete 22:12:37 2bbca73fdf42: Pull complete 22:12:37 46d945488cbd: Pull complete 22:12:44 8a5474983e97: Pull complete 22:12:45 329c88fbcd65: Pull complete 22:12:45 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:12:45 ---> ff4287adb874 22:12:45 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:12:47 ---> Running in 2e6373580ea5 22:12:47 Removing intermediate container 2e6373580ea5 22:12:47 ---> 97d1f7aa56dc 22:12:47 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 22:12:47 ---> Running in d78bf625744c 22:12:47 Removing intermediate container d78bf625744c 22:12:47 ---> e45bfd5fe8f8 22:12:47 Step 5/14 : ARG ADD_BUILD_TAGS="" 22:12:47 ---> Running in 0d119ab725c2 22:12:48 Removing intermediate container 0d119ab725c2 22:12:48 ---> 4ea4195c5812 22:12:48 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:12:48 ---> Running in c707f0a66387 22:12:48 Removing intermediate container c707f0a66387 22:12:48 ---> ee52d6db64ec 22:12:48 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:12:48 ---> Running in a5e477ec2e13 22:12:50 Removing intermediate container a5e477ec2e13 22:12:50 ---> 6c6ef47ae7bf 22:12:50 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:50 ---> Running in 26be410c1b3b 22:12:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:12:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:12:53 OK: 221 MiB in 51 packages 22:12:54 Removing intermediate container 26be410c1b3b 22:12:54 ---> 22611f75f1a7 22:12:54 Step 9/14 : WORKDIR /app 22:12:54 ---> Running in da982bb17ac9 22:12:54 Removing intermediate container da982bb17ac9 22:12:54 ---> 1dd9d88d9ea4 22:12:54 Step 10/14 : COPY go.mod vendor* ./ 22:12:54 ---> 2af583f8a615 22:12:54 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:54 ---> Running in 78d537c6c576 22:13:51 Removing intermediate container 78d537c6c576 22:13:51 ---> dccd96a19a68 22:13:51 Step 12/14 : COPY . . 22:13:51 ---> 914700f6da8a 22:13:51 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:51 ---> Running in 46e7ceeeb73e 22:13:51 Removing intermediate container 46e7ceeeb73e 22:13:51 ---> 2ebfe300f6ac 22:13:51 Step 14/14 : RUN $MAKE 22:13:51 ---> Running in 79fa4f903a44 22:13:51 noop 22:13:51 Removing intermediate container 79fa4f903a44 22:13:51 ---> e9c716a9e14f 22:13:51 Successfully built e9c716a9e14f 22:13:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:51 + docker inspect -f . ci-base-image-arm64 22:13:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:51 prd-ubuntu20.04-docker-arm64-4c-16g-662 does not seem to be running inside a container 22:13:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/104 -v /w/workspace/app-service-configurable/104:/w/workspace/app-service-configurable/104:rw,z -v /w/workspace/app-service-configurable/104@tmp:/w/workspace/app-service-configurable/104@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-arm64 cat 22:13:53 $ docker top 1a2cdfbc4cf3f5a7166fc51ab89c8c2c86973acd37030914dd300773c6b686d9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:54 + go version 22:13:54 go version go1.18.3 linux/arm64 [Pipeline] } 22:13:54 $ docker stop --time=1 1a2cdfbc4cf3f5a7166fc51ab89c8c2c86973acd37030914dd300773c6b686d9 22:13:55 $ docker rm -f 1a2cdfbc4cf3f5a7166fc51ab89c8c2c86973acd37030914dd300773c6b686d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:56 + docker inspect -f . ci-base-image-arm64 22:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:56 prd-ubuntu20.04-docker-arm64-4c-16g-662 does not seem to be running inside a container 22:13:56 $ 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/104 -v /w/workspace/app-service-configurable/104:/w/workspace/app-service-configurable/104:rw,z -v /w/workspace/app-service-configurable/104@tmp:/w/workspace/app-service-configurable/104@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-arm64 cat 22:13:57 $ docker top c25e87aef2f8df5805cb6298606ceacbf6ae316f432b5537602a930ad564cfc5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:58 + git config --global --add safe.directory /w/workspace/app-service-configurable/104 [Pipeline] fileExists [Pipeline] sh 22:13:59 + make test 22:13:59 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:15:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:15:35 CGO_ENABLED=1 go vet ./... 22:15:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:15:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:15:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:15:46 $ docker stop --time=1 c25e87aef2f8df5805cb6298606ceacbf6ae316f432b5537602a930ad564cfc5 22:15:47 $ docker rm -f c25e87aef2f8df5805cb6298606ceacbf6ae316f432b5537602a930ad564cfc5 [Pipeline] // withDockerContainer [Pipeline] sh 22:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:15:48 Warning: overwriting stash ‘coverage-report’ 22:15:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:15:49 + ls -al . 22:15:49 total 172 22:15:49 drwxrwxr-x 7 jenkins jenkins 4096 Sep 22 22:14 . 22:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:11 .. 22:15:49 -rw-rw-r-- 1 jenkins jenkins 119 Sep 22 22:11 .dockerignore 22:15:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:11 .git 22:15:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:11 .github 22:15:49 -rw-rw-r-- 1 jenkins jenkins 171 Sep 22 22:11 .gitignore 22:15:49 -rw-rw-r-- 1 jenkins jenkins 9207 Sep 22 22:11 Attribution.txt 22:15:49 -rw-rw-r-- 1 jenkins jenkins 27269 Sep 22 22:11 CHANGELOG.md 22:15:49 -rw-rw-r-- 1 jenkins jenkins 2146 Sep 22 22:11 Dockerfile 22:15:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:11 GOVERNANCE.md 22:15:49 -rw-rw-r-- 1 jenkins jenkins 688 Sep 22 22:11 Jenkinsfile 22:15:49 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 22 22:11 LICENSE 22:15:49 -rw-rw-r-- 1 jenkins jenkins 618 Sep 22 22:11 OWNERS.md 22:15:49 -rw-rw-r-- 1 jenkins jenkins 4369 Sep 22 22:11 README.md 22:15:49 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 22:09 VERSION 22:15:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:11 bin 22:15:49 -rw-r--r-- 1 jenkins jenkins 10 Sep 22 22:14 coverage.out 22:15:49 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 22 22:11 go.mod 22:15:49 -rw-rw-r-- 1 jenkins jenkins 37381 Sep 22 22:11 go.sum 22:15:49 -rw-rw-r-- 1 jenkins jenkins 1949 Sep 22 22:11 main.go 22:15:49 -rw-rw-r-- 1 jenkins jenkins 2185 Sep 22 22:11 makefile 22:15:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:11 res 22:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:11 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:50 + 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=1230c23662baaf085523f10f0e3e516ed8431cf7 --label arch=arm64 --label version=2.3.0-dev.25 . 22:15:50 Sending build context to Docker daemon 208.9kB 22:15:50 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 22:15:50 Step 2/28 : FROM ${BASE} AS builder 22:15:50 ---> e9c716a9e14f 22:15:50 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:15:50 ---> Running in ffadf8eb4a89 22:15:50 Removing intermediate container ffadf8eb4a89 22:15:50 ---> da69427badc6 22:15:50 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 22:15:51 ---> Running in 783ac83ad72a 22:15:51 Removing intermediate container 783ac83ad72a 22:15:51 ---> f4c10bbff1ca 22:15:51 Step 5/28 : ARG ADD_BUILD_TAGS="" 22:15:51 ---> Running in 24fafe9a8e26 22:15:51 Removing intermediate container 24fafe9a8e26 22:15:51 ---> ea2c694b02d9 22:15:51 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:15:51 ---> Running in cf605316a5b5 22:15:52 Removing intermediate container cf605316a5b5 22:15:52 ---> e6aa8f72843c 22:15:52 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:15:52 ---> Running in 07caca142a19 22:15:53 Removing intermediate container 07caca142a19 22:15:53 ---> 87b60da084ad 22:15:53 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:53 ---> Running in 761c25654c74 22:15:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:15:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:15:56 OK: 221 MiB in 51 packages 22:15:57 Removing intermediate container 761c25654c74 22:15:57 ---> b0257847fbe1 22:15:57 Step 9/28 : WORKDIR /app 22:15:57 ---> Running in 1b90d5af19f8 22:15:57 Removing intermediate container 1b90d5af19f8 22:15:57 ---> fcd5cddaae94 22:15:57 Step 10/28 : COPY go.mod vendor* ./ 22:15:58 ---> 10d6c8935bc9 22:15:58 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:58 ---> Running in 1abc7b4d0455 22:16:00 Removing intermediate container 1abc7b4d0455 22:16:00 ---> 50a9b3b8bef0 22:16:00 Step 12/28 : COPY . . 22:16:00 ---> 9297b2d688da 22:16:00 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:00 ---> Running in 2b207e629d85 22:16:00 Removing intermediate container 2b207e629d85 22:16:00 ---> 4a5074827cca 22:16:00 Step 14/28 : RUN $MAKE 22:16:01 ---> Running in c24440c6a82b 22:16:02 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:18:53 Removing intermediate container c24440c6a82b 22:18:53 ---> 721deb86ea85 22:18:53 Step 15/28 : FROM alpine:3.16 22:18:53 3.16: Pulling from library/alpine 22:18:53 9b18e9b68314: Pulling fs layer 22:18:53 9b18e9b68314: Verifying Checksum 22:18:53 9b18e9b68314: Download complete 22:18:53 9b18e9b68314: Pull complete 22:18:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:18:53 Status: Downloaded newer image for alpine:3.16 22:18:53 ---> a6215f271958 22:18:53 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:18:53 ---> Running in 11c5a206588e 22:18:53 Removing intermediate container 11c5a206588e 22:18:53 ---> 01cc04f86ded 22:18:53 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 22:18:53 ---> Running in 8f9962d966bb 22:18:53 Removing intermediate container 8f9962d966bb 22:18:53 ---> c91dd7a9be68 22:18:53 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:18:53 ---> Running in e4f87fd14e0c 22:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:18:53 (1/7) Installing ca-certificates (20220614-r0) 22:18:53 (2/7) Installing dumb-init (1.2.5-r1) 22:18:53 (3/7) Installing libgcc (11.2.1_git20220219-r2) 22:18:53 (4/7) Installing libsodium (1.0.18-r0) 22:18:53 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 22:18:53 (6/7) Installing libzmq (4.3.4-r0) 22:18:53 (7/7) Installing zeromq (4.3.4-r0) 22:18:53 Executing busybox-1.35.0-r17.trigger 22:18:53 Executing ca-certificates-20220614-r0.trigger 22:18:53 OK: 9 MiB in 21 packages 22:18:54 Removing intermediate container e4f87fd14e0c 22:18:54 ---> 21fdb5d52ba9 22:18:54 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:18:55 ---> 6c35877d40f8 22:18:55 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 22:18:56 ---> b23495be9135 22:18:56 Step 21/28 : COPY --from=builder /app/res/ /res/ 22:18:56 ---> 381662f3b688 22:18:56 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:18:58 ---> b9dd88ac7bf6 22:18:58 Step 23/28 : EXPOSE 48095 22:18:58 ---> Running in 70be1a0b890b 22:18:58 Removing intermediate container 70be1a0b890b 22:18:58 ---> e24126c20c68 22:18:58 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 22:18:58 ---> Running in 67fa77365395 22:18:58 Removing intermediate container 67fa77365395 22:18:58 ---> 06ec7fd108e1 22:18:58 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:18:58 ---> Running in eb1324c75aa0 22:18:59 Removing intermediate container eb1324c75aa0 22:18:59 ---> e983a58dabb1 22:18:59 Step 26/28 : LABEL arch=arm64 22:18:59 ---> Running in fa018d606e7d 22:18:59 Removing intermediate container fa018d606e7d 22:18:59 ---> b0bb0061ea79 22:18:59 Step 27/28 : LABEL git_sha=1230c23662baaf085523f10f0e3e516ed8431cf7 22:18:59 ---> Running in 5230b10b1968 22:18:59 Removing intermediate container 5230b10b1968 22:18:59 ---> c85771b086d3 22:18:59 Step 28/28 : LABEL version=2.3.0-dev.25 22:18:59 ---> Running in 82fbe9c8f3f4 22:19:00 Removing intermediate container 82fbe9c8f3f4 22:19:00 ---> 73d868a9a787 22:19:00 [Warning] One or more build-args [ARCH] were not consumed 22:19:00 Successfully built 73d868a9a787 22:19:00 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 22:19:00 provisioning config files... 22:19:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/104@tmp/config17261708990665694419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:00 ---> docker-login.sh 22:19:00 nexus3.edgexfoundry.org:10001 22:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:00 Configure a credential helper to remove this warning. See 22:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:00 22:19:00 Login Succeeded 22:19:00 nexus3.edgexfoundry.org:10002 22:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:01 Configure a credential helper to remove this warning. See 22:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:01 22:19:01 Login Succeeded 22:19:01 nexus3.edgexfoundry.org:10003 22:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:01 Configure a credential helper to remove this warning. See 22:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:01 22:19:01 Login Succeeded 22:19:01 nexus3.edgexfoundry.org:10004 22:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:02 Configure a credential helper to remove this warning. See 22:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:02 22:19:02 Login Succeeded 22:19:02 docker.io 22:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:02 Configure a credential helper to remove this warning. See 22:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:02 22:19:02 Login Succeeded 22:19:02 ---> docker-login.sh ends [Pipeline] } 22:19:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:02 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 22:19:02 1230c23662baaf085523f10f0e3e516ed8431cf7 22:19:02 latest 22:19:02 2.3.0-dev.25 22:19:02 1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:19:02 main 22:19:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:03 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:03 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7 22:19:03 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:19:03 49e411f18888: Preparing 22:19:03 b572715e22ea: Preparing 22:19:03 735ad116087a: Preparing 22:19:03 5098428990aa: Preparing 22:19:03 031b6497fa8a: Preparing 22:19:03 5d3e392a13a0: Preparing 22:19:03 5d3e392a13a0: Waiting 22:19:03 5098428990aa: Pushed 22:19:03 b572715e22ea: Pushed 22:19:03 735ad116087a: Pushed 22:19:03 5d3e392a13a0: Layer already exists 22:19:04 031b6497fa8a: Pushed 22:19:10 49e411f18888: Pushed 22:19:10 1230c23662baaf085523f10f0e3e516ed8431cf7: digest: sha256:912e151dd091b3f58bbb037010571f5b666eb2eff539834749967bfdf1d35286 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:10 + 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 22:19:10 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 22:19:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:19:10 49e411f18888: Preparing 22:19:10 b572715e22ea: Preparing 22:19:10 735ad116087a: Preparing 22:19:10 5098428990aa: Preparing 22:19:10 031b6497fa8a: Preparing 22:19:10 5d3e392a13a0: Preparing 22:19:10 5d3e392a13a0: Waiting 22:19:10 031b6497fa8a: Layer already exists 22:19:10 5098428990aa: Layer already exists 22:19:10 49e411f18888: Layer already exists 22:19:10 735ad116087a: Layer already exists 22:19:10 b572715e22ea: Layer already exists 22:19:10 5d3e392a13a0: Layer already exists 22:19:11 latest: digest: sha256:912e151dd091b3f58bbb037010571f5b666eb2eff539834749967bfdf1d35286 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:11 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:11 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.25 22:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:19:11 49e411f18888: Preparing 22:19:11 b572715e22ea: Preparing 22:19:11 735ad116087a: Preparing 22:19:11 5098428990aa: Preparing 22:19:11 031b6497fa8a: Preparing 22:19:11 5d3e392a13a0: Preparing 22:19:11 5d3e392a13a0: Waiting 22:19:11 5098428990aa: Layer already exists 22:19:11 b572715e22ea: Layer already exists 22:19:11 49e411f18888: Layer already exists 22:19:11 735ad116087a: Layer already exists 22:19:11 031b6497fa8a: Layer already exists 22:19:11 5d3e392a13a0: Layer already exists 22:19:12 2.3.0-dev.25: digest: sha256:912e151dd091b3f58bbb037010571f5b666eb2eff539834749967bfdf1d35286 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:12 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:12 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:19:12 49e411f18888: Preparing 22:19:12 b572715e22ea: Preparing 22:19:12 735ad116087a: Preparing 22:19:12 5098428990aa: Preparing 22:19:12 031b6497fa8a: Preparing 22:19:12 5d3e392a13a0: Preparing 22:19:12 5d3e392a13a0: Waiting 22:19:12 b572715e22ea: Layer already exists 22:19:12 735ad116087a: Layer already exists 22:19:12 49e411f18888: Layer already exists 22:19:12 5098428990aa: Layer already exists 22:19:12 031b6497fa8a: Layer already exists 22:19:12 5d3e392a13a0: Layer already exists 22:19:13 1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25: digest: sha256:912e151dd091b3f58bbb037010571f5b666eb2eff539834749967bfdf1d35286 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:13 + 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 22:19:13 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 22:19:13 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 22:19:13 49e411f18888: Preparing 22:19:13 b572715e22ea: Preparing 22:19:13 735ad116087a: Preparing 22:19:13 5098428990aa: Preparing 22:19:13 031b6497fa8a: Preparing 22:19:13 5d3e392a13a0: Preparing 22:19:13 5d3e392a13a0: Waiting 22:19:13 49e411f18888: Layer already exists 22:19:13 031b6497fa8a: Layer already exists 22:19:13 b572715e22ea: Layer already exists 22:19:13 735ad116087a: Layer already exists 22:19:13 5098428990aa: Layer already exists 22:19:13 5d3e392a13a0: Layer already exists 22:19:14 main: digest: sha256:912e151dd091b3f58bbb037010571f5b666eb2eff539834749967bfdf1d35286 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:14 ===================================================== [Pipeline] echo 22:19:14 taggedImages: 22:19:14 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7 22:19:14 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 22:19:14 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.3.0-dev.25 22:19:14 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:1230c23662baaf085523f10f0e3e516ed8431cf7-2.3.0-dev.25 22:19:14 - 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 22:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:14 22:19:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:14 arm64: Pulling from edgex-lftools-log-publisher 22:19:14 8998bd30e6a1: Pulling fs layer 22:19:14 04944245beec: Pulling fs layer 22:19:14 699f458cf7ca: Pulling fs layer 22:19:14 765212b225bb: Pulling fs layer 22:19:14 f23df028b6ca: Pulling fs layer 22:19:14 d65c8cfc05b1: Pulling fs layer 22:19:14 2437ff75d9bd: Pulling fs layer 22:19:14 f23df028b6ca: Waiting 22:19:14 d65c8cfc05b1: Waiting 22:19:14 2437ff75d9bd: Waiting 22:19:14 765212b225bb: Waiting 22:19:15 04944245beec: Verifying Checksum 22:19:15 04944245beec: Download complete 22:19:15 765212b225bb: Verifying Checksum 22:19:15 765212b225bb: Download complete 22:19:15 f23df028b6ca: Download complete 22:19:15 d65c8cfc05b1: Verifying Checksum 22:19:15 d65c8cfc05b1: Download complete 22:19:15 699f458cf7ca: Verifying Checksum 22:19:15 699f458cf7ca: Download complete 22:19:15 8998bd30e6a1: Download complete 22:19:18 2437ff75d9bd: Verifying Checksum 22:19:18 2437ff75d9bd: Download complete 22:19:19 8998bd30e6a1: Pull complete 22:19:21 04944245beec: Pull complete 22:19:22 699f458cf7ca: Pull complete 22:19:22 765212b225bb: Pull complete 22:19:23 f23df028b6ca: Pull complete 22:19:23 d65c8cfc05b1: Pull complete 22:19:38 2437ff75d9bd: Pull complete 22:19:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:19:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:38 prd-ubuntu20.04-docker-arm64-4c-16g-662 does not seem to be running inside a container 22:19:38 $ 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/104 -v /w/workspace/app-service-configurable/104:/w/workspace/app-service-configurable/104:rw,z -v /w/workspace/app-service-configurable/104@tmp:/w/workspace/app-service-configurable/104@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:arm64 cat 22:19:41 $ docker top e3692bc886f2f8398b8d2199bbff35c42204fb2f0f4c1f446d9d05639899f526 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:42 ---> job-cost.sh 22:19:42 lf-activate-venv: SKIPPING 22:19:42 INFO: No Stack... 22:19:42 INFO: Retrieving Pricing Info for: v3-standard-4 22:19:43 INFO: Archiving Costs [Pipeline] sh 22:19:44 + cat+ /w/workspace/app-service-configurable/104/archives/cost.csv 22:19:44 cut -d, -f6 [Pipeline] lock 22:19:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] 22:19:44 Resource [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] did not exist. Created. 22:19:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:44 /w/workspace/app-service-configurable/104@tmp/durable-cce6daca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:19:45 + echo total: 0.10999999940395355 [Pipeline] stash 22:19:45 Warning: overwriting stash ‘stack-cost’ 22:19:45 Stashed 1 file(s) [Pipeline] } 22:19:45 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-104-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:45 $ docker stop --time=1 e3692bc886f2f8398b8d2199bbff35c42204fb2f0f4c1f446d9d05639899f526 22:19:47 $ docker rm -f e3692bc886f2f8398b8d2199bbff35c42204fb2f0f4c1f446d9d05639899f526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:19:47 provisioning config files... 22:19:47 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config11134793730772762508tmp [Pipeline] { [Pipeline] sh 22:19:47 + set +x 22:19:47 + curl -s https://codecov.io/bash 22:19:47 + bash -s -- 22:19:47 22:19:47 _____ _ 22:19:47 / ____| | | 22:19:47 | | ___ __| | ___ ___ _____ __ 22:19:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:19:47 | |___| (_) | (_| | __/ (_| (_) \ V / 22:19:47 \_____\___/ \__,_|\___|\___\___/ \_/ 22:19:47 Bash-1.0.6 22:19:47 22:19:47 22:19:47 ==> git version 2.25.1 found 22:19:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:19:47 Release-Date: 2020-01-08 22:19:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:19:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:19:47 ==> Jenkins CI detected. 22:19:47 current dir:  /w/workspace/ry_app-service-configurable_main 22:19:47 project root: . 22:19:47 --> token set from env 22:19:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:19:47 ==> Running gcov in . (disable via -X gcov) 22:19:47 ==> Python coveragepy not found 22:19:47 ==> Searching for coverage reports in: 22:19:47 + . 22:19:47 -> Found 1 reports 22:19:47 ==> Detecting git/mercurial file structure 22:19:47 ==> Reading reports 22:19:47 + ./coverage.out bytes=10 22:19:47 ==> Appending adjustments 22:19:47 https://docs.codecov.io/docs/fixing-reports 22:19:48 + Found adjustments 22:19:48 ==> Gzipping contents 22:19:48 4.0K /tmp/codecov.8moEvA.gz 22:19:48 ==> Uploading reports 22:19:48 url: https://codecov.io 22:19:48 query: branch=main&commit=1230c23662baaf085523f10f0e3e516ed8431cf7&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 22:19:48 -> Pinging Codecov 22:19:48 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=1230c23662baaf085523f10f0e3e516ed8431cf7&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 22:19:48 -> Uploading to 22:19:48 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/A97CA9966030D2A3747ED39772930CCE/1230c23662baaf085523f10f0e3e516ed8431cf7/a82c6ff8-873a-4dfa-be99-ef290987e675.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T221948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=587d45ca784766d2f164119713919399a8558cd214357db7feda091ac5b89dee 22:19:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:19:48 Dload Upload Total Spent Left Speed 22:19:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 2596 --:--:-- --:--:-- --:--:-- 2583 100 527 0 0 100 527 0 2205 --:--:-- --:--:-- --:--:-- 2195 22:19:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] } 22:19:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:19:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:19:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:19:49 22:19:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:19:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:19:49 df9b9388f04a: Pulling fs layer 22:19:49 52dc419b0ee2: Pulling fs layer 22:19:49 25bc292e5bac: Pulling fs layer 22:19:49 114826534d7a: Pulling fs layer 22:19:49 4657fd5d0bcf: Pulling fs layer 22:19:49 6ad1cebc031e: Pulling fs layer 22:19:49 8a3aa393b2d8: Pulling fs layer 22:19:49 6ad1cebc031e: Waiting 22:19:49 114826534d7a: Waiting 22:19:49 4657fd5d0bcf: Waiting 22:19:49 8a3aa393b2d8: Waiting 22:19:49 25bc292e5bac: Verifying Checksum 22:19:49 25bc292e5bac: Download complete 22:19:49 52dc419b0ee2: Download complete 22:19:49 4657fd5d0bcf: Verifying Checksum 22:19:49 4657fd5d0bcf: Download complete 22:19:49 df9b9388f04a: Download complete 22:19:49 df9b9388f04a: Pull complete 22:19:49 6ad1cebc031e: Verifying Checksum 22:19:49 6ad1cebc031e: Download complete 22:19:49 52dc419b0ee2: Pull complete 22:19:49 25bc292e5bac: Pull complete 22:19:50 114826534d7a: Verifying Checksum 22:19:50 114826534d7a: Download complete 22:19:50 8a3aa393b2d8: Verifying Checksum 22:19:50 8a3aa393b2d8: Download complete 22:19:53 114826534d7a: Pull complete 22:19:53 4657fd5d0bcf: Pull complete 22:19:53 6ad1cebc031e: Pull complete 22:19:56 8a3aa393b2d8: Pull complete 22:19:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:19:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:56 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:19:56 $ 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 22:19:58 $ docker top 47d81e4c7bbda608e20196a79e551b5363f33cd0f7fb6309ef10cca6d5700cec -eo pid,comm [Pipeline] { [Pipeline] echo 22:19:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-service-configurable:main' [Pipeline] sh 22:19:58 + set -o pipefail 22:19:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-service-configurable:main' 22:20:05 22:20:05 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 22:20:05 22:20:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5a27cfc0-dfdd-4ec8-bbe4-aefccf3d4d74/history/f00589cd-f19d-41d1-9a4e-ef552d9b99d4 22:20:05 22:20:05 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:20:05 22:20:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:20:05 22:20:05 [Pipeline] } 22:20:05 $ docker stop --time=1 47d81e4c7bbda608e20196a79e551b5363f33cd0f7fb6309ef10cca6d5700cec 22:20:07 $ docker rm -f 47d81e4c7bbda608e20196a79e551b5363f33cd0f7fb6309ef10cca6d5700cec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:08 + git log --format=format:%s -1 1230c23662baaf085523f10f0e3e516ed8431cf7 [Pipeline] sh 22:20:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:08 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:20: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 22:20:09 $ docker top d916865f6caa675d6cd2428e22a869f7da09c4703ff1f26621234f1a508175de -eo pid,comm 22:20:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:20:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:09 [ssh-agent] Looking for ssh-agent implementation... 22:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:09 $ docker exec d916865f6caa675d6cd2428e22a869f7da09c4703ff1f26621234f1a508175de ssh-agent 22:20:09 SSH_AUTH_SOCK=/tmp/ssh-zLXJFpQKSKw6/agent.33 22:20:09 SSH_AGENT_PID=39 22:20:09 Running ssh-add (command line suppressed) 22:20:10 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_18410036639316487101.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_18410036639316487101.key) 22:20:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:10 + git semver tag 22:20:10 2022-09-22 22:20:10,517 [run_tag] DEBUG tag force:False 22:20:10 2022-09-22 22:20:10,517 [check_head_tag] DEBUG check head tag 22:20:10 2022-09-22 22:20:10,518 [execute] INFO git cat-file --batch-check 22:20:10 2022-09-22 22:20:10,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 22:20:10 2022-09-22 22:20:10,522 [execute] INFO git cat-file --batch 22:20:10 2022-09-22 22:20:10,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=) 22:20:10 2022-09-22 22:20:10,538 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:10 2022-09-22 22:20:10,538 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 22:20:10 2022-09-22 22:20:10,538 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:20:10 2022-09-22 22:20:10,544 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:10 2.3.0-dev.25 [Pipeline] } 22:20:10 $ docker exec --env ******** --env ******** d916865f6caa675d6cd2428e22a869f7da09c4703ff1f26621234f1a508175de ssh-agent -k 22:20:10 unset SSH_AUTH_SOCK; 22:20:10 unset SSH_AGENT_PID; 22:20:10 echo Agent pid 39 killed; 22:20:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:11 + git semver [Pipeline] } 22:20:11 $ docker stop --time=1 d916865f6caa675d6cd2428e22a869f7da09c4703ff1f26621234f1a508175de 22:20:12 $ docker rm -f d916865f6caa675d6cd2428e22a869f7da09c4703ff1f26621234f1a508175de [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:13 22:20:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:13 0.23.1-centos7: Pulling from edgex-lftools 22:20:13 ab5ef0e58194: Pulling fs layer 22:20:13 9712f1f96733: Pulling fs layer 22:20:13 63f879dbbcfc: Pulling fs layer 22:20:13 0d9ebad4ef96: Pulling fs layer 22:20:13 e9a5061849ea: Pulling fs layer 22:20:13 d747dcd14b5f: Pulling fs layer 22:20:13 2de7ff778b66: Pulling fs layer 22:20:13 e9a5061849ea: Waiting 22:20:13 d747dcd14b5f: Waiting 22:20:13 2de7ff778b66: Waiting 22:20:13 0d9ebad4ef96: Waiting 22:20:13 9712f1f96733: Verifying Checksum 22:20:13 9712f1f96733: Download complete 22:20:13 63f879dbbcfc: Verifying Checksum 22:20:13 63f879dbbcfc: Download complete 22:20:14 e9a5061849ea: Verifying Checksum 22:20:14 e9a5061849ea: Download complete 22:20:14 d747dcd14b5f: Verifying Checksum 22:20:14 d747dcd14b5f: Download complete 22:20:14 0d9ebad4ef96: Verifying Checksum 22:20:14 0d9ebad4ef96: Download complete 22:20:14 2de7ff778b66: Verifying Checksum 22:20:14 2de7ff778b66: Download complete 22:20:14 ab5ef0e58194: Verifying Checksum 22:20:14 ab5ef0e58194: Download complete 22:20:17 ab5ef0e58194: Pull complete 22:20:17 9712f1f96733: Pull complete 22:20:17 63f879dbbcfc: Pull complete 22:20:21 0d9ebad4ef96: Pull complete 22:20:21 e9a5061849ea: Pull complete 22:20:21 d747dcd14b5f: Pull complete 22:20:22 2de7ff778b66: Pull complete 22:20:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:22 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:20:22 $ 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 22:20:24 $ docker top cb3af44cef067f6cacc8d99ad30f8e41935132de36d8b1d6f42d51be8252cd42 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:20:24 provisioning config files... 22:20:24 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1660082502951404609tmp 22:20:24 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config6287942099803442495tmp 22:20:24 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config924199051089018843tmp [Pipeline] { [Pipeline] echo 22:20:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:20:25 ---> sigul-configuration.sh 22:20:25 gpg: directory `/root/.gnupg' created 22:20:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:20:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:20:25 gpg: keyring `/root/.gnupg/secring.gpg' created 22:20:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:20:25 gpg: CAST5 encrypted data 22:20:25 gpg: encrypted with 1 passphrase 22:20:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:20:25 + mkdir /home/jenkins 22:20:25 + mkdir /home/jenkins/sigul [Pipeline] sh 22:20:25 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:20:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:20:26 ---> sigul-install.sh 22:20:26 Sigul already installed; skipping installation. [Pipeline] sh 22:20:26 + git tag --list 22:20:26 v1.0.0 22:20:26 v1.1.0 22:20:26 v1.2.0 22:20:26 v1.3.0 22:20:26 v1.3.1 22:20:26 v2.0.0 22:20:26 v2.0.1 22:20:26 v2.1.0 22:20:26 v2.1.1 22:20:26 v2.1.1-dev.1 22:20:26 v2.1.1-dev.2 22:20:26 v2.2.0 22:20:26 v2.2.1-dev.1 22:20:26 v2.2.1-dev.10 22:20:26 v2.2.1-dev.2 22:20:26 v2.2.1-dev.3 22:20:26 v2.2.1-dev.4 22:20:26 v2.2.1-dev.5 22:20:26 v2.2.1-dev.6 22:20:26 v2.2.1-dev.7 22:20:26 v2.2.1-dev.8 22:20:26 v2.2.1-dev.9 22:20:26 v2.3.0-dev.10 22:20:26 v2.3.0-dev.11 22:20:26 v2.3.0-dev.12 22:20:26 v2.3.0-dev.13 22:20:26 v2.3.0-dev.14 22:20:26 v2.3.0-dev.15 22:20:26 v2.3.0-dev.16 22:20:26 v2.3.0-dev.17 22:20:26 v2.3.0-dev.18 22:20:26 v2.3.0-dev.19 22:20:26 v2.3.0-dev.20 22:20:26 v2.3.0-dev.21 22:20:26 v2.3.0-dev.22 22:20:26 v2.3.0-dev.23 22:20:26 v2.3.0-dev.24 22:20:26 v2.3.0-dev.25 [Pipeline] sh 22:20:26 + lftools sign git-tag v2.3.0-dev.25 22:20:27 Signing Git tag with Sigul... 22:20:27 Signing v2.3.0-dev.25 [Pipeline] echo 22:20:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:20:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:20:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:20:28 $ docker stop --time=1 cb3af44cef067f6cacc8d99ad30f8e41935132de36d8b1d6f42d51be8252cd42 22:20:29 $ docker rm -f cb3af44cef067f6cacc8d99ad30f8e41935132de36d8b1d6f42d51be8252cd42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:20:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:30 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:20:30 $ 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 22:20:30 $ docker top 45ef0d5d7f7cd64bf090187c65635c3dfb6da8da00236ae51096c62054753aa2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:30 [ssh-agent] Looking for ssh-agent implementation... 22:20:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:30 $ docker exec 45ef0d5d7f7cd64bf090187c65635c3dfb6da8da00236ae51096c62054753aa2 ssh-agent 22:20:31 SSH_AUTH_SOCK=/tmp/ssh-f3aNQrs3dVn0/agent.31 22:20:31 SSH_AGENT_PID=37 22:20:31 Running ssh-add (command line suppressed) 22:20:31 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_9737537231107446182.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_9737537231107446182.key) 22:20:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:31 + git semver bump pre 22:20:31 2022-09-22 22:20:31,606 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:31 2022-09-22 22:20:31,607 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev 22:20:31 2022-09-22 22:20:31,607 [bump_version] DEBUG bumped version:2.3.0-dev.26 22:20:31 2022-09-22 22:20:31,607 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/ry_app-service-configurable_main/.semver/main with force:True 22:20:31 2022-09-22 22:20:31,607 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:31 2022-09-22 22:20:31,607 [write_file] DEBUG write to file:/w/workspace/ry_app-service-configurable_main/.semver/main 22:20:31 2022-09-22 22:20:31,609 [execute] INFO git cat-file --batch-check 22:20:31 2022-09-22 22:20:31,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:31 2022-09-22 22:20:31,616 [execute] INFO git cat-file --batch 22:20:31 2022-09-22 22:20:31,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:31 2022-09-22 22:20:31,621 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:31 2.3.0-dev.26 [Pipeline] } 22:20:31 $ docker exec --env ******** --env ******** 45ef0d5d7f7cd64bf090187c65635c3dfb6da8da00236ae51096c62054753aa2 ssh-agent -k 22:20:31 unset SSH_AUTH_SOCK; 22:20:31 unset SSH_AGENT_PID; 22:20:31 echo Agent pid 37 killed; 22:20:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:32 + git semver [Pipeline] } 22:20:32 $ docker stop --time=1 45ef0d5d7f7cd64bf090187c65635c3dfb6da8da00236ae51096c62054753aa2 22:20:33 $ docker rm -f 45ef0d5d7f7cd64bf090187c65635c3dfb6da8da00236ae51096c62054753aa2 [Pipeline] // withDockerContainer [Pipeline] sh 22:20:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:34 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:20: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:20:34 $ docker top 96dbf846f55af2b0009adcbed4dc403f735f661bd370b860266d6ca918b8b9ff -eo pid,comm 22:20:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:20:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:34 [ssh-agent] Looking for ssh-agent implementation... 22:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:35 $ docker exec 96dbf846f55af2b0009adcbed4dc403f735f661bd370b860266d6ca918b8b9ff ssh-agent 22:20:35 SSH_AUTH_SOCK=/tmp/ssh-uw99hFz7tQW1/agent.33 22:20:35 SSH_AGENT_PID=39 22:20:35 Running ssh-add (command line suppressed) 22:20:35 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_3294398234621267487.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_3294398234621267487.key) 22:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:35 + git semver push 22:20:35 2022-09-22 22:20:35,716 [run_push] DEBUG push 22:20:35 2022-09-22 22:20:35,716 [execute] INFO git cat-file --batch-check 22:20:35 2022-09-22 22:20:35,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:35 2022-09-22 22:20:35,721 [execute] INFO git rev-list 9a0aafc724cf5e38cb4d9ea68b93999607f21fd9 -- 22:20:35 2022-09-22 22:20:35,721 [execute] DEBUG Popen(['git', 'rev-list', '9a0aafc724cf5e38cb4d9ea68b93999607f21fd9', '--'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 22:20:35 2022-09-22 22:20:35,730 [execute] INFO git fetch -v origin 22:20:35 2022-09-22 22:20:35,731 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=True, shell=None, istream=None) 22:20:36 2022-09-22 22:20:36,339 [run_push] DEBUG no remote changes detected 22:20:36 2022-09-22 22:20:36,340 [execute] INFO git push origin semver 22:20:36 2022-09-22 22:20:36,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/ry_app-service-configurable_main/.semver, universal_newlines=False, shell=None, istream=None) 22:20:37 2022-09-22 22:20:37,291 [run_push] DEBUG push all version tags 22:20:37 2022-09-22 22:20:37,291 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:20:37 2022-09-22 22:20:37,292 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/ry_app-service-configurable_main, universal_newlines=False, shell=None, istream=None) 22:20:38 2022-09-22 22:20:38,075 [read_version] DEBUG read version from /w/workspace/ry_app-service-configurable_main/.semver/main 22:20:38 2.3.0-dev.26 [Pipeline] } 22:20:38 $ docker exec --env ******** --env ******** 96dbf846f55af2b0009adcbed4dc403f735f661bd370b860266d6ca918b8b9ff ssh-agent -k 22:20:38 unset SSH_AUTH_SOCK; 22:20:38 unset SSH_AGENT_PID; 22:20:38 echo Agent pid 39 killed; 22:20:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:38 + git semver [Pipeline] } 22:20:38 $ docker stop --time=1 96dbf846f55af2b0009adcbed4dc403f735f661bd370b860266d6ca918b8b9ff 22:20:40 $ docker rm -f 96dbf846f55af2b0009adcbed4dc403f735f661bd370b860266d6ca918b8b9ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:20:40 + [ -d /w/workspace/ry_app-service-configurable_main/archives ] 22:20:40 + ls -al /w/workspace/ry_app-service-configurable_main/archives 22:20:40 total 16 22:20:40 drwxr-xr-x 3 root root 4096 Sep 22 22:11 . 22:20:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:20 .. 22:20:40 drwxr-xr-x 2 root root 4096 Sep 22 22:11 cost 22:20:40 -rw-r--r-- 1 root root 96 Sep 22 22:11 cost.csv 22:20:40 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-service-configurable_main/archives 22:20:40 + ls -al /w/workspace/ry_app-service-configurable_main/archives 22:20:40 total 16 22:20:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:11 . 22:20:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:20 .. 22:20:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:11 cost 22:20:40 -rw-r--r-- 1 jenkins jenkins 96 Sep 22 22:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:20:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:20:41 ---> package-listing.sh 22:20:41 ++ facter osfamily 22:20:41 ++ tr '[:upper:]' '[:lower:]' 22:20:42 + OS_FAMILY=debian 22:20:42 + workspace=/w/workspace/ry_app-service-configurable_main 22:20:42 + START_PACKAGES=/tmp/packages_start.txt 22:20:42 + END_PACKAGES=/tmp/packages_end.txt 22:20:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:20:42 + PACKAGES=/tmp/packages_start.txt 22:20:42 + '[' /w/workspace/ry_app-service-configurable_main ']' 22:20:42 + PACKAGES=/tmp/packages_end.txt 22:20:42 + case "${OS_FAMILY}" in 22:20:42 + dpkg -l 22:20:42 + grep '^ii' 22:20:42 + '[' -f /tmp/packages_start.txt ']' 22:20:42 + '[' -f /tmp/packages_end.txt ']' 22:20:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:20:42 + '[' /w/workspace/ry_app-service-configurable_main ']' 22:20:42 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 22:20:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 22:20:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:20:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:43 prd-ubuntu20.04-docker-8c-8g-659 does not seem to be running inside a container 22:20:43 $ 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 22:20:43 $ docker top b9269c08bc2322976f1d345fe88f9846672c05254e4fbb5454001cb28305b05f -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:43 + touch /tmp/pre-build-complete [Pipeline] sh 22:20:43 + mkdir -p /var/log/sysstat [Pipeline] sh 22:20:44 + ls /var/log/sa-host 22:20:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:44 provisioning config files... 22:20:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config7548791178087373495tmp [Pipeline] { [Pipeline] echo 22:20:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:20:44 ---> create-netrc.sh [Pipeline] } 22:20:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:20:45 ---> python-tools-install.sh [Pipeline] echo 22:20:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:20:45 ---> sudo-logs.sh 22:20:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:20:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:20:45 ---> job-cost.sh 22:20:45 lf-activate-venv: SKIPPING 22:20:45 DEBUG: total: 0.2199999988079071 22:20:45 INFO: Retrieving Stack Cost... 22:20:46 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:46 INFO: Archiving Costs [Pipeline] echo 22:20:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:20:47 ---> logs-deploy.sh 22:20:47 lf-activate-venv: SKIPPING 22:20:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/104 22:20:47 INFO: archiving workspace using pattern(s): 22:20:48 Archives upload complete. 22:20:48 INFO: archiving logs to Nexus