Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 795c3d665a96d2a485aec9c896c7781dae732fba 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-ssh2629314418355641205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8551422404672672163.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3959600987063960064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12629302108444133980.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-ssh7603356948560855629.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7060 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 795c3d665a96d2a485aec9c896c7781dae732fba (main) Commit message: "Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" > 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 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 > git rev-list --no-walk dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:43 ========================================================= 02:30:43 EdgeX Global Pipelines Version Info 02:30:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:44 ------------------- 02:30:44 stable info: 02:30:44 ------------------- 02:30:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:30:44 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:30:44 Message: update stable to v1.0.245 02:30:45 ------------------- 02:30:45 experimental info: 02:30:45 ------------------- 02:30:45 Commited By: **** collab-it+edgex@linuxfoundation.org 02:30:45 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 02:30:45 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 795c3d6 [Pipeline] echo 02:30:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:45 provisioning config files... 02:30:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13295139731834199911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:46 ---> docker-login.sh 02:30:46 nexus3.edgexfoundry.org:10001 02:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:46 Configure a credential helper to remove this warning. See 02:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:46 02:30:46 Login Succeeded 02:30:46 nexus3.edgexfoundry.org:10002 02:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:46 Configure a credential helper to remove this warning. See 02:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:46 02:30:46 Login Succeeded 02:30:46 nexus3.edgexfoundry.org:10003 02:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:46 Configure a credential helper to remove this warning. See 02:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:46 02:30:46 Login Succeeded 02:30:46 nexus3.edgexfoundry.org:10004 02:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:46 Configure a credential helper to remove this warning. See 02:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:46 02:30:46 Login Succeeded 02:30:46 docker.io 02:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:46 Configure a credential helper to remove this warning. See 02:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:46 02:30:46 Login Succeeded 02:30:47 ---> docker-login.sh ends [Pipeline] } 02:30:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:30:47 + git rev-list -1 --merges 795c3d665a96d2a485aec9c896c7781dae732fba~1..795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] echo 02:30:47 -----------> git rev-list -1 --merges 795c3d665a96d2a485aec9c896c7781dae732fba~1..795c3d665a96d2a485aec9c896c7781dae732fba 795c3d665a96d2a485aec9c896c7781dae732fba 02:30:47 795c3d665a96d2a485aec9c896c7781dae732fba [false] [Pipeline] sh 02:30:47 + git log --format=format:%s -1 795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] echo 02:30:47 ========================================================= 02:30:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:48 + git log --format=format:%s -1 795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] echo 02:30:48 [semverPrep] GIT_COMMIT: 795c3d665a96d2a485aec9c896c7781dae732fba, Commit Message: Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64 [Pipeline] echo 02:30:48 [semverPrep] This is not a build commit. [Pipeline] sh 02:30:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:48 + grep -v github /etc/ssh/ssh_known_hosts 02:30:48 + [ -e /tmp/ssh_known_hosts ] 02:30:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:48 + sudo tee -a /etc/ssh/ssh_known_hosts 02:30:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:48 02:30:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:49 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:49 b85a868b505f: Pulling fs layer 02:30:49 e2be974225ed: Pulling fs layer 02:30:49 339a4e72a1f5: Pulling fs layer 02:30:49 988bab9f4d93: Pulling fs layer 02:30:49 1469e6f7b9e6: Pulling fs layer 02:30:49 eaf3925da568: Pulling fs layer 02:30:49 bab4dde63d76: Pulling fs layer 02:30:49 bde34c3a00c8: Pulling fs layer 02:30:49 b352a97aabf1: Pulling fs layer 02:30:49 4872d77fe225: Pulling fs layer 02:30:49 5851b861e8e6: Pulling fs layer 02:30:49 988bab9f4d93: Waiting 02:30:49 1469e6f7b9e6: Waiting 02:30:49 eaf3925da568: Waiting 02:30:49 4872d77fe225: Waiting 02:30:49 5851b861e8e6: Waiting 02:30:49 b352a97aabf1: Waiting 02:30:49 bde34c3a00c8: Waiting 02:30:49 bab4dde63d76: Waiting 02:30:49 e2be974225ed: Download complete 02:30:49 988bab9f4d93: Verifying Checksum 02:30:49 988bab9f4d93: Download complete 02:30:49 1469e6f7b9e6: Verifying Checksum 02:30:49 1469e6f7b9e6: Download complete 02:30:49 eaf3925da568: Verifying Checksum 02:30:49 eaf3925da568: Download complete 02:30:49 339a4e72a1f5: Verifying Checksum 02:30:49 339a4e72a1f5: Download complete 02:30:49 bde34c3a00c8: Download complete 02:30:49 b352a97aabf1: Verifying Checksum 02:30:49 b352a97aabf1: Download complete 02:30:49 4872d77fe225: Download complete 02:30:49 5851b861e8e6: Verifying Checksum 02:30:49 5851b861e8e6: Download complete 02:30:49 b85a868b505f: Verifying Checksum 02:30:49 b85a868b505f: Download complete 02:30:49 bab4dde63d76: Verifying Checksum 02:30:49 bab4dde63d76: Download complete 02:30:50 b85a868b505f: Pull complete 02:30:50 e2be974225ed: Pull complete 02:30:51 339a4e72a1f5: Pull complete 02:30:51 988bab9f4d93: Pull complete 02:30:51 1469e6f7b9e6: Pull complete 02:30:51 eaf3925da568: Pull complete 02:30:53 bab4dde63d76: Pull complete 02:30:53 bde34c3a00c8: Pull complete 02:30:53 b352a97aabf1: Pull complete 02:30:53 4872d77fe225: Pull complete 02:30:53 5851b861e8e6: Pull complete 02:30:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:53 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:30:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:30:56 $ docker top ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 -eo pid,comm 02:30:56 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:30:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:56 [ssh-agent] Looking for ssh-agent implementation... 02:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:56 $ docker exec ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 ssh-agent 02:30:56 SSH_AUTH_SOCK=/tmp/ssh-5R0Lod3NzXlb/agent.33 02:30:56 SSH_AGENT_PID=39 02:30:56 Running ssh-add (command line suppressed) 02:30:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6269465982901620467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6269465982901620467.key) 02:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:57 + git tag --points-at HEAD [Pipeline] } 02:30:57 $ docker exec --env ******** --env ******** ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 ssh-agent -k 02:30:57 unset SSH_AUTH_SOCK; 02:30:57 unset SSH_AGENT_PID; 02:30:57 echo Agent pid 39 killed; 02:30:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:57 [ssh-agent] Looking for ssh-agent implementation... 02:30:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:57 $ docker exec ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 ssh-agent 02:30:57 SSH_AUTH_SOCK=/tmp/ssh-C4iVX514P2xV/agent.73 02:30:57 SSH_AGENT_PID=79 02:30:57 Running ssh-add (command line suppressed) 02:30:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2539661900890807680.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2539661900890807680.key) 02:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:58 + git semver init 02:30:58 2023-04-07 02:30:58,236 [run_init] DEBUG init version:0.0.0 force:False 02:30:58 2023-04-07 02:30:58,237 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:30:58 2023-04-07 02:30:58,237 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:30:58 2023-04-07 02:30:58,237 [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:30:59 2023-04-07 02:30:59,308 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:30:59 2023-04-07 02:30:59,309 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:30:59 2023-04-07 02:30:59,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:30:59 2023-04-07 02:30:59,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:30:59 3.0.0-dev.25 [Pipeline] } 02:30:59 $ docker exec --env ******** --env ******** ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 ssh-agent -k 02:30:59 unset SSH_AUTH_SOCK; 02:30:59 unset SSH_AGENT_PID; 02:30:59 echo Agent pid 79 killed; 02:30:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:00 + git semver [Pipeline] } 02:31:00 $ docker stop --time=1 ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 02:31:01 $ docker rm -f --volumes ef1f23caf6e25a1ef0380b49748fa7303ebf2f0481afd46f5b7bfc99499f9e75 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:02 Stashed 1 file(s) [Pipeline] echo 02:31:02 [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:02 provisioning config files... 02:31:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9822479732233718496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:02 ---> docker-login.sh 02:31:02 nexus3.edgexfoundry.org:10001 02:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:02 Configure a credential helper to remove this warning. See 02:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:02 02:31:02 Login Succeeded 02:31:02 nexus3.edgexfoundry.org:10002 02:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:02 Configure a credential helper to remove this warning. See 02:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:02 02:31:02 Login Succeeded 02:31:02 nexus3.edgexfoundry.org:10003 02:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:02 Configure a credential helper to remove this warning. See 02:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:02 02:31:02 Login Succeeded 02:31:02 nexus3.edgexfoundry.org:10004 02:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:02 Configure a credential helper to remove this warning. See 02:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:02 02:31:02 Login Succeeded 02:31:02 docker.io 02:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 ---> docker-login.sh ends [Pipeline] } 02:31:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:31:03 ========================================================= 02:31:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:31:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:31:03 Sending build context to Docker daemon 10.87MB 02:31:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:31:03 Step 2/12 : FROM ${BASE} AS builder 02:31:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:31:03 63b65145d645: Pulling fs layer 02:31:03 a2d21d5440eb: Pulling fs layer 02:31:03 935e6c44a52c: Pulling fs layer 02:31:03 94cc34f8dd06: Pulling fs layer 02:31:03 30dea6a524f1: Pulling fs layer 02:31:03 a2aff8979fd8: Pulling fs layer 02:31:03 6808be2612f2: Pulling fs layer 02:31:03 94cc34f8dd06: Waiting 02:31:03 30dea6a524f1: Waiting 02:31:03 a2aff8979fd8: Waiting 02:31:03 f25807f1079a: Pulling fs layer 02:31:03 6808be2612f2: Waiting 02:31:03 a2d21d5440eb: Verifying Checksum 02:31:03 a2d21d5440eb: Download complete 02:31:03 94cc34f8dd06: Verifying Checksum 02:31:03 94cc34f8dd06: Download complete 02:31:03 30dea6a524f1: Verifying Checksum 02:31:03 30dea6a524f1: Download complete 02:31:03 63b65145d645: Verifying Checksum 02:31:03 63b65145d645: Download complete 02:31:03 a2aff8979fd8: Verifying Checksum 02:31:03 a2aff8979fd8: Download complete 02:31:03 63b65145d645: Pull complete 02:31:04 a2d21d5440eb: Pull complete 02:31:04 f25807f1079a: Verifying Checksum 02:31:04 f25807f1079a: Download complete 02:31:04 935e6c44a52c: Verifying Checksum 02:31:04 935e6c44a52c: Download complete 02:31:04 6808be2612f2: Verifying Checksum 02:31:04 6808be2612f2: Download complete 02:31:08 935e6c44a52c: Pull complete 02:31:08 94cc34f8dd06: Pull complete 02:31:08 30dea6a524f1: Pull complete 02:31:08 a2aff8979fd8: Pull complete 02:31:10 6808be2612f2: Pull complete 02:31:10 f25807f1079a: Pull complete 02:31:10 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:31:10 ---> 3b553350e43f 02:31:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:31:16 ---> Running in 3924fe70d252 02:31:16 Removing intermediate container 3924fe70d252 02:31:16 ---> 83da00604b71 02:31:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:16 ---> Running in 857fe406f0ee 02:31:16 Removing intermediate container 857fe406f0ee 02:31:16 ---> b49d01b27bbb 02:31:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:16 ---> Running in 05d92ae3286c 02:31:16 Removing intermediate container 05d92ae3286c 02:31:16 ---> 2a78936440fd 02:31:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:31:16 ---> Running in b2f89a8cc686 02:31:16 Removing intermediate container b2f89a8cc686 02:31:16 ---> f3569fcddb61 02:31:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:16 ---> Running in b4508691c648 02:31:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:31:17 Still waiting to schedule task 02:31:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:31:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:31:18 (2/4) Installing libedit (20221030.3.1-r0) 02:31:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:31:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:31:18 Executing busybox-1.35.0-r29.trigger 02:31:18 OK: 269 MiB in 57 packages 02:31:19 Removing intermediate container b4508691c648 02:31:19 ---> e95dcdfff356 02:31:19 Step 8/12 : WORKDIR /device-rest-go 02:31:19 ---> Running in 84e395c616a9 02:31:19 Removing intermediate container 84e395c616a9 02:31:19 ---> ad3fad51be0d 02:31:19 Step 9/12 : COPY go.mod vendor* ./ 02:31:19 ---> a7851c345e3e 02:31:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:19 ---> Running in a778f5da4ae2 02:32:26 Removing intermediate container a778f5da4ae2 02:32:26 ---> 2dcc823132a1 02:32:26 Step 11/12 : COPY . . 02:32:29 ---> 6451a46baea5 02:32:29 Step 12/12 : RUN $MAKE 02:32:29 ---> Running in 9f6c9ac574ef 02:32:29 noop 02:32:30 Removing intermediate container 9f6c9ac574ef 02:32:30 ---> d1749f09942f 02:32:30 Successfully built d1749f09942f 02:32:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:31 + docker inspect -f . ci-base-image-x86_64 02:32:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:31 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:32:31 $ 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 ******** ci-base-image-x86_64 cat 02:32:32 $ docker top 4783fbab883f4c820767544a983606cb38c37bc44d139d326492e9b46f0570a4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:32 + go version 02:32:32 go version go1.20.2 linux/amd64 [Pipeline] } 02:32:32 $ docker stop --time=1 4783fbab883f4c820767544a983606cb38c37bc44d139d326492e9b46f0570a4 02:32:34 $ docker rm -f --volumes 4783fbab883f4c820767544a983606cb38c37bc44d139d326492e9b46f0570a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:35 + docker inspect -f . ci-base-image-x86_64 02:32:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:35 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:32:35 $ 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 ******** ci-base-image-x86_64 cat 02:32:36 $ docker top 36e0b7d180ffb05a1be15020613db25548d27b5d20276317986e0ab2a7a2e11f -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:32:37 + make test 02:32:37 go test ./... -coverprofile=coverage.out ./... 02:32:42 ? github.com/edgexfoundry/device-rest-go [no test files] 02:32:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:32:52 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.0% of statements 02:32:56 go vet ./... 02:32:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:59 ./bin/test-attribution-txt.sh 02:32:59 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:32:59 $ docker stop --time=1 36e0b7d180ffb05a1be15020613db25548d27b5d20276317986e0ab2a7a2e11f 02:33:08 $ docker rm -f --volumes 36e0b7d180ffb05a1be15020613db25548d27b5d20276317986e0ab2a7a2e11f [Pipeline] // withDockerContainer [Pipeline] sh 02:33:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:09 + ls -al . 02:33:09 total 184 02:33:09 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 02:32 . 02:33:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:30 .. 02:33:09 -rw-rw-r-- 1 jenkins jenkins 151 Apr 7 02:30 .dockerignore 02:33:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:31 .git 02:33:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:30 .github 02:33:09 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 02:30 .gitignore 02:33:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 02:30 .golangci.yml 02:33:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 02:30 .semver 02:33:09 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 7 02:30 Attribution.txt 02:33:09 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 7 02:30 CHANGELOG.md 02:33:09 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 7 02:30 Dockerfile 02:33:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 02:30 GOVERNANCE.md 02:33:09 -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 02:30 Jenkinsfile 02:33:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 02:30 LICENSE 02:33:09 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 7 02:30 Makefile 02:33:09 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 02:30 OWNERS.md 02:33:09 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 7 02:30 README.md 02:33:09 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 02:31 VERSION 02:33:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:30 bin 02:33:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:30 cmd 02:33:09 -rw-r--r-- 1 jenkins jenkins 14200 Apr 7 02:32 coverage.out 02:33:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:30 driver 02:33:09 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 7 02:30 go.mod 02:33:09 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 02:30 go.sum 02:33:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:30 snap 02:33:09 -rw-rw-r-- 1 jenkins jenkins 713 Apr 7 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:09 + 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=795c3d665a96d2a485aec9c896c7781dae732fba --label arch=amd64 --label version=3.0.0-dev.25 . 02:33:09 Sending build context to Docker daemon 10.89MB 02:33:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:33:09 Step 2/25 : FROM ${BASE} AS builder 02:33:09 ---> d1749f09942f 02:33:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:33:10 ---> Running in 2c4cc93569fb 02:33:11 Removing intermediate container 2c4cc93569fb 02:33:11 ---> 545abc6d6023 02:33:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:12 ---> Running in 6fd0ad9d68d7 02:33:12 Removing intermediate container 6fd0ad9d68d7 02:33:12 ---> 3a8d01367f38 02:33:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:33:12 ---> Running in a95bbfc265db 02:33:13 Removing intermediate container a95bbfc265db 02:33:13 ---> 534f7d5ec388 02:33:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:33:13 ---> Running in 461ed51c3ddd 02:33:14 Removing intermediate container 461ed51c3ddd 02:33:14 ---> 72995f41e3c4 02:33:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:14 ---> Running in 23fbd2e32752 02:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:33:15 OK: 269 MiB in 57 packages 02:33:15 Removing intermediate container 23fbd2e32752 02:33:15 ---> 79e3d77f131d 02:33:15 Step 8/25 : WORKDIR /device-rest-go 02:33:15 ---> Running in 0ca5fe6fcc95 02:33:15 Removing intermediate container 0ca5fe6fcc95 02:33:15 ---> 40eca17d69f6 02:33:15 Step 9/25 : COPY go.mod vendor* ./ 02:33:15 ---> 8703208c766c 02:33:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:15 ---> Running in 72bf6f15ba1b 02:33:16 Removing intermediate container 72bf6f15ba1b 02:33:16 ---> 3ac57451f19c 02:33:16 Step 11/25 : COPY . . 02:33:17 ---> f9cd4510b8be 02:33:17 Step 12/25 : RUN $MAKE 02:33:17 ---> Running in 55781ce0ed77 02:33:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:33:35 Removing intermediate container 55781ce0ed77 02:33:35 ---> d47e69dfd87e 02:33:35 Step 13/25 : FROM alpine:3.17 02:33:35 3.17: Pulling from library/alpine 02:33:35 f56be85fc22e: Pulling fs layer 02:33:35 f56be85fc22e: Verifying Checksum 02:33:35 f56be85fc22e: Download complete 02:33:36 f56be85fc22e: Pull complete 02:33:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:33:36 Status: Downloaded newer image for alpine:3.17 02:33:36 ---> 9ed4aefc74f6 02:33:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:33:36 ---> Running in cab8ccb3d302 02:33:36 Removing intermediate container cab8ccb3d302 02:33:36 ---> a2d8a458b9f6 02:33:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:33:36 ---> Running in c52a085114a9 02:33:36 Removing intermediate container c52a085114a9 02:33:36 ---> 67722708930c 02:33:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 02:33:36 ---> Running in 6fefe1963ab9 02:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:33:37 (1/1) Installing dumb-init (1.2.5-r2) 02:33:37 Executing busybox-1.35.0-r29.trigger 02:33:37 OK: 7 MiB in 16 packages 02:33:37 Removing intermediate container 6fefe1963ab9 02:33:37 ---> 1a83372cf9da 02:33:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:33:38 ---> 87a8491b9e69 02:33:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:33:38 ---> c6013193ed4f 02:33:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:33:38 ---> 3e26970e42d4 02:33:38 Step 20/25 : EXPOSE 59986 02:33:38 ---> Running in aa50d9378246 02:33:38 Removing intermediate container aa50d9378246 02:33:38 ---> 08d4a386fa5e 02:33:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:33:38 ---> Running in 132f4175516a 02:33:38 Removing intermediate container 132f4175516a 02:33:38 ---> f18a974a9e84 02:33:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:33:38 ---> Running in c5ada69c04f3 02:33:38 Removing intermediate container c5ada69c04f3 02:33:38 ---> 8e1d99f653db 02:33:38 Step 23/25 : LABEL arch=amd64 02:33:38 ---> Running in 2f71212ef4b6 02:33:38 Removing intermediate container 2f71212ef4b6 02:33:38 ---> 12fd32e43459 02:33:38 Step 24/25 : LABEL git_sha=795c3d665a96d2a485aec9c896c7781dae732fba 02:33:38 ---> Running in a6818ab3f49e 02:33:38 Removing intermediate container a6818ab3f49e 02:33:38 ---> 218c540f566f 02:33:38 Step 25/25 : LABEL version=3.0.0-dev.25 02:33:38 ---> Running in 94de352607d1 02:33:38 Removing intermediate container 94de352607d1 02:33:38 ---> 69a01c599a90 02:33:38 [Warning] One or more build-args [ARCH] were not consumed 02:33:38 Successfully built 69a01c599a90 02:33:38 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:33:38 provisioning config files... 02:33:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2120350126918974332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:39 ---> docker-login.sh 02:33:39 nexus3.edgexfoundry.org:10001 02:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:39 Configure a credential helper to remove this warning. See 02:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:39 02:33:39 Login Succeeded 02:33:39 nexus3.edgexfoundry.org:10002 02:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:39 Configure a credential helper to remove this warning. See 02:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:39 02:33:39 Login Succeeded 02:33:39 nexus3.edgexfoundry.org:10003 02:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:39 Configure a credential helper to remove this warning. See 02:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:39 02:33:39 Login Succeeded 02:33:39 nexus3.edgexfoundry.org:10004 02:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:39 Configure a credential helper to remove this warning. See 02:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:39 02:33:39 Login Succeeded 02:33:39 docker.io 02:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:39 Configure a credential helper to remove this warning. See 02:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:39 02:33:39 Login Succeeded 02:33:39 ---> docker-login.sh ends [Pipeline] } 02:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:39 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:33:39 795c3d665a96d2a485aec9c896c7781dae732fba 02:33:39 latest 02:33:39 3.0.0-dev.25 02:33:39 795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:33:39 main 02:33:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba 02:33:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:40 bf2e29f2d1f9: Preparing 02:33:40 8baa77757bc6: Preparing 02:33:40 c9b00fcc237e: Preparing 02:33:40 59e3f5a2374e: Preparing 02:33:40 f1417ff83b31: Preparing 02:33:40 f1417ff83b31: Layer already exists 02:33:40 bf2e29f2d1f9: Pushed 02:33:40 59e3f5a2374e: Pushed 02:33:40 8baa77757bc6: Pushed 02:33:43 c9b00fcc237e: Pushed 02:33:43 795c3d665a96d2a485aec9c896c7781dae732fba: digest: sha256:aeff51b7454a3f286b353be485b27b6a3e0f45f3d27ac516afbbf54c290094b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:33:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:43 bf2e29f2d1f9: Preparing 02:33:43 8baa77757bc6: Preparing 02:33:43 c9b00fcc237e: Preparing 02:33:43 59e3f5a2374e: Preparing 02:33:43 f1417ff83b31: Preparing 02:33:43 bf2e29f2d1f9: Layer already exists 02:33:43 8baa77757bc6: Layer already exists 02:33:43 f1417ff83b31: Layer already exists 02:33:43 59e3f5a2374e: Layer already exists 02:33:43 c9b00fcc237e: Layer already exists 02:33:43 latest: digest: sha256:aeff51b7454a3f286b353be485b27b6a3e0f45f3d27ac516afbbf54c290094b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.25 02:33:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:44 bf2e29f2d1f9: Preparing 02:33:44 8baa77757bc6: Preparing 02:33:44 c9b00fcc237e: Preparing 02:33:44 59e3f5a2374e: Preparing 02:33:44 f1417ff83b31: Preparing 02:33:44 c9b00fcc237e: Layer already exists 02:33:44 8baa77757bc6: Layer already exists 02:33:44 bf2e29f2d1f9: Layer already exists 02:33:44 59e3f5a2374e: Layer already exists 02:33:44 f1417ff83b31: Layer already exists 02:33:44 3.0.0-dev.25: digest: sha256:aeff51b7454a3f286b353be485b27b6a3e0f45f3d27ac516afbbf54c290094b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:45 bf2e29f2d1f9: Preparing 02:33:45 8baa77757bc6: Preparing 02:33:45 c9b00fcc237e: Preparing 02:33:45 59e3f5a2374e: Preparing 02:33:45 f1417ff83b31: Preparing 02:33:45 bf2e29f2d1f9: Layer already exists 02:33:45 8baa77757bc6: Layer already exists 02:33:45 59e3f5a2374e: Layer already exists 02:33:45 c9b00fcc237e: Layer already exists 02:33:45 f1417ff83b31: Layer already exists 02:33:45 795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25: digest: sha256:aeff51b7454a3f286b353be485b27b6a3e0f45f3d27ac516afbbf54c290094b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:45 bf2e29f2d1f9: Preparing 02:33:45 8baa77757bc6: Preparing 02:33:45 c9b00fcc237e: Preparing 02:33:45 59e3f5a2374e: Preparing 02:33:45 f1417ff83b31: Preparing 02:33:45 f1417ff83b31: Layer already exists 02:33:45 8baa77757bc6: Layer already exists 02:33:45 59e3f5a2374e: Layer already exists 02:33:45 bf2e29f2d1f9: Layer already exists 02:33:45 c9b00fcc237e: Layer already exists 02:33:45 main: digest: sha256:aeff51b7454a3f286b353be485b27b6a3e0f45f3d27ac516afbbf54c290094b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:45 ===================================================== [Pipeline] echo 02:33:45 taggedImages: 02:33:45 - nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba 02:33:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:33:45 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.25 02:33:45 - nexus3.edgexfoundry.org:10004/device-rest:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:33:45 - 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:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:46 02:33:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:46 latest: Pulling from edgex-lftools-log-publisher 02:33:46 5eb5b503b376: Pulling fs layer 02:33:46 5c69ac0246d0: Pulling fs layer 02:33:46 ec43610c2a17: Pulling fs layer 02:33:46 3a2ae6a8a46f: Pulling fs layer 02:33:46 33b1e0a273af: Pulling fs layer 02:33:46 5d3b04190fa2: Pulling fs layer 02:33:46 2f39f015ded8: Pulling fs layer 02:33:46 33b1e0a273af: Waiting 02:33:46 2f39f015ded8: Waiting 02:33:46 5d3b04190fa2: Waiting 02:33:46 3a2ae6a8a46f: Waiting 02:33:46 5c69ac0246d0: Verifying Checksum 02:33:46 5c69ac0246d0: Download complete 02:33:46 3a2ae6a8a46f: Verifying Checksum 02:33:46 3a2ae6a8a46f: Download complete 02:33:46 33b1e0a273af: Verifying Checksum 02:33:46 33b1e0a273af: Download complete 02:33:46 ec43610c2a17: Verifying Checksum 02:33:46 ec43610c2a17: Download complete 02:33:46 5d3b04190fa2: Verifying Checksum 02:33:46 5d3b04190fa2: Download complete 02:33:46 5eb5b503b376: Verifying Checksum 02:33:46 5eb5b503b376: Download complete 02:33:47 2f39f015ded8: Download complete 02:33:47 5eb5b503b376: Pull complete 02:33:48 5c69ac0246d0: Pull complete 02:33:48 ec43610c2a17: Pull complete 02:33:48 3a2ae6a8a46f: Pull complete 02:33:48 33b1e0a273af: Pull complete 02:33:48 5d3b04190fa2: Pull complete 02:33:52 2f39f015ded8: Pull complete 02:33:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:53 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:33:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:33:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7062 in /w/workspace/edgexfoundry_device-rest-go_main 02:33:56 $ docker top 1d916845180aee84d2e214d36471cae8f15c1e401d08b5a66e8f555e57bdc7bb -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 02:33:57 Running in /w/workspace/device-rest-go/97 [Pipeline] { [Pipeline] checkout 02:33:57 The recommended git tool is: git 02:33:57 ---> job-cost.sh 02:33:57 lf-activate-venv: SKIPPING 02:33:57 INFO: No Stack... 02:33:57 INFO: Retrieving Pricing Info for: v3-standard-8 02:33:57 INFO: Archiving Costs [Pipeline] sh 02:33:58 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:33:58 + cut -d, -f6 [Pipeline] lock 02:33:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] 02:33:58 Resource [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] did not exist. Created. 02:33:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:58 + echo total: 0.2199999988079071 [Pipeline] stash 02:33:58 Stashed 1 file(s) [Pipeline] } 02:33:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 02:33:58 $ docker stop --time=1 1d916845180aee84d2e214d36471cae8f15c1e401d08b5a66e8f555e57bdc7bb 02:33:59 $ docker rm -f --volumes 1d916845180aee84d2e214d36471cae8f15c1e401d08b5a66e8f555e57bdc7bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:03 using credential edgex-jenkins-ssh 02:34:03 Cloning the remote Git repository 02:34:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:34:03 > git init /w/workspace/device-rest-go/97 # timeout=10 02:34:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:34:03 > git --version # timeout=10 02:34:03 > git --version # 'git version 2.25.1' 02:34:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:07 Avoid second fetch 02:34:07 Checking out Revision 795c3d665a96d2a485aec9c896c7781dae732fba (main) 02:34:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:34:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:07 > git config core.sparsecheckout # timeout=10 02:34:07 > git checkout -f 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 02:34:07 Commit message: "Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:34:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:08 Dload Upload Total Spent Left Speed 02:34:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 02:34:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:34:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:34:09 + sudo tee /etc/docker/daemon.new 02:34:09 { 02:34:09 "registry-mirrors": [ 02:34:09 "https://nexus3.edgexfoundry.org:10001" 02:34:09 ], 02:34:09 "bip": "10.250.0.254/24", 02:34:09 "hosts": [ 02:34:09 "tcp://0.0.0.0:5555", 02:34:09 "unix:///var/run/docker.sock" 02:34:09 ], 02:34:09 "mtu": 1458, 02:34:09 "selinux-enabled": true, 02:34:09 "seccomp-profile": "/etc/docker/seccomp.json" 02:34:09 } [Pipeline] sh 02:34:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:34:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:28 provisioning config files... 02:34:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/97@tmp/config5115333089363327683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:28 ---> docker-login.sh 02:34:28 nexus3.edgexfoundry.org:10001 02:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:29 Configure a credential helper to remove this warning. See 02:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:29 02:34:29 Login Succeeded 02:34:29 nexus3.edgexfoundry.org:10002 02:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:30 Configure a credential helper to remove this warning. See 02:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:30 02:34:30 Login Succeeded 02:34:30 nexus3.edgexfoundry.org:10003 02:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:30 Configure a credential helper to remove this warning. See 02:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:30 02:34:30 Login Succeeded 02:34:30 nexus3.edgexfoundry.org:10004 02:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:30 Configure a credential helper to remove this warning. See 02:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:30 02:34:30 Login Succeeded 02:34:30 docker.io 02:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:31 Configure a credential helper to remove this warning. See 02:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:31 02:34:31 Login Succeeded 02:34:31 ---> docker-login.sh ends [Pipeline] } 02:34:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:31 ========================================================= 02:34:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:34:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:34:31 Sending build context to Docker daemon 137.2kB 02:34:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:34:32 Step 2/12 : FROM ${BASE} AS builder 02:34:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:34:32 af6eaf76a39c: Pulling fs layer 02:34:32 55522c791124: Pulling fs layer 02:34:32 ce5c4a1c91eb: Pulling fs layer 02:34:32 169dfbe0d373: Pulling fs layer 02:34:32 e1ff8fa3b103: Pulling fs layer 02:34:32 52ebb69f0ebf: Pulling fs layer 02:34:32 5abe8eddf0d5: Pulling fs layer 02:34:32 169dfbe0d373: Waiting 02:34:32 e1ff8fa3b103: Waiting 02:34:32 52ebb69f0ebf: Waiting 02:34:32 5abe8eddf0d5: Waiting 02:34:32 55522c791124: Verifying Checksum 02:34:32 55522c791124: Download complete 02:34:32 169dfbe0d373: Verifying Checksum 02:34:32 169dfbe0d373: Download complete 02:34:32 e1ff8fa3b103: Download complete 02:34:32 af6eaf76a39c: Verifying Checksum 02:34:32 af6eaf76a39c: Download complete 02:34:33 af6eaf76a39c: Pull complete 02:34:33 5abe8eddf0d5: Verifying Checksum 02:34:33 5abe8eddf0d5: Download complete 02:34:34 55522c791124: Pull complete 02:34:35 ce5c4a1c91eb: Verifying Checksum 02:34:35 ce5c4a1c91eb: Download complete 02:34:35 52ebb69f0ebf: Verifying Checksum 02:34:35 52ebb69f0ebf: Download complete 02:34:47 ce5c4a1c91eb: Pull complete 02:34:47 169dfbe0d373: Pull complete 02:34:47 e1ff8fa3b103: Pull complete 02:34:55 52ebb69f0ebf: Pull complete 02:34:57 5abe8eddf0d5: Pull complete 02:34:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:34:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:34:57 ---> 6cb57ee374ae 02:34:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:34:59 ---> Running in bd66938daa3b 02:35:00 Removing intermediate container bd66938daa3b 02:35:00 ---> 8b019d64b26b 02:35:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:00 ---> Running in 7fb0dd167398 02:35:00 Removing intermediate container 7fb0dd167398 02:35:00 ---> 04851b11f9ba 02:35:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:35:00 ---> Running in 67d039ed57ff 02:35:01 Removing intermediate container 67d039ed57ff 02:35:01 ---> 7a0168c9f1a9 02:35:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:35:01 ---> Running in 019e8513ead4 02:35:01 Removing intermediate container 019e8513ead4 02:35:01 ---> f73b7b84cc91 02:35:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:01 ---> Running in 67749b1e94f0 02:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:35:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:35:04 (2/4) Installing libedit (20221030.3.1-r0) 02:35:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:35:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:35:04 Executing busybox-1.35.0-r29.trigger 02:35:04 OK: 268 MiB in 57 packages 02:35:05 Removing intermediate container 67749b1e94f0 02:35:05 ---> c3f078b20a4e 02:35:05 Step 8/12 : WORKDIR /device-rest-go 02:35:05 ---> Running in 8ac058081dc4 02:35:06 Removing intermediate container 8ac058081dc4 02:35:06 ---> ffcc54b70c8e 02:35:06 Step 9/12 : COPY go.mod vendor* ./ 02:35:06 ---> 79c64fa4d912 02:35:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:07 ---> Running in 14083c2f1751 02:36:15 Removing intermediate container 14083c2f1751 02:36:15 ---> 078589081468 02:36:15 Step 11/12 : COPY . . 02:36:15 ---> 07dd74f219ab 02:36:15 Step 12/12 : RUN $MAKE 02:36:15 ---> Running in b171195e6b27 02:36:15 noop 02:36:15 Removing intermediate container b171195e6b27 02:36:15 ---> 84a85485995c 02:36:15 Successfully built 84a85485995c 02:36:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:15 + docker inspect -f . ci-base-image-arm64 02:36:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:15 prd-ubuntu20.04-docker-arm64-4c-16g-7062 does not seem to be running inside a container 02:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/97 -v /w/workspace/device-rest-go/97:/w/workspace/device-rest-go/97:rw,z -v /w/workspace/device-rest-go/97@tmp:/w/workspace/device-rest-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:36:16 $ docker top 32b434441c5d091cec6d4c7d7a9c993eb91009e5c05d6759c8bb5372af4a11f4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:17 + go version 02:36:17 go version go1.20.2 linux/arm64 [Pipeline] } 02:36:17 $ docker stop --time=1 32b434441c5d091cec6d4c7d7a9c993eb91009e5c05d6759c8bb5372af4a11f4 02:36:19 $ docker rm -f --volumes 32b434441c5d091cec6d4c7d7a9c993eb91009e5c05d6759c8bb5372af4a11f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:20 + docker inspect -f . ci-base-image-arm64 02:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-7062 does not seem to be running inside a container 02:36:20 $ 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/97 -v /w/workspace/device-rest-go/97:/w/workspace/device-rest-go/97:rw,z -v /w/workspace/device-rest-go/97@tmp:/w/workspace/device-rest-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:36:21 $ docker top b2bdf5d99d8d9c5103a211f2396cbe505ab8bed4edefcf61668b27da01d04dba -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:22 + git config --global --add safe.directory /w/workspace/device-rest-go/97 [Pipeline] fileExists [Pipeline] sh 02:36:23 + make test 02:36:23 go test ./... -coverprofile=coverage.out ./... 02:37:02 ? github.com/edgexfoundry/device-rest-go [no test files] 02:39:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:39:24 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 33.0% of statements 02:39:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:39:24 go vet ./... 02:39:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:39:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:39:56 ./bin/test-attribution-txt.sh 02:39:56 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:39:56 $ docker stop --time=1 b2bdf5d99d8d9c5103a211f2396cbe505ab8bed4edefcf61668b27da01d04dba 02:39:58 $ docker rm -f --volumes b2bdf5d99d8d9c5103a211f2396cbe505ab8bed4edefcf61668b27da01d04dba [Pipeline] // withDockerContainer [Pipeline] sh 02:39:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:39:59 Warning: overwriting stash ‘coverage-report’ 02:40:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:00 + ls -al . 02:40:00 total 180 02:40:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:36 . 02:40:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:34 .. 02:40:00 -rw-rw-r-- 1 jenkins jenkins 151 Apr 7 02:34 .dockerignore 02:40:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:34 .git 02:40:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:34 .github 02:40:00 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 02:34 .gitignore 02:40:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 02:34 .golangci.yml 02:40:00 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 7 02:34 Attribution.txt 02:40:00 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 7 02:34 CHANGELOG.md 02:40:00 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 7 02:34 Dockerfile 02:40:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 02:34 GOVERNANCE.md 02:40:00 -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 02:34 Jenkinsfile 02:40:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 02:34 LICENSE 02:40:00 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 7 02:34 Makefile 02:40:00 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 02:34 OWNERS.md 02:40:00 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 7 02:34 README.md 02:40:00 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 02:31 VERSION 02:40:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:34 bin 02:40:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:34 cmd 02:40:00 -rw-r--r-- 1 jenkins jenkins 14200 Apr 7 02:39 coverage.out 02:40:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:34 driver 02:40:00 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 7 02:34 go.mod 02:40:00 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 02:34 go.sum 02:40:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:34 snap 02:40:00 -rw-rw-r-- 1 jenkins jenkins 713 Apr 7 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:01 + 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=795c3d665a96d2a485aec9c896c7781dae732fba --label arch=arm64 --label version=3.0.0-dev.25 . 02:40:01 Sending build context to Docker daemon 152.1kB 02:40:01 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:40:01 Step 2/25 : FROM ${BASE} AS builder 02:40:01 ---> 84a85485995c 02:40:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:40:01 ---> Running in 89db48dfe33b 02:40:01 Removing intermediate container 89db48dfe33b 02:40:01 ---> 131277df26b9 02:40:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:02 ---> Running in 48a6a0988810 02:40:02 Removing intermediate container 48a6a0988810 02:40:02 ---> 9ef7b0a119eb 02:40:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:02 ---> Running in 0c25ca6d90cf 02:40:02 Removing intermediate container 0c25ca6d90cf 02:40:02 ---> a59fcc51304a 02:40:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:40:02 ---> Running in 21014db3fea6 02:40:03 Removing intermediate container 21014db3fea6 02:40:03 ---> 404539bca938 02:40:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:03 ---> Running in 18591115b34c 02:40:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:40:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:40:06 OK: 268 MiB in 57 packages 02:40:06 Removing intermediate container 18591115b34c 02:40:06 ---> cc2cec349561 02:40:06 Step 8/25 : WORKDIR /device-rest-go 02:40:06 ---> Running in 072d4cb73737 02:40:07 Removing intermediate container 072d4cb73737 02:40:07 ---> 2ea9127aa7fa 02:40:07 Step 9/25 : COPY go.mod vendor* ./ 02:40:07 ---> 0f51826f1788 02:40:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:07 ---> Running in 005b7585cf3b 02:40:13 Removing intermediate container 005b7585cf3b 02:40:13 ---> fb1357f69e83 02:40:13 Step 11/25 : COPY . . 02:40:13 ---> c39991c6bfdd 02:40:13 Step 12/25 : RUN $MAKE 02:40:13 ---> Running in 545409184e5c 02:40:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:42:35 Removing intermediate container 545409184e5c 02:42:35 ---> 3850a23dfde5 02:42:35 Step 13/25 : FROM alpine:3.17 02:42:35 3.17: Pulling from library/alpine 02:42:35 c41833b44d91: Pulling fs layer 02:42:35 c41833b44d91: Verifying Checksum 02:42:35 c41833b44d91: Download complete 02:42:35 c41833b44d91: Pull complete 02:42:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:42:35 Status: Downloaded newer image for alpine:3.17 02:42:35 ---> 51e60588ff2c 02:42:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:42:35 ---> Running in 858e6fb62597 02:42:35 Removing intermediate container 858e6fb62597 02:42:35 ---> 999ad3ed6ee9 02:42:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:42:35 ---> Running in 7e731b6a15e6 02:42:36 Removing intermediate container 7e731b6a15e6 02:42:36 ---> 5c33bf10de4c 02:42:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 02:42:36 ---> Running in c15e9e6dd9aa 02:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:42:38 (1/1) Installing dumb-init (1.2.5-r2) 02:42:38 Executing busybox-1.35.0-r29.trigger 02:42:39 OK: 8 MiB in 16 packages 02:42:40 Removing intermediate container c15e9e6dd9aa 02:42:40 ---> 86c9d5550673 02:42:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:42:41 ---> d8822af5c243 02:42:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:42:41 ---> 58f1107289bd 02:42:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:42:42 ---> cdec0d430094 02:42:42 Step 20/25 : EXPOSE 59986 02:42:42 ---> Running in 489cccc21a1f 02:42:42 Removing intermediate container 489cccc21a1f 02:42:42 ---> 4d60f7f26a4d 02:42:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:42:42 ---> Running in 8a288b37600a 02:42:43 Removing intermediate container 8a288b37600a 02:42:43 ---> 81a1cf8a1c02 02:42:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:42:43 ---> Running in 2848dc97c220 02:42:43 Removing intermediate container 2848dc97c220 02:42:43 ---> 3bd8513a62ca 02:42:43 Step 23/25 : LABEL arch=arm64 02:42:43 ---> Running in 40e65ed06804 02:42:43 Removing intermediate container 40e65ed06804 02:42:43 ---> 00269da6876d 02:42:43 Step 24/25 : LABEL git_sha=795c3d665a96d2a485aec9c896c7781dae732fba 02:42:44 ---> Running in f01cd44f7c3f 02:42:44 Removing intermediate container f01cd44f7c3f 02:42:44 ---> 864ac69fe2e4 02:42:44 Step 25/25 : LABEL version=3.0.0-dev.25 02:42:44 ---> Running in a19ca9b696df 02:42:44 Removing intermediate container a19ca9b696df 02:42:44 ---> ec10fd8ba69d 02:42:44 [Warning] One or more build-args [ARCH] were not consumed 02:42:44 Successfully built ec10fd8ba69d 02:42:44 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 02:42:44 provisioning config files... 02:42:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/97@tmp/config2116361662176152084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:45 ---> docker-login.sh 02:42:45 nexus3.edgexfoundry.org:10001 02:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:45 Configure a credential helper to remove this warning. See 02:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:45 02:42:45 Login Succeeded 02:42:45 nexus3.edgexfoundry.org:10002 02:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:45 Configure a credential helper to remove this warning. See 02:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:45 02:42:45 Login Succeeded 02:42:45 nexus3.edgexfoundry.org:10003 02:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:46 Configure a credential helper to remove this warning. See 02:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:46 02:42:46 Login Succeeded 02:42:46 nexus3.edgexfoundry.org:10004 02:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:46 Configure a credential helper to remove this warning. See 02:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:46 02:42:46 Login Succeeded 02:42:46 docker.io 02:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:46 Configure a credential helper to remove this warning. See 02:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:46 02:42:46 Login Succeeded 02:42:46 ---> docker-login.sh ends [Pipeline] } 02:42:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:42:46 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:42:46 795c3d665a96d2a485aec9c896c7781dae732fba 02:42:46 latest 02:42:46 3.0.0-dev.25 02:42:46 795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:42:46 main 02:42:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba 02:42:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:42:47 0de89f23be58: Preparing 02:42:47 0fc76a90696e: Preparing 02:42:47 1184815b8e5a: Preparing 02:42:47 ddffb2aaa9d8: Preparing 02:42:47 26cbea5cba74: Preparing 02:42:47 26cbea5cba74: Layer already exists 02:42:48 ddffb2aaa9d8: Pushed 02:42:48 0fc76a90696e: Pushed 02:42:48 0de89f23be58: Pushed 02:42:53 1184815b8e5a: Pushed 02:42:53 795c3d665a96d2a485aec9c896c7781dae732fba: digest: sha256:3cf1beb61977009a63e6d01067ceb09ce2b5e5c58a82ba493f114bab90f040c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:42:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:42:54 0de89f23be58: Preparing 02:42:54 0fc76a90696e: Preparing 02:42:54 1184815b8e5a: Preparing 02:42:54 ddffb2aaa9d8: Preparing 02:42:54 26cbea5cba74: Preparing 02:42:54 ddffb2aaa9d8: Layer already exists 02:42:54 0de89f23be58: Layer already exists 02:42:54 26cbea5cba74: Layer already exists 02:42:54 1184815b8e5a: Layer already exists 02:42:54 0fc76a90696e: Layer already exists 02:42:54 latest: digest: sha256:3cf1beb61977009a63e6d01067ceb09ce2b5e5c58a82ba493f114bab90f040c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.25 02:42:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:42:55 0de89f23be58: Preparing 02:42:55 0fc76a90696e: Preparing 02:42:55 1184815b8e5a: Preparing 02:42:55 ddffb2aaa9d8: Preparing 02:42:55 26cbea5cba74: Preparing 02:42:55 0fc76a90696e: Layer already exists 02:42:55 1184815b8e5a: Layer already exists 02:42:55 0de89f23be58: Layer already exists 02:42:55 26cbea5cba74: Layer already exists 02:42:55 ddffb2aaa9d8: Layer already exists 02:42:55 3.0.0-dev.25: digest: sha256:3cf1beb61977009a63e6d01067ceb09ce2b5e5c58a82ba493f114bab90f040c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:42:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:42:56 0de89f23be58: Preparing 02:42:56 0fc76a90696e: Preparing 02:42:56 1184815b8e5a: Preparing 02:42:56 ddffb2aaa9d8: Preparing 02:42:56 26cbea5cba74: Preparing 02:42:56 0de89f23be58: Layer already exists 02:42:56 ddffb2aaa9d8: Layer already exists 02:42:56 1184815b8e5a: Layer already exists 02:42:56 0fc76a90696e: Layer already exists 02:42:56 26cbea5cba74: Layer already exists 02:42:56 795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25: digest: sha256:3cf1beb61977009a63e6d01067ceb09ce2b5e5c58a82ba493f114bab90f040c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:42:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:42:56 0de89f23be58: Preparing 02:42:56 0fc76a90696e: Preparing 02:42:56 1184815b8e5a: Preparing 02:42:56 ddffb2aaa9d8: Preparing 02:42:56 26cbea5cba74: Preparing 02:42:56 1184815b8e5a: Layer already exists 02:42:56 ddffb2aaa9d8: Layer already exists 02:42:56 0fc76a90696e: Layer already exists 02:42:56 26cbea5cba74: Layer already exists 02:42:56 0de89f23be58: Layer already exists 02:42:56 main: digest: sha256:3cf1beb61977009a63e6d01067ceb09ce2b5e5c58a82ba493f114bab90f040c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:42:56 ===================================================== [Pipeline] echo 02:42:56 taggedImages: 02:42:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba 02:42:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:42:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.25 02:42:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:795c3d665a96d2a485aec9c896c7781dae732fba-3.0.0-dev.25 02:42:56 - 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 02:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:42:57 02:42:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:42:57 arm64: Pulling from edgex-lftools-log-publisher 02:42:57 8998bd30e6a1: Pulling fs layer 02:42:57 04944245beec: Pulling fs layer 02:42:57 699f458cf7ca: Pulling fs layer 02:42:57 765212b225bb: Pulling fs layer 02:42:57 f23df028b6ca: Pulling fs layer 02:42:57 d65c8cfc05b1: Pulling fs layer 02:42:57 2437ff75d9bd: Pulling fs layer 02:42:57 765212b225bb: Waiting 02:42:57 f23df028b6ca: Waiting 02:42:57 d65c8cfc05b1: Waiting 02:42:57 2437ff75d9bd: Waiting 02:42:57 04944245beec: Verifying Checksum 02:42:57 04944245beec: Download complete 02:42:57 765212b225bb: Verifying Checksum 02:42:57 765212b225bb: Download complete 02:42:57 f23df028b6ca: Verifying Checksum 02:42:57 f23df028b6ca: Download complete 02:42:57 d65c8cfc05b1: Verifying Checksum 02:42:57 d65c8cfc05b1: Download complete 02:42:57 699f458cf7ca: Verifying Checksum 02:42:57 699f458cf7ca: Download complete 02:42:58 8998bd30e6a1: Verifying Checksum 02:42:58 8998bd30e6a1: Download complete 02:43:00 2437ff75d9bd: Verifying Checksum 02:43:00 2437ff75d9bd: Download complete 02:43:02 8998bd30e6a1: Pull complete 02:43:02 04944245beec: Pull complete 02:43:03 699f458cf7ca: Pull complete 02:43:03 765212b225bb: Pull complete 02:43:04 f23df028b6ca: Pull complete 02:43:04 d65c8cfc05b1: Pull complete 02:43:19 2437ff75d9bd: Pull complete 02:43:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:43:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-7062 does not seem to be running inside a container 02:43:20 $ 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/97 -v /w/workspace/device-rest-go/97:/w/workspace/device-rest-go/97:rw,z -v /w/workspace/device-rest-go/97@tmp:/w/workspace/device-rest-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:43:22 $ docker top 765684d8cb039393d6c709af823460e56a27b07e8fb7c3061c7fa9453956fbf3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:23 ---> job-cost.sh 02:43:23 lf-activate-venv: SKIPPING 02:43:23 INFO: No Stack... 02:43:23 INFO: Retrieving Pricing Info for: v3-standard-4 02:43:24 INFO: Archiving Costs [Pipeline] sh 02:43:25 + cat /w/workspace/device-rest-go/97/archives/cost.csv 02:43:25 + cut -d, -f6 [Pipeline] lock 02:43:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] 02:43:25 Resource [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] did not exist. Created. 02:43:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:43:26 /w/workspace/device-rest-go/97@tmp/durable-c56f6dfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:43:26 + echo total: 0.10999999940395355 [Pipeline] stash 02:43:26 Warning: overwriting stash ‘stack-cost’ 02:43:26 Stashed 1 file(s) [Pipeline] } 02:43:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 02:43:27 $ docker stop --time=1 765684d8cb039393d6c709af823460e56a27b07e8fb7c3061c7fa9453956fbf3 02:43:30 $ docker rm -f --volumes 765684d8cb039393d6c709af823460e56a27b07e8fb7c3061c7fa9453956fbf3 [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 02:43:30 provisioning config files... 02:43:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18437779772014856368tmp [Pipeline] { [Pipeline] sh 02:43:30 + set +x 02:43:30 + bash -s -- 02:43:30 + curl -s https://codecov.io/bash 02:43:30 02:43:30 _____ _ 02:43:30 / ____| | | 02:43:30 | | ___ __| | ___ ___ _____ __ 02:43:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:43:30 | |___| (_) | (_| | __/ (_| (_) \ V / 02:43:30 \_____\___/ \__,_|\___|\___\___/ \_/ 02:43:30 Bash-1.0.6 02:43:30 02:43:30 02:43:30 ==> git version 2.25.1 found 02:43:30 ==> 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 02:43:30 Release-Date: 2020-01-08 02:43:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:43:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:43:30 ==> Jenkins CI detected. 02:43:30 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:43:30 project root: . 02:43:30 --> token set from env 02:43:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:43:30 ==> Running gcov in . (disable via -X gcov) 02:43:30 ==> Python coveragepy not found 02:43:30 ==> Searching for coverage reports in: 02:43:30 + . 02:43:30 -> Found 1 reports 02:43:30 ==> Detecting git/mercurial file structure 02:43:30 ==> Reading reports 02:43:30 + ./coverage.out bytes=14200 02:43:30 ==> Appending adjustments 02:43:30 https://docs.codecov.io/docs/fixing-reports 02:43:31 + Found adjustments 02:43:31 ==> Gzipping contents 02:43:31 4.0K /tmp/codecov.ijFNN6.gz 02:43:31 ==> Uploading reports 02:43:31 url: https://codecov.io 02:43:31 query: branch=main&commit=795c3d665a96d2a485aec9c896c7781dae732fba&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:43:31 -> Pinging Codecov 02:43:31 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=795c3d665a96d2a485aec9c896c7781dae732fba&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:43:31 -> Uploading to 02:43:31 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/4E5D53B4F1F92C436F7061BF334D961C/795c3d665a96d2a485aec9c896c7781dae732fba/2bfff4ec-2f92-49e3-af44-d8e65f7f9222.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T024331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13a7c0a69935f4a53fc807e673b45f757e4703e300c35d1c64e212aac0cf541c 02:43:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:31 Dload Upload Total Spent Left Speed 02:43:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9093 --:--:-- --:--:-- --:--:-- 9093 02:43:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] } 02:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:43:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:43:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:43:31 02:43:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:43:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:43:32 df9b9388f04a: Pulling fs layer 02:43:32 52dc419b0ee2: Pulling fs layer 02:43:32 25bc292e5bac: Pulling fs layer 02:43:32 114826534d7a: Pulling fs layer 02:43:32 4657fd5d0bcf: Pulling fs layer 02:43:32 6ad1cebc031e: Pulling fs layer 02:43:32 8a3aa393b2d8: Pulling fs layer 02:43:32 6ad1cebc031e: Waiting 02:43:32 114826534d7a: Waiting 02:43:32 4657fd5d0bcf: Waiting 02:43:32 8a3aa393b2d8: Waiting 02:43:32 25bc292e5bac: Verifying Checksum 02:43:32 25bc292e5bac: Download complete 02:43:32 52dc419b0ee2: Verifying Checksum 02:43:32 52dc419b0ee2: Download complete 02:43:32 4657fd5d0bcf: Verifying Checksum 02:43:32 4657fd5d0bcf: Download complete 02:43:32 df9b9388f04a: Verifying Checksum 02:43:32 df9b9388f04a: Download complete 02:43:32 6ad1cebc031e: Verifying Checksum 02:43:32 6ad1cebc031e: Download complete 02:43:32 df9b9388f04a: Pull complete 02:43:32 52dc419b0ee2: Pull complete 02:43:32 25bc292e5bac: Pull complete 02:43:33 114826534d7a: Verifying Checksum 02:43:33 114826534d7a: Download complete 02:43:33 8a3aa393b2d8: Verifying Checksum 02:43:33 8a3aa393b2d8: Download complete 02:43:37 114826534d7a: Pull complete 02:43:37 4657fd5d0bcf: Pull complete 02:43:37 6ad1cebc031e: Pull complete 02:43:39 8a3aa393b2d8: Pull complete 02:43:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:43:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:39 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:43:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:43:44 $ docker top e6edcd512815421416110f46fa3ece14ea1741b3ee959d2370fde6a4911a32da -eo pid,comm [Pipeline] { [Pipeline] echo 02:43:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:43:44 + set -o pipefail 02:43:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:43:49 02:43:49 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:43:49 02:43:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/8cb88221-a00a-4552-8121-660a0ad7cfd9 02:43:49 02:43:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:43:49 02:43:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:43:49 02:43:49 02:43:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:43:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:43:49 More details here: https://snyk.co/ue1NS 02:43:49 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 02:43:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:43:49 $ docker stop --time=1 e6edcd512815421416110f46fa3ece14ea1741b3ee959d2370fde6a4911a32da 02:43:52 $ docker rm -f --volumes e6edcd512815421416110f46fa3ece14ea1741b3ee959d2370fde6a4911a32da [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 02:43:53 + git log --format=format:%s -1 795c3d665a96d2a485aec9c896c7781dae732fba [Pipeline] sh 02:43:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:43:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:53 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:43:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:43:54 $ docker top e93a5408b41b9f445149eb612a7e3952a987c39917187b6b79720b896883162f -eo pid,comm 02:43:54 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:43:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:54 [ssh-agent] Looking for ssh-agent implementation... 02:43:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:54 $ docker exec e93a5408b41b9f445149eb612a7e3952a987c39917187b6b79720b896883162f ssh-agent 02:43:54 SSH_AUTH_SOCK=/tmp/ssh-qodJBE4sqqVj/agent.32 02:43:54 SSH_AGENT_PID=38 02:43:54 Running ssh-add (command line suppressed) 02:43:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550757969611918477.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550757969611918477.key) 02:43:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:55 + git semver tag 02:43:55 2023-04-07 02:43:55,330 [run_tag] DEBUG tag force:False 02:43:55 2023-04-07 02:43:55,330 [check_head_tag] DEBUG check head tag 02:43:55 2023-04-07 02:43:55,331 [execute] INFO git cat-file --batch-check 02:43:55 2023-04-07 02:43:55,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:43:55 2023-04-07 02:43:55,335 [execute] INFO git cat-file --batch 02:43:55 2023-04-07 02:43:55,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:43:55 2023-04-07 02:43:55,358 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:43:55 2023-04-07 02:43:55,359 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 02:43:55 2023-04-07 02:43:55,359 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 02:43:55 2023-04-07 02:43:55,362 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:43:55 3.0.0-dev.25 [Pipeline] } 02:43:55 $ docker exec --env ******** --env ******** e93a5408b41b9f445149eb612a7e3952a987c39917187b6b79720b896883162f ssh-agent -k 02:43:55 unset SSH_AUTH_SOCK; 02:43:55 unset SSH_AGENT_PID; 02:43:55 echo Agent pid 38 killed; 02:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:55 + git semver [Pipeline] } 02:43:56 $ docker stop --time=1 e93a5408b41b9f445149eb612a7e3952a987c39917187b6b79720b896883162f 02:43:57 $ docker rm -f --volumes e93a5408b41b9f445149eb612a7e3952a987c39917187b6b79720b896883162f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:43:57 02:43:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:43:58 0.23.1-centos7: Pulling from edgex-lftools 02:43:58 ab5ef0e58194: Pulling fs layer 02:43:58 9712f1f96733: Pulling fs layer 02:43:58 63f879dbbcfc: Pulling fs layer 02:43:58 0d9ebad4ef96: Pulling fs layer 02:43:58 e9a5061849ea: Pulling fs layer 02:43:58 d747dcd14b5f: Pulling fs layer 02:43:58 2de7ff778b66: Pulling fs layer 02:43:58 e9a5061849ea: Waiting 02:43:58 d747dcd14b5f: Waiting 02:43:58 2de7ff778b66: Waiting 02:43:58 0d9ebad4ef96: Waiting 02:43:58 9712f1f96733: Verifying Checksum 02:43:58 9712f1f96733: Download complete 02:43:58 63f879dbbcfc: Verifying Checksum 02:43:58 63f879dbbcfc: Download complete 02:43:58 e9a5061849ea: Verifying Checksum 02:43:58 e9a5061849ea: Download complete 02:43:58 d747dcd14b5f: Verifying Checksum 02:43:58 0d9ebad4ef96: Verifying Checksum 02:43:58 0d9ebad4ef96: Download complete 02:43:58 2de7ff778b66: Verifying Checksum 02:43:58 2de7ff778b66: Download complete 02:43:58 ab5ef0e58194: Verifying Checksum 02:43:58 ab5ef0e58194: Download complete 02:44:01 ab5ef0e58194: Pull complete 02:44:01 9712f1f96733: Pull complete 02:44:02 63f879dbbcfc: Pull complete 02:44:06 0d9ebad4ef96: Pull complete 02:44:06 e9a5061849ea: Pull complete 02:44:06 d747dcd14b5f: Pull complete 02:44:08 2de7ff778b66: Pull complete 02:44:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:44:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:08 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:44:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:44:12 $ docker top b894d6d7ee590d9c389ad72da6935a7aafb1601d3f7e3763cd8b0698feeebbbb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:44:12 provisioning config files... 02:44:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3515555736564705612tmp 02:44:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12233690838749340986tmp 02:44:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4108565575041174176tmp [Pipeline] { [Pipeline] echo 02:44:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:44:13 ---> sigul-configuration.sh 02:44:13 gpg: directory `/root/.gnupg' created 02:44:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:44:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:44:13 gpg: keyring `/root/.gnupg/secring.gpg' created 02:44:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:44:13 gpg: CAST5 encrypted data 02:44:13 gpg: encrypted with 1 passphrase 02:44:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:44:13 + mkdir /home/jenkins 02:44:13 + mkdir /home/jenkins/sigul [Pipeline] sh 02:44:13 + 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 02:44:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:44:14 ---> sigul-install.sh 02:44:14 Sigul already installed; skipping installation. [Pipeline] sh 02:44:14 + git tag --list 02:44:14 v1.0.0 02:44:14 v1.1.0 02:44:14 v1.1.1 02:44:14 v1.1.2 02:44:14 v1.2.0 02:44:14 v1.2.1 02:44:14 v2.0.0 02:44:14 v2.1.0 02:44:14 v2.1.1 02:44:14 v2.1.1-dev.1 02:44:14 v2.1.1-dev.2 02:44:14 v2.1.1-dev.3 02:44:14 v2.2.0 02:44:14 v2.2.1-dev.1 02:44:14 v2.2.1-dev.2 02:44:14 v2.2.1-dev.3 02:44:14 v2.2.1-dev.4 02:44:14 v2.2.1-dev.5 02:44:14 v2.2.1-dev.6 02:44:14 v2.2.1-dev.7 02:44:14 v2.2.1-dev.8 02:44:14 v2.2.1-dev.9 02:44:14 v2.3.0 02:44:14 v2.3.0-dev.10 02:44:14 v2.3.0-dev.11 02:44:14 v2.3.0-dev.12 02:44:14 v2.3.0-dev.13 02:44:14 v2.3.0-dev.14 02:44:14 v2.3.0-dev.15 02:44:14 v2.3.0-dev.16 02:44:14 v2.3.0-dev.17 02:44:14 v2.3.0-dev.18 02:44:14 v2.3.0-dev.19 02:44:14 v2.3.0-dev.20 02:44:14 v2.3.0-dev.21 02:44:14 v2.3.0-dev.22 02:44:14 v2.3.0-dev.23 02:44:14 v2.3.0-dev.24 02:44:14 v2.3.0-dev.25 02:44:14 v2.3.0-dev.9 02:44:14 v3.0.0-dev.1 02:44:14 v3.0.0-dev.10 02:44:14 v3.0.0-dev.11 02:44:14 v3.0.0-dev.12 02:44:14 v3.0.0-dev.13 02:44:14 v3.0.0-dev.14 02:44:14 v3.0.0-dev.15 02:44:14 v3.0.0-dev.16 02:44:14 v3.0.0-dev.17 02:44:14 v3.0.0-dev.18 02:44:14 v3.0.0-dev.19 02:44:14 v3.0.0-dev.2 02:44:14 v3.0.0-dev.20 02:44:14 v3.0.0-dev.21 02:44:14 v3.0.0-dev.22 02:44:14 v3.0.0-dev.23 02:44:14 v3.0.0-dev.24 02:44:14 v3.0.0-dev.25 02:44:14 v3.0.0-dev.3 02:44:14 v3.0.0-dev.4 02:44:14 v3.0.0-dev.5 02:44:14 v3.0.0-dev.6 02:44:14 v3.0.0-dev.7 02:44:14 v3.0.0-dev.8 02:44:14 v3.0.0-dev.9 [Pipeline] sh 02:44:14 + lftools sign git-tag v3.0.0-dev.25 02:44:15 Signing Git tag with Sigul... 02:44:15 Signing v3.0.0-dev.25 [Pipeline] echo 02:44:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:44:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:44:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:44:15 $ docker stop --time=1 b894d6d7ee590d9c389ad72da6935a7aafb1601d3f7e3763cd8b0698feeebbbb 02:44:17 $ docker rm -f --volumes b894d6d7ee590d9c389ad72da6935a7aafb1601d3f7e3763cd8b0698feeebbbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:44:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:17 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:44:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:44:18 $ docker top c63d8ea569dd986db86c0021bf7ed9af90e5e2a2f84cd813abf3defa9d6faa5d -eo pid,comm 02:44:18 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:44:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:18 [ssh-agent] Looking for ssh-agent implementation... 02:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:18 $ docker exec c63d8ea569dd986db86c0021bf7ed9af90e5e2a2f84cd813abf3defa9d6faa5d ssh-agent 02:44:18 SSH_AUTH_SOCK=/tmp/ssh-YZx4y6YPS7bc/agent.33 02:44:18 SSH_AGENT_PID=39 02:44:18 Running ssh-add (command line suppressed) 02:44:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11331762753698874006.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11331762753698874006.key) 02:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:18 + git semver bump pre 02:44:19 2023-04-07 02:44:19,159 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:44:19 2023-04-07 02:44:19,159 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev 02:44:19 2023-04-07 02:44:19,159 [bump_version] DEBUG bumped version:3.0.0-dev.26 02:44:19 2023-04-07 02:44:19,159 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:44:19 2023-04-07 02:44:19,159 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:44:19 2023-04-07 02:44:19,159 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:44:19 2023-04-07 02:44:19,161 [execute] INFO git cat-file --batch-check 02:44:19 2023-04-07 02:44:19,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:44:19 2023-04-07 02:44:19,167 [execute] INFO git cat-file --batch 02:44:19 2023-04-07 02:44:19,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:44:19 2023-04-07 02:44:19,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:44:19 3.0.0-dev.26 [Pipeline] } 02:44:19 $ docker exec --env ******** --env ******** c63d8ea569dd986db86c0021bf7ed9af90e5e2a2f84cd813abf3defa9d6faa5d ssh-agent -k 02:44:19 unset SSH_AUTH_SOCK; 02:44:19 unset SSH_AGENT_PID; 02:44:19 echo Agent pid 39 killed; 02:44:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:19 + git semver [Pipeline] } 02:44:19 $ docker stop --time=1 c63d8ea569dd986db86c0021bf7ed9af90e5e2a2f84cd813abf3defa9d6faa5d 02:44:21 $ docker rm -f --volumes c63d8ea569dd986db86c0021bf7ed9af90e5e2a2f84cd813abf3defa9d6faa5d [Pipeline] // withDockerContainer [Pipeline] sh 02:44:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:21 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:44: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:44:22 $ docker top cf30d3d3ebadf69858c73213262284554a348829736b73d2f2b145b8e06c882d -eo pid,comm 02:44:22 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:44:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:22 [ssh-agent] Looking for ssh-agent implementation... 02:44:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:22 $ docker exec cf30d3d3ebadf69858c73213262284554a348829736b73d2f2b145b8e06c882d ssh-agent 02:44:22 SSH_AUTH_SOCK=/tmp/ssh-XNeH1hey8uMu/agent.32 02:44:22 SSH_AGENT_PID=38 02:44:22 Running ssh-add (command line suppressed) 02:44:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191290080217683275.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191290080217683275.key) 02:44:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:23 + git semver push 02:44:23 2023-04-07 02:44:23,217 [run_push] DEBUG push 02:44:23 2023-04-07 02:44:23,218 [execute] INFO git cat-file --batch-check 02:44:23 2023-04-07 02:44:23,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:44:23 2023-04-07 02:44:23,223 [execute] INFO git rev-list 5e3c3915697343e008c07c1e200c8212eb84afe7 -- 02:44:23 2023-04-07 02:44:23,224 [execute] DEBUG Popen(['git', 'rev-list', '5e3c3915697343e008c07c1e200c8212eb84afe7', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:44:23 2023-04-07 02:44:23,232 [execute] INFO git fetch -v origin 02:44:23 2023-04-07 02:44:23,233 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:44:23 2023-04-07 02:44:23,713 [run_push] DEBUG no remote changes detected 02:44:23 2023-04-07 02:44:23,713 [execute] INFO git push origin semver 02:44:23 2023-04-07 02:44:23,714 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:44:24 2023-04-07 02:44:24,512 [run_push] DEBUG push all version tags 02:44:24 2023-04-07 02:44:24,512 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:44:24 2023-04-07 02:44:24,513 [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) 02:44:25 2023-04-07 02:44:25,229 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:44:25 3.0.0-dev.26 [Pipeline] } 02:44:25 $ docker exec --env ******** --env ******** cf30d3d3ebadf69858c73213262284554a348829736b73d2f2b145b8e06c882d ssh-agent -k 02:44:25 unset SSH_AUTH_SOCK; 02:44:25 unset SSH_AGENT_PID; 02:44:25 echo Agent pid 38 killed; 02:44:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:25 + git semver [Pipeline] } 02:44:26 $ docker stop --time=1 cf30d3d3ebadf69858c73213262284554a348829736b73d2f2b145b8e06c882d 02:44:27 $ docker rm -f --volumes cf30d3d3ebadf69858c73213262284554a348829736b73d2f2b145b8e06c882d [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 02:44:27 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:44:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:44:27 total 16 02:44:27 drwxr-xr-x 3 root root 4096 Apr 7 02:33 . 02:44:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 02:44 .. 02:44:27 drwxr-xr-x 2 root root 4096 Apr 7 02:33 cost 02:44:27 -rw-r--r-- 1 root root 85 Apr 7 02:33 cost.csv 02:44:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:44:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:44:27 total 16 02:44:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 02:33 . 02:44:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 02:44 .. 02:44:27 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 02:33 cost 02:44:27 -rw-r--r-- 1 jenkins jenkins 85 Apr 7 02:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:44:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:44:29 ---> package-listing.sh 02:44:29 ++ facter osfamily 02:44:29 ++ tr '[:upper:]' '[:lower:]' 02:44:29 + OS_FAMILY=debian 02:44:29 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:44:29 + START_PACKAGES=/tmp/packages_start.txt 02:44:29 + END_PACKAGES=/tmp/packages_end.txt 02:44:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:44:29 + PACKAGES=/tmp/packages_start.txt 02:44:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:44:29 + PACKAGES=/tmp/packages_end.txt 02:44:29 + case "${OS_FAMILY}" in 02:44:29 + dpkg -l 02:44:29 + grep '^ii' 02:44:29 + '[' -f /tmp/packages_start.txt ']' 02:44:29 + '[' -f /tmp/packages_end.txt ']' 02:44:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:44:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:44:29 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:44:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:44:29 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 02:44:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:30 prd-ubuntu20.04-docker-8c-8g-7060 does not seem to be running inside a container 02:44:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:44:30 $ docker top 11d2e06c15601b6ba9c8dc4c1ec6d27595d9a6a9f867ce282af21d82cc3488a4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:44:31 + mkdir -p /var/log/sysstat [Pipeline] sh 02:44:31 + ls /var/log/sa-host 02:44:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:31 provisioning config files... 02:44:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3497211285309215010tmp [Pipeline] { [Pipeline] echo 02:44:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:44:31 ---> create-netrc.sh [Pipeline] } 02:44:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:44:32 ---> python-tools-install.sh [Pipeline] echo 02:44:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:44:32 ---> sudo-logs.sh 02:44:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:44:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:44:32 ---> job-cost.sh 02:44:32 lf-activate-venv: SKIPPING 02:44:32 DEBUG: total: 0.2199999988079071 02:44:32 INFO: Retrieving Stack Cost... 02:44:33 INFO: Retrieving Pricing Info for: v3-standard-8 02:44:33 INFO: Archiving Costs [Pipeline] echo 02:44:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:44:33 ---> logs-deploy.sh 02:44:33 lf-activate-venv: SKIPPING 02:44:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/97 02:44:33 INFO: archiving workspace using pattern(s): 02:44:34 Archives upload complete. 02:44:35 INFO: archiving logs to Nexus 02:44:35 ---> uname -a: 02:44:35 Linux prd-ubuntu20-04-docker-8c-8g-7060 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:44:35 02:44:35 02:44:35 ---> lscpu: 02:44:35 Architecture: x86_64 02:44:35 CPU op-mode(s): 32-bit, 64-bit 02:44:35 Byte Order: Little Endian 02:44:35 Address sizes: 40 bits physical, 48 bits virtual 02:44:35 CPU(s): 8 02:44:35 On-line CPU(s) list: 0-7 02:44:35 Thread(s) per core: 1 02:44:35 Core(s) per socket: 1 02:44:35 Socket(s): 8 02:44:35 NUMA node(s): 1 02:44:35 Vendor ID: AuthenticAMD 02:44:35 CPU family: 23 02:44:35 Model: 49 02:44:35 Model name: AMD EPYC-Rome Processor 02:44:35 Stepping: 0 02:44:35 CPU MHz: 2800.000 02:44:35 BogoMIPS: 5600.00 02:44:35 Virtualization: AMD-V 02:44:35 Hypervisor vendor: KVM 02:44:35 Virtualization type: full 02:44:35 L1d cache: 256 KiB 02:44:35 L1i cache: 256 KiB 02:44:35 L2 cache: 4 MiB 02:44:35 L3 cache: 128 MiB 02:44:35 NUMA node0 CPU(s): 0-7 02:44:35 Vulnerability Itlb multihit: Not affected 02:44:35 Vulnerability L1tf: Not affected 02:44:35 Vulnerability Mds: Not affected 02:44:35 Vulnerability Meltdown: Not affected 02:44:35 Vulnerability Mmio stale data: Not affected 02:44:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:44:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:44:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:44:35 Vulnerability Srbds: Not affected 02:44:35 Vulnerability Tsx async abort: Not affected 02:44:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:44:35 02:44:35 02:44:35 ---> nproc: 02:44:35 8 02:44:35 02:44:35 02:44:35 ---> df -h: 02:44:35 Filesystem Size Used Avail Use% Mounted on 02:44:35 overlay 155G 13G 143G 9% / 02:44:35 tmpfs 64M 0 64M 0% /dev 02:44:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:44:35 shm 64M 0 64M 0% /dev/shm 02:44:35 /dev/vda1 155G 13G 143G 9% /facter-os 02:44:35 02:44:35