Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 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-ssh11847093218076692549.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5844502162445110915.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5876637985922089675.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6859232127551900690.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-ssh3910702521691522368.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.21 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-10296 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea (main) Commit message: "refactor: Remove obsolete comments from config file (#355)" > git config core.sparsecheckout # timeout=10 > git checkout -f 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 > git rev-list --no-walk 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:49:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:49:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:49:26 ========================================================= 21:49:26 EdgeX Global Pipelines Version Info 21:49:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:49:27 ------------------- 21:49:27 stable info: 21:49:27 ------------------- 21:49:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:49:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:49:27 Message: update stable to v1.0.254 21:49:27 ------------------- 21:49:27 experimental info: 21:49:27 ------------------- 21:49:27 Commited By: **** collab-it+edgex@linuxfoundation.org 21:49:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:49:27 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:49:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:49:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e268e [Pipeline] echo 21:49:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:28 provisioning config files... 21:49:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4019582470507746871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:28 ---> docker-login.sh 21:49:28 nexus3.edgexfoundry.org:10001 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:29 Configure a credential helper to remove this warning. See 21:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:29 21:49:29 Login Succeeded 21:49:29 nexus3.edgexfoundry.org:10002 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:29 Configure a credential helper to remove this warning. See 21:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:29 21:49:29 Login Succeeded 21:49:29 nexus3.edgexfoundry.org:10003 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:29 Configure a credential helper to remove this warning. See 21:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:29 21:49:29 Login Succeeded 21:49:29 nexus3.edgexfoundry.org:10004 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:29 Configure a credential helper to remove this warning. See 21:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:29 21:49:29 Login Succeeded 21:49:29 docker.io 21:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:29 Configure a credential helper to remove this warning. See 21:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:29 21:49:29 Login Succeeded 21:49:29 ---> docker-login.sh ends [Pipeline] } 21:49:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:49:29 + git rev-list -1 --merges 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea~1..71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo 21:49:30 -----------> git rev-list -1 --merges 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea~1..71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [false] [Pipeline] sh 21:49:30 + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo 21:49:30 ========================================================= 21:49:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:49:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:30 + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo 21:49:30 [semverPrep] GIT_COMMIT: 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea, Commit Message: refactor: Remove obsolete comments from config file (#355) [Pipeline] echo 21:49:30 [semverPrep] This is not a build commit. [Pipeline] sh 21:49:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:49:31 + grep -v github /etc/ssh/ssh_known_hosts 21:49:31 + [ -e /tmp/ssh_known_hosts ] 21:49:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:49:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:49:31 + sudo tee -a /etc/ssh/ssh_known_hosts 21:49:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:31 21:49:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:31 0.1.4: Pulling from edgex-devops/py-git-semver 21:49:31 b85a868b505f: Pulling fs layer 21:49:31 e2be974225ed: Pulling fs layer 21:49:31 339a4e72a1f5: Pulling fs layer 21:49:31 988bab9f4d93: Pulling fs layer 21:49:31 1469e6f7b9e6: Pulling fs layer 21:49:31 eaf3925da568: Pulling fs layer 21:49:31 bab4dde63d76: Pulling fs layer 21:49:31 bde34c3a00c8: Pulling fs layer 21:49:31 b352a97aabf1: Pulling fs layer 21:49:31 4872d77fe225: Pulling fs layer 21:49:31 5851b861e8e6: Pulling fs layer 21:49:31 988bab9f4d93: Waiting 21:49:31 1469e6f7b9e6: Waiting 21:49:31 eaf3925da568: Waiting 21:49:31 bab4dde63d76: Waiting 21:49:31 bde34c3a00c8: Waiting 21:49:31 b352a97aabf1: Waiting 21:49:31 5851b861e8e6: Waiting 21:49:31 4872d77fe225: Waiting 21:49:31 e2be974225ed: Verifying Checksum 21:49:31 e2be974225ed: Download complete 21:49:31 988bab9f4d93: Verifying Checksum 21:49:31 988bab9f4d93: Download complete 21:49:31 339a4e72a1f5: Verifying Checksum 21:49:31 339a4e72a1f5: Download complete 21:49:31 1469e6f7b9e6: Verifying Checksum 21:49:31 1469e6f7b9e6: Download complete 21:49:31 eaf3925da568: Download complete 21:49:31 bde34c3a00c8: Verifying Checksum 21:49:31 bde34c3a00c8: Download complete 21:49:31 b352a97aabf1: Verifying Checksum 21:49:31 b352a97aabf1: Download complete 21:49:31 4872d77fe225: Verifying Checksum 21:49:31 4872d77fe225: Download complete 21:49:31 5851b861e8e6: Verifying Checksum 21:49:31 5851b861e8e6: Download complete 21:49:31 b85a868b505f: Verifying Checksum 21:49:31 b85a868b505f: Download complete 21:49:32 bab4dde63d76: Verifying Checksum 21:49:32 bab4dde63d76: Download complete 21:49:33 b85a868b505f: Pull complete 21:49:33 e2be974225ed: Pull complete 21:49:33 339a4e72a1f5: Pull complete 21:49:33 988bab9f4d93: Pull complete 21:49:34 1469e6f7b9e6: Pull complete 21:49:34 eaf3925da568: Pull complete 21:49:36 bab4dde63d76: Pull complete 21:49:36 bde34c3a00c8: Pull complete 21:49:36 b352a97aabf1: Pull complete 21:49:36 4872d77fe225: Pull complete 21:49:36 5851b861e8e6: Pull complete 21:49:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:36 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 21:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:49:39 $ docker top fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 -eo pid,comm 21:49:39 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). 21:49:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:49:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:39 [ssh-agent] Looking for ssh-agent implementation... 21:49:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:39 $ docker exec fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent 21:49:39 SSH_AUTH_SOCK=/tmp/ssh-K2OmsGq1PE4H/agent.32 21:49:39 SSH_AGENT_PID=38 21:49:39 Running ssh-add (command line suppressed) 21:49:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13853675595761764724.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13853675595761764724.key) 21:49:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:39 + git tag --points-at HEAD [Pipeline] } 21:49:39 $ docker exec --env ******** --env ******** fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent -k 21:49:39 unset SSH_AUTH_SOCK; 21:49:39 unset SSH_AGENT_PID; 21:49:39 echo Agent pid 38 killed; 21:49:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:49:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:39 [ssh-agent] Looking for ssh-agent implementation... 21:49:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:40 $ docker exec fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent 21:49:40 SSH_AUTH_SOCK=/tmp/ssh-nyLk3OAGu6UH/agent.70 21:49:40 SSH_AGENT_PID=76 21:49:40 Running ssh-add (command line suppressed) 21:49:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2010152905345437926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2010152905345437926.key) 21:49:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:40 + git semver init 21:49:40 2023-10-24 21:49:40,709 [run_init] DEBUG init version:0.0.0 force:False 21:49:40 2023-10-24 21:49:40,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:49:40 2023-10-24 21:49:40,710 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:49:40 2023-10-24 21:49:40,710 [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) 21:49:42 2023-10-24 21:49:41,806 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:49:42 2023-10-24 21:49:41,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:49:42 2023-10-24 21:49:41,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:42 2023-10-24 21:49:41,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:49:42 3.1.0-dev.25 [Pipeline] } 21:49:42 $ docker exec --env ******** --env ******** fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent -k 21:49:42 unset SSH_AUTH_SOCK; 21:49:42 unset SSH_AGENT_PID; 21:49:42 echo Agent pid 76 killed; 21:49:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:42 + git semver [Pipeline] } 21:49:42 $ docker stop --time=1 fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 21:49:44 $ docker rm -f --volumes fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 [Pipeline] // withDockerContainer [Pipeline] sh 21:49:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:49:44 Stashed 1 file(s) [Pipeline] echo 21:49:44 [edgeXSemver]: initialized semver on version 3.1.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 21:49:44 provisioning config files... 21:49:44 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config349462805742174628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:45 ---> docker-login.sh 21:49:45 nexus3.edgexfoundry.org:10001 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 nexus3.edgexfoundry.org:10002 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 nexus3.edgexfoundry.org:10003 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 nexus3.edgexfoundry.org:10004 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 docker.io 21:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:45 Configure a credential helper to remove this warning. See 21:49:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:45 21:49:45 Login Succeeded 21:49:45 ---> docker-login.sh ends [Pipeline] } 21:49:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:46 ========================================================= 21:49:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:49:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:49:46 Sending build context to Docker daemon 10.91MB 21:49:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:49:46 Step 2/12 : FROM ${BASE} AS builder 21:49:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:49:46 7264a8db6415: Pulling fs layer 21:49:46 c4d48a809fc2: Pulling fs layer 21:49:46 4f1c88b9dad5: Pulling fs layer 21:49:46 ad3a456e5733: Pulling fs layer 21:49:46 33e27b845d1e: Pulling fs layer 21:49:46 c68163c4e522: Pulling fs layer 21:49:46 50da416c3ac9: Pulling fs layer 21:49:46 23d2d4c4bb30: Pulling fs layer 21:49:46 ad3a456e5733: Waiting 21:49:46 23d2d4c4bb30: Waiting 21:49:46 c68163c4e522: Waiting 21:49:46 c4d48a809fc2: Verifying Checksum 21:49:46 c4d48a809fc2: Download complete 21:49:46 ad3a456e5733: Download complete 21:49:46 33e27b845d1e: Verifying Checksum 21:49:46 33e27b845d1e: Download complete 21:49:46 7264a8db6415: Verifying Checksum 21:49:46 7264a8db6415: Download complete 21:49:46 c68163c4e522: Verifying Checksum 21:49:46 c68163c4e522: Download complete 21:49:46 7264a8db6415: Pull complete 21:49:46 c4d48a809fc2: Pull complete 21:49:46 23d2d4c4bb30: Verifying Checksum 21:49:46 23d2d4c4bb30: Download complete 21:49:47 4f1c88b9dad5: Verifying Checksum 21:49:47 4f1c88b9dad5: Download complete 21:49:47 50da416c3ac9: Verifying Checksum 21:49:47 50da416c3ac9: Download complete 21:49:50 4f1c88b9dad5: Pull complete 21:49:50 ad3a456e5733: Pull complete 21:49:50 33e27b845d1e: Pull complete 21:49:50 c68163c4e522: Pull complete 21:49:53 50da416c3ac9: Pull complete 21:49:53 23d2d4c4bb30: Pull complete 21:49:53 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:49:53 ---> 0786185ac409 21:49:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:49:58 ---> Running in 073d02504c85 21:49:58 Removing intermediate container 073d02504c85 21:49:58 ---> 7a7d04b6ee0a 21:49:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:58 ---> Running in 41179f90c785 21:49:58 Removing intermediate container 41179f90c785 21:49:58 ---> 3191ba34fa4c 21:49:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:49:58 ---> Running in 053312b73b26 21:49:58 Removing intermediate container 053312b73b26 21:49:58 ---> 17ee96390e36 21:49:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:49:58 ---> Running in 415727ce70d1 21:49:58 Removing intermediate container 415727ce70d1 21:49:58 ---> 05cd784730e1 21:49:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:49:58 ---> Running in d86c7efbab50 21:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:49:58 (2/4) Installing libedit (20221030.3.1-r1) 21:49:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:49:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:49:58 Executing busybox-1.36.1-r2.trigger 21:49:58 OK: 268 MiB in 56 packages 21:49:59 Removing intermediate container d86c7efbab50 21:49:59 ---> 9e14572d68d6 21:49:59 Step 8/12 : WORKDIR /device-rest-go 21:49:59 ---> Running in 89a5f0444f45 21:49:59 Removing intermediate container 89a5f0444f45 21:49:59 ---> cddf4aa6a7c0 21:49:59 Step 9/12 : COPY go.mod vendor* ./ 21:49:59 ---> ef46ead7c145 21:49:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:49:59 ---> Running in 72b41e79bc42 21:49:59 Still waiting to schedule task 21:49:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:50:55 Removing intermediate container 72b41e79bc42 21:50:55 ---> 2b115ec11d3f 21:50:55 Step 11/12 : COPY . . 21:50:55 ---> fe4e4175e3b4 21:50:55 Step 12/12 : RUN $MAKE 21:50:55 ---> Running in 86fda4374792 21:50:55 noop 21:50:55 Removing intermediate container 86fda4374792 21:50:55 ---> ac7e2babe971 21:50:55 Successfully built ac7e2babe971 21:50:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:55 + docker inspect -f . ci-base-image-x86_64 21:50:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:56 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 21:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:56 $ docker top e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:56 + go version 21:50:56 go version go1.21.0 linux/amd64 [Pipeline] } 21:50:56 $ docker stop --time=1 e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 21:50:58 $ docker rm -f --volumes e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:58 + docker inspect -f . ci-base-image-x86_64 21:50:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:58 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 21:50:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:58 $ docker top f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:50:59 + make test 21:50:59 go test ./... -coverprofile=coverage.out ./... 21:51:00 ? github.com/edgexfoundry/device-rest-go [no test files] 21:51:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:51:13 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 21:51:18 go vet ./... 21:51:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:51:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:51:21 ./bin/test-attribution-txt.sh [Pipeline] echo 21:51:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:51:21 $ docker stop --time=1 f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 21:51:24 $ docker rm -f --volumes f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:25 + ls -al . 21:51:25 total 184 21:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:50 . 21:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:49 .. 21:51:25 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:49 .dockerignore 21:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:51 .git 21:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:49 .github 21:51:25 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:49 .gitignore 21:51:25 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:49 .golangci.yml 21:51:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:49 .semver 21:51:25 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:49 Attribution.txt 21:51:25 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:49 CHANGELOG.md 21:51:25 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:49 Dockerfile 21:51:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:49 GOVERNANCE.md 21:51:25 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:49 Jenkinsfile 21:51:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:49 LICENSE 21:51:25 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:49 Makefile 21:51:25 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:49 OWNERS.md 21:51:25 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:49 README.md 21:51:25 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:49 VERSION 21:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:49 bin 21:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:49 cmd 21:51:25 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:51 coverage.out 21:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:49 driver 21:51:25 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:49 go.mod 21:51:25 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:49 go.sum 21:51:25 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:26 + 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea --label arch=amd64 --label version=3.1.0-dev.25 . 21:51:26 Sending build context to Docker daemon 10.93MB 21:51:26 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:51:26 Step 2/25 : FROM ${BASE} AS builder 21:51:26 ---> ac7e2babe971 21:51:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:51:26 ---> Running in 1b1594bda7ad 21:51:26 Removing intermediate container 1b1594bda7ad 21:51:26 ---> 4515dec6622f 21:51:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:26 ---> Running in 3b4c01147a45 21:51:26 Removing intermediate container 3b4c01147a45 21:51:26 ---> a0696df19776 21:51:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:26 ---> Running in 39ef01f65f4e 21:51:26 Removing intermediate container 39ef01f65f4e 21:51:26 ---> 0fed9e9233d8 21:51:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:51:26 ---> Running in dce6f80f9a5e 21:51:26 Removing intermediate container dce6f80f9a5e 21:51:26 ---> b020d0223708 21:51:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:26 ---> Running in 2d06e84c23c3 21:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:51:27 OK: 268 MiB in 56 packages 21:51:27 Removing intermediate container 2d06e84c23c3 21:51:27 ---> 6c176604e3d9 21:51:27 Step 8/25 : WORKDIR /device-rest-go 21:51:27 ---> Running in d82ed2665fc0 21:51:27 Removing intermediate container d82ed2665fc0 21:51:27 ---> c986548760a5 21:51:27 Step 9/25 : COPY go.mod vendor* ./ 21:51:27 ---> eaeae77bc09f 21:51:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:27 ---> Running in 9196b5caf3af 21:51:28 Removing intermediate container 9196b5caf3af 21:51:28 ---> 50f90c8dc68b 21:51:28 Step 11/25 : COPY . . 21:51:29 ---> 7e35e314f38c 21:51:29 Step 12/25 : RUN $MAKE 21:51:29 ---> Running in a5d50a3956f3 21:51:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:51:47 Removing intermediate container a5d50a3956f3 21:51:47 ---> 2519e113a6ec 21:51:47 Step 13/25 : FROM alpine:3.18 21:51:47 3.18: Pulling from library/alpine 21:51:47 96526aa774ef: Pulling fs layer 21:51:48 96526aa774ef: Download complete 21:51:48 96526aa774ef: Pull complete 21:51:48 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:51:48 Status: Downloaded newer image for alpine:3.18 21:51:48 ---> 8ca4688f4f35 21:51:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:51:48 ---> Running in f89abf21ac0b 21:51:48 Removing intermediate container f89abf21ac0b 21:51:48 ---> 483d8d0d800e 21:51:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:51:48 ---> Running in 348ff01bd0fa 21:51:48 Removing intermediate container 348ff01bd0fa 21:51:48 ---> f2cc6f903aee 21:51:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:51:48 ---> Running in b43fa61e940f 21:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:51:49 (1/1) Installing dumb-init (1.2.5-r2) 21:51:49 Executing busybox-1.36.1-r2.trigger 21:51:49 OK: 7 MiB in 16 packages 21:51:49 Removing intermediate container b43fa61e940f 21:51:49 ---> 792e34e76960 21:51:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:51:50 ---> e3e6db9f44da 21:51:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:51:50 ---> 200b3283e210 21:51:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:51:50 ---> e42832198be0 21:51:50 Step 20/25 : EXPOSE 59986 21:51:50 ---> Running in 9f5621ec567b 21:51:50 Removing intermediate container 9f5621ec567b 21:51:50 ---> 6d77f8deb13d 21:51:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:51:50 ---> Running in fdc4a8a46a20 21:51:50 Removing intermediate container fdc4a8a46a20 21:51:50 ---> 6dbbd3d67c83 21:51:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:51:50 ---> Running in 56e0f4931fd5 21:51:50 Removing intermediate container 56e0f4931fd5 21:51:50 ---> 6aec076d990f 21:51:50 Step 23/25 : LABEL arch=amd64 21:51:50 ---> Running in af350ee178f6 21:51:50 Removing intermediate container af350ee178f6 21:51:50 ---> 1652ad0a8016 21:51:50 Step 24/25 : LABEL git_sha=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 21:51:50 ---> Running in 32e6823fca95 21:51:50 Removing intermediate container 32e6823fca95 21:51:50 ---> ee36dc5022d7 21:51:50 Step 25/25 : LABEL version=3.1.0-dev.25 21:51:50 ---> Running in 5f6bd5695adb 21:51:51 Removing intermediate container 5f6bd5695adb 21:51:51 ---> 14d14048f021 21:51:51 [Warning] One or more build-args [ARCH] were not consumed 21:51:51 Successfully built 14d14048f021 21:51:51 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:51 provisioning config files... 21:51:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4327006368656852261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:51 ---> docker-login.sh 21:51:51 nexus3.edgexfoundry.org:10001 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 nexus3.edgexfoundry.org:10002 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 nexus3.edgexfoundry.org:10003 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 nexus3.edgexfoundry.org:10004 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:51 Configure a credential helper to remove this warning. See 21:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:51 21:51:51 Login Succeeded 21:51:51 docker.io 21:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:52 Configure a credential helper to remove this warning. See 21:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:52 21:51:52 Login Succeeded 21:51:52 ---> docker-login.sh ends [Pipeline] } 21:51:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:52 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:51:52 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 21:51:52 latest 21:51:52 3.1.0-dev.25 21:51:52 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 21:51:52 main 21:51:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 21:51:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:51:52 ab873797a824: Preparing 21:51:52 f13d25a94164: Preparing 21:51:52 55e3373ccb3d: Preparing 21:51:52 021a9dc4dd28: Preparing 21:51:52 cc2447e1835a: Preparing 21:51:52 cc2447e1835a: Layer already exists 21:51:52 ab873797a824: Pushed 21:51:52 021a9dc4dd28: Pushed 21:51:52 f13d25a94164: Pushed 21:51:55 55e3373ccb3d: Pushed 21:51:55 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:51:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:51:56 ab873797a824: Preparing 21:51:56 f13d25a94164: Preparing 21:51:56 55e3373ccb3d: Preparing 21:51:56 021a9dc4dd28: Preparing 21:51:56 cc2447e1835a: Preparing 21:51:56 cc2447e1835a: Layer already exists 21:51:56 ab873797a824: Layer already exists 21:51:56 021a9dc4dd28: Layer already exists 21:51:56 55e3373ccb3d: Layer already exists 21:51:56 f13d25a94164: Layer already exists 21:51:56 latest: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 21:51:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:51:57 ab873797a824: Preparing 21:51:57 f13d25a94164: Preparing 21:51:57 55e3373ccb3d: Preparing 21:51:57 021a9dc4dd28: Preparing 21:51:57 cc2447e1835a: Preparing 21:51:57 f13d25a94164: Layer already exists 21:51:57 cc2447e1835a: Layer already exists 21:51:57 ab873797a824: Layer already exists 21:51:57 55e3373ccb3d: Layer already exists 21:51:57 021a9dc4dd28: Layer already exists 21:51:57 3.1.0-dev.25: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 21:51:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:51:57 ab873797a824: Preparing 21:51:57 f13d25a94164: Preparing 21:51:57 55e3373ccb3d: Preparing 21:51:57 021a9dc4dd28: Preparing 21:51:57 cc2447e1835a: Preparing 21:51:57 55e3373ccb3d: Layer already exists 21:51:57 ab873797a824: Layer already exists 21:51:57 cc2447e1835a: Layer already exists 21:51:57 021a9dc4dd28: Layer already exists 21:51:57 f13d25a94164: Layer already exists 21:51:57 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:51:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:51:58 ab873797a824: Preparing 21:51:58 f13d25a94164: Preparing 21:51:58 55e3373ccb3d: Preparing 21:51:58 021a9dc4dd28: Preparing 21:51:58 cc2447e1835a: Preparing 21:51:58 f13d25a94164: Layer already exists 21:51:58 cc2447e1835a: Layer already exists 21:51:58 021a9dc4dd28: Layer already exists 21:51:58 55e3373ccb3d: Layer already exists 21:51:58 ab873797a824: Layer already exists 21:51:58 main: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:51:58 ===================================================== [Pipeline] echo 21:51:58 taggedImages: 21:51:58 - nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 21:51:58 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:51:58 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 21:51:58 - nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 21:51:58 - 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 21:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:58 21:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:59 latest: Pulling from edgex-lftools-log-publisher 21:51:59 5eb5b503b376: Pulling fs layer 21:51:59 5c69ac0246d0: Pulling fs layer 21:51:59 ec43610c2a17: Pulling fs layer 21:51:59 3a2ae6a8a46f: Pulling fs layer 21:51:59 33b1e0a273af: Pulling fs layer 21:51:59 5d3b04190fa2: Pulling fs layer 21:51:59 2f39f015ded8: Pulling fs layer 21:51:59 33b1e0a273af: Waiting 21:51:59 5d3b04190fa2: Waiting 21:51:59 2f39f015ded8: Waiting 21:51:59 3a2ae6a8a46f: Waiting 21:51:59 5c69ac0246d0: Verifying Checksum 21:51:59 5c69ac0246d0: Download complete 21:51:59 3a2ae6a8a46f: Verifying Checksum 21:51:59 3a2ae6a8a46f: Download complete 21:51:59 ec43610c2a17: Verifying Checksum 21:51:59 ec43610c2a17: Download complete 21:51:59 33b1e0a273af: Verifying Checksum 21:51:59 33b1e0a273af: Download complete 21:51:59 5d3b04190fa2: Verifying Checksum 21:51:59 5d3b04190fa2: Download complete 21:51:59 5eb5b503b376: Verifying Checksum 21:51:59 5eb5b503b376: Download complete 21:52:00 2f39f015ded8: Download complete 21:52:00 5eb5b503b376: Pull complete 21:52:00 5c69ac0246d0: Pull complete 21:52:01 ec43610c2a17: Pull complete 21:52:01 3a2ae6a8a46f: Pull complete 21:52:01 33b1e0a273af: Pull complete 21:52:01 5d3b04190fa2: Pull complete 21:52:05 2f39f015ded8: Pull complete 21:52:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:52:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:05 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 21:52:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:52:07 $ docker top 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:08 ---> job-cost.sh 21:52:08 lf-activate-venv: SKIPPING 21:52:08 INFO: No Stack... 21:52:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:52:09 INFO: Archiving Costs [Pipeline] sh 21:52:09 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:52:09 + cut -d, -f6 [Pipeline] lock 21:52:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] 21:52:09 Resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] did not exist. Created. 21:52:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:52:09 + echo total: 0.2199999988079071 [Pipeline] stash 21:52:09 Stashed 1 file(s) [Pipeline] } 21:52:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 21:52:09 $ docker stop --time=1 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 21:52:10 $ docker rm -f --volumes 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:53:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10301 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:53:15 Running in /w/workspace/device-rest-go/145 [Pipeline] { [Pipeline] checkout 21:53:15 The recommended git tool is: git 21:53:21 using credential edgex-jenkins-ssh 21:53:21 Cloning the remote Git repository 21:53:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:53:21 > git init /w/workspace/device-rest-go/145 # timeout=10 21:53:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:53:22 > git --version # timeout=10 21:53:22 > git --version # 'git version 2.25.1' 21:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:53:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:25 Avoid second fetch 21:53:25 Checking out Revision 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea (main) 21:53:26 Commit message: "refactor: Remove obsolete comments from config file (#355)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:25 > git config core.sparsecheckout # timeout=10 21:53:25 > git checkout -f 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 21:53:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:53:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:53:27 Dload Upload Total Spent Left Speed 21:53:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 21:53:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:53:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:53:28 + sudo tee /etc/docker/daemon.new 21:53:28 { 21:53:28 "registry-mirrors": [ 21:53:28 "https://nexus3.edgexfoundry.org:10001" 21:53:28 ], 21:53:28 "bip": "10.250.0.254/24", 21:53:28 "hosts": [ 21:53:28 "tcp://0.0.0.0:5555", 21:53:28 "unix:///var/run/docker.sock" 21:53:28 ], 21:53:28 "mtu": 1458, 21:53:28 "selinux-enabled": true, 21:53:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:53:28 } [Pipeline] sh 21:53:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:53:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:47 provisioning config files... 21:53:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/145@tmp/config18263790837077503998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:47 ---> docker-login.sh 21:53:47 nexus3.edgexfoundry.org:10001 21:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:48 Configure a credential helper to remove this warning. See 21:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:48 21:53:48 Login Succeeded 21:53:48 nexus3.edgexfoundry.org:10002 21:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:48 Configure a credential helper to remove this warning. See 21:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:48 21:53:48 Login Succeeded 21:53:48 nexus3.edgexfoundry.org:10003 21:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:48 Configure a credential helper to remove this warning. See 21:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:48 21:53:48 Login Succeeded 21:53:48 nexus3.edgexfoundry.org:10004 21:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:49 Configure a credential helper to remove this warning. See 21:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:49 21:53:49 Login Succeeded 21:53:49 docker.io 21:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:49 Configure a credential helper to remove this warning. See 21:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:49 21:53:49 Login Succeeded 21:53:49 ---> docker-login.sh ends [Pipeline] } 21:53:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:50 ========================================================= 21:53:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:53:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:53:50 Sending build context to Docker daemon 121.9kB 21:53:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:53:50 Step 2/12 : FROM ${BASE} AS builder 21:53:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:53:50 9fda8d8052c6: Pulling fs layer 21:53:50 5d54e960e981: Pulling fs layer 21:53:50 c4a7e357bf2a: Pulling fs layer 21:53:50 f0e02332f6b5: Pulling fs layer 21:53:50 cefa15bbcfad: Pulling fs layer 21:53:50 17808c966233: Pulling fs layer 21:53:50 f4c1fc716caa: Pulling fs layer 21:53:50 f0e02332f6b5: Waiting 21:53:50 cefa15bbcfad: Waiting 21:53:50 17808c966233: Waiting 21:53:50 f4c1fc716caa: Waiting 21:53:50 5d54e960e981: Verifying Checksum 21:53:50 5d54e960e981: Download complete 21:53:50 f0e02332f6b5: Verifying Checksum 21:53:50 f0e02332f6b5: Download complete 21:53:50 cefa15bbcfad: Verifying Checksum 21:53:50 cefa15bbcfad: Download complete 21:53:50 9fda8d8052c6: Verifying Checksum 21:53:50 9fda8d8052c6: Download complete 21:53:51 f4c1fc716caa: Verifying Checksum 21:53:51 f4c1fc716caa: Download complete 21:53:51 9fda8d8052c6: Pull complete 21:53:52 5d54e960e981: Pull complete 21:53:52 c4a7e357bf2a: Verifying Checksum 21:53:52 c4a7e357bf2a: Download complete 21:53:53 17808c966233: Verifying Checksum 21:53:53 17808c966233: Download complete 21:54:06 c4a7e357bf2a: Pull complete 21:54:06 f0e02332f6b5: Pull complete 21:54:06 cefa15bbcfad: Pull complete 21:54:16 17808c966233: Pull complete 21:54:17 f4c1fc716caa: Pull complete 21:54:17 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:54:17 ---> ea914061e18c 21:54:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:54:19 ---> Running in 8f94394100fb 21:54:19 Removing intermediate container 8f94394100fb 21:54:19 ---> ed3f6e0ad455 21:54:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:19 ---> Running in 9f29e116e829 21:54:20 Removing intermediate container 9f29e116e829 21:54:20 ---> c2d09ca9ea71 21:54:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:54:20 ---> Running in 426a95c359b5 21:54:20 Removing intermediate container 426a95c359b5 21:54:20 ---> 78826f5341ef 21:54:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:54:20 ---> Running in 1535619340c5 21:54:21 Removing intermediate container 1535619340c5 21:54:21 ---> fa8ba5a28a70 21:54:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:54:21 ---> Running in 0b1b041b2998 21:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:54:24 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:54:24 (2/4) Installing libedit (20221030.3.1-r1) 21:54:24 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:54:24 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:54:24 Executing busybox-1.36.1-r2.trigger 21:54:24 OK: 270 MiB in 56 packages 21:54:25 Removing intermediate container 0b1b041b2998 21:54:25 ---> 63a91750de0a 21:54:25 Step 8/12 : WORKDIR /device-rest-go 21:54:25 ---> Running in 2e90f21c4845 21:54:25 Removing intermediate container 2e90f21c4845 21:54:25 ---> 0757d0e68f46 21:54:25 Step 9/12 : COPY go.mod vendor* ./ 21:54:26 ---> 9a64d3fc5f7e 21:54:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:26 ---> Running in 86ced17a18b2 21:56:03 Removing intermediate container 86ced17a18b2 21:56:03 ---> 64190f043e12 21:56:03 Step 11/12 : COPY . . 21:56:03 ---> c143e7c24759 21:56:03 Step 12/12 : RUN $MAKE 21:56:03 ---> Running in 88f7f873db68 21:56:03 noop 21:56:03 Removing intermediate container 88f7f873db68 21:56:03 ---> d1d8d760c9f6 21:56:03 Successfully built d1d8d760c9f6 21:56:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:04 + docker inspect -f . ci-base-image-arm64 21:56:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:04 prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container 21:56:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@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 21:56:05 $ docker top 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:06 + go version 21:56:06 go version go1.21.0 linux/arm64 [Pipeline] } 21:56:06 $ docker stop --time=1 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 21:56:08 $ docker rm -f --volumes 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:09 + docker inspect -f . ci-base-image-arm64 21:56:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:09 prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container 21:56:09 $ 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/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@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 21:56:12 $ docker top ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:13 + git config --global --add safe.directory /w/workspace/device-rest-go/145 [Pipeline] fileExists [Pipeline] sh 21:56:14 + make test 21:56:14 go test ./... -coverprofile=coverage.out ./... 21:56:19 ? github.com/edgexfoundry/device-rest-go [no test files] 21:58:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:58:41 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.2% of statements 21:58:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:58:41 go vet ./... 21:59:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:59:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:59:03 ./bin/test-attribution-txt.sh [Pipeline] echo 21:59:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:59:04 $ docker stop --time=1 ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f 21:59:06 $ docker rm -f --volumes ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f [Pipeline] // withDockerContainer [Pipeline] sh 21:59:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:59:07 Warning: overwriting stash ‘coverage-report’ 21:59:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:59:08 + ls -al . 21:59:08 total 180 21:59:08 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 21:56 . 21:59:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:53 .. 21:59:08 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:53 .dockerignore 21:59:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:53 .git 21:59:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 .github 21:59:08 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:53 .gitignore 21:59:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:53 .golangci.yml 21:59:08 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:53 Attribution.txt 21:59:08 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:53 CHANGELOG.md 21:59:08 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:53 Dockerfile 21:59:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:53 GOVERNANCE.md 21:59:08 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:53 Jenkinsfile 21:59:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:53 LICENSE 21:59:08 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:53 Makefile 21:59:08 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:53 OWNERS.md 21:59:08 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:53 README.md 21:59:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:49 VERSION 21:59:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 bin 21:59:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 cmd 21:59:08 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:58 coverage.out 21:59:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 driver 21:59:08 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:53 go.mod 21:59:08 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:53 go.sum 21:59:08 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:09 + 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea --label arch=arm64 --label version=3.1.0-dev.25 . 21:59:09 Sending build context to Docker daemon 137.2kB 21:59:09 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:59:09 Step 2/25 : FROM ${BASE} AS builder 21:59:09 ---> d1d8d760c9f6 21:59:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:59:09 ---> Running in 68d94c0e18aa 21:59:09 Removing intermediate container 68d94c0e18aa 21:59:09 ---> db3746ab9241 21:59:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:59:10 ---> Running in 73801beb6d22 21:59:10 Removing intermediate container 73801beb6d22 21:59:10 ---> b4f05ff5c4ae 21:59:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:59:10 ---> Running in 0042f69be5ed 21:59:11 Removing intermediate container 0042f69be5ed 21:59:11 ---> 42b6cda29026 21:59:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:59:11 ---> Running in baeac6e753ca 21:59:11 Removing intermediate container baeac6e753ca 21:59:11 ---> 680ba1bb96b2 21:59:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:11 ---> Running in bda1f07a4e55 21:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:15 OK: 270 MiB in 56 packages 21:59:16 Removing intermediate container bda1f07a4e55 21:59:16 ---> d6890bfc4a34 21:59:16 Step 8/25 : WORKDIR /device-rest-go 21:59:16 ---> Running in f0455ff33f36 21:59:16 Removing intermediate container f0455ff33f36 21:59:16 ---> 683b10462e84 21:59:16 Step 9/25 : COPY go.mod vendor* ./ 21:59:17 ---> 697a6f7223ec 21:59:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:17 ---> Running in 0a2796ec9f27 21:59:20 Removing intermediate container 0a2796ec9f27 21:59:20 ---> e29ead8a73c6 21:59:20 Step 11/25 : COPY . . 21:59:20 ---> 416608554767 21:59:20 Step 12/25 : RUN $MAKE 21:59:20 ---> Running in 38be23816a03 21:59:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:01:43 Removing intermediate container 38be23816a03 22:01:43 ---> 4b162215fe32 22:01:43 Step 13/25 : FROM alpine:3.18 22:01:43 3.18: Pulling from library/alpine 22:01:43 579b34f0a95b: Pulling fs layer 22:01:43 579b34f0a95b: Download complete 22:01:43 579b34f0a95b: Pull complete 22:01:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:01:43 Status: Downloaded newer image for alpine:3.18 22:01:43 ---> 3cc203321400 22:01:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:01:43 ---> Running in 8316e44867c8 22:01:43 Removing intermediate container 8316e44867c8 22:01:43 ---> 1c87552fd76e 22:01:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:01:43 ---> Running in 876c01869e3e 22:01:43 Removing intermediate container 876c01869e3e 22:01:43 ---> 7df94cb6de58 22:01:43 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:01:43 ---> Running in 6d495bf0b887 22:01:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:01:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:01:43 (1/1) Installing dumb-init (1.2.5-r2) 22:01:43 Executing busybox-1.36.1-r2.trigger 22:01:43 OK: 8 MiB in 16 packages 22:01:43 Removing intermediate container 6d495bf0b887 22:01:43 ---> 78b3185b5cb9 22:01:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:01:43 ---> 1b1530db1f29 22:01:43 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:01:43 ---> 8fbaa3ff9b5c 22:01:43 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:01:43 ---> a959fa63ac85 22:01:43 Step 20/25 : EXPOSE 59986 22:01:43 ---> Running in 8e1d142276f5 22:01:43 Removing intermediate container 8e1d142276f5 22:01:43 ---> 7068be2831b1 22:01:43 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:01:43 ---> Running in 02554261ad66 22:01:43 Removing intermediate container 02554261ad66 22:01:43 ---> 7048c4ec80c7 22:01:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:01:43 ---> Running in ac68a9195f05 22:01:43 Removing intermediate container ac68a9195f05 22:01:43 ---> 349d6686be5a 22:01:43 Step 23/25 : LABEL arch=arm64 22:01:43 ---> Running in a00d284c040e 22:01:43 Removing intermediate container a00d284c040e 22:01:43 ---> fb25920a1566 22:01:43 Step 24/25 : LABEL git_sha=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 22:01:43 ---> Running in 3c22d2a535c8 22:01:43 Removing intermediate container 3c22d2a535c8 22:01:43 ---> 6fbb31b9c56d 22:01:43 Step 25/25 : LABEL version=3.1.0-dev.25 22:01:43 ---> Running in 34d1c680c5dc 22:01:43 Removing intermediate container 34d1c680c5dc 22:01:43 ---> f4491454e3e2 22:01:43 [Warning] One or more build-args [ARCH] were not consumed 22:01:43 Successfully built f4491454e3e2 22:01:43 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 22:01:43 provisioning config files... 22:01:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/145@tmp/config17379777644031669703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:44 ---> docker-login.sh 22:01:44 nexus3.edgexfoundry.org:10001 22:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:44 Configure a credential helper to remove this warning. See 22:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:44 22:01:44 Login Succeeded 22:01:44 nexus3.edgexfoundry.org:10002 22:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:44 Configure a credential helper to remove this warning. See 22:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:44 22:01:44 Login Succeeded 22:01:44 nexus3.edgexfoundry.org:10003 22:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:45 Configure a credential helper to remove this warning. See 22:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:45 22:01:45 Login Succeeded 22:01:45 nexus3.edgexfoundry.org:10004 22:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:45 Configure a credential helper to remove this warning. See 22:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:45 22:01:45 Login Succeeded 22:01:45 docker.io 22:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:46 Configure a credential helper to remove this warning. See 22:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:46 22:01:46 Login Succeeded 22:01:46 ---> docker-login.sh ends [Pipeline] } 22:01:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:46 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:01:46 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 22:01:46 latest 22:01:46 3.1.0-dev.25 22:01:46 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 22:01:46 main 22:01:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 22:01:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:01:47 f5255c01ef4d: Preparing 22:01:47 2e83a32d906a: Preparing 22:01:47 76d62e675c80: Preparing 22:01:47 6bf827035eca: Preparing 22:01:47 5f4d9fc4d98d: Preparing 22:01:47 5f4d9fc4d98d: Layer already exists 22:01:47 f5255c01ef4d: Pushed 22:01:47 6bf827035eca: Pushed 22:01:47 2e83a32d906a: Pushed 22:01:54 76d62e675c80: Pushed 22:01:54 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:01:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:01:54 f5255c01ef4d: Preparing 22:01:54 2e83a32d906a: Preparing 22:01:54 76d62e675c80: Preparing 22:01:54 6bf827035eca: Preparing 22:01:54 5f4d9fc4d98d: Preparing 22:01:54 5f4d9fc4d98d: Layer already exists 22:01:54 2e83a32d906a: Layer already exists 22:01:54 76d62e675c80: Layer already exists 22:01:54 f5255c01ef4d: Layer already exists 22:01:54 6bf827035eca: Layer already exists 22:01:55 latest: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 22:01:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:01:55 f5255c01ef4d: Preparing 22:01:55 2e83a32d906a: Preparing 22:01:55 76d62e675c80: Preparing 22:01:55 6bf827035eca: Preparing 22:01:55 5f4d9fc4d98d: Preparing 22:01:55 5f4d9fc4d98d: Layer already exists 22:01:55 2e83a32d906a: Layer already exists 22:01:55 6bf827035eca: Layer already exists 22:01:55 76d62e675c80: Layer already exists 22:01:55 f5255c01ef4d: Layer already exists 22:01:56 3.1.0-dev.25: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 22:01:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:01:57 f5255c01ef4d: Preparing 22:01:57 2e83a32d906a: Preparing 22:01:57 76d62e675c80: Preparing 22:01:57 6bf827035eca: Preparing 22:01:57 5f4d9fc4d98d: Preparing 22:01:57 2e83a32d906a: Layer already exists 22:01:57 5f4d9fc4d98d: Layer already exists 22:01:57 76d62e675c80: Layer already exists 22:01:57 f5255c01ef4d: Layer already exists 22:01:57 6bf827035eca: Layer already exists 22:01:57 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:01:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:01:58 f5255c01ef4d: Preparing 22:01:58 2e83a32d906a: Preparing 22:01:58 76d62e675c80: Preparing 22:01:58 6bf827035eca: Preparing 22:01:58 5f4d9fc4d98d: Preparing 22:01:58 6bf827035eca: Layer already exists 22:01:58 76d62e675c80: Layer already exists 22:01:58 5f4d9fc4d98d: Layer already exists 22:01:58 2e83a32d906a: Layer already exists 22:01:58 f5255c01ef4d: Layer already exists 22:01:58 main: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:58 ===================================================== [Pipeline] echo 22:01:58 taggedImages: 22:01:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 22:01:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:01:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 22:01:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 22:01:58 - 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 22:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:58 22:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:59 arm64: Pulling from edgex-lftools-log-publisher 22:01:59 8998bd30e6a1: Pulling fs layer 22:01:59 04944245beec: Pulling fs layer 22:01:59 699f458cf7ca: Pulling fs layer 22:01:59 765212b225bb: Pulling fs layer 22:01:59 f23df028b6ca: Pulling fs layer 22:01:59 d65c8cfc05b1: Pulling fs layer 22:01:59 2437ff75d9bd: Pulling fs layer 22:01:59 f23df028b6ca: Waiting 22:01:59 765212b225bb: Waiting 22:01:59 d65c8cfc05b1: Waiting 22:01:59 2437ff75d9bd: Waiting 22:01:59 04944245beec: Verifying Checksum 22:01:59 04944245beec: Download complete 22:01:59 765212b225bb: Verifying Checksum 22:01:59 765212b225bb: Download complete 22:01:59 f23df028b6ca: Verifying Checksum 22:01:59 f23df028b6ca: Download complete 22:01:59 d65c8cfc05b1: Verifying Checksum 22:01:59 d65c8cfc05b1: Download complete 22:01:59 699f458cf7ca: Verifying Checksum 22:01:59 699f458cf7ca: Download complete 22:02:00 8998bd30e6a1: Verifying Checksum 22:02:00 8998bd30e6a1: Download complete 22:02:03 2437ff75d9bd: Verifying Checksum 22:02:03 2437ff75d9bd: Download complete 22:02:05 8998bd30e6a1: Pull complete 22:02:05 04944245beec: Pull complete 22:02:07 699f458cf7ca: Pull complete 22:02:07 765212b225bb: Pull complete 22:02:08 f23df028b6ca: Pull complete 22:02:09 d65c8cfc05b1: Pull complete 22:02:27 2437ff75d9bd: Pull complete 22:02:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:02:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:27 prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container 22:02:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:02:30 $ docker top f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:31 ---> job-cost.sh 22:02:31 lf-activate-venv: SKIPPING 22:02:31 INFO: No Stack... 22:02:32 INFO: Retrieving Pricing Info for: v3-standard-4 22:02:33 INFO: Archiving Costs [Pipeline] sh 22:02:33 + cat /w/workspace/device-rest-go/145/archives/cost.csv 22:02:33 + cut -d, -f6 [Pipeline] lock 22:02:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] 22:02:34 Resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] did not exist. Created. 22:02:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:38 /w/workspace/device-rest-go/145@tmp/durable-217faac5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:02:39 + echo total: 0.10999999940395355 [Pipeline] stash 22:02:39 Warning: overwriting stash ‘stack-cost’ 22:02:39 Stashed 1 file(s) [Pipeline] } 22:02:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:39 $ docker stop --time=1 f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 22:02:41 $ docker rm -f --volumes f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:02:41 provisioning config files... 22:02:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13734424925783569808tmp [Pipeline] { [Pipeline] sh 22:02:41 + set +x 22:02:41 + curl -s https://codecov.io/bash 22:02:41 + bash -s -- 22:02:41 22:02:41 _____ _ 22:02:41 / ____| | | 22:02:41 | | ___ __| | ___ ___ _____ __ 22:02:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:02:41 | |___| (_) | (_| | __/ (_| (_) \ V / 22:02:41 \_____\___/ \__,_|\___|\___\___/ \_/ 22:02:41 Bash-1.0.6 22:02:41 22:02:41 22:02:41 ==> git version 2.25.1 found 22:02:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:02:41 Release-Date: 2020-01-08 22:02:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:02:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:02:41 ==> Jenkins CI detected. 22:02:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:02:41 project root: . 22:02:41 --> token set from env 22:02:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:02:41 ==> Running gcov in . (disable via -X gcov) 22:02:41 ==> Python coveragepy not found 22:02:41 ==> Searching for coverage reports in: 22:02:41 + . 22:02:41 -> Found 1 reports 22:02:41 ==> Detecting git/mercurial file structure 22:02:41 ==> Reading reports 22:02:42 + ./coverage.out bytes=14499 22:02:42 ==> Appending adjustments 22:02:42 https://docs.codecov.io/docs/fixing-reports 22:02:42 + Found adjustments 22:02:42 ==> Gzipping contents 22:02:42 4.0K /tmp/codecov.YzAzyn.gz 22:02:42 ==> Uploading reports 22:02:42 url: https://codecov.io 22:02:42 query: branch=main&commit=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:42 -> Pinging Codecov 22:02:42 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:42 -> Uploading to 22:02:42 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/71e268e2bbeb5f32b791e9fe51a95144d8b6bbea/8d7d98a7-838a-4b2a-9efe-a89827ce0697.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T220242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2dd5174094cb333e9de398c9c206f86380da94d4bafff11eae868601792d38b 22:02:42 % Total % Received % Xferd Average Speed Time Time Time Current 22:02:42 Dload Upload Total Spent Left Speed 22:02:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8201 --:--:-- --:--:-- --:--:-- 8201 22:02:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } 22:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:02:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:02:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:42 22:02:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:02:43 df9b9388f04a: Pulling fs layer 22:02:43 52dc419b0ee2: Pulling fs layer 22:02:43 25bc292e5bac: Pulling fs layer 22:02:43 114826534d7a: Pulling fs layer 22:02:43 4657fd5d0bcf: Pulling fs layer 22:02:43 6ad1cebc031e: Pulling fs layer 22:02:43 8a3aa393b2d8: Pulling fs layer 22:02:43 114826534d7a: Waiting 22:02:43 4657fd5d0bcf: Waiting 22:02:43 8a3aa393b2d8: Waiting 22:02:43 6ad1cebc031e: Waiting 22:02:43 25bc292e5bac: Verifying Checksum 22:02:43 25bc292e5bac: Download complete 22:02:43 52dc419b0ee2: Verifying Checksum 22:02:43 52dc419b0ee2: Download complete 22:02:43 4657fd5d0bcf: Verifying Checksum 22:02:43 4657fd5d0bcf: Download complete 22:02:43 df9b9388f04a: Download complete 22:02:43 df9b9388f04a: Pull complete 22:02:43 6ad1cebc031e: Verifying Checksum 22:02:43 6ad1cebc031e: Download complete 22:02:43 52dc419b0ee2: Pull complete 22:02:43 25bc292e5bac: Pull complete 22:02:44 114826534d7a: Verifying Checksum 22:02:44 114826534d7a: Download complete 22:02:44 8a3aa393b2d8: Verifying Checksum 22:02:44 8a3aa393b2d8: Download complete 22:02:47 114826534d7a: Pull complete 22:02:47 4657fd5d0bcf: Pull complete 22:02:47 6ad1cebc031e: Pull complete 22:02:51 8a3aa393b2d8: Pull complete 22:02:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:51 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:02:55 $ docker top f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b -eo pid,comm [Pipeline] { [Pipeline] echo 22:02:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:02:55 + set -o pipefail 22:02:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:03:05 22:03:05 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:03:05 22:03:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/68a2edf6-1823-443f-a9f8-362933ccd61d 22:03:05 22:03:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:03:05 22:03:05 22:03:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:03:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:03:05 More details here: https://snyk.co/ue1NS [Pipeline] } 22:03:05 $ docker stop --time=1 f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b 22:03:09 $ docker rm -f --volumes f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:10 + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] sh 22:03:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:10 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:11 $ docker top 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:11 [ssh-agent] Looking for ssh-agent implementation... 22:03:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:11 $ docker exec 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 ssh-agent 22:03:11 SSH_AUTH_SOCK=/tmp/ssh-el78mEHwypyr/agent.31 22:03:11 SSH_AGENT_PID=37 22:03:11 Running ssh-add (command line suppressed) 22:03:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17680543026289587926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17680543026289587926.key) 22:03:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:12 + git semver tag 22:03:12 2023-10-24 22:03:12,427 [run_tag] DEBUG tag force:False 22:03:12 2023-10-24 22:03:12,428 [check_head_tag] DEBUG check head tag 22:03:12 2023-10-24 22:03:12,428 [execute] INFO git cat-file --batch-check 22:03:12 2023-10-24 22:03:12,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:03:12 2023-10-24 22:03:12,433 [execute] INFO git cat-file --batch 22:03:12 2023-10-24 22:03:12,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:03:12 2023-10-24 22:03:12,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:12 2023-10-24 22:03:12,448 [execute] INFO git tag -a v3.1.0-dev.25 -m v3.1.0-dev.25 22:03:12 2023-10-24 22:03:12,448 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.25', '-m', 'v3.1.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:03:12 2023-10-24 22:03:12,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:12 3.1.0-dev.25 [Pipeline] } 22:03:12 $ docker exec --env ******** --env ******** 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 ssh-agent -k 22:03:12 unset SSH_AUTH_SOCK; 22:03:12 unset SSH_AGENT_PID; 22:03:12 echo Agent pid 37 killed; 22:03:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:12 + git semver [Pipeline] } 22:03:13 $ docker stop --time=1 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 22:03:14 $ docker rm -f --volumes 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:14 22:03:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:15 0.23.1-centos7: Pulling from edgex-lftools 22:03:15 ab5ef0e58194: Pulling fs layer 22:03:15 9712f1f96733: Pulling fs layer 22:03:15 63f879dbbcfc: Pulling fs layer 22:03:15 0d9ebad4ef96: Pulling fs layer 22:03:15 e9a5061849ea: Pulling fs layer 22:03:15 d747dcd14b5f: Pulling fs layer 22:03:15 2de7ff778b66: Pulling fs layer 22:03:15 e9a5061849ea: Waiting 22:03:15 0d9ebad4ef96: Waiting 22:03:15 d747dcd14b5f: Waiting 22:03:15 2de7ff778b66: Waiting 22:03:15 9712f1f96733: Verifying Checksum 22:03:15 9712f1f96733: Download complete 22:03:15 63f879dbbcfc: Verifying Checksum 22:03:15 63f879dbbcfc: Download complete 22:03:16 0d9ebad4ef96: Verifying Checksum 22:03:16 0d9ebad4ef96: Download complete 22:03:16 e9a5061849ea: Verifying Checksum 22:03:16 e9a5061849ea: Download complete 22:03:16 d747dcd14b5f: Download complete 22:03:16 ab5ef0e58194: Verifying Checksum 22:03:16 ab5ef0e58194: Download complete 22:03:16 2de7ff778b66: Verifying Checksum 22:03:16 2de7ff778b66: Download complete 22:03:19 ab5ef0e58194: Pull complete 22:03:19 9712f1f96733: Pull complete 22:03:19 63f879dbbcfc: Pull complete 22:03:23 0d9ebad4ef96: Pull complete 22:03:24 e9a5061849ea: Pull complete 22:03:24 d747dcd14b5f: Pull complete 22:03:25 2de7ff778b66: Pull complete 22:03:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:25 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:03:34 $ docker top e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:03:34 provisioning config files... 22:03:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config504566342582825905tmp 22:03:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7942775806472317199tmp 22:03:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16189564860480205113tmp [Pipeline] { [Pipeline] echo 22:03:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:03:34 ---> sigul-configuration.sh 22:03:34 gpg: directory `/root/.gnupg' created 22:03:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:03:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:03:34 gpg: keyring `/root/.gnupg/secring.gpg' created 22:03:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:03:34 gpg: CAST5 encrypted data 22:03:34 gpg: encrypted with 1 passphrase 22:03:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:03:34 + mkdir /home/jenkins 22:03:34 + mkdir /home/jenkins/sigul [Pipeline] sh 22:03:35 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:03:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:03:35 ---> sigul-install.sh 22:03:35 Sigul already installed; skipping installation. [Pipeline] sh 22:03:35 + git tag --list 22:03:35 v1.0.0 22:03:35 v1.1.0 22:03:35 v1.1.1 22:03:35 v1.1.2 22:03:35 v1.2.0 22:03:35 v1.2.1 22:03:35 v2.0.0 22:03:35 v2.1.0 22:03:35 v2.1.1 22:03:35 v2.2.0 22:03:35 v2.3.0 22:03:35 v3.0 22:03:35 v3.0.0 22:03:35 v3.1.0-dev.1 22:03:35 v3.1.0-dev.10 22:03:35 v3.1.0-dev.11 22:03:35 v3.1.0-dev.12 22:03:35 v3.1.0-dev.13 22:03:35 v3.1.0-dev.14 22:03:35 v3.1.0-dev.15 22:03:35 v3.1.0-dev.16 22:03:35 v3.1.0-dev.17 22:03:35 v3.1.0-dev.18 22:03:35 v3.1.0-dev.19 22:03:35 v3.1.0-dev.2 22:03:35 v3.1.0-dev.20 22:03:35 v3.1.0-dev.21 22:03:35 v3.1.0-dev.22 22:03:35 v3.1.0-dev.23 22:03:35 v3.1.0-dev.24 22:03:35 v3.1.0-dev.25 22:03:35 v3.1.0-dev.3 22:03:35 v3.1.0-dev.4 22:03:35 v3.1.0-dev.5 22:03:35 v3.1.0-dev.6 22:03:35 v3.1.0-dev.7 22:03:35 v3.1.0-dev.8 22:03:35 v3.1.0-dev.9 [Pipeline] sh 22:03:35 + lftools sign git-tag v3.1.0-dev.25 22:03:36 Signing Git tag with Sigul... 22:03:36 Signing v3.1.0-dev.25 [Pipeline] echo 22:03:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:03:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:03:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:03:37 $ docker stop --time=1 e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed 22:03:38 $ docker rm -f --volumes e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:03:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:39 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:03:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:39 $ docker top ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 -eo pid,comm 22:03:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:03:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:40 [ssh-agent] Looking for ssh-agent implementation... 22:03:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:40 $ docker exec ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 ssh-agent 22:03:40 SSH_AUTH_SOCK=/tmp/ssh-5NgB8roR5qzJ/agent.31 22:03:40 SSH_AGENT_PID=37 22:03:40 Running ssh-add (command line suppressed) 22:03:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_624050043675689786.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_624050043675689786.key) 22:03:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:40 + git semver bump pre 22:03:40 2023-10-24 22:03:40,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:40 2023-10-24 22:03:40,871 [bump_version] DEBUG bumping version:3.1.0-dev.25 on axis:pre with prefix:dev 22:03:40 2023-10-24 22:03:40,871 [bump_version] DEBUG bumped version:3.1.0-dev.26 22:03:40 2023-10-24 22:03:40,872 [write_version] DEBUG write version:3.1.0-dev.26 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:03:40 2023-10-24 22:03:40,872 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:40 2023-10-24 22:03:40,872 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:40 2023-10-24 22:03:40,873 [execute] INFO git cat-file --batch-check 22:03:40 2023-10-24 22:03:40,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:03:40 2023-10-24 22:03:40,879 [execute] INFO git cat-file --batch 22:03:40 2023-10-24 22:03:40,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:03:40 2023-10-24 22:03:40,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:40 3.1.0-dev.26 [Pipeline] } 22:03:40 $ docker exec --env ******** --env ******** ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 ssh-agent -k 22:03:41 unset SSH_AUTH_SOCK; 22:03:41 unset SSH_AGENT_PID; 22:03:41 echo Agent pid 37 killed; 22:03:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:41 + git semver [Pipeline] } 22:03:41 $ docker stop --time=1 ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 22:03:42 $ docker rm -f --volumes ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:43 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:03:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:44 $ docker top d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 -eo pid,comm 22:03:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:03:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:44 [ssh-agent] Looking for ssh-agent implementation... 22:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:44 $ docker exec d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 ssh-agent 22:03:44 SSH_AUTH_SOCK=/tmp/ssh-iEMbZ1oMMT8J/agent.33 22:03:44 SSH_AGENT_PID=39 22:03:44 Running ssh-add (command line suppressed) 22:03:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3151348416401248440.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3151348416401248440.key) 22:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:44 + git semver push 22:03:45 2023-10-24 22:03:44,941 [run_push] DEBUG push 22:03:45 2023-10-24 22:03:44,942 [execute] INFO git cat-file --batch-check 22:03:45 2023-10-24 22:03:44,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:03:45 2023-10-24 22:03:44,946 [execute] INFO git rev-list 92f9b2640da8f2d47073b7656757a2ffaa4c0975 -- 22:03:45 2023-10-24 22:03:44,946 [execute] DEBUG Popen(['git', 'rev-list', '92f9b2640da8f2d47073b7656757a2ffaa4c0975', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:03:45 2023-10-24 22:03:44,955 [execute] INFO git fetch -v origin 22:03:45 2023-10-24 22:03:44,956 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:03:45 2023-10-24 22:03:45,513 [run_push] DEBUG no remote changes detected 22:03:45 2023-10-24 22:03:45,514 [execute] INFO git push origin semver 22:03:45 2023-10-24 22:03:45,514 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:03:47 2023-10-24 22:03:46,998 [run_push] DEBUG push all version tags 22:03:47 2023-10-24 22:03:46,998 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:03:47 2023-10-24 22:03:46,999 [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) 22:03:47 2023-10-24 22:03:47,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:03:47 3.1.0-dev.26 [Pipeline] } 22:03:48 $ docker exec --env ******** --env ******** d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 ssh-agent -k 22:03:48 unset SSH_AUTH_SOCK; 22:03:48 unset SSH_AGENT_PID; 22:03:48 echo Agent pid 39 killed; 22:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:48 + git semver [Pipeline] } 22:03:48 $ docker stop --time=1 d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 22:03:50 $ docker rm -f --volumes d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:03:50 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:03:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:50 total 16 22:03:50 drwxr-xr-x 3 root root 4096 Oct 24 21:52 . 22:03:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:03 .. 22:03:50 drwxr-xr-x 2 root root 4096 Oct 24 21:52 cost 22:03:50 -rw-r--r-- 1 root root 86 Oct 24 21:52 cost.csv 22:03:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:50 total 16 22:03:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:52 . 22:03:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:03 .. 22:03:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:52 cost 22:03:50 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:03:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:03:51 ---> package-listing.sh 22:03:51 ++ facter osfamily 22:03:51 ++ tr '[:upper:]' '[:lower:]' 22:03:52 + OS_FAMILY=debian 22:03:52 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:03:52 + START_PACKAGES=/tmp/packages_start.txt 22:03:52 + END_PACKAGES=/tmp/packages_end.txt 22:03:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:03:52 + PACKAGES=/tmp/packages_start.txt 22:03:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:03:52 + PACKAGES=/tmp/packages_end.txt 22:03:52 + case "${OS_FAMILY}" in 22:03:52 + dpkg -l 22:03:52 + grep '^ii' 22:03:52 + '[' -f /tmp/packages_start.txt ']' 22:03:52 + '[' -f /tmp/packages_end.txt ']' 22:03:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:03:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:03:52 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:03:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:03:52 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 22:03:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:53 prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container 22:03:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:53 $ docker top 049e0df8632f5a26141a91af4472fc5b5ceba3b99ab757a7217b6e7ff46876a6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:54 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:54 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:54 + ls /var/log/sa-host 22:03:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:54 provisioning config files... 22:03:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5530018692108337142tmp [Pipeline] { [Pipeline] echo 22:03:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:54 ---> create-netrc.sh [Pipeline] } 22:03:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:55 ---> python-tools-install.sh [Pipeline] echo 22:03:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:55 ---> sudo-logs.sh 22:03:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:55 ---> job-cost.sh 22:03:55 lf-activate-venv: SKIPPING 22:03:55 DEBUG: total: 0.2199999988079071 22:03:55 INFO: Retrieving Stack Cost... 22:03:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:56 INFO: Archiving Costs [Pipeline] echo 22:03:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:57 ---> logs-deploy.sh 22:03:57 lf-activate-venv: SKIPPING 22:03:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/145 22:03:57 INFO: archiving workspace using pattern(s): 22:03:57 Archives upload complete. 22:03:57 INFO: archiving logs to Nexus