Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eeb2727d50df763d785a8885935756adc9e2bce2 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-ssh14864610611117483195.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10209948503700790076.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12619129488521616700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15497775889795221535.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-ssh5019561210000780096.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6789’ Running on prd-ubuntu20.04-docker-8c-8g-6793 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 Avoid second fetch Checking out Revision eeb2727d50df763d785a8885935756adc9e2bce2 (main) Commit message: "Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 > git rev-list --no-walk 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:50:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:50:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:50:46 ========================================================= 02:50:46 EdgeX Global Pipelines Version Info 02:50:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:50:47 ------------------- 02:50:47 stable info: 02:50:47 ------------------- 02:50:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:50:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:50:47 Message: update stable to v1.0.244 02:50:47 ------------------- 02:50:47 experimental info: 02:50:47 ------------------- 02:50:47 Commited By: **** collab-it+edgex@linuxfoundation.org 02:50:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:50:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eeb2727 [Pipeline] echo 02:50:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:48 provisioning config files... 02:50:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10005650645239725797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> docker-login.sh 02:50:48 nexus3.edgexfoundry.org:10001 02:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:49 Configure a credential helper to remove this warning. See 02:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:49 02:50:49 Login Succeeded 02:50:49 nexus3.edgexfoundry.org:10002 02:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:49 Configure a credential helper to remove this warning. See 02:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:49 02:50:49 Login Succeeded 02:50:49 nexus3.edgexfoundry.org:10003 02:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:49 Configure a credential helper to remove this warning. See 02:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:49 02:50:49 Login Succeeded 02:50:49 nexus3.edgexfoundry.org:10004 02:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:49 Configure a credential helper to remove this warning. See 02:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:49 02:50:49 Login Succeeded 02:50:49 docker.io 02:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:49 Configure a credential helper to remove this warning. See 02:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:49 02:50:49 Login Succeeded 02:50:49 ---> docker-login.sh ends [Pipeline] } 02:50:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:50:50 + git rev-list -1 --merges eeb2727d50df763d785a8885935756adc9e2bce2~1..eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo 02:50:50 -----------> git rev-list -1 --merges eeb2727d50df763d785a8885935756adc9e2bce2~1..eeb2727d50df763d785a8885935756adc9e2bce2 eeb2727d50df763d785a8885935756adc9e2bce2 02:50:50 eeb2727d50df763d785a8885935756adc9e2bce2 [false] [Pipeline] sh 02:50:50 + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo 02:50:50 ========================================================= 02:50:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:50:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:50 + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo 02:50:50 [semverPrep] GIT_COMMIT: eeb2727d50df763d785a8885935756adc9e2bce2, Commit Message: Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34 [Pipeline] echo 02:50:50 [semverPrep] This is not a build commit. [Pipeline] sh 02:50:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:51 + grep -v github /etc/ssh/ssh_known_hosts 02:50:51 + [ -e /tmp/ssh_known_hosts ] 02:50:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:50:51 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 02:50:51 -a /etc/ssh/ssh_known_hosts 02:50:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:51 02:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:51 0.1.4: Pulling from edgex-devops/py-git-semver 02:50:51 b85a868b505f: Pulling fs layer 02:50:51 e2be974225ed: Pulling fs layer 02:50:51 339a4e72a1f5: Pulling fs layer 02:50:51 988bab9f4d93: Pulling fs layer 02:50:51 1469e6f7b9e6: Pulling fs layer 02:50:51 eaf3925da568: Pulling fs layer 02:50:51 bab4dde63d76: Pulling fs layer 02:50:51 bde34c3a00c8: Pulling fs layer 02:50:51 eaf3925da568: Waiting 02:50:51 1469e6f7b9e6: Waiting 02:50:51 bab4dde63d76: Waiting 02:50:51 bde34c3a00c8: Waiting 02:50:51 988bab9f4d93: Waiting 02:50:51 b352a97aabf1: Pulling fs layer 02:50:51 4872d77fe225: Pulling fs layer 02:50:51 5851b861e8e6: Pulling fs layer 02:50:51 b352a97aabf1: Waiting 02:50:51 4872d77fe225: Waiting 02:50:51 5851b861e8e6: Waiting 02:50:51 e2be974225ed: Download complete 02:50:51 988bab9f4d93: Verifying Checksum 02:50:51 988bab9f4d93: Download complete 02:50:52 1469e6f7b9e6: Verifying Checksum 02:50:52 1469e6f7b9e6: Download complete 02:50:52 339a4e72a1f5: Verifying Checksum 02:50:52 339a4e72a1f5: Download complete 02:50:52 eaf3925da568: Verifying Checksum 02:50:52 eaf3925da568: Download complete 02:50:52 bde34c3a00c8: Download complete 02:50:52 b352a97aabf1: Verifying Checksum 02:50:52 b352a97aabf1: Download complete 02:50:52 b85a868b505f: Verifying Checksum 02:50:52 b85a868b505f: Download complete 02:50:52 4872d77fe225: Verifying Checksum 02:50:52 4872d77fe225: Download complete 02:50:52 5851b861e8e6: Download complete 02:50:52 bab4dde63d76: Verifying Checksum 02:50:52 bab4dde63d76: Download complete 02:50:53 b85a868b505f: Pull complete 02:50:53 e2be974225ed: Pull complete 02:50:53 339a4e72a1f5: Pull complete 02:50:53 988bab9f4d93: Pull complete 02:50:54 1469e6f7b9e6: Pull complete 02:50:54 eaf3925da568: Pull complete 02:50:56 bab4dde63d76: Pull complete 02:50:56 bde34c3a00c8: Pull complete 02:50:56 b352a97aabf1: Pull complete 02:50:56 4872d77fe225: Pull complete 02:50:56 5851b861e8e6: Pull complete 02:50:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:56 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 02:50:56 $ 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 02:50:57 $ docker top 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 -eo pid,comm 02:50:57 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). 02:50:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:57 [ssh-agent] Looking for ssh-agent implementation... 02:50:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:57 $ docker exec 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent 02:50:57 SSH_AUTH_SOCK=/tmp/ssh-9jK4X2vHl5xd/agent.31 02:50:57 SSH_AGENT_PID=37 02:50:57 Running ssh-add (command line suppressed) 02:50:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11229597367100773568.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11229597367100773568.key) 02:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:58 + git tag --points-at HEAD [Pipeline] } 02:50:58 $ docker exec --env ******** --env ******** 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent -k 02:50:58 unset SSH_AUTH_SOCK; 02:50:58 unset SSH_AGENT_PID; 02:50:58 echo Agent pid 37 killed; 02:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:50:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:58 [ssh-agent] Looking for ssh-agent implementation... 02:50:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:58 $ docker exec 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent 02:50:58 SSH_AUTH_SOCK=/tmp/ssh-zAsfGw4cwQkt/agent.69 02:50:58 SSH_AGENT_PID=75 02:50:58 Running ssh-add (command line suppressed) 02:50:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8815377339763684381.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8815377339763684381.key) 02:50:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:59 + git semver init 02:50:59 2023-02-21 02:50:59,231 [run_init] DEBUG init version:0.0.0 force:False 02:50:59 2023-02-21 02:50:59,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:50:59 2023-02-21 02:50:59,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:50:59 2023-02-21 02:50:59,233 [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) 02:51:00 2023-02-21 02:51:00,274 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:51:00 2023-02-21 02:51:00,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:51:00 2023-02-21 02:51:00,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:51:00 2023-02-21 02:51:00,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:51:00 3.0.0-dev.12 [Pipeline] } 02:51:00 $ docker exec --env ******** --env ******** 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent -k 02:51:00 unset SSH_AUTH_SOCK; 02:51:00 unset SSH_AGENT_PID; 02:51:00 echo Agent pid 75 killed; 02:51:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:51:01 + git semver [Pipeline] } 02:51:01 $ docker stop --time=1 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 02:51:02 $ docker rm -f --volumes 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:51:03 Stashed 1 file(s) [Pipeline] echo 02:51:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 02:51:03 provisioning config files... 02:51:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11052527966750828577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> docker-login.sh 02:51:03 nexus3.edgexfoundry.org:10001 02:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:03 Configure a credential helper to remove this warning. See 02:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:03 02:51:03 Login Succeeded 02:51:03 nexus3.edgexfoundry.org:10002 02:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:03 Configure a credential helper to remove this warning. See 02:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:03 02:51:03 Login Succeeded 02:51:03 nexus3.edgexfoundry.org:10003 02:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:03 Configure a credential helper to remove this warning. See 02:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:03 02:51:03 Login Succeeded 02:51:03 nexus3.edgexfoundry.org:10004 02:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:03 Configure a credential helper to remove this warning. See 02:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:03 02:51:03 Login Succeeded 02:51:03 docker.io 02:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:04 Configure a credential helper to remove this warning. See 02:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:04 02:51:04 Login Succeeded 02:51:04 ---> docker-login.sh ends [Pipeline] } 02:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:51:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:04 ========================================================= 02:51:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:51:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:51:04 Sending build context to Docker daemon 10.82MB 02:51:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:51:04 Step 2/12 : FROM ${BASE} AS builder 02:51:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:51:04 213ec9aee27d: Pulling fs layer 02:51:04 4583459ba037: Pulling fs layer 02:51:04 93c1e223e6f2: Pulling fs layer 02:51:04 53926ce57604: Pulling fs layer 02:51:04 21b2b0c7a3f4: Pulling fs layer 02:51:04 22ff95d597cd: Pulling fs layer 02:51:04 12d6caf4c0d1: Pulling fs layer 02:51:04 96b7cbca73a9: Pulling fs layer 02:51:04 a7acece74701: Pulling fs layer 02:51:04 21b2b0c7a3f4: Waiting 02:51:04 22ff95d597cd: Waiting 02:51:04 12d6caf4c0d1: Waiting 02:51:04 53926ce57604: Waiting 02:51:04 96b7cbca73a9: Waiting 02:51:04 a7acece74701: Waiting 02:51:04 93c1e223e6f2: Download complete 02:51:04 4583459ba037: Download complete 02:51:04 21b2b0c7a3f4: Download complete 02:51:04 22ff95d597cd: Download complete 02:51:04 213ec9aee27d: Download complete 02:51:04 12d6caf4c0d1: Verifying Checksum 02:51:04 12d6caf4c0d1: Download complete 02:51:04 213ec9aee27d: Pull complete 02:51:05 4583459ba037: Pull complete 02:51:05 93c1e223e6f2: Pull complete 02:51:05 a7acece74701: Verifying Checksum 02:51:05 a7acece74701: Download complete 02:51:05 96b7cbca73a9: Verifying Checksum 02:51:05 96b7cbca73a9: Download complete 02:51:05 53926ce57604: Verifying Checksum 02:51:05 53926ce57604: Download complete 02:51:09 53926ce57604: Pull complete 02:51:09 21b2b0c7a3f4: Pull complete 02:51:09 22ff95d597cd: Pull complete 02:51:09 12d6caf4c0d1: Pull complete 02:51:11 96b7cbca73a9: Pull complete 02:51:12 a7acece74701: Pull complete 02:51:12 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:51:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:51:12 ---> db6d94c90886 02:51:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:51:13 ---> Running in 357c907cf496 02:51:13 Removing intermediate container 357c907cf496 02:51:13 ---> 256731f5222a 02:51:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:51:13 ---> Running in 96d7b8d1bb63 02:51:13 Removing intermediate container 96d7b8d1bb63 02:51:13 ---> c2ebed7a7951 02:51:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:51:13 ---> Running in b1198dbd4102 02:51:14 Removing intermediate container b1198dbd4102 02:51:14 ---> eb169582f641 02:51:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:51:14 ---> Running in a02e0b1142c5 02:51:14 Removing intermediate container a02e0b1142c5 02:51:14 ---> 729d66b043e9 02:51:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:14 ---> Running in 7cdb9fd45170 02:51:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:51:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:51:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:51:14 (2/4) Installing libedit (20210910.3.1-r0) 02:51:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:51:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:51:14 Executing busybox-1.35.0-r17.trigger 02:51:14 OK: 216 MiB in 55 packages 02:51:15 Removing intermediate container 7cdb9fd45170 02:51:15 ---> ac2099fd6602 02:51:15 Step 8/12 : WORKDIR /device-rest-go 02:51:15 ---> Running in 6dc72ba45258 02:51:15 Removing intermediate container 6dc72ba45258 02:51:15 ---> 48ab3edbcdd3 02:51:15 Step 9/12 : COPY go.mod vendor* ./ 02:51:15 ---> b468b56425e4 02:51:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:15 ---> Running in a042655ba204 02:51:18 Still waiting to schedule task 02:51:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:51:47 Removing intermediate container a042655ba204 02:51:47 ---> 797821403d36 02:51:47 Step 11/12 : COPY . . 02:51:47 ---> b4fbe5ac45d7 02:51:47 Step 12/12 : RUN $MAKE 02:51:47 ---> Running in eec844892519 02:51:47 noop 02:51:47 Removing intermediate container eec844892519 02:51:47 ---> 3fe1c2b22d76 02:51:47 Successfully built 3fe1c2b22d76 02:51:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:48 + docker inspect -f . ci-base-image-x86_64 02:51:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:48 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 02:51:48 $ 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 02:51:48 $ docker top 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:48 + go version 02:51:48 go version go1.18.7 linux/amd64 [Pipeline] } 02:51:48 $ docker stop --time=1 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce 02:51:50 $ docker rm -f --volumes 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:50 + docker inspect -f . ci-base-image-x86_64 02:51:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:50 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 02:51:50 $ 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 02:51:50 $ docker top 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:51:51 + make test 02:51:51 go test ./... -coverprofile=coverage.out ./... 02:51:51 ? github.com/edgexfoundry/device-rest-go [no test files] 02:51:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:52:00 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements 02:52:06 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:52:06 go vet ./... 02:52:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:52:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:52:09 ./bin/test-attribution-txt.sh [Pipeline] echo 02:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:52:09 $ docker stop --time=1 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b 02:52:11 $ docker rm -f --volumes 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b [Pipeline] // withDockerContainer [Pipeline] sh 02:52:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:52:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:52:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:12 + ls -al . 02:52:12 total 188 02:52:12 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 02:51 . 02:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:50 .. 02:52:12 -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 02:50 .dockerignore 02:52:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:52 .git 02:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:50 .github 02:52:12 -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 02:50 .gitignore 02:52:12 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 02:50 .golangci.yml 02:52:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 02:51 .semver 02:52:12 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 02:50 Attribution.txt 02:52:12 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 02:50 CHANGELOG.md 02:52:12 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 02:50 Dockerfile 02:52:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 02:50 GOVERNANCE.md 02:52:12 -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 02:50 Jenkinsfile 02:52:12 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 02:50 LICENSE 02:52:12 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 02:50 Makefile 02:52:12 -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 02:50 OWNERS.md 02:52:12 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 02:50 README.md 02:52:12 -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 02:51 VERSION 02:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:50 bin 02:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:50 cmd 02:52:12 -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 02:52 coverage.out 02:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:50 driver 02:52:12 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 02:50 go.mod 02:52:12 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 02:50 go.sum 02:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:50 snap 02:52:12 -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + 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=eeb2727d50df763d785a8885935756adc9e2bce2 --label arch=amd64 --label version=3.0.0-dev.12 . 02:52:12 Sending build context to Docker daemon 10.83MB 02:52:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:52:12 Step 2/25 : FROM ${BASE} AS builder 02:52:12 ---> 3fe1c2b22d76 02:52:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:52:12 ---> Running in 30ad4163f953 02:52:12 Removing intermediate container 30ad4163f953 02:52:12 ---> 30f16b662166 02:52:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:52:12 ---> Running in ce6d21f3a4f9 02:52:12 Removing intermediate container ce6d21f3a4f9 02:52:12 ---> 571337de4856 02:52:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:52:12 ---> Running in e2c4b7dbc4d9 02:52:13 Removing intermediate container e2c4b7dbc4d9 02:52:13 ---> 6c31ddcc71fb 02:52:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:52:13 ---> Running in 51761a6cb0b1 02:52:13 Removing intermediate container 51761a6cb0b1 02:52:13 ---> 41be46f8497a 02:52:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:13 ---> Running in b5ae8f83e190 02:52:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:52:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:52:13 OK: 216 MiB in 55 packages 02:52:14 Removing intermediate container b5ae8f83e190 02:52:14 ---> 1f546da84bc2 02:52:14 Step 8/25 : WORKDIR /device-rest-go 02:52:14 ---> Running in bbdd7834b81b 02:52:14 Removing intermediate container bbdd7834b81b 02:52:14 ---> 4cb2b1ee376d 02:52:14 Step 9/25 : COPY go.mod vendor* ./ 02:52:14 ---> 14fbcd4c78c9 02:52:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:52:14 ---> Running in 4f203debd9db 02:52:15 Removing intermediate container 4f203debd9db 02:52:15 ---> 7b211bb02c20 02:52:15 Step 11/25 : COPY . . 02:52:15 ---> 73f9169461ac 02:52:15 Step 12/25 : RUN $MAKE 02:52:15 ---> Running in eadebbe0748e 02:52:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:52:33 Removing intermediate container eadebbe0748e 02:52:33 ---> 5e2cd19861c4 02:52:33 Step 13/25 : FROM alpine:3.16 02:52:33 3.16: Pulling from library/alpine 02:52:33 ef5531b6e74e: Pulling fs layer 02:52:33 ef5531b6e74e: Verifying Checksum 02:52:33 ef5531b6e74e: Download complete 02:52:33 ef5531b6e74e: Pull complete 02:52:33 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:52:33 Status: Downloaded newer image for alpine:3.16 02:52:33 ---> dfd21b5a31f5 02:52:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:52:33 ---> Running in 4ed04db7d147 02:52:33 Removing intermediate container 4ed04db7d147 02:52:33 ---> 3e2420cfc7d4 02:52:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:52:33 ---> Running in d17e8c85c5c9 02:52:33 Removing intermediate container d17e8c85c5c9 02:52:33 ---> 52982ffad8b6 02:52:33 Step 16/25 : RUN apk add --update --no-cache dumb-init 02:52:33 ---> Running in 7c088acc6503 02:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:52:33 (1/1) Installing dumb-init (1.2.5-r1) 02:52:33 Executing busybox-1.35.0-r17.trigger 02:52:33 OK: 6 MiB in 15 packages 02:52:34 Removing intermediate container 7c088acc6503 02:52:34 ---> 1ddc75b777c3 02:52:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:52:34 ---> ffc921bc11c2 02:52:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:52:35 ---> 68912ab445dd 02:52:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:52:35 ---> 01e8d0381a91 02:52:35 Step 20/25 : EXPOSE 59986 02:52:35 ---> Running in dd527d7b8fa2 02:52:35 Removing intermediate container dd527d7b8fa2 02:52:35 ---> fb58698c96b8 02:52:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:52:35 ---> Running in 70fd56430dd4 02:52:35 Removing intermediate container 70fd56430dd4 02:52:35 ---> a9ecd9beee43 02:52:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:52:35 ---> Running in 1db2742aa703 02:52:35 Removing intermediate container 1db2742aa703 02:52:35 ---> 4878a7db1ecf 02:52:35 Step 23/25 : LABEL arch=amd64 02:52:35 ---> Running in a3dca96cb16c 02:52:35 Removing intermediate container a3dca96cb16c 02:52:35 ---> 6cf5430ff6a6 02:52:35 Step 24/25 : LABEL git_sha=eeb2727d50df763d785a8885935756adc9e2bce2 02:52:35 ---> Running in 48cb0eddfe14 02:52:35 Removing intermediate container 48cb0eddfe14 02:52:35 ---> b4576227b2e0 02:52:35 Step 25/25 : LABEL version=3.0.0-dev.12 02:52:35 ---> Running in d821087765e5 02:52:35 Removing intermediate container d821087765e5 02:52:35 ---> 1ac49ef0def0 02:52:35 [Warning] One or more build-args [ARCH] were not consumed 02:52:35 Successfully built 1ac49ef0def0 02:52:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:35 provisioning config files... 02:52:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2731067069320629483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:36 ---> docker-login.sh 02:52:36 nexus3.edgexfoundry.org:10001 02:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:36 Configure a credential helper to remove this warning. See 02:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:36 02:52:36 Login Succeeded 02:52:36 nexus3.edgexfoundry.org:10002 02:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:36 Configure a credential helper to remove this warning. See 02:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:36 02:52:36 Login Succeeded 02:52:36 nexus3.edgexfoundry.org:10003 02:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:36 Configure a credential helper to remove this warning. See 02:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:36 02:52:36 Login Succeeded 02:52:36 nexus3.edgexfoundry.org:10004 02:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:36 Configure a credential helper to remove this warning. See 02:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:36 02:52:36 Login Succeeded 02:52:36 docker.io 02:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:36 Configure a credential helper to remove this warning. See 02:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:36 02:52:36 Login Succeeded 02:52:36 ---> docker-login.sh ends [Pipeline] } 02:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:52:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:52:36 eeb2727d50df763d785a8885935756adc9e2bce2 02:52:36 latest 02:52:36 3.0.0-dev.12 02:52:36 eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 02:52:36 main 02:52:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 02:52:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:52:37 52fbcc6d0641: Preparing 02:52:37 c6026e22937e: Preparing 02:52:37 789624c275b9: Preparing 02:52:37 53c5e67c47a1: Preparing 02:52:37 aa5968d388b8: Preparing 02:52:37 aa5968d388b8: Layer already exists 02:52:37 53c5e67c47a1: Pushed 02:52:37 52fbcc6d0641: Pushed 02:52:37 c6026e22937e: Pushed 02:52:40 789624c275b9: Pushed 02:52:40 eeb2727d50df763d785a8885935756adc9e2bce2: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:52:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:52:40 52fbcc6d0641: Preparing 02:52:40 c6026e22937e: Preparing 02:52:40 789624c275b9: Preparing 02:52:40 53c5e67c47a1: Preparing 02:52:40 aa5968d388b8: Preparing 02:52:40 c6026e22937e: Layer already exists 02:52:40 789624c275b9: Layer already exists 02:52:40 52fbcc6d0641: Layer already exists 02:52:40 53c5e67c47a1: Layer already exists 02:52:40 aa5968d388b8: Layer already exists 02:52:40 latest: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 02:52:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:52:41 52fbcc6d0641: Preparing 02:52:41 c6026e22937e: Preparing 02:52:41 789624c275b9: Preparing 02:52:41 53c5e67c47a1: Preparing 02:52:41 aa5968d388b8: Preparing 02:52:41 aa5968d388b8: Layer already exists 02:52:41 c6026e22937e: Layer already exists 02:52:41 789624c275b9: Layer already exists 02:52:41 53c5e67c47a1: Layer already exists 02:52:41 52fbcc6d0641: Layer already exists 02:52:41 3.0.0-dev.12: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 02:52:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:52:41 52fbcc6d0641: Preparing 02:52:41 c6026e22937e: Preparing 02:52:41 789624c275b9: Preparing 02:52:41 53c5e67c47a1: Preparing 02:52:41 aa5968d388b8: Preparing 02:52:41 53c5e67c47a1: Layer already exists 02:52:41 789624c275b9: Layer already exists 02:52:41 52fbcc6d0641: Layer already exists 02:52:41 aa5968d388b8: Layer already exists 02:52:41 c6026e22937e: Layer already exists 02:52:41 eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:52:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:52:42 52fbcc6d0641: Preparing 02:52:42 c6026e22937e: Preparing 02:52:42 789624c275b9: Preparing 02:52:42 53c5e67c47a1: Preparing 02:52:42 aa5968d388b8: Preparing 02:52:42 53c5e67c47a1: Layer already exists 02:52:42 52fbcc6d0641: Layer already exists 02:52:42 789624c275b9: Layer already exists 02:52:42 c6026e22937e: Layer already exists 02:52:42 aa5968d388b8: Layer already exists 02:52:42 main: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:52:42 ===================================================== [Pipeline] echo 02:52:42 taggedImages: 02:52:42 - nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 02:52:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:52:42 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 02:52:42 - nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 02:52:42 - 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 02:52:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:42 02:52:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:43 latest: Pulling from edgex-lftools-log-publisher 02:52:43 5eb5b503b376: Pulling fs layer 02:52:43 5c69ac0246d0: Pulling fs layer 02:52:43 ec43610c2a17: Pulling fs layer 02:52:43 3a2ae6a8a46f: Pulling fs layer 02:52:43 33b1e0a273af: Pulling fs layer 02:52:43 5d3b04190fa2: Pulling fs layer 02:52:43 2f39f015ded8: Pulling fs layer 02:52:43 33b1e0a273af: Waiting 02:52:43 5d3b04190fa2: Waiting 02:52:43 3a2ae6a8a46f: Waiting 02:52:43 2f39f015ded8: Waiting 02:52:43 5c69ac0246d0: Verifying Checksum 02:52:43 5c69ac0246d0: Download complete 02:52:43 3a2ae6a8a46f: Verifying Checksum 02:52:43 3a2ae6a8a46f: Download complete 02:52:43 33b1e0a273af: Verifying Checksum 02:52:43 33b1e0a273af: Download complete 02:52:43 5d3b04190fa2: Download complete 02:52:43 ec43610c2a17: Verifying Checksum 02:52:43 ec43610c2a17: Download complete 02:52:43 5eb5b503b376: Download complete 02:52:44 2f39f015ded8: Download complete 02:52:44 5eb5b503b376: Pull complete 02:52:44 5c69ac0246d0: Pull complete 02:52:45 ec43610c2a17: Pull complete 02:52:45 3a2ae6a8a46f: Pull complete 02:52:45 33b1e0a273af: Pull complete 02:52:45 5d3b04190fa2: Pull complete 02:52:49 2f39f015ded8: Pull complete 02:52:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:49 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 02:52:49 $ 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 02:52:51 $ docker top 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:51 ---> job-cost.sh 02:52:51 lf-activate-venv: SKIPPING 02:52:51 INFO: No Stack... 02:52:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:52 INFO: Archiving Costs [Pipeline] sh 02:52:52 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:52:52 + cut -d, -f6 [Pipeline] lock 02:52:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] 02:52:52 Resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] did not exist. Created. 02:52:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:53 + echo total: 0.2199999988079071 [Pipeline] stash 02:52:53 Stashed 1 file(s) [Pipeline] } 02:52:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:53 $ docker stop --time=1 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c 02:52:54 $ docker rm -f --volumes 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:52:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6795 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:52:57 Running in /w/workspace/device-rest-go/84 [Pipeline] { [Pipeline] checkout 02:52:57 The recommended git tool is: git 02:53:02 using credential edgex-jenkins-ssh 02:53:02 Cloning the remote Git repository 02:53:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:53:02 > git init /w/workspace/device-rest-go/84 # timeout=10 02:53:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:53:02 > git --version # timeout=10 02:53:02 > git --version # 'git version 2.25.1' 02:53:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:53:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:06 Avoid second fetch 02:53:06 Checking out Revision eeb2727d50df763d785a8885935756adc9e2bce2 (main) 02:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:06 > git config core.sparsecheckout # timeout=10 02:53:06 > git checkout -f eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 02:53:07 Commit message: "Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:53:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:08 Dload Upload Total Spent Left Speed 02:53:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 02:53:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:53:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:53:09 + sudo tee /etc/docker/daemon.new 02:53:09 { 02:53:09 "registry-mirrors": [ 02:53:09 "https://nexus3.edgexfoundry.org:10001" 02:53:09 ], 02:53:09 "bip": "10.250.0.254/24", 02:53:09 "hosts": [ 02:53:09 "tcp://0.0.0.0:5555", 02:53:09 "unix:///var/run/docker.sock" 02:53:09 ], 02:53:09 "mtu": 1458, 02:53:09 "selinux-enabled": true, 02:53:09 "seccomp-profile": "/etc/docker/seccomp.json" 02:53:09 } [Pipeline] sh 02:53:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:53:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:28 provisioning config files... 02:53:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/84@tmp/config15569984039399631117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:28 ---> docker-login.sh 02:53:28 nexus3.edgexfoundry.org:10001 02:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:29 02:53:29 Login Succeeded 02:53:29 nexus3.edgexfoundry.org:10002 02:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:29 02:53:29 Login Succeeded 02:53:29 nexus3.edgexfoundry.org:10003 02:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:29 02:53:29 Login Succeeded 02:53:29 nexus3.edgexfoundry.org:10004 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 docker.io 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 ---> docker-login.sh ends [Pipeline] } 02:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:31 ========================================================= 02:53:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:53:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:53:31 Sending build context to Docker daemon 139.8kB 02:53:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:53:31 Step 2/12 : FROM ${BASE} AS builder 02:53:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:53:32 9b18e9b68314: Pulling fs layer 02:53:32 35d82f9e3411: Pulling fs layer 02:53:32 e16973657156: Pulling fs layer 02:53:32 fc693d55d65f: Pulling fs layer 02:53:32 7e9fc2657dce: Pulling fs layer 02:53:32 dda99020689f: Pulling fs layer 02:53:32 db1c61fa0a46: Pulling fs layer 02:53:32 891c053d2c06: Pulling fs layer 02:53:32 dda99020689f: Waiting 02:53:32 db1c61fa0a46: Waiting 02:53:32 fc693d55d65f: Waiting 02:53:32 7e9fc2657dce: Waiting 02:53:32 891c053d2c06: Waiting 02:53:32 e16973657156: Verifying Checksum 02:53:32 e16973657156: Download complete 02:53:32 35d82f9e3411: Verifying Checksum 02:53:32 35d82f9e3411: Download complete 02:53:32 7e9fc2657dce: Verifying Checksum 02:53:32 7e9fc2657dce: Download complete 02:53:32 dda99020689f: Verifying Checksum 02:53:32 dda99020689f: Download complete 02:53:32 9b18e9b68314: Verifying Checksum 02:53:32 9b18e9b68314: Download complete 02:53:33 9b18e9b68314: Pull complete 02:53:33 891c053d2c06: Verifying Checksum 02:53:33 891c053d2c06: Download complete 02:53:33 35d82f9e3411: Pull complete 02:53:34 e16973657156: Pull complete 02:53:34 db1c61fa0a46: Verifying Checksum 02:53:34 db1c61fa0a46: Download complete 02:53:35 fc693d55d65f: Verifying Checksum 02:53:35 fc693d55d65f: Download complete 02:53:47 fc693d55d65f: Pull complete 02:53:47 7e9fc2657dce: Pull complete 02:53:47 dda99020689f: Pull complete 02:53:51 db1c61fa0a46: Pull complete 02:53:52 891c053d2c06: Pull complete 02:53:53 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:53:53 ---> f96f9c87975a 02:53:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:53:55 ---> Running in 0004b5c4c989 02:53:55 Removing intermediate container 0004b5c4c989 02:53:55 ---> 924f18f9e2c9 02:53:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:55 ---> Running in 7e7d40cf07f5 02:53:55 Removing intermediate container 7e7d40cf07f5 02:53:55 ---> 9f030feda103 02:53:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:55 ---> Running in b76f10ed2ad0 02:53:56 Removing intermediate container b76f10ed2ad0 02:53:56 ---> 5a0eaaf9400e 02:53:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:53:56 ---> Running in e92aa7beff7c 02:53:56 Removing intermediate container e92aa7beff7c 02:53:56 ---> 7b35eaebd801 02:53:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:56 ---> Running in d31921f6de7b 02:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:53:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:53:58 (2/4) Installing libedit (20210910.3.1-r0) 02:53:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:53:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:53:59 Executing busybox-1.35.0-r17.trigger 02:53:59 OK: 226 MiB in 55 packages 02:54:00 Removing intermediate container d31921f6de7b 02:54:00 ---> 4797b1c00eef 02:54:00 Step 8/12 : WORKDIR /device-rest-go 02:54:00 ---> Running in 73bc835a58d3 02:54:00 Removing intermediate container 73bc835a58d3 02:54:00 ---> ca36187d20c0 02:54:00 Step 9/12 : COPY go.mod vendor* ./ 02:54:01 ---> 0f85e4ffd16d 02:54:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:01 ---> Running in 8cf368c8e562 02:55:22 Removing intermediate container 8cf368c8e562 02:55:22 ---> 4f0c0cb97f20 02:55:22 Step 11/12 : COPY . . 02:55:22 ---> d56c7c79722d 02:55:22 Step 12/12 : RUN $MAKE 02:55:22 ---> Running in ea6862d9a398 02:55:22 noop 02:55:22 Removing intermediate container ea6862d9a398 02:55:22 ---> 5900ecd86cc7 02:55:22 Successfully built 5900ecd86cc7 02:55:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:23 + docker inspect -f . ci-base-image-arm64 02:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:23 prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container 02:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:55:24 $ docker top df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:25 + go version 02:55:25 go version go1.18.7 linux/arm64 [Pipeline] } 02:55:25 $ docker stop --time=1 df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 02:55:27 $ docker rm -f --volumes df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:27 + docker inspect -f . ci-base-image-arm64 02:55:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:27 prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container 02:55:28 $ 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/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:55:29 $ docker top 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:30 + git config --global --add safe.directory /w/workspace/device-rest-go/84 [Pipeline] fileExists [Pipeline] sh 02:55:30 + make test 02:55:30 go test ./... -coverprofile=coverage.out ./... 02:55:32 ? github.com/edgexfoundry/device-rest-go [no test files] 02:57:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:57:09 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.9% of statements 02:57:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:57:09 go vet ./... 02:57:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:57:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:57:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:57:24 $ docker stop --time=1 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd 02:57:26 $ docker rm -f --volumes 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd [Pipeline] // withDockerContainer [Pipeline] sh 02:57:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:57:27 Warning: overwriting stash ‘coverage-report’ 02:57:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:57:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:57:28 + ls -al . 02:57:28 total 184 02:57:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:55 . 02:57:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:53 .. 02:57:28 -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 02:53 .dockerignore 02:57:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:53 .git 02:57:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:53 .github 02:57:28 -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 02:53 .gitignore 02:57:28 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 02:53 .golangci.yml 02:57:28 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 02:53 Attribution.txt 02:57:28 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 02:53 CHANGELOG.md 02:57:28 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 02:53 Dockerfile 02:57:28 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 02:53 GOVERNANCE.md 02:57:28 -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 02:53 Jenkinsfile 02:57:28 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 02:53 LICENSE 02:57:28 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 02:53 Makefile 02:57:28 -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 02:53 OWNERS.md 02:57:28 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 02:53 README.md 02:57:28 -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 02:51 VERSION 02:57:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:53 bin 02:57:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:53 cmd 02:57:28 -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 02:56 coverage.out 02:57:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:53 driver 02:57:28 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 02:53 go.mod 02:57:28 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 02:53 go.sum 02:57:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:53 snap 02:57:28 -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 02:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:28 + 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=eeb2727d50df763d785a8885935756adc9e2bce2 --label arch=arm64 --label version=3.0.0-dev.12 . 02:57:28 Sending build context to Docker daemon 154.1kB 02:57:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:57:28 Step 2/25 : FROM ${BASE} AS builder 02:57:28 ---> 5900ecd86cc7 02:57:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:57:28 ---> Running in f2b120a4b001 02:57:29 Removing intermediate container f2b120a4b001 02:57:29 ---> 148ddb303753 02:57:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:57:29 ---> Running in d6cbf656e6b6 02:57:29 Removing intermediate container d6cbf656e6b6 02:57:29 ---> 16e072c172b7 02:57:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:57:30 ---> Running in f30bdc1f41db 02:57:30 Removing intermediate container f30bdc1f41db 02:57:30 ---> 7a8c6ab3ae86 02:57:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:57:30 ---> Running in f22eefcf3800 02:57:30 Removing intermediate container f22eefcf3800 02:57:30 ---> 46cc867c965f 02:57:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:57:30 ---> Running in 2992a5fd3566 02:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:57:33 OK: 226 MiB in 55 packages 02:57:34 Removing intermediate container 2992a5fd3566 02:57:34 ---> 64e84eed03fd 02:57:34 Step 8/25 : WORKDIR /device-rest-go 02:57:34 ---> Running in d703af5fd81a 02:57:35 Removing intermediate container d703af5fd81a 02:57:35 ---> 229965492c93 02:57:35 Step 9/25 : COPY go.mod vendor* ./ 02:57:35 ---> 98f98451a9bf 02:57:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:57:35 ---> Running in 8beabe95ff55 02:57:38 Removing intermediate container 8beabe95ff55 02:57:38 ---> c813b067dd47 02:57:38 Step 11/25 : COPY . . 02:57:38 ---> 1c8af05c92c0 02:57:38 Step 12/25 : RUN $MAKE 02:57:38 ---> Running in 3dd2ab967387 02:57:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:00:01 Removing intermediate container 3dd2ab967387 03:00:01 ---> 6e9600f24979 03:00:01 Step 13/25 : FROM alpine:3.16 03:00:01 3.16: Pulling from library/alpine 03:00:01 3760b48202b3: Pulling fs layer 03:00:01 3760b48202b3: Verifying Checksum 03:00:01 3760b48202b3: Download complete 03:00:01 3760b48202b3: Pull complete 03:00:01 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:00:01 Status: Downloaded newer image for alpine:3.16 03:00:01 ---> 4c81e5bf8899 03:00:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:00:01 ---> Running in 2940e02d3fef 03:00:01 Removing intermediate container 2940e02d3fef 03:00:01 ---> 03603d34b52e 03:00:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:00:01 ---> Running in 6e6548dfa60d 03:00:01 Removing intermediate container 6e6548dfa60d 03:00:01 ---> c73f7d052424 03:00:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 03:00:01 ---> Running in db080653280e 03:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:00:01 (1/1) Installing dumb-init (1.2.5-r1) 03:00:01 Executing busybox-1.35.0-r17.trigger 03:00:01 OK: 5 MiB in 15 packages 03:00:01 Removing intermediate container db080653280e 03:00:01 ---> ebbaa53d8133 03:00:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:00:01 ---> 3542b6dc3892 03:00:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:00:01 ---> b234a39856e5 03:00:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:00:01 ---> 4fe35fda165a 03:00:01 Step 20/25 : EXPOSE 59986 03:00:01 ---> Running in f307c810c300 03:00:02 Removing intermediate container f307c810c300 03:00:02 ---> d2b39baf2e41 03:00:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:00:02 ---> Running in ef08096214c9 03:00:02 Removing intermediate container ef08096214c9 03:00:02 ---> 69b4376a1997 03:00:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:00:02 ---> Running in a62da947b320 03:00:02 Removing intermediate container a62da947b320 03:00:02 ---> 830a7361d793 03:00:02 Step 23/25 : LABEL arch=arm64 03:00:03 ---> Running in 34e8c9a042ed 03:00:03 Removing intermediate container 34e8c9a042ed 03:00:03 ---> 653c86a09311 03:00:03 Step 24/25 : LABEL git_sha=eeb2727d50df763d785a8885935756adc9e2bce2 03:00:03 ---> Running in 654c6e83ced9 03:00:03 Removing intermediate container 654c6e83ced9 03:00:03 ---> 302f1acf8048 03:00:03 Step 25/25 : LABEL version=3.0.0-dev.12 03:00:03 ---> Running in 0829be75a641 03:00:03 Removing intermediate container 0829be75a641 03:00:03 ---> a5ba9bf16d4d 03:00:03 [Warning] One or more build-args [ARCH] were not consumed 03:00:03 Successfully built a5ba9bf16d4d 03:00:03 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 03:00:04 provisioning config files... 03:00:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/84@tmp/config3210315042292172161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:04 ---> docker-login.sh 03:00:04 nexus3.edgexfoundry.org:10001 03:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:04 Configure a credential helper to remove this warning. See 03:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:04 03:00:04 Login Succeeded 03:00:04 nexus3.edgexfoundry.org:10002 03:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:04 Configure a credential helper to remove this warning. See 03:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:04 03:00:04 Login Succeeded 03:00:05 nexus3.edgexfoundry.org:10003 03:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:05 Configure a credential helper to remove this warning. See 03:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:05 03:00:05 Login Succeeded 03:00:05 nexus3.edgexfoundry.org:10004 03:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:05 Configure a credential helper to remove this warning. See 03:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:05 03:00:05 Login Succeeded 03:00:05 docker.io 03:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:10 Configure a credential helper to remove this warning. See 03:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:10 03:00:10 Login Succeeded 03:00:10 ---> docker-login.sh ends [Pipeline] } 03:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:00:10 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:00:10 eeb2727d50df763d785a8885935756adc9e2bce2 03:00:10 latest 03:00:10 3.0.0-dev.12 03:00:10 eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 03:00:10 main 03:00:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 03:00:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:00:10 491885dd727f: Preparing 03:00:10 ede259d6d5b4: Preparing 03:00:10 8504e42c8326: Preparing 03:00:10 74bf5c9bf6cb: Preparing 03:00:10 f70ee36035b9: Preparing 03:00:10 f70ee36035b9: Layer already exists 03:01:47 ede259d6d5b4: Retrying in 5 seconds 03:01:47 8504e42c8326: Retrying in 5 seconds 03:01:47 491885dd727f: Retrying in 5 seconds 03:01:47 74bf5c9bf6cb: Retrying in 5 seconds 03:01:47 8504e42c8326: Retrying in 4 seconds 03:01:47 491885dd727f: Retrying in 4 seconds 03:01:47 ede259d6d5b4: Retrying in 4 seconds 03:01:47 74bf5c9bf6cb: Retrying in 4 seconds 03:01:47 8504e42c8326: Retrying in 3 seconds 03:01:47 ede259d6d5b4: Retrying in 3 seconds 03:01:47 491885dd727f: Retrying in 3 seconds 03:01:47 74bf5c9bf6cb: Retrying in 3 seconds 03:01:47 ede259d6d5b4: Retrying in 2 seconds 03:01:47 491885dd727f: Retrying in 2 seconds 03:01:47 8504e42c8326: Retrying in 2 seconds 03:01:47 74bf5c9bf6cb: Retrying in 2 seconds 03:01:47 ede259d6d5b4: Retrying in 1 second 03:01:47 491885dd727f: Retrying in 1 second 03:01:47 8504e42c8326: Retrying in 1 second 03:01:47 74bf5c9bf6cb: Retrying in 1 second 03:03:24 74bf5c9bf6cb: Retrying in 10 seconds 03:03:24 ede259d6d5b4: Retrying in 10 seconds 03:03:24 491885dd727f: Retrying in 10 seconds 03:03:24 8504e42c8326: Retrying in 10 seconds 03:03:24 74bf5c9bf6cb: Retrying in 9 seconds 03:03:24 ede259d6d5b4: Retrying in 9 seconds 03:03:24 491885dd727f: Retrying in 9 seconds 03:03:24 8504e42c8326: Retrying in 9 seconds 03:03:24 74bf5c9bf6cb: Retrying in 8 seconds 03:03:24 ede259d6d5b4: Retrying in 8 seconds 03:03:24 491885dd727f: Retrying in 8 seconds 03:03:24 8504e42c8326: Retrying in 8 seconds 03:03:24 74bf5c9bf6cb: Retrying in 7 seconds 03:03:24 491885dd727f: Retrying in 7 seconds 03:03:24 ede259d6d5b4: Retrying in 7 seconds 03:03:24 8504e42c8326: Retrying in 7 seconds 03:03:24 74bf5c9bf6cb: Retrying in 6 seconds 03:03:24 ede259d6d5b4: Retrying in 6 seconds 03:03:24 491885dd727f: Retrying in 6 seconds 03:03:24 8504e42c8326: Retrying in 6 seconds 03:03:24 491885dd727f: Retrying in 5 seconds 03:03:24 74bf5c9bf6cb: Retrying in 5 seconds 03:03:24 ede259d6d5b4: Retrying in 5 seconds 03:03:24 8504e42c8326: Retrying in 5 seconds 03:03:24 ede259d6d5b4: Retrying in 4 seconds 03:03:24 74bf5c9bf6cb: Retrying in 4 seconds 03:03:24 491885dd727f: Retrying in 4 seconds 03:03:24 8504e42c8326: Retrying in 4 seconds 03:03:24 ede259d6d5b4: Retrying in 3 seconds 03:03:24 491885dd727f: Retrying in 3 seconds 03:03:24 74bf5c9bf6cb: Retrying in 3 seconds 03:03:24 8504e42c8326: Retrying in 3 seconds 03:03:24 491885dd727f: Retrying in 2 seconds 03:03:24 74bf5c9bf6cb: Retrying in 2 seconds 03:03:24 ede259d6d5b4: Retrying in 2 seconds 03:03:24 8504e42c8326: Retrying in 2 seconds 03:03:25 ede259d6d5b4: Retrying in 1 second 03:03:25 491885dd727f: Retrying in 1 second 03:03:25 74bf5c9bf6cb: Retrying in 1 second 03:03:25 8504e42c8326: Retrying in 1 second 03:04:04 491885dd727f: Pushed 03:04:04 ede259d6d5b4: Pushed 03:04:04 74bf5c9bf6cb: Pushed 03:04:04 8504e42c8326: Pushed 03:04:04 eeb2727d50df763d785a8885935756adc9e2bce2: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:04:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:04:05 491885dd727f: Preparing 03:04:05 ede259d6d5b4: Preparing 03:04:05 8504e42c8326: Preparing 03:04:05 74bf5c9bf6cb: Preparing 03:04:05 f70ee36035b9: Preparing 03:04:05 ede259d6d5b4: Layer already exists 03:04:05 8504e42c8326: Layer already exists 03:04:05 491885dd727f: Layer already exists 03:04:05 74bf5c9bf6cb: Layer already exists 03:04:05 f70ee36035b9: Layer already exists 03:04:05 latest: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 03:04:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:04:05 491885dd727f: Preparing 03:04:05 ede259d6d5b4: Preparing 03:04:05 8504e42c8326: Preparing 03:04:05 74bf5c9bf6cb: Preparing 03:04:05 f70ee36035b9: Preparing 03:04:05 ede259d6d5b4: Layer already exists 03:04:05 f70ee36035b9: Layer already exists 03:04:05 491885dd727f: Layer already exists 03:04:05 8504e42c8326: Layer already exists 03:04:05 74bf5c9bf6cb: Layer already exists 03:04:06 3.0.0-dev.12: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 03:04:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:04:06 491885dd727f: Preparing 03:04:06 ede259d6d5b4: Preparing 03:04:06 8504e42c8326: Preparing 03:04:06 74bf5c9bf6cb: Preparing 03:04:06 f70ee36035b9: Preparing 03:04:06 74bf5c9bf6cb: Layer already exists 03:04:06 f70ee36035b9: Layer already exists 03:04:06 491885dd727f: Layer already exists 03:04:06 8504e42c8326: Layer already exists 03:04:06 ede259d6d5b4: Layer already exists 03:04:07 eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:04:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:04:07 491885dd727f: Preparing 03:04:07 ede259d6d5b4: Preparing 03:04:07 8504e42c8326: Preparing 03:04:07 74bf5c9bf6cb: Preparing 03:04:07 f70ee36035b9: Preparing 03:04:07 8504e42c8326: Layer already exists 03:04:07 74bf5c9bf6cb: Layer already exists 03:04:07 f70ee36035b9: Layer already exists 03:04:07 ede259d6d5b4: Layer already exists 03:04:07 491885dd727f: Layer already exists 03:04:08 main: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:08 ===================================================== [Pipeline] echo 03:04:08 taggedImages: 03:04:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 03:04:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:04:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 03:04:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 03:04:08 - 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 03:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:08 03:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:08 arm64: Pulling from edgex-lftools-log-publisher 03:04:08 8998bd30e6a1: Pulling fs layer 03:04:08 04944245beec: Pulling fs layer 03:04:08 699f458cf7ca: Pulling fs layer 03:04:08 765212b225bb: Pulling fs layer 03:04:08 f23df028b6ca: Pulling fs layer 03:04:08 d65c8cfc05b1: Pulling fs layer 03:04:08 2437ff75d9bd: Pulling fs layer 03:04:08 f23df028b6ca: Waiting 03:04:08 765212b225bb: Waiting 03:04:08 d65c8cfc05b1: Waiting 03:04:08 2437ff75d9bd: Waiting 03:04:09 04944245beec: Verifying Checksum 03:04:09 04944245beec: Download complete 03:04:09 765212b225bb: Verifying Checksum 03:04:09 765212b225bb: Download complete 03:04:09 f23df028b6ca: Verifying Checksum 03:04:09 f23df028b6ca: Download complete 03:04:09 d65c8cfc05b1: Verifying Checksum 03:04:09 d65c8cfc05b1: Download complete 03:04:09 699f458cf7ca: Verifying Checksum 03:04:09 699f458cf7ca: Download complete 03:04:09 8998bd30e6a1: Download complete 03:04:11 2437ff75d9bd: Verifying Checksum 03:04:11 2437ff75d9bd: Download complete 03:04:13 8998bd30e6a1: Pull complete 03:04:13 04944245beec: Pull complete 03:04:15 699f458cf7ca: Pull complete 03:04:15 765212b225bb: Pull complete 03:04:16 f23df028b6ca: Pull complete 03:04:16 d65c8cfc05b1: Pull complete 03:04:31 2437ff75d9bd: Pull complete 03:04:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container 03:04:32 $ 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/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:04:33 $ docker top 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:34 ---> job-cost.sh 03:04:34 lf-activate-venv: SKIPPING 03:04:34 INFO: No Stack... 03:04:34 INFO: Retrieving Pricing Info for: v3-standard-4 03:04:35 INFO: Archiving Costs [Pipeline] sh 03:04:36 + + catcut /w/workspace/device-rest-go/84/archives/cost.csv 03:04:36 -d, -f6 [Pipeline] lock 03:04:36 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] 03:04:36 Resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] did not exist. Created. 03:04:36 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:36 /w/workspace/device-rest-go/84@tmp/durable-22f585a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:04:37 + echo total: 0.10999999940395355 [Pipeline] stash 03:04:37 Warning: overwriting stash ‘stack-cost’ 03:04:37 Stashed 1 file(s) [Pipeline] } 03:04:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:37 $ docker stop --time=1 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 03:04:38 $ docker rm -f --volumes 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 [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 03:04:39 provisioning config files... 03:04:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13036132043357526465tmp [Pipeline] { [Pipeline] sh 03:04:39 + set +x 03:04:39 + curl -s https://codecov.io/bash 03:04:39 + bash -s -- 03:04:39 03:04:39 _____ _ 03:04:39 / ____| | | 03:04:39 | | ___ __| | ___ ___ _____ __ 03:04:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:04:39 | |___| (_) | (_| | __/ (_| (_) \ V / 03:04:39 \_____\___/ \__,_|\___|\___\___/ \_/ 03:04:39 Bash-1.0.6 03:04:39 03:04:39 03:04:39 ==> git version 2.25.1 found 03:04:39 ==> 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 03:04:39 Release-Date: 2020-01-08 03:04:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:04:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:04:39 ==> Jenkins CI detected. 03:04:39 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:04:39 project root: . 03:04:39 --> token set from env 03:04:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:04:39 ==> Running gcov in . (disable via -X gcov) 03:04:39 ==> Python coveragepy not found 03:04:39 ==> Searching for coverage reports in: 03:04:39 + . 03:04:39 -> Found 1 reports 03:04:39 ==> Detecting git/mercurial file structure 03:04:39 ==> Reading reports 03:04:39 + ./coverage.out bytes=13744 03:04:39 ==> Appending adjustments 03:04:39 https://docs.codecov.io/docs/fixing-reports 03:04:39 + Found adjustments 03:04:39 ==> Gzipping contents 03:04:39 4.0K /tmp/codecov.8zA2tF.gz 03:04:39 ==> Uploading reports 03:04:39 url: https://codecov.io 03:04:39 query: branch=main&commit=eeb2727d50df763d785a8885935756adc9e2bce2&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:04:39 -> Pinging Codecov 03:04:39 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=eeb2727d50df763d785a8885935756adc9e2bce2&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:04:39 -> Uploading to 03:04:39 https://storage.googleapis.com/codecov/v4/raw/2023-02-21/4E5D53B4F1F92C436F7061BF334D961C/eeb2727d50df763d785a8885935756adc9e2bce2/ba1ef790-78cf-4777-9336-d4a625f360a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230221T030439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e58f91f70414c5f78093d00e5d1cf265f2b7906e77cebbcf93c759585700ab6 03:04:39 % Total % Received % Xferd Average Speed Time Time Time Current 03:04:39 Dload Upload Total Spent Left Speed 03:04:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8395 --:--:-- --:--:-- --:--:-- 8395 03:04:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } 03:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:04:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:04:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:40 03:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:04:40 df9b9388f04a: Pulling fs layer 03:04:40 52dc419b0ee2: Pulling fs layer 03:04:40 25bc292e5bac: Pulling fs layer 03:04:40 114826534d7a: Pulling fs layer 03:04:40 4657fd5d0bcf: Pulling fs layer 03:04:40 6ad1cebc031e: Pulling fs layer 03:04:40 8a3aa393b2d8: Pulling fs layer 03:04:40 114826534d7a: Waiting 03:04:40 4657fd5d0bcf: Waiting 03:04:40 6ad1cebc031e: Waiting 03:04:40 8a3aa393b2d8: Waiting 03:04:40 25bc292e5bac: Verifying Checksum 03:04:40 25bc292e5bac: Download complete 03:04:40 52dc419b0ee2: Verifying Checksum 03:04:40 52dc419b0ee2: Download complete 03:04:40 4657fd5d0bcf: Verifying Checksum 03:04:40 4657fd5d0bcf: Download complete 03:04:40 df9b9388f04a: Download complete 03:04:40 df9b9388f04a: Pull complete 03:04:40 6ad1cebc031e: Verifying Checksum 03:04:40 6ad1cebc031e: Download complete 03:04:40 52dc419b0ee2: Pull complete 03:04:40 25bc292e5bac: Pull complete 03:04:41 114826534d7a: Verifying Checksum 03:04:41 114826534d7a: Download complete 03:04:41 8a3aa393b2d8: Verifying Checksum 03:04:44 114826534d7a: Pull complete 03:04:44 4657fd5d0bcf: Pull complete 03:04:45 6ad1cebc031e: Pull complete 03:04:47 8a3aa393b2d8: Pull complete 03:04:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:47 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:04:48 $ 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 03:04:49 $ docker top 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 -eo pid,comm [Pipeline] { [Pipeline] echo 03:04:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:04:50 + set -o pipefail 03:04:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:04:58 03:04:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:04:58 03:04:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/e5f5d966-be90-44c6-9a3c-8dbf4eb751f8 03:04:58 03:04:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:04:58 03:04:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:04:58 03:04:58 03:04:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:04:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:04:58 More details here: https://snyk.co/ue1NS [Pipeline] } 03:04:58 $ docker stop --time=1 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 03:05:00 $ docker rm -f --volumes 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 [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 03:05:00 + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] sh 03:05:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:01 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:05:01 $ 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 03:05:01 $ docker top 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 -eo pid,comm 03:05:02 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). 03:05:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:02 [ssh-agent] Looking for ssh-agent implementation... 03:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:02 $ docker exec 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 ssh-agent 03:05:02 SSH_AUTH_SOCK=/tmp/ssh-UT3wBIUUVBLq/agent.32 03:05:02 SSH_AGENT_PID=38 03:05:02 Running ssh-add (command line suppressed) 03:05:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7516562865527200195.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7516562865527200195.key) 03:05:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:02 + git semver tag 03:05:02 2023-02-21 03:05:02,890 [run_tag] DEBUG tag force:False 03:05:02 2023-02-21 03:05:02,890 [check_head_tag] DEBUG check head tag 03:05:02 2023-02-21 03:05:02,892 [execute] INFO git cat-file --batch-check 03:05:02 2023-02-21 03:05:02,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:05:02 2023-02-21 03:05:02,895 [execute] INFO git cat-file --batch 03:05:02 2023-02-21 03:05:02,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:05:02 2023-02-21 03:05:02,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:02 2023-02-21 03:05:02,913 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 03:05:02 2023-02-21 03:05:02,913 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:05:02 2023-02-21 03:05:02,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:02 3.0.0-dev.12 [Pipeline] } 03:05:02 $ docker exec --env ******** --env ******** 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 ssh-agent -k 03:05:03 unset SSH_AUTH_SOCK; 03:05:03 unset SSH_AGENT_PID; 03:05:03 echo Agent pid 38 killed; 03:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:03 + git semver [Pipeline] } 03:05:03 $ docker stop --time=1 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 03:05:04 $ docker rm -f --volumes 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:05 03:05:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:05 0.23.1-centos7: Pulling from edgex-lftools 03:05:05 ab5ef0e58194: Pulling fs layer 03:05:05 9712f1f96733: Pulling fs layer 03:05:05 63f879dbbcfc: Pulling fs layer 03:05:05 0d9ebad4ef96: Pulling fs layer 03:05:05 e9a5061849ea: Pulling fs layer 03:05:05 d747dcd14b5f: Pulling fs layer 03:05:05 2de7ff778b66: Pulling fs layer 03:05:05 0d9ebad4ef96: Waiting 03:05:05 e9a5061849ea: Waiting 03:05:05 d747dcd14b5f: Waiting 03:05:05 2de7ff778b66: Waiting 03:05:05 9712f1f96733: Verifying Checksum 03:05:05 9712f1f96733: Download complete 03:05:05 63f879dbbcfc: Verifying Checksum 03:05:05 63f879dbbcfc: Download complete 03:05:06 0d9ebad4ef96: Verifying Checksum 03:05:06 0d9ebad4ef96: Download complete 03:05:06 e9a5061849ea: Verifying Checksum 03:05:06 e9a5061849ea: Download complete 03:05:06 d747dcd14b5f: Verifying Checksum 03:05:06 d747dcd14b5f: Download complete 03:05:06 ab5ef0e58194: Verifying Checksum 03:05:06 ab5ef0e58194: Download complete 03:05:06 2de7ff778b66: Verifying Checksum 03:05:06 2de7ff778b66: Download complete 03:05:08 ab5ef0e58194: Pull complete 03:05:08 9712f1f96733: Pull complete 03:05:09 63f879dbbcfc: Pull complete 03:05:12 0d9ebad4ef96: Pull complete 03:05:13 e9a5061849ea: Pull complete 03:05:13 d747dcd14b5f: Pull complete 03:05:13 2de7ff778b66: Pull complete 03:05:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:14 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:05:14 $ 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 03:05:16 $ docker top bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:05:16 provisioning config files... 03:05:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16829512587770356690tmp 03:05:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3891416571647172654tmp 03:05:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config402646988887874879tmp [Pipeline] { [Pipeline] echo 03:05:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:05:16 ---> sigul-configuration.sh 03:05:16 gpg: directory `/root/.gnupg' created 03:05:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:05:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:05:16 gpg: keyring `/root/.gnupg/secring.gpg' created 03:05:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:05:16 gpg: CAST5 encrypted data 03:05:16 gpg: encrypted with 1 passphrase 03:05:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:05:16 + mkdir /home/jenkins 03:05:16 + mkdir /home/jenkins/sigul [Pipeline] sh 03:05:17 + 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 03:05:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:05:17 ---> sigul-install.sh 03:05:17 Sigul already installed; skipping installation. [Pipeline] sh 03:05:17 + git tag --list 03:05:17 v1.0.0 03:05:17 v1.1.0 03:05:17 v1.1.1 03:05:17 v1.1.2 03:05:17 v1.2.0 03:05:17 v1.2.1 03:05:17 v2.0.0 03:05:17 v2.1.0 03:05:17 v2.1.1 03:05:17 v2.1.1-dev.1 03:05:17 v2.1.1-dev.2 03:05:17 v2.1.1-dev.3 03:05:17 v2.2.0 03:05:17 v2.2.1-dev.1 03:05:17 v2.2.1-dev.2 03:05:17 v2.2.1-dev.3 03:05:17 v2.2.1-dev.4 03:05:17 v2.2.1-dev.5 03:05:17 v2.2.1-dev.6 03:05:17 v2.2.1-dev.7 03:05:17 v2.2.1-dev.8 03:05:17 v2.2.1-dev.9 03:05:17 v2.3.0 03:05:17 v2.3.0-dev.10 03:05:17 v2.3.0-dev.11 03:05:17 v2.3.0-dev.12 03:05:17 v2.3.0-dev.13 03:05:17 v2.3.0-dev.14 03:05:17 v2.3.0-dev.15 03:05:17 v2.3.0-dev.16 03:05:17 v2.3.0-dev.17 03:05:17 v2.3.0-dev.18 03:05:17 v2.3.0-dev.19 03:05:17 v2.3.0-dev.20 03:05:17 v2.3.0-dev.21 03:05:17 v2.3.0-dev.22 03:05:17 v2.3.0-dev.23 03:05:17 v2.3.0-dev.24 03:05:17 v2.3.0-dev.25 03:05:17 v2.3.0-dev.9 03:05:17 v3.0.0-dev.1 03:05:17 v3.0.0-dev.10 03:05:17 v3.0.0-dev.11 03:05:17 v3.0.0-dev.12 03:05:17 v3.0.0-dev.2 03:05:17 v3.0.0-dev.3 03:05:17 v3.0.0-dev.4 03:05:17 v3.0.0-dev.5 03:05:17 v3.0.0-dev.6 03:05:17 v3.0.0-dev.7 03:05:17 v3.0.0-dev.8 03:05:17 v3.0.0-dev.9 [Pipeline] sh 03:05:17 + lftools sign git-tag v3.0.0-dev.12 03:05:18 Signing Git tag with Sigul... 03:05:18 Signing v3.0.0-dev.12 [Pipeline] echo 03:05:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:05:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:05:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:05:19 $ docker stop --time=1 bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 03:05:20 $ docker rm -f --volumes bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:05:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:21 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:05:21 $ 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 03:05:21 $ docker top 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be -eo pid,comm 03:05:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:05:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:21 [ssh-agent] Looking for ssh-agent implementation... 03:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:21 $ docker exec 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be ssh-agent 03:05:22 SSH_AUTH_SOCK=/tmp/ssh-qBVWPs2RyN8Y/agent.32 03:05:22 SSH_AGENT_PID=38 03:05:22 Running ssh-add (command line suppressed) 03:05:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18208960514114337153.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18208960514114337153.key) 03:05:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:22 + git semver bump pre 03:05:22 2023-02-21 03:05:22,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:22 2023-02-21 03:05:22,696 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev 03:05:22 2023-02-21 03:05:22,696 [bump_version] DEBUG bumped version:3.0.0-dev.13 03:05:22 2023-02-21 03:05:22,696 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 03:05:22 2023-02-21 03:05:22,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:22 2023-02-21 03:05:22,696 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:22 2023-02-21 03:05:22,699 [execute] INFO git cat-file --batch-check 03:05:22 2023-02-21 03:05:22,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:22 2023-02-21 03:05:22,704 [execute] INFO git cat-file --batch 03:05:22 2023-02-21 03:05:22,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:22 2023-02-21 03:05:22,710 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:22 3.0.0-dev.13 [Pipeline] } 03:05:22 $ docker exec --env ******** --env ******** 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be ssh-agent -k 03:05:22 unset SSH_AUTH_SOCK; 03:05:22 unset SSH_AGENT_PID; 03:05:22 echo Agent pid 38 killed; 03:05:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:23 + git semver [Pipeline] } 03:05:23 $ docker stop --time=1 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be 03:05:24 $ docker rm -f --volumes 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be [Pipeline] // withDockerContainer [Pipeline] sh 03:05:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:25 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:05:25 $ 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 03:05:25 $ docker top 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:25 [ssh-agent] Looking for ssh-agent implementation... 03:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:26 $ docker exec 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa ssh-agent 03:05:26 SSH_AUTH_SOCK=/tmp/ssh-MW2alGIxDGID/agent.32 03:05:26 SSH_AGENT_PID=38 03:05:26 Running ssh-add (command line suppressed) 03:05:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1645526695783536868.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1645526695783536868.key) 03:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:26 + git semver push 03:05:26 2023-02-21 03:05:26,745 [run_push] DEBUG push 03:05:26 2023-02-21 03:05:26,745 [execute] INFO git cat-file --batch-check 03:05:26 2023-02-21 03:05:26,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:26 2023-02-21 03:05:26,749 [execute] INFO git rev-list 92f339a31c7ae635145a60e088cc087b54812088 -- 03:05:26 2023-02-21 03:05:26,749 [execute] DEBUG Popen(['git', 'rev-list', '92f339a31c7ae635145a60e088cc087b54812088', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:05:26 2023-02-21 03:05:26,758 [execute] INFO git fetch -v origin 03:05:26 2023-02-21 03:05:26,758 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:05:27 2023-02-21 03:05:27,338 [run_push] DEBUG no remote changes detected 03:05:27 2023-02-21 03:05:27,339 [execute] INFO git push origin semver 03:05:27 2023-02-21 03:05:27,339 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:05:28 2023-02-21 03:05:28,128 [run_push] DEBUG push all version tags 03:05:28 2023-02-21 03:05:28,129 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:05:28 2023-02-21 03:05:28,129 [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) 03:05:28 2023-02-21 03:05:28,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:05:28 3.0.0-dev.13 [Pipeline] } 03:05:28 $ docker exec --env ******** --env ******** 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa ssh-agent -k 03:05:29 unset SSH_AUTH_SOCK; 03:05:29 unset SSH_AGENT_PID; 03:05:29 echo Agent pid 38 killed; 03:05:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:29 + git semver [Pipeline] } 03:05:29 $ docker stop --time=1 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa 03:05:30 $ docker rm -f --volumes 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa [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 03:05:31 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 03:05:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:05:31 total 16 03:05:31 drwxr-xr-x 3 root root 4096 Feb 21 02:52 . 03:05:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:05 .. 03:05:31 drwxr-xr-x 2 root root 4096 Feb 21 02:52 cost 03:05:31 -rw-r--r-- 1 root root 85 Feb 21 02:52 cost.csv 03:05:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 03:05:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:05:31 total 16 03:05:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 02:52 . 03:05:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:05 .. 03:05:31 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 02:52 cost 03:05:31 -rw-r--r-- 1 jenkins jenkins 85 Feb 21 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:05:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:05:32 ---> package-listing.sh 03:05:32 ++ facter osfamily 03:05:32 ++ tr '[:upper:]' '[:lower:]' 03:05:32 + OS_FAMILY=debian 03:05:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:05:32 + START_PACKAGES=/tmp/packages_start.txt 03:05:32 + END_PACKAGES=/tmp/packages_end.txt 03:05:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:05:32 + PACKAGES=/tmp/packages_start.txt 03:05:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:05:32 + PACKAGES=/tmp/packages_end.txt 03:05:32 + case "${OS_FAMILY}" in 03:05:32 + dpkg -l 03:05:32 + grep '^ii' 03:05:32 + '[' -f /tmp/packages_start.txt ']' 03:05:32 + '[' -f /tmp/packages_end.txt ']' 03:05:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:05:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:05:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:05:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:05:32 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 03:05:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:33 prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container 03:05:33 $ 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 03:05:34 $ docker top 398dfd277fd1ea77089c58e0ad963331a60e015f2e2365c2f7a00214645ac851 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:34 + touch /tmp/pre-build-complete [Pipeline] sh 03:05:34 + mkdir -p /var/log/sysstat [Pipeline] sh 03:05:34 + ls /var/log/sa-host 03:05:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:35 provisioning config files... 03:05:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10290769829784138649tmp [Pipeline] { [Pipeline] echo 03:05:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:05:35 ---> create-netrc.sh [Pipeline] } 03:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:05:35 ---> python-tools-install.sh [Pipeline] echo 03:05:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:05:36 ---> sudo-logs.sh 03:05:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:05:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:05:36 ---> job-cost.sh 03:05:36 lf-activate-venv: SKIPPING 03:05:36 DEBUG: total: 0.2199999988079071 03:05:36 INFO: Retrieving Stack Cost... 03:05:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:05:37 INFO: Archiving Costs [Pipeline] echo 03:05:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:05:37 ---> logs-deploy.sh 03:05:37 lf-activate-venv: SKIPPING 03:05:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/84 03:05:37 INFO: archiving workspace using pattern(s): 03:05:38 Archives upload complete. 03:05:38 INFO: archiving logs to Nexus