Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 290df9772e99a502094e71001891edf463b76fa6 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-ssh15975005470078131255.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7396023317027248775.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2828439985596859445.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10576202385426139085.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-ssh8364189283177653512.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 ‘prd-ubuntu20.04-docker-8c-8g-4992’ Running on prd-ubuntu20.04-docker-8c-8g-4995 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 290df9772e99a502094e71001891edf463b76fa6 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > git rev-list --no-walk f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:28:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:28:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:28:23 ========================================================= 05:28:23 EdgeX Global Pipelines Version Info 05:28:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:28:24 ------------------- 05:28:24 stable info: 05:28:24 ------------------- 05:28:24 Commited By: Ginny Guan ginny@iotechsys.com 05:28:24 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:28:24 Message: update stable to v1.0.260 05:28:25 ------------------- 05:28:25 experimental info: 05:28:25 ------------------- 05:28:25 Commited By: Ginny Guan ginny@iotechsys.com 05:28:25 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:28:25 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:28:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:28:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:28:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:28:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo 05:28:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 290df97 [Pipeline] echo 05:28:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:26 provisioning config files... 05:28:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18053258518378764215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:26 ---> ****-login.sh 05:28:26 nexus3.edgexfoundry.org:10001 05:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:26 Configure a credential helper to remove this warning. See 05:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:26 05:28:26 Login Succeeded 05:28:26 nexus3.edgexfoundry.org:10002 05:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:26 Configure a credential helper to remove this warning. See 05:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:26 05:28:26 Login Succeeded 05:28:26 nexus3.edgexfoundry.org:10003 05:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:27 Configure a credential helper to remove this warning. See 05:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:27 05:28:27 Login Succeeded 05:28:27 nexus3.edgexfoundry.org:10004 05:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:27 Configure a credential helper to remove this warning. See 05:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:27 05:28:27 Login Succeeded 05:28:27 ****.io 05:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:27 Configure a credential helper to remove this warning. See 05:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:27 05:28:27 Login Succeeded 05:28:27 ---> ****-login.sh ends [Pipeline] } 05:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:28:27 + git rev-list -1 --merges 290df9772e99a502094e71001891edf463b76fa6~1..290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo 05:28:27 -----------> git rev-list -1 --merges 290df9772e99a502094e71001891edf463b76fa6~1..290df9772e99a502094e71001891edf463b76fa6 290df9772e99a502094e71001891edf463b76fa6 05:28:27 290df9772e99a502094e71001891edf463b76fa6 [false] [Pipeline] sh 05:28:28 + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo 05:28:28 ========================================================= 05:28:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:28:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:28 + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo 05:28:28 [semverPrep] GIT_COMMIT: 290df9772e99a502094e71001891edf463b76fa6, Commit Message: Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 05:28:28 [semverPrep] This is not a build commit. [Pipeline] sh 05:28:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:28 + grep -v github /etc/ssh/ssh_known_hosts 05:28:28 + [ -e /tmp/ssh_known_hosts ] 05:28:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:28:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:28:28 + sudo tee -a /etc/ssh/ssh_known_hosts 05:28:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:29 05:28:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:29 0.1.4: Pulling from edgex-devops/py-git-semver 05:28:29 b85a868b505f: Pulling fs layer 05:28:29 e2be974225ed: Pulling fs layer 05:28:29 339a4e72a1f5: Pulling fs layer 05:28:29 988bab9f4d93: Pulling fs layer 05:28:29 1469e6f7b9e6: Pulling fs layer 05:28:29 eaf3925da568: Pulling fs layer 05:28:29 bab4dde63d76: Pulling fs layer 05:28:29 bde34c3a00c8: Pulling fs layer 05:28:29 b352a97aabf1: Pulling fs layer 05:28:29 4872d77fe225: Pulling fs layer 05:28:29 5851b861e8e6: Pulling fs layer 05:28:29 b352a97aabf1: Waiting 05:28:29 bab4dde63d76: Waiting 05:28:29 4872d77fe225: Waiting 05:28:29 5851b861e8e6: Waiting 05:28:29 bde34c3a00c8: Waiting 05:28:29 988bab9f4d93: Waiting 05:28:29 1469e6f7b9e6: Waiting 05:28:29 eaf3925da568: Waiting 05:28:29 e2be974225ed: Verifying Checksum 05:28:29 e2be974225ed: Download complete 05:28:29 988bab9f4d93: Verifying Checksum 05:28:29 988bab9f4d93: Download complete 05:28:29 1469e6f7b9e6: Verifying Checksum 05:28:29 1469e6f7b9e6: Download complete 05:28:29 339a4e72a1f5: Verifying Checksum 05:28:29 339a4e72a1f5: Download complete 05:28:29 eaf3925da568: Download complete 05:28:29 bde34c3a00c8: Verifying Checksum 05:28:29 bde34c3a00c8: Download complete 05:28:29 b352a97aabf1: Verifying Checksum 05:28:29 b352a97aabf1: Download complete 05:28:29 4872d77fe225: Verifying Checksum 05:28:29 4872d77fe225: Download complete 05:28:29 5851b861e8e6: Verifying Checksum 05:28:29 5851b861e8e6: Download complete 05:28:29 b85a868b505f: Verifying Checksum 05:28:29 b85a868b505f: Download complete 05:28:30 bab4dde63d76: Verifying Checksum 05:28:30 bab4dde63d76: Download complete 05:28:30 b85a868b505f: Pull complete 05:28:30 e2be974225ed: Pull complete 05:28:31 339a4e72a1f5: Pull complete 05:28:31 988bab9f4d93: Pull complete 05:28:31 1469e6f7b9e6: Pull complete 05:28:31 eaf3925da568: Pull complete 05:28:33 bab4dde63d76: Pull complete 05:28:33 bde34c3a00c8: Pull complete 05:28:33 b352a97aabf1: Pull complete 05:28:33 4872d77fe225: Pull complete 05:28:33 5851b861e8e6: Pull complete 05:28:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:34 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:28:34 $ 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 05:28:36 $ docker top 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee -eo pid,comm 05:28:36 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). 05:28:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:36 [ssh-agent] Looking for ssh-agent implementation... 05:28:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:37 $ docker exec 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent 05:28:37 SSH_AUTH_SOCK=/tmp/ssh-G9KGQQqXaAlA/agent.32 05:28:37 SSH_AGENT_PID=38 05:28:37 Running ssh-add (command line suppressed) 05:28:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15562600535513392608.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15562600535513392608.key) 05:28:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:37 + git tag --points-at HEAD [Pipeline] } 05:28:37 $ docker exec --env ******** --env ******** 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent -k 05:28:37 unset SSH_AUTH_SOCK; 05:28:37 unset SSH_AGENT_PID; 05:28:37 echo Agent pid 38 killed; 05:28:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:28:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:37 [ssh-agent] Looking for ssh-agent implementation... 05:28:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:37 $ docker exec 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent 05:28:38 SSH_AUTH_SOCK=/tmp/ssh-Z7RlicTjFbGB/agent.71 05:28:38 SSH_AGENT_PID=77 05:28:38 Running ssh-add (command line suppressed) 05:28:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8216570510761842772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8216570510761842772.key) 05:28:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:38 + git semver init 05:28:38 2024-07-04 05:28:38,578 [run_init] DEBUG init version:0.0.0 force:False 05:28:38 2024-07-04 05:28:38,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:28:38 2024-07-04 05:28:38,579 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:28:38 2024-07-04 05:28:38,579 [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) 05:28:40 2024-07-04 05:28:39,794 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:28:40 2024-07-04 05:28:39,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:28:40 2024-07-04 05:28:39,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:28:40 2024-07-04 05:28:39,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:28:40 3.2.0-dev.15 [Pipeline] } 05:28:40 $ docker exec --env ******** --env ******** 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent -k 05:28:40 unset SSH_AUTH_SOCK; 05:28:40 unset SSH_AGENT_PID; 05:28:40 echo Agent pid 77 killed; 05:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:40 + git semver [Pipeline] } 05:28:40 $ docker stop --time=1 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee 05:28:42 $ docker rm -f --volumes 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee [Pipeline] // withDockerContainer [Pipeline] sh 05:28:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:28:42 Stashed 1 file(s) [Pipeline] echo 05:28:42 [edgeXSemver]: initialized semver on version 3.2.0-dev.15 [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 05:28:42 provisioning config files... 05:28:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9690003514397285682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:43 ---> ****-login.sh 05:28:43 nexus3.edgexfoundry.org:10001 05:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:43 Configure a credential helper to remove this warning. See 05:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:43 05:28:43 Login Succeeded 05:28:43 nexus3.edgexfoundry.org:10002 05:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:43 Configure a credential helper to remove this warning. See 05:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:43 05:28:43 Login Succeeded 05:28:43 nexus3.edgexfoundry.org:10003 05:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:43 Configure a credential helper to remove this warning. See 05:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:43 05:28:43 Login Succeeded 05:28:43 nexus3.edgexfoundry.org:10004 05:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:43 Configure a credential helper to remove this warning. See 05:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:43 05:28:43 Login Succeeded 05:28:43 ****.io 05:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:43 Configure a credential helper to remove this warning. See 05:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:43 05:28:43 Login Succeeded 05:28:43 ---> ****-login.sh ends [Pipeline] } 05:28:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:28:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:28:43 ========================================================= 05:28:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:28:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:44 + 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 . 05:28:44 Sending build context to Docker daemon 16.51MB 05:28:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:28:44 Step 2/12 : FROM ${BASE} AS builder 05:28:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:28:45 619be1103602: Pulling fs layer 05:28:45 7862e08f4a3e: Pulling fs layer 05:28:45 5df492c9dc93: Pulling fs layer 05:28:45 7629e6793208: Pulling fs layer 05:28:45 4f4fb700ef54: Pulling fs layer 05:28:45 fb5054dd5b73: Pulling fs layer 05:28:45 eeca6798cff9: Pulling fs layer 05:28:45 aa269ceb94a6: Pulling fs layer 05:28:45 ada007ff1a6a: Pulling fs layer 05:28:45 fb5054dd5b73: Waiting 05:28:45 aa269ceb94a6: Waiting 05:28:45 ada007ff1a6a: Waiting 05:28:45 7629e6793208: Waiting 05:28:45 4f4fb700ef54: Waiting 05:28:45 eeca6798cff9: Waiting 05:28:45 7862e08f4a3e: Verifying Checksum 05:28:45 7862e08f4a3e: Download complete 05:28:45 7629e6793208: Download complete 05:28:45 4f4fb700ef54: Download complete 05:28:45 fb5054dd5b73: Download complete 05:28:45 619be1103602: Verifying Checksum 05:28:45 619be1103602: Download complete 05:28:45 eeca6798cff9: Verifying Checksum 05:28:45 eeca6798cff9: Download complete 05:28:45 619be1103602: Pull complete 05:28:45 ada007ff1a6a: Verifying Checksum 05:28:45 ada007ff1a6a: Download complete 05:28:45 7862e08f4a3e: Pull complete 05:28:45 5df492c9dc93: Verifying Checksum 05:28:45 5df492c9dc93: Download complete 05:28:46 aa269ceb94a6: Verifying Checksum 05:28:46 aa269ceb94a6: Download complete 05:28:48 5df492c9dc93: Pull complete 05:28:48 7629e6793208: Pull complete 05:28:48 4f4fb700ef54: Pull complete 05:28:48 fb5054dd5b73: Pull complete 05:28:49 eeca6798cff9: Pull complete 05:28:51 aa269ceb94a6: Pull complete 05:28:51 ada007ff1a6a: Pull complete 05:28:51 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:28:51 ---> f489d0715acc 05:28:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:28:55 ---> Running in d36b49bc1364 05:28:55 Removing intermediate container d36b49bc1364 05:28:55 ---> ff06f4846a74 05:28:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:28:55 ---> Running in 47e9d6c48aff 05:28:55 Removing intermediate container 47e9d6c48aff 05:28:55 ---> 3481a0e7509e 05:28:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:28:55 ---> Running in 6fd7063fdf4a 05:28:55 Removing intermediate container 6fd7063fdf4a 05:28:55 ---> 42b74e562729 05:28:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:28:55 ---> Running in d1e6449f0e1a 05:28:55 Removing intermediate container d1e6449f0e1a 05:28:55 ---> e99e36c91a3e 05:28:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:28:55 ---> Running in d626ddeae542 05:28:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:28:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:28:56 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:28:56 (2/4) Installing libedit (20221030.3.1-r1) 05:28:56 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:28:56 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:28:56 Executing busybox-1.36.1-r5.trigger 05:28:56 OK: 268 MiB in 56 packages 05:28:56 Removing intermediate container d626ddeae542 05:28:56 ---> 081bd558b495 05:28:56 Step 8/12 : WORKDIR /device-rest-go 05:28:56 ---> Running in 258ad4a04053 05:28:56 Removing intermediate container 258ad4a04053 05:28:56 ---> fb66d2d825a1 05:28:56 Step 9/12 : COPY go.mod vendor* ./ 05:28:57 ---> 988bdb7ce473 05:28:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:57 ---> Running in 50ef36ea852b 05:28:57 Still waiting to schedule task 05:28:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4994’ 05:29:43 Removing intermediate container 50ef36ea852b 05:29:43 ---> 26623a696c1f 05:29:43 Step 11/12 : COPY . . 05:29:43 ---> 00bf42d864a4 05:29:43 Step 12/12 : RUN $MAKE 05:29:43 ---> Running in c1aaeefbafaf 05:29:43 noop 05:29:43 Removing intermediate container c1aaeefbafaf 05:29:43 ---> d8ca4a8bc0a8 05:29:43 Successfully built d8ca4a8bc0a8 05:29:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:44 + docker inspect -f . ci-base-image-x86_64 05:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:44 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:29:44 $ 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 05:29:44 $ docker top 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:44 + go version 05:29:44 go version go1.21.9 linux/amd64 [Pipeline] } 05:29:45 $ docker stop --time=1 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 05:29:46 $ docker rm -f --volumes 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:46 + docker inspect -f . ci-base-image-x86_64 05:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:46 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:29:46 $ 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 05:29:47 $ docker top b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:29:47 + make test 05:29:47 go test ./... -coverprofile=coverage.out ./... 05:29:49 ? github.com/edgexfoundry/device-rest-go [no test files] 05:30:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:30:07 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 05:30:15 go vet ./... 05:30:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:30:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:30:21 ./bin/test-attribution-txt.sh 05:30:21 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:30:21 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:30:21 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:30:21 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:30:21 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:30:21 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:30:21 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:30:21 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:30:21 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:30:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:30:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:30:21 $ docker stop --time=1 b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 05:30:25 $ docker rm -f --volumes b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 [Pipeline] // withDockerContainer [Pipeline] sh 05:30:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:30:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:30:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:30:27 + ls -al . 05:30:27 total 248 05:30:27 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:29 . 05:30:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:28 .. 05:30:27 -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 05:28 .dockerignore 05:30:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:30 .git 05:30:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 .github 05:30:27 -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:28 .gitignore 05:30:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:28 .golangci.yml 05:30:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:28 .semver 05:30:27 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 4 05:28 Attribution.txt 05:30:27 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 4 05:28 CHANGELOG.md 05:30:27 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 4 05:28 Dockerfile 05:30:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:28 GOVERNANCE.md 05:30:27 -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:28 Jenkinsfile 05:30:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:28 LICENSE 05:30:27 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 4 05:28 Makefile 05:30:27 -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:28 OWNERS.md 05:30:27 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 4 05:28 README.md 05:30:27 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION 05:30:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:28 bin 05:30:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 cmd 05:30:27 -rw-r--r-- 1 jenkins jenkins 14499 Jul 4 05:30 coverage.out 05:30:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:28 driver 05:30:27 -rw-rw-r-- 1 jenkins jenkins 7191 Jul 4 05:28 go.mod 05:30:27 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:28 go.sum 05:30:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 openapi 05:30:27 -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 05:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:27 + 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=290df9772e99a502094e71001891edf463b76fa6 --label arch=amd64 --label version=3.2.0-dev.15 . 05:30:27 Sending build context to Docker daemon 16.52MB 05:30:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:30:27 Step 2/26 : FROM ${BASE} AS builder 05:30:27 ---> d8ca4a8bc0a8 05:30:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:30:27 ---> Running in 30f5d8bd8d17 05:30:27 Removing intermediate container 30f5d8bd8d17 05:30:27 ---> 19f55ab5595a 05:30:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:30:27 ---> Running in 541ed9c57bf7 05:30:27 Removing intermediate container 541ed9c57bf7 05:30:27 ---> 2b8f7cdeff53 05:30:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:30:27 ---> Running in 37bd5ef3886c 05:30:27 Removing intermediate container 37bd5ef3886c 05:30:27 ---> ab402a58cd58 05:30:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:30:27 ---> Running in a4f8bd7c72ea 05:30:28 Removing intermediate container a4f8bd7c72ea 05:30:28 ---> 639c99407d04 05:30:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:30:28 ---> Running in 23ea35fe7795 05:30:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:28 OK: 268 MiB in 56 packages 05:30:28 Removing intermediate container 23ea35fe7795 05:30:28 ---> a6fcb69175a7 05:30:28 Step 8/26 : WORKDIR /device-rest-go 05:30:29 ---> Running in 61065331995d 05:30:29 Removing intermediate container 61065331995d 05:30:29 ---> 87d721ce96a9 05:30:29 Step 9/26 : COPY go.mod vendor* ./ 05:30:29 ---> ff6687041df7 05:30:29 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:30:29 ---> Running in bff98e9c077a 05:30:29 Removing intermediate container bff98e9c077a 05:30:29 ---> be5c9d0af66b 05:30:29 Step 11/26 : COPY . . 05:30:30 ---> 3ac579cfafbf 05:30:30 Step 12/26 : RUN $MAKE 05:30:30 ---> Running in f84cb72d8828 05:30:30 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:31:02 Removing intermediate container f84cb72d8828 05:31:02 ---> 5b822addd60d 05:31:02 Step 13/26 : FROM alpine:3.18 05:31:02 3.18: Pulling from library/alpine 05:31:02 73baa7ef167e: Pulling fs layer 05:31:02 73baa7ef167e: Download complete 05:31:02 73baa7ef167e: Pull complete 05:31:02 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:31:02 Status: Downloaded newer image for alpine:3.18 05:31:02 ---> 8fd7cac70a4a 05:31:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:31:02 ---> Running in f722e27bf571 05:31:02 Removing intermediate container f722e27bf571 05:31:02 ---> a4b74c0705d7 05:31:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:31:02 ---> Running in 9cee87f4927c 05:31:02 Removing intermediate container 9cee87f4927c 05:31:02 ---> 89e4b9874e5d 05:31:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:31:02 ---> Running in 60855d96e42b 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:31:02 (1/1) Installing dumb-init (1.2.5-r2) 05:31:02 Executing busybox-1.36.1-r7.trigger 05:31:02 OK: 7 MiB in 16 packages 05:31:02 Removing intermediate container 60855d96e42b 05:31:02 ---> 153282d01036 05:31:02 Step 17/26 : RUN apk --no-cache upgrade 05:31:02 ---> Running in cffa213579d6 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:31:02 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:31:02 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:31:02 OK: 7 MiB in 16 packages 05:31:02 Removing intermediate container cffa213579d6 05:31:02 ---> adf339e9f614 05:31:02 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:31:02 ---> bedc0599df27 05:31:02 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:31:02 ---> 58af60bb3a56 05:31:02 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:31:02 ---> a76458fe1d49 05:31:02 Step 21/26 : EXPOSE 59986 05:31:02 ---> Running in b363f3381505 05:31:02 Removing intermediate container b363f3381505 05:31:02 ---> f1d8acdc1a4f 05:31:02 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:31:02 ---> Running in 05df773efe63 05:31:02 Removing intermediate container 05df773efe63 05:31:02 ---> efbf62b992d8 05:31:02 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:31:02 ---> Running in 61bd66929326 05:31:02 Removing intermediate container 61bd66929326 05:31:02 ---> a701505dba73 05:31:02 Step 24/26 : LABEL arch=amd64 05:31:02 ---> Running in fa3537eb124f 05:31:02 Removing intermediate container fa3537eb124f 05:31:02 ---> ae541b28d596 05:31:02 Step 25/26 : LABEL git_sha=290df9772e99a502094e71001891edf463b76fa6 05:31:02 ---> Running in 21ae4f1be67a 05:31:03 Removing intermediate container 21ae4f1be67a 05:31:03 ---> 8b8e85cb6e51 05:31:03 Step 26/26 : LABEL version=3.2.0-dev.15 05:31:03 ---> Running in 28d727010c84 05:31:03 Removing intermediate container 28d727010c84 05:31:03 ---> 3faf78f9d698 05:31:03 [Warning] One or more build-args [ARCH] were not consumed 05:31:03 Successfully built 3faf78f9d698 05:31:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:03 provisioning config files... 05:31:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6327518114341673468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:03 ---> ****-login.sh 05:31:03 nexus3.edgexfoundry.org:10001 05:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:03 Configure a credential helper to remove this warning. See 05:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:03 05:31:03 Login Succeeded 05:31:03 nexus3.edgexfoundry.org:10002 05:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:03 Configure a credential helper to remove this warning. See 05:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:03 05:31:03 Login Succeeded 05:31:03 nexus3.edgexfoundry.org:10003 05:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:03 Configure a credential helper to remove this warning. See 05:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:03 05:31:03 Login Succeeded 05:31:03 nexus3.edgexfoundry.org:10004 05:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:03 Configure a credential helper to remove this warning. See 05:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:03 05:31:03 Login Succeeded 05:31:03 ****.io 05:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:04 Configure a credential helper to remove this warning. See 05:31:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:04 05:31:04 Login Succeeded 05:31:04 ---> ****-login.sh ends [Pipeline] } 05:31:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:31:04 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:31:04 290df9772e99a502094e71001891edf463b76fa6 05:31:04 latest 05:31:04 3.2.0-dev.15 05:31:04 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:31:04 main 05:31:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 05:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:31:04 0accbe50d8c6: Preparing 05:31:04 f50636e27158: Preparing 05:31:04 e050cde20278: Preparing 05:31:04 1ad828e5257e: Preparing 05:31:04 bf714195a5b9: Preparing 05:31:04 63ec0bd56cf3: Preparing 05:31:04 63ec0bd56cf3: Waiting 05:31:04 bf714195a5b9: Pushed 05:31:04 f50636e27158: Pushed 05:31:04 0accbe50d8c6: Pushed 05:31:04 63ec0bd56cf3: Layer already exists 05:31:05 1ad828e5257e: Pushed 05:31:08 e050cde20278: Pushed 05:31:08 290df9772e99a502094e71001891edf463b76fa6: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:31:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:31:08 0accbe50d8c6: Preparing 05:31:08 f50636e27158: Preparing 05:31:08 e050cde20278: Preparing 05:31:08 1ad828e5257e: Preparing 05:31:08 bf714195a5b9: Preparing 05:31:08 63ec0bd56cf3: Preparing 05:31:08 63ec0bd56cf3: Waiting 05:31:08 bf714195a5b9: Layer already exists 05:31:08 1ad828e5257e: Layer already exists 05:31:08 0accbe50d8c6: Layer already exists 05:31:08 f50636e27158: Layer already exists 05:31:08 e050cde20278: Layer already exists 05:31:08 63ec0bd56cf3: Layer already exists 05:31:08 latest: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 05:31:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:31:09 0accbe50d8c6: Preparing 05:31:09 f50636e27158: Preparing 05:31:09 e050cde20278: Preparing 05:31:09 1ad828e5257e: Preparing 05:31:09 bf714195a5b9: Preparing 05:31:09 63ec0bd56cf3: Preparing 05:31:09 63ec0bd56cf3: Waiting 05:31:09 f50636e27158: Layer already exists 05:31:09 e050cde20278: Layer already exists 05:31:09 bf714195a5b9: Layer already exists 05:31:09 0accbe50d8c6: Layer already exists 05:31:09 1ad828e5257e: Layer already exists 05:31:09 63ec0bd56cf3: Layer already exists 05:31:09 3.2.0-dev.15: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:31:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:31:10 0accbe50d8c6: Preparing 05:31:10 f50636e27158: Preparing 05:31:10 e050cde20278: Preparing 05:31:10 1ad828e5257e: Preparing 05:31:10 bf714195a5b9: Preparing 05:31:10 63ec0bd56cf3: Preparing 05:31:10 63ec0bd56cf3: Waiting 05:31:10 f50636e27158: Layer already exists 05:31:10 bf714195a5b9: Layer already exists 05:31:10 0accbe50d8c6: Layer already exists 05:31:10 1ad828e5257e: Layer already exists 05:31:10 e050cde20278: Layer already exists 05:31:10 63ec0bd56cf3: Layer already exists 05:31:10 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:31:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:31:10 0accbe50d8c6: Preparing 05:31:10 f50636e27158: Preparing 05:31:10 e050cde20278: Preparing 05:31:10 1ad828e5257e: Preparing 05:31:10 bf714195a5b9: Preparing 05:31:10 63ec0bd56cf3: Preparing 05:31:10 63ec0bd56cf3: Waiting 05:31:10 1ad828e5257e: Layer already exists 05:31:10 e050cde20278: Layer already exists 05:31:10 f50636e27158: Layer already exists 05:31:10 bf714195a5b9: Layer already exists 05:31:10 0accbe50d8c6: Layer already exists 05:31:10 63ec0bd56cf3: Layer already exists 05:31:10 main: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:31:10 ===================================================== [Pipeline] echo 05:31:10 taggedImages: 05:31:10 - nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 05:31:10 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:31:10 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 05:31:10 - nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:31:10 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:11 05:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:11 latest: Pulling from edgex-lftools-log-publisher 05:31:11 5eb5b503b376: Pulling fs layer 05:31:11 5c69ac0246d0: Pulling fs layer 05:31:11 ec43610c2a17: Pulling fs layer 05:31:11 3a2ae6a8a46f: Pulling fs layer 05:31:11 33b1e0a273af: Pulling fs layer 05:31:11 5d3b04190fa2: Pulling fs layer 05:31:11 2f39f015ded8: Pulling fs layer 05:31:11 33b1e0a273af: Waiting 05:31:11 5d3b04190fa2: Waiting 05:31:11 3a2ae6a8a46f: Waiting 05:31:11 5c69ac0246d0: Verifying Checksum 05:31:11 5c69ac0246d0: Download complete 05:31:11 3a2ae6a8a46f: Verifying Checksum 05:31:11 3a2ae6a8a46f: Download complete 05:31:11 33b1e0a273af: Verifying Checksum 05:31:11 33b1e0a273af: Download complete 05:31:11 5d3b04190fa2: Download complete 05:31:11 ec43610c2a17: Verifying Checksum 05:31:11 ec43610c2a17: Download complete 05:31:11 5eb5b503b376: Download complete 05:31:12 2f39f015ded8: Download complete 05:31:12 5eb5b503b376: Pull complete 05:31:12 5c69ac0246d0: Pull complete 05:31:13 ec43610c2a17: Pull complete 05:31:13 3a2ae6a8a46f: Pull complete 05:31:13 33b1e0a273af: Pull complete 05:31:13 5d3b04190fa2: Pull complete 05:31:17 2f39f015ded8: Pull complete 05:31:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:18 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:31:18 $ 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 05:31:21 $ docker top 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:21 ---> job-cost.sh 05:31:21 lf-activate-venv: SKIPPING 05:31:21 INFO: No Stack... 05:31:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:22 INFO: Archiving Costs [Pipeline] sh 05:31:22 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:31:22 + cut -d, -f6 [Pipeline] lock 05:31:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] 05:31:22 Resource [jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] did not exist. Created. 05:31:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:23 + echo total: 0.2199999988079071 [Pipeline] stash 05:31:23 Stashed 1 file(s) [Pipeline] } 05:31:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:23 $ docker stop --time=1 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 05:31:24 $ docker rm -f --volumes 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:31:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4998 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:31:51 Running in /w/workspace/device-rest-go/167 [Pipeline] { [Pipeline] checkout 05:31:54 The recommended git tool is: git 05:32:03 using credential edgex-jenkins-ssh 05:32:03 Cloning the remote Git repository 05:32:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:32:04 > git init /w/workspace/device-rest-go/167 # timeout=10 05:32:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:32:04 > git --version # timeout=10 05:32:04 > git --version # 'git version 2.25.1' 05:32:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:32:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:32:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:09 Avoid second fetch 05:32:09 Checking out Revision 290df9772e99a502094e71001891edf463b76fa6 (main) 05:32:09 Commit message: "Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" 05:32:09 > git config core.sparsecheckout # timeout=10 05:32:09 > git checkout -f 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:32:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:32:14 Dload Upload Total Spent Left Speed 05:32:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 05:32:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:32:15 + sudo tee /etc/docker/daemon.new 05:32:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:32:15 { 05:32:15 "registry-mirrors": [ 05:32:15 "https://nexus3.edgexfoundry.org:10001" 05:32:15 ], 05:32:15 "bip": "10.250.0.254/24", 05:32:15 "hosts": [ 05:32:15 "tcp://0.0.0.0:5555", 05:32:15 "unix:///var/run/docker.sock" 05:32:15 ], 05:32:15 "mtu": 1458, 05:32:15 "selinux-enabled": true, 05:32:15 "seccomp-profile": "/etc/docker/seccomp.json" 05:32:15 } [Pipeline] sh 05:32:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:32:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:34 provisioning config files... 05:32:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/167@tmp/config10838650173296922398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:34 ---> ****-login.sh 05:32:34 nexus3.edgexfoundry.org:10001 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 nexus3.edgexfoundry.org:10002 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 nexus3.edgexfoundry.org:10003 05:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:36 Configure a credential helper to remove this warning. See 05:32:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:36 05:32:36 Login Succeeded 05:32:36 nexus3.edgexfoundry.org:10004 05:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:36 Configure a credential helper to remove this warning. See 05:32:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:36 05:32:36 Login Succeeded 05:32:36 ****.io 05:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:37 Configure a credential helper to remove this warning. See 05:32:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:37 05:32:37 Login Succeeded 05:32:37 ---> ****-login.sh ends [Pipeline] } 05:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:32:37 ========================================================= 05:32:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:32:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:37 + 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 . 05:32:37 Sending build context to Docker daemon 131.1kB 05:32:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:32:38 Step 2/12 : FROM ${BASE} AS builder 05:32:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:32:38 c6b39de5b339: Pulling fs layer 05:32:38 a69c41024577: Pulling fs layer 05:32:38 d6de4b400683: Pulling fs layer 05:32:38 35cb2a7552d0: Pulling fs layer 05:32:38 4f4fb700ef54: Pulling fs layer 05:32:38 464afbd9ba4c: Pulling fs layer 05:32:38 00f215d4a9da: Pulling fs layer 05:32:38 d496ad576159: Pulling fs layer 05:32:38 35cb2a7552d0: Waiting 05:32:38 4f4fb700ef54: Waiting 05:32:38 464afbd9ba4c: Waiting 05:32:38 00f215d4a9da: Waiting 05:32:38 d496ad576159: Waiting 05:32:38 a69c41024577: Verifying Checksum 05:32:38 a69c41024577: Download complete 05:32:38 35cb2a7552d0: Verifying Checksum 05:32:38 35cb2a7552d0: Download complete 05:32:38 4f4fb700ef54: Verifying Checksum 05:32:38 4f4fb700ef54: Download complete 05:32:38 464afbd9ba4c: Verifying Checksum 05:32:38 464afbd9ba4c: Download complete 05:32:38 c6b39de5b339: Verifying Checksum 05:32:38 c6b39de5b339: Download complete 05:32:38 d496ad576159: Verifying Checksum 05:32:38 d496ad576159: Download complete 05:32:39 c6b39de5b339: Pull complete 05:32:39 a69c41024577: Pull complete 05:32:40 d6de4b400683: Verifying Checksum 05:32:40 d6de4b400683: Download complete 05:32:41 00f215d4a9da: Verifying Checksum 05:32:41 00f215d4a9da: Download complete 05:32:53 d6de4b400683: Pull complete 05:32:53 35cb2a7552d0: Pull complete 05:32:53 4f4fb700ef54: Pull complete 05:32:54 464afbd9ba4c: Pull complete 05:33:04 00f215d4a9da: Pull complete 05:33:04 d496ad576159: Pull complete 05:33:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:33:04 ---> f246e2811388 05:33:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:33:06 ---> Running in 6987f16be06c 05:33:06 Removing intermediate container 6987f16be06c 05:33:06 ---> d14ceca6a0f0 05:33:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:06 ---> Running in d6cc0398efc1 05:33:06 Removing intermediate container d6cc0398efc1 05:33:06 ---> 60f86280b35a 05:33:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:33:06 ---> Running in e17d5c53ecdb 05:33:07 Removing intermediate container e17d5c53ecdb 05:33:07 ---> 1ebd949d3bc8 05:33:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:33:07 ---> Running in 81ad33723ecd 05:33:07 Removing intermediate container 81ad33723ecd 05:33:07 ---> 586aaa9bf290 05:33:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:33:07 ---> Running in 7675ee1a4d0f 05:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:33:12 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:33:12 (2/4) Installing libedit (20221030.3.1-r1) 05:33:12 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:33:12 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:33:12 Executing busybox-1.36.1-r5.trigger 05:33:12 OK: 271 MiB in 56 packages 05:33:13 Removing intermediate container 7675ee1a4d0f 05:33:13 ---> 964391f00f4f 05:33:13 Step 8/12 : WORKDIR /device-rest-go 05:33:13 ---> Running in cd7b795f1364 05:33:13 Removing intermediate container cd7b795f1364 05:33:13 ---> 6dfd97d897d9 05:33:13 Step 9/12 : COPY go.mod vendor* ./ 05:33:14 ---> 42b84a0d943a 05:33:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:14 ---> Running in 3152b1e700c9 05:35:05 Removing intermediate container 3152b1e700c9 05:35:05 ---> a04765cccbf7 05:35:05 Step 11/12 : COPY . . 05:35:05 ---> 96283c29e65f 05:35:05 Step 12/12 : RUN $MAKE 05:35:05 ---> Running in b2cc2ed880ce 05:35:05 noop 05:35:05 Removing intermediate container b2cc2ed880ce 05:35:05 ---> 23731c525ec1 05:35:05 Successfully built 23731c525ec1 05:35:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:06 + docker inspect -f . ci-base-image-arm64 05:35:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:06 prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container 05:35:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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 05:35:07 $ docker top 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:08 + go version 05:35:08 go version go1.21.9 linux/arm64 [Pipeline] } 05:35:08 $ docker stop --time=1 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd 05:35:10 $ docker rm -f --volumes 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:11 + docker inspect -f . ci-base-image-arm64 05:35:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:11 prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container 05:35:11 $ 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/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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 05:35:12 $ docker top b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:13 + git config --global --add safe.directory /w/workspace/device-rest-go/167 [Pipeline] fileExists [Pipeline] sh 05:35:14 + make test 05:35:14 go test ./... -coverprofile=coverage.out ./... 05:35:20 ? github.com/edgexfoundry/device-rest-go [no test files] 05:38:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:39:01 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 05:39:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:39:02 go vet ./... 05:39:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:39:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:39:58 ./bin/test-attribution-txt.sh 05:39:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:39:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:39:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:39:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:39:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:39:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:39:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:39:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:39:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:39:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:39:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:39:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:39:58 $ docker stop --time=1 b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 05:40:00 $ docker rm -f --volumes b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 [Pipeline] // withDockerContainer [Pipeline] sh 05:40:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:40:02 Warning: overwriting stash ‘coverage-report’ 05:40:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:40:04 + ls -al . 05:40:04 total 244 05:40:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:35 . 05:40:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:32 .. 05:40:04 -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 05:32 .dockerignore 05:40:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:32 .git 05:40:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 .github 05:40:04 -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:32 .gitignore 05:40:04 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:32 .golangci.yml 05:40:04 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 4 05:32 Attribution.txt 05:40:04 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 4 05:32 CHANGELOG.md 05:40:04 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 4 05:32 Dockerfile 05:40:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:32 GOVERNANCE.md 05:40:04 -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:32 Jenkinsfile 05:40:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:32 LICENSE 05:40:04 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 4 05:32 Makefile 05:40:04 -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:32 OWNERS.md 05:40:04 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 4 05:32 README.md 05:40:04 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION 05:40:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:32 bin 05:40:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 cmd 05:40:04 -rw-r--r-- 1 jenkins jenkins 14499 Jul 4 05:39 coverage.out 05:40:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:32 driver 05:40:04 -rw-rw-r-- 1 jenkins jenkins 7191 Jul 4 05:32 go.mod 05:40:04 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:32 go.sum 05:40:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 openapi 05:40:04 -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:04 + 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=290df9772e99a502094e71001891edf463b76fa6 --label arch=arm64 --label version=3.2.0-dev.15 . 05:40:04 Sending build context to Docker daemon 146.4kB 05:40:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:40:04 Step 2/26 : FROM ${BASE} AS builder 05:40:04 ---> 23731c525ec1 05:40:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:40:04 ---> Running in 717d3e0d438d 05:40:05 Removing intermediate container 717d3e0d438d 05:40:05 ---> 8edd41c2d8bc 05:40:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:40:05 ---> Running in 3bcc0ba258ee 05:40:05 Removing intermediate container 3bcc0ba258ee 05:40:05 ---> 0fa148117481 05:40:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:40:05 ---> Running in 52ef6a4203a2 05:40:05 Removing intermediate container 52ef6a4203a2 05:40:05 ---> 69ef7a75a082 05:40:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:40:06 ---> Running in 496e9997157b 05:40:06 Removing intermediate container 496e9997157b 05:40:06 ---> 4f9ac9bc4353 05:40:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:40:06 ---> Running in 2ffa03289b94 05:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:40:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:40:09 OK: 271 MiB in 56 packages 05:40:10 Removing intermediate container 2ffa03289b94 05:40:10 ---> 63a5c0b44e94 05:40:10 Step 8/26 : WORKDIR /device-rest-go 05:40:10 ---> Running in 78280a82dfee 05:40:10 Removing intermediate container 78280a82dfee 05:40:10 ---> fb84512608ec 05:40:10 Step 9/26 : COPY go.mod vendor* ./ 05:40:10 ---> c8c29288571c 05:40:10 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:10 ---> Running in b84b33b2a577 05:40:13 Removing intermediate container b84b33b2a577 05:40:13 ---> 1e55b9e75035 05:40:13 Step 11/26 : COPY . . 05:40:14 ---> e378f5c4e534 05:40:14 Step 12/26 : RUN $MAKE 05:40:14 ---> Running in 89037a6728c1 05:40:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:43:51 Removing intermediate container 89037a6728c1 05:43:51 ---> e9d9f6c5efe0 05:43:51 Step 13/26 : FROM alpine:3.18 05:43:51 3.18: Pulling from library/alpine 05:43:51 5c905c7ebe2f: Pulling fs layer 05:43:51 5c905c7ebe2f: Verifying Checksum 05:43:51 5c905c7ebe2f: Download complete 05:43:51 5c905c7ebe2f: Pull complete 05:43:51 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:43:51 Status: Downloaded newer image for alpine:3.18 05:43:51 ---> dec292d02e07 05:43:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:43:51 ---> Running in 86000fff53ae 05:43:52 Removing intermediate container 86000fff53ae 05:43:52 ---> 5c5ee4d4a82c 05:43:52 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:43:52 ---> Running in 56519bcb5f9c 05:43:52 Removing intermediate container 56519bcb5f9c 05:43:52 ---> 5941f1ee2f71 05:43:52 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:43:52 ---> Running in 0eaf2bab81fb 05:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:54 (1/1) Installing dumb-init (1.2.5-r2) 05:43:54 Executing busybox-1.36.1-r7.trigger 05:43:54 OK: 8 MiB in 16 packages 05:43:55 Removing intermediate container 0eaf2bab81fb 05:43:55 ---> 6658ed5f6568 05:43:55 Step 17/26 : RUN apk --no-cache upgrade 05:43:55 ---> Running in c15e6c01cebe 05:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:58 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:43:58 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:43:58 OK: 8 MiB in 16 packages 05:43:59 Removing intermediate container c15e6c01cebe 05:43:59 ---> 8a13eaa5f15d 05:43:59 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:44:00 ---> 84c9a6d9b727 05:44:00 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:44:01 ---> a3cd9943cf58 05:44:01 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:44:02 ---> ef4798bc93aa 05:44:02 Step 21/26 : EXPOSE 59986 05:44:02 ---> Running in ab056046b389 05:44:02 Removing intermediate container ab056046b389 05:44:02 ---> cdbb78fca20d 05:44:02 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:44:02 ---> Running in beed61c50d9b 05:44:02 Removing intermediate container beed61c50d9b 05:44:02 ---> 3450cb0e91cb 05:44:02 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:44:02 ---> Running in 32f9597d28a3 05:44:03 Removing intermediate container 32f9597d28a3 05:44:03 ---> a722ecc039fe 05:44:03 Step 24/26 : LABEL arch=arm64 05:44:03 ---> Running in 54f7f0f5d97d 05:44:03 Removing intermediate container 54f7f0f5d97d 05:44:03 ---> f06b840e0b70 05:44:03 Step 25/26 : LABEL git_sha=290df9772e99a502094e71001891edf463b76fa6 05:44:03 ---> Running in 30bd9a8ee558 05:44:03 Removing intermediate container 30bd9a8ee558 05:44:03 ---> 3799a71dae38 05:44:03 Step 26/26 : LABEL version=3.2.0-dev.15 05:44:03 ---> Running in f50f02ad58d1 05:44:04 Removing intermediate container f50f02ad58d1 05:44:04 ---> 8b69cc688f96 05:44:04 [Warning] One or more build-args [ARCH] were not consumed 05:44:04 Successfully built 8b69cc688f96 05:44:04 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 05:44:04 provisioning config files... 05:44:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/167@tmp/config17471545786628305398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:04 ---> ****-login.sh 05:44:04 nexus3.edgexfoundry.org:10001 05:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:04 Configure a credential helper to remove this warning. See 05:44:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:04 05:44:04 Login Succeeded 05:44:04 nexus3.edgexfoundry.org:10002 05:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:05 Configure a credential helper to remove this warning. See 05:44:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:05 05:44:05 Login Succeeded 05:44:05 nexus3.edgexfoundry.org:10003 05:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:05 Configure a credential helper to remove this warning. See 05:44:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:05 05:44:05 Login Succeeded 05:44:05 nexus3.edgexfoundry.org:10004 05:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:06 Configure a credential helper to remove this warning. See 05:44:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:06 05:44:06 Login Succeeded 05:44:06 ****.io 05:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:06 Configure a credential helper to remove this warning. See 05:44:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:06 05:44:06 Login Succeeded 05:44:06 ---> ****-login.sh ends [Pipeline] } 05:44:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:44:06 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:44:06 290df9772e99a502094e71001891edf463b76fa6 05:44:06 latest 05:44:06 3.2.0-dev.15 05:44:06 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:44:06 main 05:44:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 05:44:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:07 4a63894b6722: Preparing 05:44:07 2a4baba318e6: Preparing 05:44:07 dd5ad054c029: Preparing 05:44:07 a6aa4bad9c91: Preparing 05:44:07 d4a03b4da067: Preparing 05:44:07 da707bb00cb8: Preparing 05:44:07 da707bb00cb8: Waiting 05:44:07 d4a03b4da067: Pushed 05:44:07 2a4baba318e6: Pushed 05:44:07 4a63894b6722: Pushed 05:44:07 da707bb00cb8: Layer already exists 05:44:08 a6aa4bad9c91: Pushed 05:44:13 dd5ad054c029: Pushed 05:44:13 290df9772e99a502094e71001891edf463b76fa6: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:14 4a63894b6722: Preparing 05:44:14 2a4baba318e6: Preparing 05:44:14 dd5ad054c029: Preparing 05:44:14 a6aa4bad9c91: Preparing 05:44:14 d4a03b4da067: Preparing 05:44:14 da707bb00cb8: Preparing 05:44:14 da707bb00cb8: Waiting 05:44:14 dd5ad054c029: Layer already exists 05:44:14 a6aa4bad9c91: Layer already exists 05:44:14 2a4baba318e6: Layer already exists 05:44:14 d4a03b4da067: Layer already exists 05:44:14 4a63894b6722: Layer already exists 05:44:14 da707bb00cb8: Layer already exists 05:44:15 latest: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 05:44:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:15 4a63894b6722: Preparing 05:44:15 2a4baba318e6: Preparing 05:44:15 dd5ad054c029: Preparing 05:44:15 a6aa4bad9c91: Preparing 05:44:15 d4a03b4da067: Preparing 05:44:15 da707bb00cb8: Preparing 05:44:15 da707bb00cb8: Waiting 05:44:15 2a4baba318e6: Layer already exists 05:44:15 d4a03b4da067: Layer already exists 05:44:15 4a63894b6722: Layer already exists 05:44:15 dd5ad054c029: Layer already exists 05:44:15 a6aa4bad9c91: Layer already exists 05:44:15 da707bb00cb8: Layer already exists 05:44:15 3.2.0-dev.15: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:44:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:16 4a63894b6722: Preparing 05:44:16 2a4baba318e6: Preparing 05:44:16 dd5ad054c029: Preparing 05:44:16 a6aa4bad9c91: Preparing 05:44:16 d4a03b4da067: Preparing 05:44:16 da707bb00cb8: Preparing 05:44:16 da707bb00cb8: Waiting 05:44:16 4a63894b6722: Layer already exists 05:44:16 dd5ad054c029: Layer already exists 05:44:16 2a4baba318e6: Layer already exists 05:44:16 d4a03b4da067: Layer already exists 05:44:16 a6aa4bad9c91: Layer already exists 05:44:16 da707bb00cb8: Layer already exists 05:44:16 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 05:44:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:17 4a63894b6722: Preparing 05:44:17 2a4baba318e6: Preparing 05:44:17 dd5ad054c029: Preparing 05:44:17 a6aa4bad9c91: Preparing 05:44:17 d4a03b4da067: Preparing 05:44:17 da707bb00cb8: Preparing 05:44:17 da707bb00cb8: Waiting 05:44:17 4a63894b6722: Layer already exists 05:44:17 2a4baba318e6: Layer already exists 05:44:17 a6aa4bad9c91: Layer already exists 05:44:17 dd5ad054c029: Layer already exists 05:44:17 d4a03b4da067: Layer already exists 05:44:17 da707bb00cb8: Layer already exists 05:44:17 main: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:17 ===================================================== [Pipeline] echo 05:44:17 taggedImages: 05:44:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 05:44:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:44:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 05:44:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 05:44:17 - 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 05:44:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:18 05:44:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:18 arm64: Pulling from edgex-lftools-log-publisher 05:44:18 8998bd30e6a1: Pulling fs layer 05:44:18 04944245beec: Pulling fs layer 05:44:18 699f458cf7ca: Pulling fs layer 05:44:18 765212b225bb: Pulling fs layer 05:44:18 f23df028b6ca: Pulling fs layer 05:44:18 d65c8cfc05b1: Pulling fs layer 05:44:18 2437ff75d9bd: Pulling fs layer 05:44:18 d65c8cfc05b1: Waiting 05:44:18 f23df028b6ca: Waiting 05:44:18 765212b225bb: Waiting 05:44:18 2437ff75d9bd: Waiting 05:44:18 04944245beec: Verifying Checksum 05:44:18 04944245beec: Download complete 05:44:18 765212b225bb: Verifying Checksum 05:44:18 765212b225bb: Download complete 05:44:18 f23df028b6ca: Verifying Checksum 05:44:18 f23df028b6ca: Download complete 05:44:18 d65c8cfc05b1: Verifying Checksum 05:44:18 d65c8cfc05b1: Download complete 05:44:18 699f458cf7ca: Verifying Checksum 05:44:18 699f458cf7ca: Download complete 05:44:19 8998bd30e6a1: Verifying Checksum 05:44:19 8998bd30e6a1: Download complete 05:44:21 2437ff75d9bd: Verifying Checksum 05:44:21 2437ff75d9bd: Download complete 05:44:23 8998bd30e6a1: Pull complete 05:44:24 04944245beec: Pull complete 05:44:25 699f458cf7ca: Pull complete 05:44:26 765212b225bb: Pull complete 05:44:26 f23df028b6ca: Pull complete 05:44:27 d65c8cfc05b1: Pull complete 05:44:45 2437ff75d9bd: Pull complete 05:44:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:45 prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container 05:44:45 $ 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/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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 05:44:48 $ docker top afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:49 ---> job-cost.sh 05:44:49 lf-activate-venv: SKIPPING 05:44:49 INFO: No Stack... 05:44:49 INFO: Retrieving Pricing Info for: v3-standard-4 05:44:50 INFO: Archiving Costs [Pipeline] sh 05:44:50 + cut -d, -f6 05:44:50 + cat /w/workspace/device-rest-go/167/archives/cost.csv [Pipeline] lock 05:44:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] 05:44:51 Resource [jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] did not exist. Created. 05:44:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:51 /w/workspace/device-rest-go/167@tmp/durable-711e72e7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:44:52 + echo total: 0.10999999940395355 [Pipeline] stash 05:44:52 Warning: overwriting stash ‘stack-cost’ 05:44:52 Stashed 1 file(s) [Pipeline] } 05:44:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:52 $ docker stop --time=1 afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 05:44:53 $ docker rm -f --volumes afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 [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 05:44:54 provisioning config files... 05:44:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6137980756613995891tmp [Pipeline] { [Pipeline] sh 05:44:54 + set +x 05:44:54 + bash -s -- 05:44:54 + curl -s https://codecov.io/bash 05:44:54 05:44:54 _____ _ 05:44:54 / ____| | | 05:44:54 | | ___ __| | ___ ___ _____ __ 05:44:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:44:54 | |___| (_) | (_| | __/ (_| (_) \ V / 05:44:54 \_____\___/ \__,_|\___|\___\___/ \_/ 05:44:54 Bash-1.0.6 05:44:54 05:44:54 05:44:54 ==> git version 2.25.1 found 05:44:54 ==> 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 05:44:54 Release-Date: 2020-01-08 05:44:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:44:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:44:54 ==> Jenkins CI detected. 05:44:54 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 05:44:54 project root: . 05:44:54 --> token set from env 05:44:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:44:54 ==> Running gcov in . (disable via -X gcov) 05:44:55 ==> Python coveragepy not found 05:44:55 ==> Searching for coverage reports in: 05:44:55 + . 05:44:55 -> Found 1 reports 05:44:55 ==> Detecting git/mercurial file structure 05:44:55 ==> Reading reports 05:44:55 + ./coverage.out bytes=14499 05:44:55 ==> Appending adjustments 05:44:55 https://docs.codecov.io/docs/fixing-reports 05:44:55 + Found adjustments 05:44:55 ==> Gzipping contents 05:44:55 4.0K /tmp/codecov.qkXDLe.gz 05:44:55 ==> Uploading reports 05:44:55 url: https://codecov.io 05:44:55 query: branch=main&commit=290df9772e99a502094e71001891edf463b76fa6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:55 -> Pinging Codecov 05:44:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=290df9772e99a502094e71001891edf463b76fa6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:55 -> Uploading to 05:44:55 https://storage.googleapis.com/codecov/v4/raw/2024-07-04/4E5D53B4F1F92C436F7061BF334D961C/290df9772e99a502094e71001891edf463b76fa6/135d8736-f4d8-411f-b957-3ab97dbb92c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T054455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9a75c75a6edd94bdae0d0bf65292a953f4de3985b7360493b818c75418220c9 05:44:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:44:55 Dload Upload Total Spent Left Speed 05:44:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10269 --:--:-- --:--:-- --:--:-- 10269 05:44:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } 05:44:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:44:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:44:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:56 05:44:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:58 latest: Pulling from edgex-devops/edgex-snyk-go 05:44:58 619be1103602: Already exists 05:44:58 f8ea3408117e: Pulling fs layer 05:44:58 91320369b822: Pulling fs layer 05:44:58 0406650e8295: Pulling fs layer 05:44:58 4f4fb700ef54: Pulling fs layer 05:44:58 96d80e3f36e1: Pulling fs layer 05:44:58 bcf3aedb951c: Pulling fs layer 05:44:58 4f4fb700ef54: Waiting 05:44:58 96d80e3f36e1: Waiting 05:44:58 bcf3aedb951c: Waiting 05:44:58 0406650e8295: Download complete 05:44:58 f8ea3408117e: Verifying Checksum 05:44:58 f8ea3408117e: Download complete 05:44:58 4f4fb700ef54: Verifying Checksum 05:44:58 4f4fb700ef54: Download complete 05:44:58 f8ea3408117e: Pull complete 05:44:58 96d80e3f36e1: Download complete 05:45:09 91320369b822: Verifying Checksum 05:45:09 91320369b822: Download complete 05:45:15 91320369b822: Pull complete 05:45:15 0406650e8295: Pull complete 05:45:15 4f4fb700ef54: Pull complete 05:45:15 96d80e3f36e1: Pull complete 05:45:15 bcf3aedb951c: Verifying Checksum 05:45:15 bcf3aedb951c: Download complete 05:45:19 bcf3aedb951c: Pull complete 05:45:19 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:45:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:19 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:45:19 $ 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:latest cat 05:45:22 $ docker top b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 05:45:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 05:45:23 + set -o pipefail 05:45:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 05:45:29 05:45:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 05:45:29 05:45:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/9c583262-2a33-4493-b5c6-e40d3bde1a44 05:45:29 05:45:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:45:29 05:45:29 05:45:29 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:45:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:45:29 $ docker stop --time=1 b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 05:45:35 $ docker rm -f --volumes b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:36 + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] sh 05:45:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:37 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:45:37 $ 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 05:45:37 $ docker top 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:37 [ssh-agent] Looking for ssh-agent implementation... 05:45:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:37 $ docker exec 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f ssh-agent 05:45:38 SSH_AUTH_SOCK=/tmp/ssh-rB0v7FifJORu/agent.31 05:45:38 SSH_AGENT_PID=37 05:45:38 Running ssh-add (command line suppressed) 05:45:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11532165678866537429.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11532165678866537429.key) 05:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:38 + git semver tag 05:45:38 2024-07-04 05:45:38,661 [run_tag] DEBUG tag force:False 05:45:38 2024-07-04 05:45:38,661 [check_head_tag] DEBUG check head tag 05:45:38 2024-07-04 05:45:38,662 [execute] INFO git cat-file --batch-check 05:45:38 2024-07-04 05:45:38,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:45:38 2024-07-04 05:45:38,667 [execute] INFO git cat-file --batch 05:45:38 2024-07-04 05:45:38,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:45:38 2024-07-04 05:45:38,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:45:38 2024-07-04 05:45:38,689 [execute] INFO git tag -a v3.2.0-dev.15 -m v3.2.0-dev.15 05:45:38 2024-07-04 05:45:38,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.15', '-m', 'v3.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 05:45:38 2024-07-04 05:45:38,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:45:38 3.2.0-dev.15 [Pipeline] } 05:45:38 $ docker exec --env ******** --env ******** 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f ssh-agent -k 05:45:38 unset SSH_AUTH_SOCK; 05:45:38 unset SSH_AGENT_PID; 05:45:38 echo Agent pid 37 killed; 05:45:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:39 + git semver [Pipeline] } 05:45:39 $ docker stop --time=1 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f 05:45:40 $ docker rm -f --volumes 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:41 05:45:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:41 0.23.1-centos7: Pulling from edgex-lftools 05:45:41 ab5ef0e58194: Pulling fs layer 05:45:41 9712f1f96733: Pulling fs layer 05:45:41 63f879dbbcfc: Pulling fs layer 05:45:41 0d9ebad4ef96: Pulling fs layer 05:45:41 e9a5061849ea: Pulling fs layer 05:45:41 d747dcd14b5f: Pulling fs layer 05:45:41 2de7ff778b66: Pulling fs layer 05:45:41 e9a5061849ea: Waiting 05:45:41 0d9ebad4ef96: Waiting 05:45:41 d747dcd14b5f: Waiting 05:45:41 2de7ff778b66: Waiting 05:45:41 9712f1f96733: Verifying Checksum 05:45:41 9712f1f96733: Download complete 05:45:41 63f879dbbcfc: Verifying Checksum 05:45:41 63f879dbbcfc: Download complete 05:45:41 e9a5061849ea: Verifying Checksum 05:45:41 e9a5061849ea: Download complete 05:45:41 d747dcd14b5f: Verifying Checksum 05:45:41 d747dcd14b5f: Download complete 05:45:41 ab5ef0e58194: Verifying Checksum 05:45:41 ab5ef0e58194: Download complete 05:45:41 0d9ebad4ef96: Verifying Checksum 05:45:41 2de7ff778b66: Verifying Checksum 05:45:41 2de7ff778b66: Download complete 05:45:45 ab5ef0e58194: Pull complete 05:45:45 9712f1f96733: Pull complete 05:45:45 63f879dbbcfc: Pull complete 05:45:49 0d9ebad4ef96: Pull complete 05:45:49 e9a5061849ea: Pull complete 05:45:49 d747dcd14b5f: Pull complete 05:45:50 2de7ff778b66: Pull complete 05:45:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:50 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:45:50 $ 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 05:45:55 $ docker top 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:45:55 provisioning config files... 05:45:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4329171100612106118tmp 05:45:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15175944981327017880tmp 05:45:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15305170012580054069tmp [Pipeline] { [Pipeline] echo 05:45:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:45:55 ---> sigul-configuration.sh 05:45:55 gpg: directory `/root/.gnupg' created 05:45:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:45:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:45:55 gpg: keyring `/root/.gnupg/secring.gpg' created 05:45:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:45:55 gpg: CAST5 encrypted data 05:45:55 gpg: encrypted with 1 passphrase 05:45:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:45:56 + mkdir /home/jenkins 05:45:56 + mkdir /home/jenkins/sigul [Pipeline] sh 05:45:56 + 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 05:45:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:45:56 ---> sigul-install.sh 05:45:56 Sigul already installed; skipping installation. [Pipeline] sh 05:45:57 + git tag --list 05:45:57 v1.0.0 05:45:57 v1.1.0 05:45:57 v1.1.1 05:45:57 v1.1.2 05:45:57 v1.2.0 05:45:57 v1.2.1 05:45:57 v2.0.0 05:45:57 v2.1.0 05:45:57 v2.1.1 05:45:57 v2.2.0 05:45:57 v2.3.0 05:45:57 v3.0 05:45:57 v3.0.0 05:45:57 v3.1 05:45:57 v3.1.0 05:45:57 v3.1.0-dev.1 05:45:57 v3.1.0-dev.10 05:45:57 v3.1.0-dev.11 05:45:57 v3.1.0-dev.12 05:45:57 v3.1.0-dev.13 05:45:57 v3.1.0-dev.14 05:45:57 v3.1.0-dev.15 05:45:57 v3.1.0-dev.16 05:45:57 v3.1.0-dev.17 05:45:57 v3.1.0-dev.18 05:45:57 v3.1.0-dev.19 05:45:57 v3.1.0-dev.2 05:45:57 v3.1.0-dev.20 05:45:57 v3.1.0-dev.21 05:45:57 v3.1.0-dev.22 05:45:57 v3.1.0-dev.23 05:45:57 v3.1.0-dev.24 05:45:57 v3.1.0-dev.25 05:45:57 v3.1.0-dev.26 05:45:57 v3.1.0-dev.27 05:45:57 v3.1.0-dev.28 05:45:57 v3.1.0-dev.29 05:45:57 v3.1.0-dev.3 05:45:57 v3.1.0-dev.30 05:45:57 v3.1.0-dev.31 05:45:57 v3.1.0-dev.32 05:45:57 v3.1.0-dev.4 05:45:57 v3.1.0-dev.5 05:45:57 v3.1.0-dev.6 05:45:57 v3.1.0-dev.7 05:45:57 v3.1.0-dev.8 05:45:57 v3.1.0-dev.9 05:45:57 v3.1.1 05:45:57 v3.2.0-dev.1 05:45:57 v3.2.0-dev.10 05:45:57 v3.2.0-dev.11 05:45:57 v3.2.0-dev.12 05:45:57 v3.2.0-dev.13 05:45:57 v3.2.0-dev.14 05:45:57 v3.2.0-dev.15 05:45:57 v3.2.0-dev.2 05:45:57 v3.2.0-dev.3 05:45:57 v3.2.0-dev.4 05:45:57 v3.2.0-dev.5 05:45:57 v3.2.0-dev.6 05:45:57 v3.2.0-dev.7 05:45:57 v3.2.0-dev.8 05:45:57 v3.2.0-dev.9 [Pipeline] sh 05:45:57 + lftools sign git-tag v3.2.0-dev.15 05:45:58 Signing Git tag with Sigul... 05:45:58 Signing v3.2.0-dev.15 [Pipeline] echo 05:45:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:45:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:45:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:45:58 $ docker stop --time=1 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 05:45:59 $ docker rm -f --volumes 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:46:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:00 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:46:00 $ 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 05:46:01 $ docker top 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:01 [ssh-agent] Looking for ssh-agent implementation... 05:46:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:01 $ docker exec 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 ssh-agent 05:46:01 SSH_AUTH_SOCK=/tmp/ssh-ny1qxJh7MVa4/agent.33 05:46:01 SSH_AGENT_PID=39 05:46:01 Running ssh-add (command line suppressed) 05:46:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14760206018405464314.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14760206018405464314.key) 05:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:01 + git semver bump pre 05:46:02 2024-07-04 05:46:02,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:02 2024-07-04 05:46:02,111 [bump_version] DEBUG bumping version:3.2.0-dev.15 on axis:pre with prefix:dev 05:46:02 2024-07-04 05:46:02,111 [bump_version] DEBUG bumped version:3.2.0-dev.16 05:46:02 2024-07-04 05:46:02,111 [write_version] DEBUG write version:3.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 05:46:02 2024-07-04 05:46:02,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:02 2024-07-04 05:46:02,112 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:02 2024-07-04 05:46:02,114 [execute] INFO git cat-file --batch-check 05:46:02 2024-07-04 05:46:02,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:02 2024-07-04 05:46:02,119 [execute] INFO git cat-file --batch 05:46:02 2024-07-04 05:46:02,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:02 2024-07-04 05:46:02,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:02 3.2.0-dev.16 [Pipeline] } 05:46:02 $ docker exec --env ******** --env ******** 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 ssh-agent -k 05:46:02 unset SSH_AUTH_SOCK; 05:46:02 unset SSH_AGENT_PID; 05:46:02 echo Agent pid 39 killed; 05:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:02 + git semver [Pipeline] } 05:46:02 $ docker stop --time=1 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 05:46:04 $ docker rm -f --volumes 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:04 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:46:05 $ 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 05:46:05 $ docker top e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd -eo pid,comm 05:46:05 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). 05:46:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:05 [ssh-agent] Looking for ssh-agent implementation... 05:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:05 $ docker exec e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd ssh-agent 05:46:05 SSH_AUTH_SOCK=/tmp/ssh-c4CoQQe4IWLH/agent.32 05:46:05 SSH_AGENT_PID=38 05:46:05 Running ssh-add (command line suppressed) 05:46:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1679151751365251484.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1679151751365251484.key) 05:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:06 + git semver push 05:46:06 2024-07-04 05:46:06,319 [run_push] DEBUG push 05:46:06 2024-07-04 05:46:06,320 [execute] INFO git cat-file --batch-check 05:46:06 2024-07-04 05:46:06,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:06 2024-07-04 05:46:06,324 [execute] INFO git rev-list ee27b3a2059a17a1284d5e7b9ef6c273f4fc1994 -- 05:46:06 2024-07-04 05:46:06,324 [execute] DEBUG Popen(['git', 'rev-list', 'ee27b3a2059a17a1284d5e7b9ef6c273f4fc1994', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:46:06 2024-07-04 05:46:06,334 [execute] INFO git fetch -v origin 05:46:06 2024-07-04 05:46:06,334 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:46:06 2024-07-04 05:46:06,778 [run_push] DEBUG no remote changes detected 05:46:06 2024-07-04 05:46:06,778 [execute] INFO git push origin semver 05:46:06 2024-07-04 05:46:06,779 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:46:07 2024-07-04 05:46:07,509 [run_push] DEBUG push all version tags 05:46:07 2024-07-04 05:46:07,509 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:46:07 2024-07-04 05:46:07,510 [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) 05:46:08 2024-07-04 05:46:08,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:08 3.2.0-dev.16 [Pipeline] } 05:46:08 $ docker exec --env ******** --env ******** e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd ssh-agent -k 05:46:08 unset SSH_AUTH_SOCK; 05:46:08 unset SSH_AGENT_PID; 05:46:08 echo Agent pid 38 killed; 05:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:08 + git semver [Pipeline] } 05:46:09 $ docker stop --time=1 e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd 05:46:10 $ docker rm -f --volumes e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:46:11 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 05:46:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:11 total 16 05:46:11 drwxr-xr-x 3 root root 4096 Jul 4 05:31 . 05:46:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:45 .. 05:46:11 drwxr-xr-x 2 root root 4096 Jul 4 05:31 cost 05:46:11 -rw-r--r-- 1 root root 86 Jul 4 05:31 cost.csv 05:46:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:11 total 16 05:46:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:31 . 05:46:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:45 .. 05:46:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:31 cost 05:46:11 -rw-r--r-- 1 jenkins jenkins 86 Jul 4 05:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:46:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:12 ---> package-listing.sh 05:46:12 ++ facter osfamily 05:46:12 ++ tr '[:upper:]' '[:lower:]' 05:46:12 + OS_FAMILY=debian 05:46:12 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:46:12 + START_PACKAGES=/tmp/packages_start.txt 05:46:12 + END_PACKAGES=/tmp/packages_end.txt 05:46:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:12 + PACKAGES=/tmp/packages_start.txt 05:46:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:46:12 + PACKAGES=/tmp/packages_end.txt 05:46:12 + case "${OS_FAMILY}" in 05:46:12 + dpkg -l 05:46:12 + grep '^ii' 05:46:12 + '[' -f /tmp/packages_start.txt ']' 05:46:12 + '[' -f /tmp/packages_end.txt ']' 05:46:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:46:12 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:46:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:46:12 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 05:46:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:13 prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container 05:46:13 $ 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 05:46:13 $ docker top fc36505f7c4c26903d89903ac8e7be6436d1e4d1750134bc78017996fac54a86 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:14 + touch /tmp/pre-build-complete [Pipeline] sh 05:46:14 + mkdir -p /var/log/sysstat [Pipeline] sh 05:46:14 + ls /var/log/sa-host 05:46:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:14 provisioning config files... 05:46:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15234551782655689606tmp [Pipeline] { [Pipeline] echo 05:46:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:15 ---> create-netrc.sh [Pipeline] } 05:46:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:46:15 ---> python-tools-install.sh [Pipeline] echo 05:46:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:46:15 ---> sudo-logs.sh 05:46:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:46:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:46:16 ---> job-cost.sh 05:46:16 lf-activate-venv: SKIPPING 05:46:16 DEBUG: total: 0.2199999988079071 05:46:16 INFO: Retrieving Stack Cost... 05:46:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:16 INFO: Archiving Costs [Pipeline] echo 05:46:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:17 ---> logs-deploy.sh 05:46:17 lf-activate-venv: SKIPPING 05:46:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/167 05:46:17 INFO: archiving workspace using pattern(s): 05:46:18 Archives upload complete. 05:46:18 INFO: archiving logs to Nexus