Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 539913158ea56f8dca24ab775bb8172a7292d425 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-ssh14676735385491874436.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13335500587167252320.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/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/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh342635644045218879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12859364091544339221.key > 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/device-rest-go/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/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11670093286936581178.key > 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest 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 ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5224’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5227’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5225’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5229 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 539913158ea56f8dca24ab775bb8172a7292d425 (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275)" > git config core.sparsecheckout # timeout=10 > git checkout -f 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-list --no-walk e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:51 ========================================================= 17:21:51 EdgeX Global Pipelines Version Info 17:21:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:52 ------------------- 17:21:52 stable info: 17:21:52 ------------------- 17:21:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:21:52 Message: update stable to v1.0.245 17:21:53 ------------------- 17:21:53 experimental info: 17:21:53 ------------------- 17:21:53 Commited By: **** collab-it+edgex@linuxfoundation.org 17:21:53 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:21:53 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5399131 [Pipeline] echo 17:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:53 provisioning config files... 17:21:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config792578463659354962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:54 ---> docker-login.sh 17:21:54 nexus3.edgexfoundry.org:10001 17:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:54 Configure a credential helper to remove this warning. See 17:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:54 17:21:54 Login Succeeded 17:21:54 nexus3.edgexfoundry.org:10002 17:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:54 Configure a credential helper to remove this warning. See 17:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:54 17:21:54 Login Succeeded 17:21:54 nexus3.edgexfoundry.org:10003 17:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:54 Configure a credential helper to remove this warning. See 17:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:54 17:21:54 Login Succeeded 17:21:54 nexus3.edgexfoundry.org:10004 17:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:54 Configure a credential helper to remove this warning. See 17:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:54 17:21:54 Login Succeeded 17:21:54 docker.io 17:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:55 Configure a credential helper to remove this warning. See 17:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:55 17:21:55 Login Succeeded 17:21:55 ---> docker-login.sh ends [Pipeline] } 17:21:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:21:55 + git rev-list -1 --merges 539913158ea56f8dca24ab775bb8172a7292d425~1..539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo 17:21:55 -----------> git rev-list -1 --merges 539913158ea56f8dca24ab775bb8172a7292d425~1..539913158ea56f8dca24ab775bb8172a7292d425 539913158ea56f8dca24ab775bb8172a7292d425 [false] [Pipeline] sh 17:21:55 + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo 17:21:55 ========================================================= 17:21:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:21:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:56 + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo 17:21:56 [semverPrep] GIT_COMMIT: 539913158ea56f8dca24ab775bb8172a7292d425, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275) [Pipeline] echo 17:21:56 [semverPrep] This is not a build commit. [Pipeline] sh 17:21:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:21:56 + grep -v github /etc/ssh/ssh_known_hosts 17:21:56 + [ -e /tmp/ssh_known_hosts ] 17:21:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:21:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:21:56 + sudo tee -a /etc/ssh/ssh_known_hosts 17:21:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:56 17:21:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:57 0.1.4: Pulling from edgex-devops/py-git-semver 17:21:57 b85a868b505f: Pulling fs layer 17:21:57 e2be974225ed: Pulling fs layer 17:21:57 339a4e72a1f5: Pulling fs layer 17:21:57 988bab9f4d93: Pulling fs layer 17:21:57 1469e6f7b9e6: Pulling fs layer 17:21:57 eaf3925da568: Pulling fs layer 17:21:57 bab4dde63d76: Pulling fs layer 17:21:57 bde34c3a00c8: Pulling fs layer 17:21:57 b352a97aabf1: Pulling fs layer 17:21:57 4872d77fe225: Pulling fs layer 17:21:57 5851b861e8e6: Pulling fs layer 17:21:57 eaf3925da568: Waiting 17:21:57 bab4dde63d76: Waiting 17:21:57 bde34c3a00c8: Waiting 17:21:57 b352a97aabf1: Waiting 17:21:57 988bab9f4d93: Waiting 17:21:57 1469e6f7b9e6: Waiting 17:21:57 5851b861e8e6: Waiting 17:21:57 e2be974225ed: Download complete 17:21:57 988bab9f4d93: Verifying Checksum 17:21:57 988bab9f4d93: Download complete 17:21:57 1469e6f7b9e6: Verifying Checksum 17:21:57 1469e6f7b9e6: Download complete 17:21:57 eaf3925da568: Verifying Checksum 17:21:57 eaf3925da568: Download complete 17:21:57 339a4e72a1f5: Verifying Checksum 17:21:57 339a4e72a1f5: Download complete 17:21:57 bde34c3a00c8: Download complete 17:21:57 b352a97aabf1: Download complete 17:21:57 4872d77fe225: Download complete 17:21:57 5851b861e8e6: Verifying Checksum 17:21:57 5851b861e8e6: Download complete 17:21:57 b85a868b505f: Verifying Checksum 17:21:57 b85a868b505f: Download complete 17:21:58 bab4dde63d76: Verifying Checksum 17:21:58 bab4dde63d76: Download complete 17:21:58 b85a868b505f: Pull complete 17:21:58 e2be974225ed: Pull complete 17:21:59 339a4e72a1f5: Pull complete 17:21:59 988bab9f4d93: Pull complete 17:21:59 1469e6f7b9e6: Pull complete 17:21:59 eaf3925da568: Pull complete 17:22:01 bab4dde63d76: Pull complete 17:22:01 bde34c3a00c8: Pull complete 17:22:01 b352a97aabf1: Pull complete 17:22:01 4872d77fe225: Pull complete 17:22:02 5851b861e8e6: Pull complete 17:22:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:22:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:02 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:22:03 $ docker top 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 -eo pid,comm 17:22:04 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). 17:22:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:04 [ssh-agent] Looking for ssh-agent implementation... 17:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:04 $ docker exec 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent 17:22:04 SSH_AUTH_SOCK=/tmp/ssh-RWpLDSwq83gY/agent.32 17:22:04 SSH_AGENT_PID=38 17:22:04 Running ssh-add (command line suppressed) 17:22:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17763023011232399434.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17763023011232399434.key) 17:22:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:04 + git tag --points-at HEAD [Pipeline] } 17:22:04 $ docker exec --env ******** --env ******** 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent -k 17:22:04 unset SSH_AUTH_SOCK; 17:22:04 unset SSH_AGENT_PID; 17:22:04 echo Agent pid 38 killed; 17:22:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:04 [ssh-agent] Looking for ssh-agent implementation... 17:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:04 $ docker exec 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent 17:22:05 SSH_AUTH_SOCK=/tmp/ssh-45hljNGuFpQs/agent.70 17:22:05 SSH_AGENT_PID=76 17:22:05 Running ssh-add (command line suppressed) 17:22:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2744540672599714332.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2744540672599714332.key) 17:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:05 + git semver init 17:22:05 2023-03-22 17:22:05,623 [run_init] DEBUG init version:0.0.0 force:False 17:22:05 2023-03-22 17:22:05,624 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 17:22:05 2023-03-22 17:22:05,624 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 17:22:05 2023-03-22 17:22:05,624 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:22:06 2023-03-22 17:22:06,608 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 17:22:06 2023-03-22 17:22:06,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 17:22:06 2023-03-22 17:22:06,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:22:06 2023-03-22 17:22:06,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:22:06 3.0.0-dev.22 [Pipeline] } 17:22:06 $ docker exec --env ******** --env ******** 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent -k 17:22:06 unset SSH_AUTH_SOCK; 17:22:06 unset SSH_AGENT_PID; 17:22:06 echo Agent pid 76 killed; 17:22:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:07 + git semver [Pipeline] } 17:22:07 $ docker stop --time=1 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 17:22:08 $ docker rm -f --volumes 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:09 Stashed 1 file(s) [Pipeline] echo 17:22:09 [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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 17:22:09 provisioning config files... 17:22:09 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16135167025260610554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:09 ---> docker-login.sh 17:22:09 nexus3.edgexfoundry.org:10001 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10002 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10003 17:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:10 Configure a credential helper to remove this warning. See 17:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:10 17:22:10 Login Succeeded 17:22:10 nexus3.edgexfoundry.org:10004 17:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:10 Configure a credential helper to remove this warning. See 17:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:10 17:22:10 Login Succeeded 17:22:10 docker.io 17:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:10 Configure a credential helper to remove this warning. See 17:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:10 17:22:10 Login Succeeded 17:22:10 ---> docker-login.sh ends [Pipeline] } 17:22:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:10 ========================================================= 17:22:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:22:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:22:10 Sending build context to Docker daemon 10.86MB 17:22:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:22:10 Step 2/12 : FROM ${BASE} AS builder 17:22:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:10 63b65145d645: Pulling fs layer 17:22:10 a2d21d5440eb: Pulling fs layer 17:22:10 935e6c44a52c: Pulling fs layer 17:22:10 94cc34f8dd06: Pulling fs layer 17:22:10 30dea6a524f1: Pulling fs layer 17:22:10 a2aff8979fd8: Pulling fs layer 17:22:10 6808be2612f2: Pulling fs layer 17:22:10 f25807f1079a: Pulling fs layer 17:22:10 94cc34f8dd06: Waiting 17:22:10 a2aff8979fd8: Waiting 17:22:10 6808be2612f2: Waiting 17:22:10 30dea6a524f1: Waiting 17:22:10 f25807f1079a: Waiting 17:22:10 a2d21d5440eb: Verifying Checksum 17:22:10 a2d21d5440eb: Download complete 17:22:10 94cc34f8dd06: Verifying Checksum 17:22:10 94cc34f8dd06: Download complete 17:22:10 30dea6a524f1: Verifying Checksum 17:22:10 30dea6a524f1: Download complete 17:22:10 63b65145d645: Verifying Checksum 17:22:10 63b65145d645: Download complete 17:22:10 a2aff8979fd8: Verifying Checksum 17:22:10 a2aff8979fd8: Download complete 17:22:10 63b65145d645: Pull complete 17:22:11 a2d21d5440eb: Pull complete 17:22:11 f25807f1079a: Verifying Checksum 17:22:11 f25807f1079a: Download complete 17:22:11 935e6c44a52c: Verifying Checksum 17:22:11 935e6c44a52c: Download complete 17:22:11 6808be2612f2: Verifying Checksum 17:22:11 6808be2612f2: Download complete 17:22:15 935e6c44a52c: Pull complete 17:22:15 94cc34f8dd06: Pull complete 17:22:15 30dea6a524f1: Pull complete 17:22:15 a2aff8979fd8: Pull complete 17:22:17 6808be2612f2: Pull complete 17:22:18 f25807f1079a: Pull complete 17:22:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:22:18 ---> 3b553350e43f 17:22:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:22:20 ---> Running in 933034eaab64 17:22:20 Removing intermediate container 933034eaab64 17:22:20 ---> d6ac2914979a 17:22:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:20 ---> Running in 25e8c41c4704 17:22:20 Removing intermediate container 25e8c41c4704 17:22:20 ---> cbf7a9962628 17:22:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:22:20 ---> Running in fd00e34e436a 17:22:20 Removing intermediate container fd00e34e436a 17:22:20 ---> a209f19ffee7 17:22:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:22:20 ---> Running in 0808e0abdb8c 17:22:20 Removing intermediate container 0808e0abdb8c 17:22:20 ---> e64d3552e269 17:22:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:20 ---> Running in e1b96b2ca042 17:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:22:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 17:22:21 (2/4) Installing libedit (20221030.3.1-r0) 17:22:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 17:22:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 17:22:21 Executing busybox-1.35.0-r29.trigger 17:22:21 OK: 269 MiB in 57 packages 17:22:21 Removing intermediate container e1b96b2ca042 17:22:21 ---> b00b765797fb 17:22:21 Step 8/12 : WORKDIR /device-rest-go 17:22:22 ---> Running in 757b63259f0a 17:22:22 Removing intermediate container 757b63259f0a 17:22:22 ---> 29575e8a3624 17:22:22 Step 9/12 : COPY go.mod vendor* ./ 17:22:22 ---> 37073bc6a559 17:22:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:22 ---> Running in 206044686d17 17:22:24 Still waiting to schedule task 17:22:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:22:54 Removing intermediate container 206044686d17 17:22:54 ---> 03503b6111ba 17:22:54 Step 11/12 : COPY . . 17:22:54 ---> 2c306946e843 17:22:54 Step 12/12 : RUN $MAKE 17:22:54 ---> Running in b6098c6b28d0 17:22:54 noop 17:22:54 Removing intermediate container b6098c6b28d0 17:22:54 ---> 8b9fb4f39951 17:22:54 Successfully built 8b9fb4f39951 17:22:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:54 + docker inspect -f . ci-base-image-x86_64 17:22:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:54 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:22:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:22:55 $ docker top 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:55 + go version 17:22:55 go version go1.20.2 linux/amd64 [Pipeline] } 17:22:55 $ docker stop --time=1 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b 17:22:56 $ docker rm -f --volumes 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:57 + docker inspect -f . ci-base-image-x86_64 17:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:57 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:22:57 $ docker top fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 17:22:58 + make test 17:22:58 go test ./... -coverprofile=coverage.out ./... 17:23:03 ? github.com/edgexfoundry/device-rest-go [no test files] 17:23:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:23:13 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.0% of statements 17:23:18 go vet ./... 17:23:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:21 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:21 $ docker stop --time=1 fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf 17:23:24 $ docker rm -f --volumes fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf [Pipeline] // withDockerContainer [Pipeline] sh 17:23:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:25 + ls -al . 17:23:25 total 184 17:23:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 17:22 . 17:23:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:21 .. 17:23:25 -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 17:21 .dockerignore 17:23:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:22 .git 17:23:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:21 .github 17:23:25 -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 17:21 .gitignore 17:23:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:21 .golangci.yml 17:23:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:22 .semver 17:23:25 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 17:21 Attribution.txt 17:23:25 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 17:21 CHANGELOG.md 17:23:25 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 17:21 Dockerfile 17:23:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:21 GOVERNANCE.md 17:23:25 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:21 Jenkinsfile 17:23:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:21 LICENSE 17:23:25 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 17:21 Makefile 17:23:25 -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 17:21 OWNERS.md 17:23:25 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 17:21 README.md 17:23:25 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:22 VERSION 17:23:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:21 bin 17:23:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:21 cmd 17:23:25 -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 17:23 coverage.out 17:23:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:21 driver 17:23:25 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 22 17:21 go.mod 17:23:25 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 22 17:21 go.sum 17:23:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:21 snap 17:23:25 -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:25 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=539913158ea56f8dca24ab775bb8172a7292d425 --label arch=amd64 --label version=3.0.0-dev.22 . 17:23:25 Sending build context to Docker daemon 10.88MB 17:23:25 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:23:25 Step 2/25 : FROM ${BASE} AS builder 17:23:25 ---> 8b9fb4f39951 17:23:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:23:25 ---> Running in b94c91cf6811 17:23:25 Removing intermediate container b94c91cf6811 17:23:25 ---> 7d467136d2fb 17:23:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:25 ---> Running in 4070f594eda8 17:23:25 Removing intermediate container 4070f594eda8 17:23:25 ---> 54c61a2b3c3d 17:23:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:23:26 ---> Running in 7f211f23ccb3 17:23:26 Removing intermediate container 7f211f23ccb3 17:23:26 ---> 12bbdf9a6a28 17:23:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:23:26 ---> Running in bf7085bdc0f7 17:23:26 Removing intermediate container bf7085bdc0f7 17:23:26 ---> da7de51a04a4 17:23:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:26 ---> Running in a5b5665e9ca3 17:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:23:27 OK: 269 MiB in 57 packages 17:23:27 Removing intermediate container a5b5665e9ca3 17:23:27 ---> 57a02f2592a2 17:23:27 Step 8/25 : WORKDIR /device-rest-go 17:23:27 ---> Running in a0f60e7ed5eb 17:23:27 Removing intermediate container a0f60e7ed5eb 17:23:27 ---> 45366d41aa14 17:23:27 Step 9/25 : COPY go.mod vendor* ./ 17:23:27 ---> 907f088c98ca 17:23:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:27 ---> Running in b7c1cc335e27 17:23:28 Removing intermediate container b7c1cc335e27 17:23:28 ---> 738e831a2b56 17:23:28 Step 11/25 : COPY . . 17:23:29 ---> 7add0b6a0dfd 17:23:29 Step 12/25 : RUN $MAKE 17:23:29 ---> Running in a752294863b4 17:23:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:23:47 Removing intermediate container a752294863b4 17:23:47 ---> 022452d5d543 17:23:47 Step 13/25 : FROM alpine:3.17 17:23:47 3.17: Pulling from library/alpine 17:23:47 63b65145d645: Already exists 17:23:47 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:23:47 Status: Downloaded newer image for alpine:3.17 17:23:47 ---> b2aa39c304c2 17:23:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:23:47 ---> Running in 5d245f2f08eb 17:23:47 Removing intermediate container 5d245f2f08eb 17:23:47 ---> b94a4c1a1854 17:23:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:23:47 ---> Running in bf08bcf48599 17:23:47 Removing intermediate container bf08bcf48599 17:23:47 ---> 5e4040b83087 17:23:47 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:23:47 ---> Running in c75127f88c4e 17:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:23:47 (1/1) Installing dumb-init (1.2.5-r2) 17:23:47 Executing busybox-1.35.0-r29.trigger 17:23:47 OK: 7 MiB in 16 packages 17:23:47 Removing intermediate container c75127f88c4e 17:23:47 ---> 4ed1149fe5b0 17:23:47 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:23:48 ---> bb50fbcf8daa 17:23:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:23:48 ---> 32bfbb9b1649 17:23:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:23:48 ---> 855f42a5bcaf 17:23:48 Step 20/25 : EXPOSE 59986 17:23:48 ---> Running in 948f8ae28f51 17:23:48 Removing intermediate container 948f8ae28f51 17:23:48 ---> 7665543d3624 17:23:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:23:48 ---> Running in b23eeb4ec77b 17:23:48 Removing intermediate container b23eeb4ec77b 17:23:48 ---> c785634e8aa1 17:23:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:23:48 ---> Running in 23cb398e585b 17:23:49 Removing intermediate container 23cb398e585b 17:23:49 ---> 0be73f869ca9 17:23:49 Step 23/25 : LABEL arch=amd64 17:23:49 ---> Running in cb5ae8c8b8b3 17:23:49 Removing intermediate container cb5ae8c8b8b3 17:23:49 ---> 426ce5709612 17:23:49 Step 24/25 : LABEL git_sha=539913158ea56f8dca24ab775bb8172a7292d425 17:23:49 ---> Running in bafcaf64a06e 17:23:49 Removing intermediate container bafcaf64a06e 17:23:49 ---> 9319ed51cbb5 17:23:49 Step 25/25 : LABEL version=3.0.0-dev.22 17:23:49 ---> Running in 1300f5c4bec7 17:23:49 Removing intermediate container 1300f5c4bec7 17:23:49 ---> a35cc2a252df 17:23:49 [Warning] One or more build-args [ARCH] were not consumed 17:23:49 Successfully built a35cc2a252df 17:23:49 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:49 provisioning config files... 17:23:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6814906718170551996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:49 ---> docker-login.sh 17:23:49 nexus3.edgexfoundry.org:10001 17:23:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:49 Configure a credential helper to remove this warning. See 17:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:49 17:23:49 Login Succeeded 17:23:49 nexus3.edgexfoundry.org:10002 17:23:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:49 Configure a credential helper to remove this warning. See 17:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:49 17:23:49 Login Succeeded 17:23:49 nexus3.edgexfoundry.org:10003 17:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:50 Configure a credential helper to remove this warning. See 17:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:50 17:23:50 Login Succeeded 17:23:50 nexus3.edgexfoundry.org:10004 17:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:50 Configure a credential helper to remove this warning. See 17:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:50 17:23:50 Login Succeeded 17:23:50 docker.io 17:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:50 Configure a credential helper to remove this warning. See 17:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:50 17:23:50 Login Succeeded 17:23:50 ---> docker-login.sh ends [Pipeline] } 17:23:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:23:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:50 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 17:23:50 539913158ea56f8dca24ab775bb8172a7292d425 17:23:50 latest 17:23:50 3.0.0-dev.22 17:23:50 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:23:50 main 17:23:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 17:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:23:51 160d44c71fca: Preparing 17:23:51 e8221528d9a1: Preparing 17:23:51 72381c75b62b: Preparing 17:23:51 c8ab2ddccc71: Preparing 17:23:51 7cd52847ad77: Preparing 17:23:51 7cd52847ad77: Layer already exists 17:23:51 e8221528d9a1: Pushed 17:23:51 c8ab2ddccc71: Pushed 17:23:51 160d44c71fca: Pushed 17:23:53 72381c75b62b: Pushed 17:23:53 539913158ea56f8dca24ab775bb8172a7292d425: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 17:23:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:23:54 160d44c71fca: Preparing 17:23:54 e8221528d9a1: Preparing 17:23:54 72381c75b62b: Preparing 17:23:54 c8ab2ddccc71: Preparing 17:23:54 7cd52847ad77: Preparing 17:23:54 c8ab2ddccc71: Layer already exists 17:23:54 72381c75b62b: Layer already exists 17:23:54 e8221528d9a1: Layer already exists 17:23:54 7cd52847ad77: Layer already exists 17:23:54 160d44c71fca: Layer already exists 17:23:54 latest: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 17:23:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:23:54 160d44c71fca: Preparing 17:23:54 e8221528d9a1: Preparing 17:23:54 72381c75b62b: Preparing 17:23:54 c8ab2ddccc71: Preparing 17:23:54 7cd52847ad77: Preparing 17:23:54 e8221528d9a1: Layer already exists 17:23:54 160d44c71fca: Layer already exists 17:23:54 c8ab2ddccc71: Layer already exists 17:23:54 72381c75b62b: Layer already exists 17:23:54 7cd52847ad77: Layer already exists 17:23:54 3.0.0-dev.22: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:23:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:23:55 160d44c71fca: Preparing 17:23:55 e8221528d9a1: Preparing 17:23:55 72381c75b62b: Preparing 17:23:55 c8ab2ddccc71: Preparing 17:23:55 7cd52847ad77: Preparing 17:23:55 72381c75b62b: Layer already exists 17:23:55 160d44c71fca: Layer already exists 17:23:55 c8ab2ddccc71: Layer already exists 17:23:55 e8221528d9a1: Layer already exists 17:23:55 7cd52847ad77: Layer already exists 17:23:55 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 17:23:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:23:56 160d44c71fca: Preparing 17:23:56 e8221528d9a1: Preparing 17:23:56 72381c75b62b: Preparing 17:23:56 c8ab2ddccc71: Preparing 17:23:56 7cd52847ad77: Preparing 17:23:56 72381c75b62b: Layer already exists 17:23:56 c8ab2ddccc71: Layer already exists 17:23:56 7cd52847ad77: Layer already exists 17:23:56 e8221528d9a1: Layer already exists 17:23:56 160d44c71fca: Layer already exists 17:23:56 main: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:23:56 ===================================================== [Pipeline] echo 17:23:56 taggedImages: 17:23:56 - nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 17:23:56 - nexus3.edgexfoundry.org:10004/device-rest:latest 17:23:56 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 17:23:56 - nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:23:56 - nexus3.edgexfoundry.org:10004/device-rest: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 17:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:56 17:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:56 latest: Pulling from edgex-lftools-log-publisher 17:23:56 5eb5b503b376: Pulling fs layer 17:23:56 5c69ac0246d0: Pulling fs layer 17:23:56 ec43610c2a17: Pulling fs layer 17:23:56 3a2ae6a8a46f: Pulling fs layer 17:23:56 33b1e0a273af: Pulling fs layer 17:23:56 3a2ae6a8a46f: Waiting 17:23:56 33b1e0a273af: Waiting 17:23:56 5d3b04190fa2: Pulling fs layer 17:23:56 2f39f015ded8: Pulling fs layer 17:23:56 5d3b04190fa2: Waiting 17:23:56 2f39f015ded8: Waiting 17:23:56 5c69ac0246d0: Download complete 17:23:56 3a2ae6a8a46f: Verifying Checksum 17:23:56 3a2ae6a8a46f: Download complete 17:23:57 33b1e0a273af: Verifying Checksum 17:23:57 33b1e0a273af: Download complete 17:23:57 5d3b04190fa2: Download complete 17:23:57 ec43610c2a17: Verifying Checksum 17:23:57 ec43610c2a17: Download complete 17:23:57 5eb5b503b376: Verifying Checksum 17:23:57 5eb5b503b376: Download complete 17:23:57 2f39f015ded8: Download complete 17:23:58 5eb5b503b376: Pull complete 17:23:58 5c69ac0246d0: Pull complete 17:23:58 ec43610c2a17: Pull complete 17:23:58 3a2ae6a8a46f: Pull complete 17:23:59 33b1e0a273af: Pull complete 17:23:59 5d3b04190fa2: Pull complete 17:24:03 2f39f015ded8: Pull complete 17:24:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:24:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:03 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:24:03 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:24:05 $ docker top 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:05 ---> job-cost.sh 17:24:05 lf-activate-venv: SKIPPING 17:24:05 INFO: No Stack... 17:24:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:06 INFO: Archiving Costs [Pipeline] sh 17:24:06 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 17:24:06 cut -d, -f6 [Pipeline] lock 17:24:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] 17:24:06 Resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] did not exist. Created. 17:24:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:07 + echo total: 0.2199999988079071 [Pipeline] stash 17:24:07 Stashed 1 file(s) [Pipeline] } 17:24:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:07 $ docker stop --time=1 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e 17:24:08 $ docker rm -f --volumes 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:24:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5236 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 17:24:59 Running in /w/workspace/device-rest-go/94 [Pipeline] { [Pipeline] checkout 17:24:59 The recommended git tool is: git 17:25:06 using credential edgex-jenkins-ssh 17:25:06 Cloning the remote Git repository 17:25:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:25:06 > git init /w/workspace/device-rest-go/94 # timeout=10 17:25:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:25:06 > git --version # timeout=10 17:25:06 > git --version # 'git version 2.25.1' 17:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:25:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:10 Avoid second fetch 17:25:10 Checking out Revision 539913158ea56f8dca24ab775bb8172a7292d425 (main) 17:25:10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275)" 17:25:10 > git config core.sparsecheckout # timeout=10 17:25:10 > git checkout -f 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:25:11 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:11 Dload Upload Total Spent Left Speed 17:25:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 17:25:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:12 + sudo tee /etc/docker/daemon.new 17:25:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:25:12 { 17:25:12 "registry-mirrors": [ 17:25:12 "https://nexus3.edgexfoundry.org:10001" 17:25:12 ], 17:25:12 "bip": "10.250.0.254/24", 17:25:12 "hosts": [ 17:25:12 "tcp://0.0.0.0:5555", 17:25:12 "unix:///var/run/docker.sock" 17:25:12 ], 17:25:12 "mtu": 1458, 17:25:12 "selinux-enabled": true, 17:25:12 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:12 } [Pipeline] sh 17:25:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:31 provisioning config files... 17:25:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/94@tmp/config13682394723116672454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:32 ---> docker-login.sh 17:25:32 nexus3.edgexfoundry.org:10001 17:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:32 Configure a credential helper to remove this warning. See 17:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:32 17:25:32 Login Succeeded 17:25:32 nexus3.edgexfoundry.org:10002 17:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10003 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10004 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 docker.io 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:34 Configure a credential helper to remove this warning. See 17:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:34 17:25:34 Login Succeeded 17:25:34 ---> docker-login.sh ends [Pipeline] } 17:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:34 ========================================================= 17:25:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:25:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:25:35 Sending build context to Docker daemon 138.2kB 17:25:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:25:35 Step 2/12 : FROM ${BASE} AS builder 17:25:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:25:35 af6eaf76a39c: Pulling fs layer 17:25:35 55522c791124: Pulling fs layer 17:25:35 ce5c4a1c91eb: Pulling fs layer 17:25:35 169dfbe0d373: Pulling fs layer 17:25:35 e1ff8fa3b103: Pulling fs layer 17:25:35 52ebb69f0ebf: Pulling fs layer 17:25:35 5abe8eddf0d5: Pulling fs layer 17:25:35 e1ff8fa3b103: Waiting 17:25:35 52ebb69f0ebf: Waiting 17:25:35 5abe8eddf0d5: Waiting 17:25:35 169dfbe0d373: Waiting 17:25:35 55522c791124: Verifying Checksum 17:25:35 55522c791124: Download complete 17:25:35 169dfbe0d373: Verifying Checksum 17:25:35 169dfbe0d373: Download complete 17:25:35 e1ff8fa3b103: Verifying Checksum 17:25:35 e1ff8fa3b103: Download complete 17:25:35 af6eaf76a39c: Verifying Checksum 17:25:35 af6eaf76a39c: Download complete 17:25:36 af6eaf76a39c: Pull complete 17:25:36 5abe8eddf0d5: Verifying Checksum 17:25:36 5abe8eddf0d5: Download complete 17:25:37 55522c791124: Pull complete 17:25:38 ce5c4a1c91eb: Verifying Checksum 17:25:38 ce5c4a1c91eb: Download complete 17:25:38 52ebb69f0ebf: Verifying Checksum 17:25:38 52ebb69f0ebf: Download complete 17:25:48 ce5c4a1c91eb: Pull complete 17:25:48 169dfbe0d373: Pull complete 17:25:48 e1ff8fa3b103: Pull complete 17:25:57 52ebb69f0ebf: Pull complete 17:25:58 5abe8eddf0d5: Pull complete 17:25:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:25:58 ---> 6cb57ee374ae 17:25:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:26:00 ---> Running in 3773ab5a9b2e 17:26:00 Removing intermediate container 3773ab5a9b2e 17:26:00 ---> c6b499be10ff 17:26:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:00 ---> Running in fcfcf0f5a6dc 17:26:00 Removing intermediate container fcfcf0f5a6dc 17:26:00 ---> e0b90662cb63 17:26:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:26:00 ---> Running in 92fa23bad624 17:26:01 Removing intermediate container 92fa23bad624 17:26:01 ---> 9e074b2faf97 17:26:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:26:01 ---> Running in 936058165c17 17:26:01 Removing intermediate container 936058165c17 17:26:01 ---> 40e954a13eca 17:26:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:01 ---> Running in 4e5c1df552bd 17:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:26:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 17:26:05 (2/4) Installing libedit (20221030.3.1-r0) 17:26:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 17:26:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 17:26:05 Executing busybox-1.35.0-r29.trigger 17:26:05 OK: 268 MiB in 57 packages 17:26:06 Removing intermediate container 4e5c1df552bd 17:26:06 ---> ad34f414c0d3 17:26:06 Step 8/12 : WORKDIR /device-rest-go 17:26:06 ---> Running in 40c0893d4caa 17:26:07 Removing intermediate container 40c0893d4caa 17:26:07 ---> 7443412a14c7 17:26:07 Step 9/12 : COPY go.mod vendor* ./ 17:26:07 ---> e7790fe796b3 17:26:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:07 ---> Running in 8f672f74811f 17:27:15 Removing intermediate container 8f672f74811f 17:27:15 ---> ff6b1607c4c7 17:27:15 Step 11/12 : COPY . . 17:27:15 ---> 1caab77ee7bd 17:27:15 Step 12/12 : RUN $MAKE 17:27:15 ---> Running in 47e96b09d239 17:27:15 noop 17:27:15 Removing intermediate container 47e96b09d239 17:27:15 ---> fee8e428e278 17:27:15 Successfully built fee8e428e278 17:27:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:16 + docker inspect -f . ci-base-image-arm64 17:27:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:16 prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container 17:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@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 17:27:17 $ docker top 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:18 + go version 17:27:18 go version go1.20.2 linux/arm64 [Pipeline] } 17:27:18 $ docker stop --time=1 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f 17:27:20 $ docker rm -f --volumes 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:20 + docker inspect -f . ci-base-image-arm64 17:27:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:21 prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container 17:27:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@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 17:27:22 $ docker top 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:23 + git config --global --add safe.directory /w/workspace/device-rest-go/94 [Pipeline] fileExists [Pipeline] sh 17:27:24 + make test 17:27:24 go test ./... -coverprofile=coverage.out ./... 17:28:02 ? github.com/edgexfoundry/device-rest-go [no test files] 17:30:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:30:09 ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 33.0% of statements 17:30:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:30:09 go vet ./... 17:30:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:41 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:42 $ docker stop --time=1 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 17:30:43 $ docker rm -f --volumes 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:45 Warning: overwriting stash ‘coverage-report’ 17:30:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:46 + ls -al . 17:30:46 total 180 17:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:27 . 17:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:25 .. 17:30:46 -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 17:25 .dockerignore 17:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:25 .git 17:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:25 .github 17:30:46 -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 17:25 .gitignore 17:30:46 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:25 .golangci.yml 17:30:46 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 17:25 Attribution.txt 17:30:46 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 17:25 CHANGELOG.md 17:30:46 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 17:25 Dockerfile 17:30:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:25 GOVERNANCE.md 17:30:46 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:25 Jenkinsfile 17:30:46 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:25 LICENSE 17:30:46 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 17:25 Makefile 17:30:46 -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 17:25 OWNERS.md 17:30:46 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 17:25 README.md 17:30:46 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:22 VERSION 17:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:25 bin 17:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:25 cmd 17:30:46 -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 17:30 coverage.out 17:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:25 driver 17:30:46 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 22 17:25 go.mod 17:30:46 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 22 17:25 go.sum 17:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:25 snap 17:30:46 -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:46 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=539913158ea56f8dca24ab775bb8172a7292d425 --label arch=arm64 --label version=3.0.0-dev.22 . 17:30:46 Sending build context to Docker daemon 153.1kB 17:30:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:30:47 Step 2/25 : FROM ${BASE} AS builder 17:30:47 ---> fee8e428e278 17:30:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:30:47 ---> Running in 18f5f72ceae3 17:30:47 Removing intermediate container 18f5f72ceae3 17:30:47 ---> 9fa8f9ad36e7 17:30:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:47 ---> Running in b21f8e21b763 17:30:48 Removing intermediate container b21f8e21b763 17:30:48 ---> 7043b0e6b9ef 17:30:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:30:48 ---> Running in 67f0612dbb5d 17:30:48 Removing intermediate container 67f0612dbb5d 17:30:48 ---> faf76a072efe 17:30:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:30:48 ---> Running in 0d0da4e75e78 17:30:48 Removing intermediate container 0d0da4e75e78 17:30:48 ---> 8cc82dbd1af1 17:30:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:48 ---> Running in 4fd9cfd8dabf 17:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:30:53 OK: 268 MiB in 57 packages 17:30:54 Removing intermediate container 4fd9cfd8dabf 17:30:54 ---> a4b8bb134b06 17:30:54 Step 8/25 : WORKDIR /device-rest-go 17:30:54 ---> Running in c8f5104b2be6 17:30:54 Removing intermediate container c8f5104b2be6 17:30:54 ---> 73e04c814cf2 17:30:54 Step 9/25 : COPY go.mod vendor* ./ 17:30:55 ---> 9eca9c5ba2ba 17:30:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:55 ---> Running in 508ebb081e5c 17:30:58 Removing intermediate container 508ebb081e5c 17:30:58 ---> 071c02bcbe7a 17:30:58 Step 11/25 : COPY . . 17:30:58 ---> ab5c512539d4 17:30:58 Step 12/25 : RUN $MAKE 17:30:58 ---> Running in 602d4380858b 17:30:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 17:33:36 Removing intermediate container 602d4380858b 17:33:36 ---> 94955168c2e6 17:33:36 Step 13/25 : FROM alpine:3.17 17:33:36 3.17: Pulling from library/alpine 17:33:36 af6eaf76a39c: Already exists 17:33:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:33:36 Status: Downloaded newer image for alpine:3.17 17:33:36 ---> d74e625d9115 17:33:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:33:36 ---> Running in ab22c619fe72 17:33:36 Removing intermediate container ab22c619fe72 17:33:36 ---> 5992b04afdb1 17:33:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:33:36 ---> Running in b48c044f37e7 17:33:36 Removing intermediate container b48c044f37e7 17:33:36 ---> 7c15134f3549 17:33:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 17:33:36 ---> Running in aad8d5888f65 17:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:33:36 (1/1) Installing dumb-init (1.2.5-r2) 17:33:36 Executing busybox-1.35.0-r29.trigger 17:33:36 OK: 8 MiB in 16 packages 17:33:36 Removing intermediate container aad8d5888f65 17:33:36 ---> 466ecc4ae117 17:33:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:33:37 ---> e0a00cf447f7 17:33:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:33:37 ---> 6f9d1bc7b65b 17:33:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:33:38 ---> 84b9b1110ea2 17:33:38 Step 20/25 : EXPOSE 59986 17:33:38 ---> Running in 598c60cdd255 17:33:38 Removing intermediate container 598c60cdd255 17:33:38 ---> af13ba59b45d 17:33:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:33:38 ---> Running in 4e905ca8c999 17:33:39 Removing intermediate container 4e905ca8c999 17:33:39 ---> 234175023344 17:33:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:33:39 ---> Running in 8c46dac5eab9 17:33:39 Removing intermediate container 8c46dac5eab9 17:33:39 ---> 81759f1bd2f5 17:33:39 Step 23/25 : LABEL arch=arm64 17:33:39 ---> Running in 187b69321ab1 17:33:39 Removing intermediate container 187b69321ab1 17:33:39 ---> 24a8a321411b 17:33:39 Step 24/25 : LABEL git_sha=539913158ea56f8dca24ab775bb8172a7292d425 17:33:39 ---> Running in 6e7fef8ea3ff 17:33:40 Removing intermediate container 6e7fef8ea3ff 17:33:40 ---> 9f1745b0ed80 17:33:40 Step 25/25 : LABEL version=3.0.0-dev.22 17:33:40 ---> Running in a1fb5fe399e3 17:33:40 Removing intermediate container a1fb5fe399e3 17:33:40 ---> 247afedef0db 17:33:40 [Warning] One or more build-args [ARCH] were not consumed 17:33:40 Successfully built 247afedef0db 17:33:40 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:40 provisioning config files... 17:33:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/94@tmp/config13000769203016467267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:41 ---> docker-login.sh 17:33:41 nexus3.edgexfoundry.org:10001 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:41 Configure a credential helper to remove this warning. See 17:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:41 17:33:41 Login Succeeded 17:33:41 nexus3.edgexfoundry.org:10002 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:42 Configure a credential helper to remove this warning. See 17:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:42 17:33:42 Login Succeeded 17:33:42 nexus3.edgexfoundry.org:10003 17:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:42 Configure a credential helper to remove this warning. See 17:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:42 17:33:42 Login Succeeded 17:33:42 nexus3.edgexfoundry.org:10004 17:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:42 Configure a credential helper to remove this warning. See 17:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:42 17:33:42 Login Succeeded 17:33:42 docker.io 17:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:43 Configure a credential helper to remove this warning. See 17:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:43 17:33:43 Login Succeeded 17:33:43 ---> docker-login.sh ends [Pipeline] } 17:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:43 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 17:33:43 539913158ea56f8dca24ab775bb8172a7292d425 17:33:43 latest 17:33:43 3.0.0-dev.22 17:33:43 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:33:43 main 17:33:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 17:33:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:33:44 4f8ac71e4d00: Preparing 17:33:44 dbb2296e3615: Preparing 17:33:44 8ef4e6144be6: Preparing 17:33:44 be4aeb602417: Preparing 17:33:44 edf70074bd40: Preparing 17:33:44 edf70074bd40: Layer already exists 17:33:44 4f8ac71e4d00: Pushed 17:33:44 be4aeb602417: Pushed 17:33:44 dbb2296e3615: Pushed 17:33:51 8ef4e6144be6: Pushed 17:33:51 539913158ea56f8dca24ab775bb8172a7292d425: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:33:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:33:51 4f8ac71e4d00: Preparing 17:33:51 dbb2296e3615: Preparing 17:33:51 8ef4e6144be6: Preparing 17:33:51 be4aeb602417: Preparing 17:33:51 edf70074bd40: Preparing 17:33:51 edf70074bd40: Layer already exists 17:33:51 be4aeb602417: Layer already exists 17:33:51 4f8ac71e4d00: Layer already exists 17:33:51 dbb2296e3615: Layer already exists 17:33:51 8ef4e6144be6: Layer already exists 17:33:52 latest: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 17:33:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:33:52 4f8ac71e4d00: Preparing 17:33:52 dbb2296e3615: Preparing 17:33:52 8ef4e6144be6: Preparing 17:33:52 be4aeb602417: Preparing 17:33:52 edf70074bd40: Preparing 17:33:52 edf70074bd40: Layer already exists 17:33:52 8ef4e6144be6: Layer already exists 17:33:52 dbb2296e3615: Layer already exists 17:33:52 be4aeb602417: Layer already exists 17:33:52 4f8ac71e4d00: Layer already exists 17:33:53 3.0.0-dev.22: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:33:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:33:56 4f8ac71e4d00: Preparing 17:33:56 dbb2296e3615: Preparing 17:33:56 8ef4e6144be6: Preparing 17:33:56 be4aeb602417: Preparing 17:33:56 edf70074bd40: Preparing 17:33:56 4f8ac71e4d00: Layer already exists 17:33:56 edf70074bd40: Layer already exists 17:33:56 8ef4e6144be6: Layer already exists 17:33:56 dbb2296e3615: Layer already exists 17:33:56 be4aeb602417: Layer already exists 17:33:56 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 17:33:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:33:57 4f8ac71e4d00: Preparing 17:33:57 dbb2296e3615: Preparing 17:33:57 8ef4e6144be6: Preparing 17:33:57 be4aeb602417: Preparing 17:33:57 edf70074bd40: Preparing 17:33:57 edf70074bd40: Layer already exists 17:33:57 4f8ac71e4d00: Layer already exists 17:33:57 dbb2296e3615: Layer already exists 17:33:57 be4aeb602417: Layer already exists 17:33:57 8ef4e6144be6: Layer already exists 17:33:57 main: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:57 ===================================================== [Pipeline] echo 17:33:57 taggedImages: 17:33:57 - nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 17:33:57 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:33:57 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 17:33:57 - nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 17:33:57 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:58 17:33:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:58 arm64: Pulling from edgex-lftools-log-publisher 17:33:58 8998bd30e6a1: Pulling fs layer 17:33:58 04944245beec: Pulling fs layer 17:33:58 699f458cf7ca: Pulling fs layer 17:33:58 765212b225bb: Pulling fs layer 17:33:58 f23df028b6ca: Pulling fs layer 17:33:58 d65c8cfc05b1: Pulling fs layer 17:33:58 2437ff75d9bd: Pulling fs layer 17:33:58 f23df028b6ca: Waiting 17:33:58 d65c8cfc05b1: Waiting 17:33:58 2437ff75d9bd: Waiting 17:33:58 765212b225bb: Waiting 17:33:58 04944245beec: Verifying Checksum 17:33:58 04944245beec: Download complete 17:33:58 765212b225bb: Verifying Checksum 17:33:58 765212b225bb: Download complete 17:33:59 f23df028b6ca: Verifying Checksum 17:33:59 f23df028b6ca: Download complete 17:33:59 d65c8cfc05b1: Verifying Checksum 17:33:59 d65c8cfc05b1: Download complete 17:33:59 699f458cf7ca: Verifying Checksum 17:33:59 699f458cf7ca: Download complete 17:33:59 8998bd30e6a1: Verifying Checksum 17:33:59 8998bd30e6a1: Download complete 17:34:02 2437ff75d9bd: Verifying Checksum 17:34:02 2437ff75d9bd: Download complete 17:34:04 8998bd30e6a1: Pull complete 17:34:04 04944245beec: Pull complete 17:34:05 699f458cf7ca: Pull complete 17:34:06 765212b225bb: Pull complete 17:34:07 f23df028b6ca: Pull complete 17:34:07 d65c8cfc05b1: Pull complete 17:34:22 2437ff75d9bd: Pull complete 17:34:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:34:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:22 prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container 17:34:22 $ 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/device-rest-go/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@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 17:34:25 $ docker top 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:26 ---> job-cost.sh 17:34:26 lf-activate-venv: SKIPPING 17:34:26 INFO: No Stack... 17:34:26 INFO: Retrieving Pricing Info for: v3-standard-4 17:34:27 INFO: Archiving Costs [Pipeline] sh 17:34:28 + cat /w/workspace/device-rest-go/94/archives/cost.csv 17:34:28 + cut -d, -f6 [Pipeline] lock 17:34:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] 17:34:28 Resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] did not exist. Created. 17:34:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:29 /w/workspace/device-rest-go/94@tmp/durable-9f16b2a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:34:29 + echo total: 0.10999999940395355 [Pipeline] stash 17:34:29 Warning: overwriting stash ‘stack-cost’ 17:34:29 Stashed 1 file(s) [Pipeline] } 17:34:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:30 $ docker stop --time=1 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff 17:34:31 $ docker rm -f --volumes 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff [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 17:34:31 provisioning config files... 17:34:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6767554872610700054tmp [Pipeline] { [Pipeline] sh 17:34:32 + set +x 17:34:32 + bash -s -- 17:34:32 + curl -s https://codecov.io/bash 17:34:32 17:34:32 _____ _ 17:34:32 / ____| | | 17:34:32 | | ___ __| | ___ ___ _____ __ 17:34:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:34:32 | |___| (_) | (_| | __/ (_| (_) \ V / 17:34:32 \_____\___/ \__,_|\___|\___\___/ \_/ 17:34:32 Bash-1.0.6 17:34:32 17:34:32 17:34:32 ==> git version 2.25.1 found 17:34:32 ==> 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 17:34:32 Release-Date: 2020-01-08 17:34:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:34:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:34:32 ==> Jenkins CI detected. 17:34:32 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 17:34:32 project root: . 17:34:32 --> token set from env 17:34:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:34:32 ==> Running gcov in . (disable via -X gcov) 17:34:32 ==> Python coveragepy not found 17:34:32 ==> Searching for coverage reports in: 17:34:32 + . 17:34:32 -> Found 1 reports 17:34:32 ==> Detecting git/mercurial file structure 17:34:32 ==> Reading reports 17:34:32 + ./coverage.out bytes=14200 17:34:32 ==> Appending adjustments 17:34:32 https://docs.codecov.io/docs/fixing-reports 17:34:32 + Found adjustments 17:34:32 ==> Gzipping contents 17:34:32 4.0K /tmp/codecov.tb73aR.gz 17:34:32 ==> Uploading reports 17:34:32 url: https://codecov.io 17:34:32 query: branch=main&commit=539913158ea56f8dca24ab775bb8172a7292d425&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:34:32 -> Pinging Codecov 17:34:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=539913158ea56f8dca24ab775bb8172a7292d425&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:34:32 -> Uploading to 17:34:32 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/4E5D53B4F1F92C436F7061BF334D961C/539913158ea56f8dca24ab775bb8172a7292d425/0db66d67-f21a-474e-abe1-6e49699c003a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T173432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e72649bc8c3255eb45f24480898e7fa7e07510b29dea0db62c5c1e941ad875ab 17:34:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:32 Dload Upload Total Spent Left Speed 17:34:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10144 --:--:-- --:--:-- --:--:-- 10144 17:34:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } 17:34:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:34:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:34:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:33 17:34:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:34:33 df9b9388f04a: Pulling fs layer 17:34:33 52dc419b0ee2: Pulling fs layer 17:34:33 25bc292e5bac: Pulling fs layer 17:34:33 114826534d7a: Pulling fs layer 17:34:33 4657fd5d0bcf: Pulling fs layer 17:34:33 6ad1cebc031e: Pulling fs layer 17:34:33 8a3aa393b2d8: Pulling fs layer 17:34:33 6ad1cebc031e: Waiting 17:34:33 114826534d7a: Waiting 17:34:33 8a3aa393b2d8: Waiting 17:34:33 4657fd5d0bcf: Waiting 17:34:33 25bc292e5bac: Verifying Checksum 17:34:33 25bc292e5bac: Download complete 17:34:33 52dc419b0ee2: Download complete 17:34:33 4657fd5d0bcf: Verifying Checksum 17:34:33 4657fd5d0bcf: Download complete 17:34:33 df9b9388f04a: Verifying Checksum 17:34:33 df9b9388f04a: Download complete 17:34:34 df9b9388f04a: Pull complete 17:34:34 6ad1cebc031e: Verifying Checksum 17:34:34 6ad1cebc031e: Download complete 17:34:34 52dc419b0ee2: Pull complete 17:34:34 25bc292e5bac: Pull complete 17:34:34 114826534d7a: Verifying Checksum 17:34:34 114826534d7a: Download complete 17:34:34 8a3aa393b2d8: Verifying Checksum 17:34:34 8a3aa393b2d8: Download complete 17:34:38 114826534d7a: Pull complete 17:34:38 4657fd5d0bcf: Pull complete 17:34:38 6ad1cebc031e: Pull complete 17:34:41 8a3aa393b2d8: Pull complete 17:34:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:41 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:34:43 $ docker top ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c -eo pid,comm [Pipeline] { [Pipeline] echo 17:34:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 17:34:43 + set -o pipefail 17:34:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 17:34:49 17:34:49 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 17:34:49 17:34:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/329df419-9b03-4644-b9da-4485401df70c 17:34:49 17:34:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:34:49 17:34:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:34:49 17:34:49 17:34:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:34:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:34:49 More details here: https://snyk.co/ue1NS [Pipeline] } 17:34:49 $ docker stop --time=1 ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c 17:34:51 $ docker rm -f --volumes ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c [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 17:34:52 + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] sh 17:34:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:52 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:34:53 $ docker top 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 -eo pid,comm 17:34:53 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). 17:34:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:53 [ssh-agent] Looking for ssh-agent implementation... 17:34:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:53 $ docker exec 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 ssh-agent 17:34:53 SSH_AUTH_SOCK=/tmp/ssh-IsUboB63MgRz/agent.32 17:34:53 SSH_AGENT_PID=38 17:34:53 Running ssh-add (command line suppressed) 17:34:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8263136732559364299.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8263136732559364299.key) 17:34:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:54 + git semver tag 17:34:54 2023-03-22 17:34:54,214 [run_tag] DEBUG tag force:False 17:34:54 2023-03-22 17:34:54,214 [check_head_tag] DEBUG check head tag 17:34:54 2023-03-22 17:34:54,215 [execute] INFO git cat-file --batch-check 17:34:54 2023-03-22 17:34:54,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:34:54 2023-03-22 17:34:54,220 [execute] INFO git cat-file --batch 17:34:54 2023-03-22 17:34:54,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:34:54 2023-03-22 17:34:54,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:34:54 2023-03-22 17:34:54,240 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 17:34:54 2023-03-22 17:34:54,240 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:34:54 2023-03-22 17:34:54,245 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:34:54 3.0.0-dev.22 [Pipeline] } 17:34:54 $ docker exec --env ******** --env ******** 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 ssh-agent -k 17:34:54 unset SSH_AUTH_SOCK; 17:34:54 unset SSH_AGENT_PID; 17:34:54 echo Agent pid 38 killed; 17:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:54 + git semver [Pipeline] } 17:34:54 $ docker stop --time=1 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 17:34:56 $ docker rm -f --volumes 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:56 17:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:56 0.23.1-centos7: Pulling from edgex-lftools 17:34:56 ab5ef0e58194: Pulling fs layer 17:34:56 9712f1f96733: Pulling fs layer 17:34:56 63f879dbbcfc: Pulling fs layer 17:34:56 0d9ebad4ef96: Pulling fs layer 17:34:56 e9a5061849ea: Pulling fs layer 17:34:56 d747dcd14b5f: Pulling fs layer 17:34:56 2de7ff778b66: Pulling fs layer 17:34:56 e9a5061849ea: Waiting 17:34:56 d747dcd14b5f: Waiting 17:34:56 2de7ff778b66: Waiting 17:34:56 0d9ebad4ef96: Waiting 17:34:56 9712f1f96733: Verifying Checksum 17:34:56 9712f1f96733: Download complete 17:34:57 63f879dbbcfc: Verifying Checksum 17:34:57 63f879dbbcfc: Download complete 17:34:57 ab5ef0e58194: Verifying Checksum 17:34:57 ab5ef0e58194: Download complete 17:34:57 0d9ebad4ef96: Verifying Checksum 17:34:57 0d9ebad4ef96: Download complete 17:34:57 d747dcd14b5f: Download complete 17:34:57 e9a5061849ea: Verifying Checksum 17:34:57 e9a5061849ea: Download complete 17:34:57 2de7ff778b66: Download complete 17:35:00 ab5ef0e58194: Pull complete 17:35:00 9712f1f96733: Pull complete 17:35:00 63f879dbbcfc: Pull complete 17:35:04 0d9ebad4ef96: Pull complete 17:35:04 e9a5061849ea: Pull complete 17:35:04 d747dcd14b5f: Pull complete 17:35:05 2de7ff778b66: Pull complete 17:35:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:35:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:35:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:05 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:35:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:35:07 $ docker top 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:35:07 provisioning config files... 17:35:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11070466662414472013tmp 17:35:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15040962538165630251tmp 17:35:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16625112219096726065tmp [Pipeline] { [Pipeline] echo 17:35:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:35:08 ---> sigul-configuration.sh 17:35:08 gpg: directory `/root/.gnupg' created 17:35:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:35:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:35:08 gpg: keyring `/root/.gnupg/secring.gpg' created 17:35:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:35:08 gpg: CAST5 encrypted data 17:35:08 gpg: encrypted with 1 passphrase 17:35:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:35:08 + mkdir /home/jenkins 17:35:08 + mkdir /home/jenkins/sigul [Pipeline] sh 17:35:08 + 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 17:35:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:35:08 ---> sigul-install.sh 17:35:08 Sigul already installed; skipping installation. [Pipeline] sh 17:35:09 + git tag --list 17:35:09 v1.0.0 17:35:09 v1.1.0 17:35:09 v1.1.1 17:35:09 v1.1.2 17:35:09 v1.2.0 17:35:09 v1.2.1 17:35:09 v2.0.0 17:35:09 v2.1.0 17:35:09 v2.1.1 17:35:09 v2.1.1-dev.1 17:35:09 v2.1.1-dev.2 17:35:09 v2.1.1-dev.3 17:35:09 v2.2.0 17:35:09 v2.2.1-dev.1 17:35:09 v2.2.1-dev.2 17:35:09 v2.2.1-dev.3 17:35:09 v2.2.1-dev.4 17:35:09 v2.2.1-dev.5 17:35:09 v2.2.1-dev.6 17:35:09 v2.2.1-dev.7 17:35:09 v2.2.1-dev.8 17:35:09 v2.2.1-dev.9 17:35:09 v2.3.0 17:35:09 v2.3.0-dev.10 17:35:09 v2.3.0-dev.11 17:35:09 v2.3.0-dev.12 17:35:09 v2.3.0-dev.13 17:35:09 v2.3.0-dev.14 17:35:09 v2.3.0-dev.15 17:35:09 v2.3.0-dev.16 17:35:09 v2.3.0-dev.17 17:35:09 v2.3.0-dev.18 17:35:09 v2.3.0-dev.19 17:35:09 v2.3.0-dev.20 17:35:09 v2.3.0-dev.21 17:35:09 v2.3.0-dev.22 17:35:09 v2.3.0-dev.23 17:35:09 v2.3.0-dev.24 17:35:09 v2.3.0-dev.25 17:35:09 v2.3.0-dev.9 17:35:09 v3.0.0-dev.1 17:35:09 v3.0.0-dev.10 17:35:09 v3.0.0-dev.11 17:35:09 v3.0.0-dev.12 17:35:09 v3.0.0-dev.13 17:35:09 v3.0.0-dev.14 17:35:09 v3.0.0-dev.15 17:35:09 v3.0.0-dev.16 17:35:09 v3.0.0-dev.17 17:35:09 v3.0.0-dev.18 17:35:09 v3.0.0-dev.19 17:35:09 v3.0.0-dev.2 17:35:09 v3.0.0-dev.20 17:35:09 v3.0.0-dev.21 17:35:09 v3.0.0-dev.22 17:35:09 v3.0.0-dev.3 17:35:09 v3.0.0-dev.4 17:35:09 v3.0.0-dev.5 17:35:09 v3.0.0-dev.6 17:35:09 v3.0.0-dev.7 17:35:09 v3.0.0-dev.8 17:35:09 v3.0.0-dev.9 [Pipeline] sh 17:35:09 + lftools sign git-tag v3.0.0-dev.22 17:35:10 Signing Git tag with Sigul... 17:35:10 Signing v3.0.0-dev.22 [Pipeline] echo 17:35:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:35:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:35:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:35:11 $ docker stop --time=1 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e 17:35:12 $ docker rm -f --volumes 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:35:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:13 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:35:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:35:13 $ docker top 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f -eo pid,comm 17:35:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:35:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:13 [ssh-agent] Looking for ssh-agent implementation... 17:35:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:13 $ docker exec 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f ssh-agent 17:35:13 SSH_AUTH_SOCK=/tmp/ssh-aVOCOxuGrGzy/agent.32 17:35:13 SSH_AGENT_PID=38 17:35:13 Running ssh-add (command line suppressed) 17:35:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7944947996517619474.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7944947996517619474.key) 17:35:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:14 + git semver bump pre 17:35:14 2023-03-22 17:35:14,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:35:14 2023-03-22 17:35:14,465 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev 17:35:14 2023-03-22 17:35:14,465 [bump_version] DEBUG bumped version:3.0.0-dev.23 17:35:14 2023-03-22 17:35:14,465 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 17:35:14 2023-03-22 17:35:14,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:35:14 2023-03-22 17:35:14,465 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:35:14 2023-03-22 17:35:14,467 [execute] INFO git cat-file --batch-check 17:35:14 2023-03-22 17:35:14,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:14 2023-03-22 17:35:14,472 [execute] INFO git cat-file --batch 17:35:14 2023-03-22 17:35:14,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:14 2023-03-22 17:35:14,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:35:14 3.0.0-dev.23 [Pipeline] } 17:35:14 $ docker exec --env ******** --env ******** 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f ssh-agent -k 17:35:14 unset SSH_AUTH_SOCK; 17:35:14 unset SSH_AGENT_PID; 17:35:14 echo Agent pid 38 killed; 17:35:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:14 + git semver [Pipeline] } 17:35:15 $ docker stop --time=1 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f 17:35:16 $ docker rm -f --volumes 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f [Pipeline] // withDockerContainer [Pipeline] sh 17:35:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:17 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:35:17 $ docker top 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf -eo pid,comm 17:35:17 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). 17:35:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:17 [ssh-agent] Looking for ssh-agent implementation... 17:35:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:17 $ docker exec 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf ssh-agent 17:35:17 SSH_AUTH_SOCK=/tmp/ssh-Qbj6jSllf6iF/agent.32 17:35:17 SSH_AGENT_PID=39 17:35:17 Running ssh-add (command line suppressed) 17:35:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12749020170797605003.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12749020170797605003.key) 17:35:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:18 + git semver push 17:35:18 2023-03-22 17:35:18,588 [run_push] DEBUG push 17:35:18 2023-03-22 17:35:18,588 [execute] INFO git cat-file --batch-check 17:35:18 2023-03-22 17:35:18,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:18 2023-03-22 17:35:18,592 [execute] INFO git rev-list 6a5c67732bb7f18221647604b2f55e5ebb7859fc -- 17:35:18 2023-03-22 17:35:18,593 [execute] DEBUG Popen(['git', 'rev-list', '6a5c67732bb7f18221647604b2f55e5ebb7859fc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:35:18 2023-03-22 17:35:18,601 [execute] INFO git fetch -v origin 17:35:18 2023-03-22 17:35:18,601 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:35:19 2023-03-22 17:35:19,092 [run_push] DEBUG no remote changes detected 17:35:19 2023-03-22 17:35:19,092 [execute] INFO git push origin semver 17:35:19 2023-03-22 17:35:19,093 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:35:20 2023-03-22 17:35:19,932 [run_push] DEBUG push all version tags 17:35:20 2023-03-22 17:35:19,933 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:35:20 2023-03-22 17:35:19,933 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:35:20 2023-03-22 17:35:20,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:35:20 3.0.0-dev.23 [Pipeline] } 17:35:20 $ docker exec --env ******** --env ******** 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf ssh-agent -k 17:35:20 unset SSH_AUTH_SOCK; 17:35:20 unset SSH_AGENT_PID; 17:35:20 echo Agent pid 39 killed; 17:35:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:21 + git semver [Pipeline] } 17:35:21 $ docker stop --time=1 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf 17:35:22 $ docker rm -f --volumes 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf [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 17:35:23 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 17:35:23 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:35:23 total 16 17:35:23 drwxr-xr-x 3 root root 4096 Mar 22 17:24 . 17:35:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:35 .. 17:35:23 drwxr-xr-x 2 root root 4096 Mar 22 17:24 cost 17:35:23 -rw-r--r-- 1 root root 85 Mar 22 17:24 cost.csv 17:35:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 17:35:23 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:35:23 total 16 17:35:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:24 . 17:35:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:35 .. 17:35:23 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 17:24 cost 17:35:23 -rw-r--r-- 1 jenkins jenkins 85 Mar 22 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:24 ---> package-listing.sh 17:35:24 ++ facter osfamily 17:35:24 ++ tr '[:upper:]' '[:lower:]' 17:35:24 + OS_FAMILY=debian 17:35:24 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 17:35:24 + START_PACKAGES=/tmp/packages_start.txt 17:35:24 + END_PACKAGES=/tmp/packages_end.txt 17:35:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:24 + PACKAGES=/tmp/packages_start.txt 17:35:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:35:24 + PACKAGES=/tmp/packages_end.txt 17:35:24 + case "${OS_FAMILY}" in 17:35:24 + dpkg -l 17:35:24 + grep '^ii' 17:35:24 + '[' -f /tmp/packages_start.txt ']' 17:35:24 + '[' -f /tmp/packages_end.txt ']' 17:35:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:35:24 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 17:35:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 17:35:24 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:25 prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container 17:35:25 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_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 17:35:26 $ docker top 3e5f989fd71388c6956e433891209562bc429956d1ba72b7842af958426f50be -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:26 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:26 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:26 + ls /var/log/sa-host 17:35:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:27 provisioning config files... 17:35:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12593490069665671125tmp [Pipeline] { [Pipeline] echo 17:35:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:27 ---> create-netrc.sh [Pipeline] } 17:35:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:27 ---> python-tools-install.sh [Pipeline] echo 17:35:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:27 ---> sudo-logs.sh 17:35:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:28 ---> job-cost.sh 17:35:28 lf-activate-venv: SKIPPING 17:35:28 DEBUG: total: 0.2199999988079071 17:35:28 INFO: Retrieving Stack Cost... 17:35:28 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:29 INFO: Archiving Costs [Pipeline] echo 17:35:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:29 ---> logs-deploy.sh 17:35:29 lf-activate-venv: SKIPPING 17:35:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/94 17:35:29 INFO: archiving workspace using pattern(s): 17:35:30 Archives upload complete. 17:35:30 INFO: archiving logs to Nexus