Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f76f4517c34d0712f0a5b1769cf5436b862bb8e0 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-ssh2765471598279995099.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-ssh11978648226025712294.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-ssh12297170718222991940.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-ssh2827933548557301115.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-ssh5205123100538842416.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-4419’ Running on prd-ubuntu20.04-docker-8c-8g-4430 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 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 (main) Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" > 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 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 > git rev-list --no-walk 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:27:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:27:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:27:01 ========================================================= 05:27:01 EdgeX Global Pipelines Version Info 05:27:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:27:02 ------------------- 05:27:02 stable info: 05:27:02 ------------------- 05:27:02 Commited By: Ginny Guan ginny@iotechsys.com 05:27:02 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:27:02 Message: update stable to v1.0.260 05:27:03 ------------------- 05:27:03 experimental info: 05:27:03 ------------------- 05:27:03 Commited By: Ginny Guan ginny@iotechsys.com 05:27:03 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:27:03 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f76f451 [Pipeline] echo 05:27:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:03 provisioning config files... 05:27:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config973572499844628968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:04 ---> ****-login.sh 05:27:04 nexus3.edgexfoundry.org:10001 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 nexus3.edgexfoundry.org:10002 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 nexus3.edgexfoundry.org:10003 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 nexus3.edgexfoundry.org:10004 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 ****.io 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:05 Configure a credential helper to remove this warning. See 05:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:05 05:27:05 Login Succeeded 05:27:05 ---> ****-login.sh ends [Pipeline] } 05:27:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:27:05 + git rev-list -1 --merges f76f4517c34d0712f0a5b1769cf5436b862bb8e0~1..f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo 05:27:05 -----------> git rev-list -1 --merges f76f4517c34d0712f0a5b1769cf5436b862bb8e0~1..f76f4517c34d0712f0a5b1769cf5436b862bb8e0 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:27:05 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [false] [Pipeline] sh 05:27:05 + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo 05:27:05 ========================================================= 05:27:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:27:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:06 + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo 05:27:06 [semverPrep] GIT_COMMIT: f76f4517c34d0712f0a5b1769cf5436b862bb8e0, Commit Message: Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18 [Pipeline] echo 05:27:06 [semverPrep] This is not a build commit. [Pipeline] sh 05:27:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:06 + grep -v github /etc/ssh/ssh_known_hosts 05:27:06 + [ -e /tmp/ssh_known_hosts ] 05:27:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:27:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:27:06 + sudo tee -a /etc/ssh/ssh_known_hosts 05:27:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:06 05:27:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:07 0.1.4: Pulling from edgex-devops/py-git-semver 05:27:07 b85a868b505f: Pulling fs layer 05:27:07 e2be974225ed: Pulling fs layer 05:27:07 339a4e72a1f5: Pulling fs layer 05:27:07 988bab9f4d93: Pulling fs layer 05:27:07 1469e6f7b9e6: Pulling fs layer 05:27:07 eaf3925da568: Pulling fs layer 05:27:07 bab4dde63d76: Pulling fs layer 05:27:07 bde34c3a00c8: Pulling fs layer 05:27:07 b352a97aabf1: Pulling fs layer 05:27:07 4872d77fe225: Pulling fs layer 05:27:07 5851b861e8e6: Pulling fs layer 05:27:07 988bab9f4d93: Waiting 05:27:07 eaf3925da568: Waiting 05:27:07 bde34c3a00c8: Waiting 05:27:07 b352a97aabf1: Waiting 05:27:07 1469e6f7b9e6: Waiting 05:27:07 bab4dde63d76: Waiting 05:27:07 4872d77fe225: Waiting 05:27:07 5851b861e8e6: Waiting 05:27:07 e2be974225ed: Download complete 05:27:07 988bab9f4d93: Verifying Checksum 05:27:07 988bab9f4d93: Download complete 05:27:07 1469e6f7b9e6: Verifying Checksum 05:27:07 1469e6f7b9e6: Download complete 05:27:07 eaf3925da568: Download complete 05:27:07 339a4e72a1f5: Verifying Checksum 05:27:07 339a4e72a1f5: Download complete 05:27:07 bde34c3a00c8: Download complete 05:27:07 b352a97aabf1: Verifying Checksum 05:27:07 b352a97aabf1: Download complete 05:27:07 4872d77fe225: Verifying Checksum 05:27:07 4872d77fe225: Download complete 05:27:07 5851b861e8e6: Download complete 05:27:07 b85a868b505f: Verifying Checksum 05:27:07 bab4dde63d76: Verifying Checksum 05:27:07 bab4dde63d76: Download complete 05:27:08 b85a868b505f: Pull complete 05:27:08 e2be974225ed: Pull complete 05:27:09 339a4e72a1f5: Pull complete 05:27:09 988bab9f4d93: Pull complete 05:27:09 1469e6f7b9e6: Pull complete 05:27:09 eaf3925da568: Pull complete 05:27:11 bab4dde63d76: Pull complete 05:27:11 bde34c3a00c8: Pull complete 05:27:11 b352a97aabf1: Pull complete 05:27:11 4872d77fe225: Pull complete 05:27:11 5851b861e8e6: Pull complete 05:27:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:12 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:27:15 $ docker top f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 -eo pid,comm 05:27:15 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:27:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:27:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:15 [ssh-agent] Looking for ssh-agent implementation... 05:27:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:15 $ docker exec f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent 05:27:15 SSH_AUTH_SOCK=/tmp/ssh-d6yFgISl1yxq/agent.32 05:27:15 SSH_AGENT_PID=38 05:27:15 Running ssh-add (command line suppressed) 05:27:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6629108572972307182.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6629108572972307182.key) 05:27:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:16 + git tag --points-at HEAD [Pipeline] } 05:27:16 $ docker exec --env ******** --env ******** f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent -k 05:27:16 unset SSH_AUTH_SOCK; 05:27:16 unset SSH_AGENT_PID; 05:27:16 echo Agent pid 38 killed; 05:27:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:27:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:16 [ssh-agent] Looking for ssh-agent implementation... 05:27:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:16 $ docker exec f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent 05:27:16 SSH_AUTH_SOCK=/tmp/ssh-yikMX7idMpGB/agent.72 05:27:16 SSH_AGENT_PID=78 05:27:16 Running ssh-add (command line suppressed) 05:27:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12748946401750854011.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12748946401750854011.key) 05:27:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:17 + git semver init 05:27:17 2024-06-26 05:27:17,304 [run_init] DEBUG init version:0.0.0 force:False 05:27:17 2024-06-26 05:27:17,305 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:27:17 2024-06-26 05:27:17,306 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:27:17 2024-06-26 05:27:17,306 [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:27:19 2024-06-26 05:27:18,859 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:27:19 2024-06-26 05:27:18,859 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:27:19 2024-06-26 05:27:18,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:27:19 2024-06-26 05:27:18,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:27:19 3.2.0-dev.14 [Pipeline] } 05:27:19 $ docker exec --env ******** --env ******** f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent -k 05:27:19 unset SSH_AUTH_SOCK; 05:27:19 unset SSH_AGENT_PID; 05:27:19 echo Agent pid 78 killed; 05:27:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:19 + git semver [Pipeline] } 05:27:20 $ docker stop --time=1 f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 05:27:21 $ docker rm -f --volumes f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:27:21 Stashed 1 file(s) [Pipeline] echo 05:27:21 [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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:27:22 provisioning config files... 05:27:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2446250031845424705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:22 ---> ****-login.sh 05:27:22 nexus3.edgexfoundry.org:10001 05:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:22 Configure a credential helper to remove this warning. See 05:27:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:22 05:27:22 Login Succeeded 05:27:22 nexus3.edgexfoundry.org:10002 05:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:22 Configure a credential helper to remove this warning. See 05:27:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:22 05:27:22 Login Succeeded 05:27:22 nexus3.edgexfoundry.org:10003 05:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:22 Configure a credential helper to remove this warning. See 05:27:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:22 05:27:22 Login Succeeded 05:27:22 nexus3.edgexfoundry.org:10004 05:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:22 Configure a credential helper to remove this warning. See 05:27:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:22 05:27:22 Login Succeeded 05:27:22 ****.io 05:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:23 Configure a credential helper to remove this warning. See 05:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:23 05:27:23 Login Succeeded 05:27:23 ---> ****-login.sh ends [Pipeline] } 05:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:27:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:27:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:27:23 ========================================================= 05:27:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:27:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:23 + 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:27:23 Sending build context to Docker daemon 18.18MB 05:27:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:27:23 Step 2/12 : FROM ${BASE} AS builder 05:27:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:27:23 619be1103602: Pulling fs layer 05:27:23 7862e08f4a3e: Pulling fs layer 05:27:23 5df492c9dc93: Pulling fs layer 05:27:23 7629e6793208: Pulling fs layer 05:27:23 4f4fb700ef54: Pulling fs layer 05:27:23 fb5054dd5b73: Pulling fs layer 05:27:23 eeca6798cff9: Pulling fs layer 05:27:23 aa269ceb94a6: Pulling fs layer 05:27:23 7629e6793208: Waiting 05:27:23 4f4fb700ef54: Waiting 05:27:23 fb5054dd5b73: Waiting 05:27:23 eeca6798cff9: Waiting 05:27:23 aa269ceb94a6: Waiting 05:27:23 ada007ff1a6a: Pulling fs layer 05:27:23 7862e08f4a3e: Verifying Checksum 05:27:23 7862e08f4a3e: Download complete 05:27:23 7629e6793208: Verifying Checksum 05:27:23 7629e6793208: Download complete 05:27:23 4f4fb700ef54: Verifying Checksum 05:27:23 fb5054dd5b73: Download complete 05:27:23 619be1103602: Verifying Checksum 05:27:23 619be1103602: Download complete 05:27:24 eeca6798cff9: Verifying Checksum 05:27:24 eeca6798cff9: Download complete 05:27:24 ada007ff1a6a: Verifying Checksum 05:27:24 ada007ff1a6a: Download complete 05:27:24 619be1103602: Pull complete 05:27:24 5df492c9dc93: Verifying Checksum 05:27:24 5df492c9dc93: Download complete 05:27:24 7862e08f4a3e: Pull complete 05:27:24 aa269ceb94a6: Verifying Checksum 05:27:24 aa269ceb94a6: Download complete 05:27:29 5df492c9dc93: Pull complete 05:27:29 7629e6793208: Pull complete 05:27:29 4f4fb700ef54: Pull complete 05:27:29 fb5054dd5b73: Pull complete 05:27:29 eeca6798cff9: Pull complete 05:27:31 aa269ceb94a6: Pull complete 05:27:31 ada007ff1a6a: Pull complete 05:27:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:27:31 ---> f489d0715acc 05:27:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:27:37 ---> Running in 89a7881d361a 05:27:37 Removing intermediate container 89a7881d361a 05:27:37 ---> f4d177ae8ea3 05:27:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:27:37 ---> Running in 1a4fa7ce972a 05:27:37 Removing intermediate container 1a4fa7ce972a 05:27:37 ---> 94f10a4b75b4 05:27:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:27:37 ---> Running in adb2b28b96ab 05:27:37 Removing intermediate container adb2b28b96ab 05:27:37 ---> 5e38d93104fa 05:27:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:27:37 ---> Running in de9ed3ebc1d5 05:27:37 Removing intermediate container de9ed3ebc1d5 05:27:37 ---> 652ce41d52db 05:27:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:27:37 Still waiting to schedule task 05:27:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:27:37 ---> Running in edd54478035d 05:27:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:27:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:27:37 (1/4) Installing openssh-keygen (9.3_p2-r1) 05:27:37 (2/4) Installing libedit (20221030.3.1-r1) 05:27:37 (3/4) Installing openssh-client-common (9.3_p2-r1) 05:27:37 (4/4) Installing openssh-client-default (9.3_p2-r1) 05:27:37 Executing busybox-1.36.1-r5.trigger 05:27:37 OK: 268 MiB in 56 packages 05:27:38 Removing intermediate container edd54478035d 05:27:38 ---> d463a95972b3 05:27:38 Step 8/12 : WORKDIR /device-rest-go 05:27:38 ---> Running in 9b9636a1943c 05:27:38 Removing intermediate container 9b9636a1943c 05:27:38 ---> 507c7b6109b0 05:27:38 Step 9/12 : COPY go.mod vendor* ./ 05:27:38 ---> 122bd931b38e 05:27:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:38 ---> Running in e766d15bb8fd 05:28:35 Removing intermediate container e766d15bb8fd 05:28:35 ---> dcd0d574ef73 05:28:35 Step 11/12 : COPY . . 05:28:35 ---> 2342e32f426e 05:28:35 Step 12/12 : RUN $MAKE 05:28:35 ---> Running in c5e303032ece 05:28:35 noop 05:28:35 Removing intermediate container c5e303032ece 05:28:35 ---> 53241da583fc 05:28:35 Successfully built 53241da583fc 05:28:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:35 + docker inspect -f . ci-base-image-x86_64 05:28:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:35 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:36 $ docker top a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:36 + go version 05:28:36 go version go1.21.9 linux/amd64 [Pipeline] } 05:28:36 $ docker stop --time=1 a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 05:28:37 $ docker rm -f --volumes a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:38 + docker inspect -f . ci-base-image-x86_64 05:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:38 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:28:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:38 $ docker top 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:28:39 + make test 05:28:39 go test ./... -coverprofile=coverage.out ./... 05:28:40 ? github.com/edgexfoundry/device-rest-go [no test files] 05:28:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:28:58 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 05:29:06 go vet ./... 05:29:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:29:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:29:13 ./bin/test-attribution-txt.sh 05:29:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:29:13 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:29:13 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:29:13 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:29:13 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:29:13 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:29:13 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:29:13 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:29:13 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:29:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:29:13 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:29:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:29:13 $ docker stop --time=1 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 05:29:16 $ docker rm -f --volumes 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 [Pipeline] // withDockerContainer [Pipeline] sh 05:29:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:29:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:29:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:17 + ls -al . 05:29:17 total 248 05:29:17 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 05:28 . 05:29:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 05:26 .. 05:29:17 -rw-rw-r-- 1 jenkins jenkins 151 Jun 26 05:26 .dockerignore 05:29:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:28 .git 05:29:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 .github 05:29:17 -rw-rw-r-- 1 jenkins jenkins 264 Jun 26 05:26 .gitignore 05:29:17 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 05:26 .golangci.yml 05:29:17 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 05:27 .semver 05:29:17 -rw-rw-r-- 1 jenkins jenkins 10300 Jun 26 05:26 Attribution.txt 05:29:17 -rw-rw-r-- 1 jenkins jenkins 17685 Jun 26 05:26 CHANGELOG.md 05:29:17 -rw-rw-r-- 1 jenkins jenkins 1687 Jun 26 05:26 Dockerfile 05:29:17 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 05:26 GOVERNANCE.md 05:29:17 -rw-rw-r-- 1 jenkins jenkins 680 Jun 26 05:26 Jenkinsfile 05:29:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 26 05:26 LICENSE 05:29:17 -rw-rw-r-- 1 jenkins jenkins 2016 Jun 26 05:26 Makefile 05:29:17 -rw-rw-r-- 1 jenkins jenkins 620 Jun 26 05:26 OWNERS.md 05:29:17 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 26 05:26 README.md 05:29:17 -rw-rw-r-- 1 jenkins jenkins 12 Jun 26 05:27 VERSION 05:29:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:26 bin 05:29:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 cmd 05:29:17 -rw-r--r-- 1 jenkins jenkins 14499 Jun 26 05:28 coverage.out 05:29:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:26 driver 05:29:17 -rw-rw-r-- 1 jenkins jenkins 7190 Jun 26 05:26 go.mod 05:29:17 -rw-rw-r-- 1 jenkins jenkins 101949 Jun 26 05:26 go.sum 05:29:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 openapi 05:29:17 -rw-rw-r-- 1 jenkins jenkins 713 Jun 26 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:18 + 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=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 --label arch=amd64 --label version=3.2.0-dev.14 . 05:29:18 Sending build context to Docker daemon 18.2MB 05:29:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:29:18 Step 2/26 : FROM ${BASE} AS builder 05:29:18 ---> 53241da583fc 05:29:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:29:18 ---> Running in 061b02630bc4 05:29:18 Removing intermediate container 061b02630bc4 05:29:18 ---> 43257b2a4624 05:29:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:18 ---> Running in b3fd2dbd84f3 05:29:18 Removing intermediate container b3fd2dbd84f3 05:29:18 ---> 1178644861ed 05:29:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:29:18 ---> Running in 66a1a8b06639 05:29:18 Removing intermediate container 66a1a8b06639 05:29:18 ---> f0866d5ca565 05:29:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:29:18 ---> Running in 7a48434f5fe6 05:29:19 Removing intermediate container 7a48434f5fe6 05:29:19 ---> d6106932d4c3 05:29:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:29:19 ---> Running in dcfaf315cf42 05:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:29:19 OK: 268 MiB in 56 packages 05:29:19 Removing intermediate container dcfaf315cf42 05:29:19 ---> 855aeca277c8 05:29:19 Step 8/26 : WORKDIR /device-rest-go 05:29:20 ---> Running in 29703c321907 05:29:20 Removing intermediate container 29703c321907 05:29:20 ---> cebeee842c05 05:29:20 Step 9/26 : COPY go.mod vendor* ./ 05:29:20 ---> 03c3fdc8fe0a 05:29:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:20 ---> Running in e713b053b3e4 05:29:21 Removing intermediate container e713b053b3e4 05:29:21 ---> c71bb7dbfdc9 05:29:21 Step 11/26 : COPY . . 05:29:21 ---> 9d6298748f2a 05:29:21 Step 12/26 : RUN $MAKE 05:29:21 ---> Running in b38fa8906c78 05:29:21 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:29:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4435 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:29:35 Running in /w/workspace/device-rest-go/166 [Pipeline] { [Pipeline] checkout 05:29:36 The recommended git tool is: git 05:29:43 using credential edgex-jenkins-ssh 05:29:43 Cloning the remote Git repository 05:29:43 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:29:43 > git init /w/workspace/device-rest-go/166 # timeout=10 05:29:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:29:43 > git --version # timeout=10 05:29:43 > git --version # 'git version 2.25.1' 05:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:29:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:49 Avoid second fetch 05:29:49 Checking out Revision f76f4517c34d0712f0a5b1769cf5436b862bb8e0 (main) 05:29:50 Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" 05:29:49 > git config core.sparsecheckout # timeout=10 05:29:49 > git checkout -f f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 05:29:53 Removing intermediate container b38fa8906c78 05:29:53 ---> 22a64e64914e 05:29:53 Step 13/26 : FROM alpine:3.18 05:29:53 3.18: Pulling from library/alpine 05:29:53 73baa7ef167e: Pulling fs layer 05:29:53 73baa7ef167e: Verifying Checksum 05:29:53 73baa7ef167e: Download complete 05:29:53 73baa7ef167e: Pull complete 05:29:53 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:29:53 Status: Downloaded newer image for alpine:3.18 05:29:53 ---> 8fd7cac70a4a 05:29:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:29:53 ---> Running in 60feb67db292 05:29:53 Removing intermediate container 60feb67db292 05:29:53 ---> c7b33f3874a0 05:29:53 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:29:53 ---> Running in 81b9b2257de8 05:29:53 Removing intermediate container 81b9b2257de8 05:29:53 ---> 1eb854f95ab4 05:29:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:29:53 ---> Running in 5d1b00297291 05:29:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:29:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:29:53 (1/1) Installing dumb-init (1.2.5-r2) 05:29:53 Executing busybox-1.36.1-r7.trigger 05:29:53 OK: 7 MiB in 16 packages 05:29:53 Removing intermediate container 5d1b00297291 05:29:53 ---> 5dbaecdbb9f7 05:29:53 Step 17/26 : RUN apk --no-cache upgrade 05:29:54 ---> Running in 0fb1779cf72d 05:29:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:29:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:54 OK: 7 MiB in 16 packages 05:29:55 Removing intermediate container 0fb1779cf72d 05:29:55 ---> 6d0df7cb00de 05:29:55 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:29:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:29:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:29:55 Dload Upload Total Spent Left Speed 05:29:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:29:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:29:55 ---> b94423774566 05:29:55 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:29:55 ---> 0206434a38f1 05:29:55 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:29:55 ---> d66f68e17a7a 05:29:55 Step 21/26 : EXPOSE 59986 05:29:55 ---> Running in 57d95550a145 05:29:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:29:56 + sudo tee /etc/docker/daemon.new 05:29:56 { 05:29:56 "registry-mirrors": [ 05:29:56 "https://nexus3.edgexfoundry.org:10001" 05:29:56 ], 05:29:56 "bip": "10.250.0.254/24", 05:29:56 "hosts": [ 05:29:56 "tcp://0.0.0.0:5555", 05:29:56 "unix:///var/run/docker.sock" 05:29:56 ], 05:29:56 "mtu": 1458, 05:29:56 "selinux-enabled": true, 05:29:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:29:56 } [Pipeline] sh 05:29:56 Removing intermediate container 57d95550a145 05:29:56 ---> 730032cd55e4 05:29:56 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:29:56 ---> Running in e4f8cd1941c8 05:29:56 Removing intermediate container e4f8cd1941c8 05:29:56 ---> 5057fdf3890b 05:29:56 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:29:56 ---> Running in ec97c29ce57a 05:29:56 Removing intermediate container ec97c29ce57a 05:29:56 ---> 9cc30b4e467e 05:29:56 Step 24/26 : LABEL arch=amd64 05:29:56 ---> Running in 36a3bc7efeb3 05:29:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:29:56 Removing intermediate container 36a3bc7efeb3 05:29:56 ---> 074db515e395 05:29:56 Step 25/26 : LABEL git_sha=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:29:56 ---> Running in dfee7845faa4 05:29:56 Removing intermediate container dfee7845faa4 05:29:56 ---> b7a0214e4bbb 05:29:56 Step 26/26 : LABEL version=3.2.0-dev.14 05:29:56 ---> Running in e4759794489e 05:29:56 Removing intermediate container e4759794489e 05:29:56 ---> 677f0fa04ffe 05:29:56 [Warning] One or more build-args [ARCH] were not consumed 05:29:56 Successfully built 677f0fa04ffe 05:29:56 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:29:56 provisioning config files... 05:29:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2479532781312621713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:56 + sudo service docker restart 05:29:56 ---> ****-login.sh 05:29:56 nexus3.edgexfoundry.org:10001 05:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:29:56 Configure a credential helper to remove this warning. See 05:29:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:29:56 05:29:56 Login Succeeded 05:29:56 nexus3.edgexfoundry.org:10002 05:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:29:56 Configure a credential helper to remove this warning. See 05:29:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:29:56 05:29:56 Login Succeeded 05:29:56 nexus3.edgexfoundry.org:10003 05:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:29:57 Configure a credential helper to remove this warning. See 05:29:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:29:57 05:29:57 Login Succeeded 05:29:57 nexus3.edgexfoundry.org:10004 05:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:29:57 Configure a credential helper to remove this warning. See 05:29:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:29:57 05:29:57 Login Succeeded 05:29:57 ****.io 05:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:29:57 Configure a credential helper to remove this warning. See 05:29:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:29:57 05:29:57 Login Succeeded 05:29:57 ---> ****-login.sh ends [Pipeline] } 05:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:29:57 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:29:57 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:29:57 latest 05:29:57 3.2.0-dev.14 05:29:57 f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:29:57 main 05:29:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:29:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:58 ce51b08399fb: Preparing 05:29:58 2a637bdc8a66: Preparing 05:29:58 9b47333d0cb3: Preparing 05:29:58 db68b1ac04aa: Preparing 05:29:58 ba8897ac5f66: Preparing 05:29:58 63ec0bd56cf3: Preparing 05:29:58 63ec0bd56cf3: Waiting 05:29:58 db68b1ac04aa: Pushed 05:29:58 2a637bdc8a66: Pushed 05:29:58 ce51b08399fb: Pushed 05:29:58 ba8897ac5f66: Pushed 05:29:58 63ec0bd56cf3: Layer already exists 05:30:01 9b47333d0cb3: Pushed 05:30:01 f76f4517c34d0712f0a5b1769cf5436b862bb8e0: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:30:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:30:02 ce51b08399fb: Preparing 05:30:02 2a637bdc8a66: Preparing 05:30:02 9b47333d0cb3: Preparing 05:30:02 db68b1ac04aa: Preparing 05:30:02 ba8897ac5f66: Preparing 05:30:02 63ec0bd56cf3: Preparing 05:30:02 63ec0bd56cf3: Waiting 05:30:02 db68b1ac04aa: Layer already exists 05:30:02 2a637bdc8a66: Layer already exists 05:30:02 ba8897ac5f66: Layer already exists 05:30:02 9b47333d0cb3: Layer already exists 05:30:02 ce51b08399fb: Layer already exists 05:30:02 63ec0bd56cf3: Layer already exists 05:30:02 latest: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 05:30:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:30:02 ce51b08399fb: Preparing 05:30:02 2a637bdc8a66: Preparing 05:30:02 9b47333d0cb3: Preparing 05:30:02 db68b1ac04aa: Preparing 05:30:02 ba8897ac5f66: Preparing 05:30:02 63ec0bd56cf3: Preparing 05:30:02 9b47333d0cb3: Layer already exists 05:30:02 2a637bdc8a66: Layer already exists 05:30:02 db68b1ac04aa: Layer already exists 05:30:02 ba8897ac5f66: Layer already exists 05:30:02 ce51b08399fb: Layer already exists 05:30:02 63ec0bd56cf3: Layer already exists 05:30:02 3.2.0-dev.14: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:30:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:30:03 ce51b08399fb: Preparing 05:30:03 2a637bdc8a66: Preparing 05:30:03 9b47333d0cb3: Preparing 05:30:03 db68b1ac04aa: Preparing 05:30:03 ba8897ac5f66: Preparing 05:30:03 63ec0bd56cf3: Preparing 05:30:03 63ec0bd56cf3: Waiting 05:30:03 2a637bdc8a66: Layer already exists 05:30:03 9b47333d0cb3: Layer already exists 05:30:03 ce51b08399fb: Layer already exists 05:30:03 db68b1ac04aa: Layer already exists 05:30:03 ba8897ac5f66: Layer already exists 05:30:03 63ec0bd56cf3: Layer already exists 05:30:03 f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:30:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:30:04 ce51b08399fb: Preparing 05:30:04 2a637bdc8a66: Preparing 05:30:04 9b47333d0cb3: Preparing 05:30:04 db68b1ac04aa: Preparing 05:30:04 ba8897ac5f66: Preparing 05:30:04 63ec0bd56cf3: Preparing 05:30:04 63ec0bd56cf3: Waiting 05:30:04 2a637bdc8a66: Layer already exists 05:30:04 db68b1ac04aa: Layer already exists 05:30:04 9b47333d0cb3: Layer already exists 05:30:04 ce51b08399fb: Layer already exists 05:30:04 ba8897ac5f66: Layer already exists 05:30:04 63ec0bd56cf3: Layer already exists 05:30:04 main: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:30:04 ===================================================== [Pipeline] echo 05:30:04 taggedImages: 05:30:04 - nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:30:04 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:30:04 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 05:30:04 - nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:30:04 - 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:30:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:04 05:30:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:05 latest: Pulling from edgex-lftools-log-publisher 05:30:05 5eb5b503b376: Pulling fs layer 05:30:05 5c69ac0246d0: Pulling fs layer 05:30:05 ec43610c2a17: Pulling fs layer 05:30:05 3a2ae6a8a46f: Pulling fs layer 05:30:05 33b1e0a273af: Pulling fs layer 05:30:05 5d3b04190fa2: Pulling fs layer 05:30:05 2f39f015ded8: Pulling fs layer 05:30:05 3a2ae6a8a46f: Waiting 05:30:05 33b1e0a273af: Waiting 05:30:05 2f39f015ded8: Waiting 05:30:05 5d3b04190fa2: Waiting 05:30:05 5c69ac0246d0: Verifying Checksum 05:30:05 5c69ac0246d0: Download complete 05:30:05 3a2ae6a8a46f: Verifying Checksum 05:30:05 3a2ae6a8a46f: Download complete 05:30:05 33b1e0a273af: Verifying Checksum 05:30:05 33b1e0a273af: Download complete 05:30:05 5d3b04190fa2: Verifying Checksum 05:30:05 5d3b04190fa2: Download complete 05:30:05 ec43610c2a17: Verifying Checksum 05:30:05 ec43610c2a17: Download complete 05:30:05 5eb5b503b376: Verifying Checksum 05:30:05 5eb5b503b376: Download complete 05:30:05 2f39f015ded8: Download complete 05:30:06 5eb5b503b376: Pull complete 05:30:06 5c69ac0246d0: Pull complete 05:30:06 ec43610c2a17: Pull complete 05:30:07 3a2ae6a8a46f: Pull complete 05:30:07 33b1e0a273af: Pull complete 05:30:07 5d3b04190fa2: Pull complete 05:30:11 2f39f015ded8: Pull complete 05:30:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:30:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:11 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:30:15 $ docker top 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:30:15 provisioning config files... 05:30:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/166@tmp/config11686298891215279845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:16 ---> job-cost.sh 05:30:16 lf-activate-venv: SKIPPING 05:30:16 INFO: No Stack... 05:30:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:30:16 ---> ****-login.sh 05:30:16 nexus3.edgexfoundry.org:10001 05:30:16 INFO: Archiving Costs [Pipeline] sh 05:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:17 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:30:17 + cut -d, -f6 [Pipeline] lock 05:30:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] 05:30:17 Resource [jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] did not exist. Created. 05:30:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash 05:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:17 Configure a credential helper to remove this warning. See 05:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:17 05:30:17 Login Succeeded 05:30:17 nexus3.edgexfoundry.org:10002 [Pipeline] sh 05:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:17 + echo total: 0.2199999988079071 [Pipeline] stash 05:30:17 Stashed 1 file(s) [Pipeline] } 05:30:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:17 $ docker stop --time=1 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d 05:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:18 Configure a credential helper to remove this warning. See 05:30:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:18 05:30:18 Login Succeeded 05:30:18 nexus3.edgexfoundry.org:10003 05:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:18 Configure a credential helper to remove this warning. See 05:30:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:18 05:30:18 Login Succeeded 05:30:18 nexus3.edgexfoundry.org:10004 05:30:18 $ docker rm -f --volumes 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:19 Configure a credential helper to remove this warning. See 05:30:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:19 05:30:19 Login Succeeded 05:30:19 ****.io 05:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:19 Configure a credential helper to remove this warning. See 05:30:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:19 05:30:19 Login Succeeded 05:30:19 ---> ****-login.sh ends [Pipeline] } 05:30:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:30:20 ========================================================= 05:30:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:30:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:20 + 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:30:20 Sending build context to Docker daemon 131.1kB 05:30:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:30:21 Step 2/12 : FROM ${BASE} AS builder 05:30:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:30:21 c6b39de5b339: Pulling fs layer 05:30:21 a69c41024577: Pulling fs layer 05:30:21 d6de4b400683: Pulling fs layer 05:30:21 35cb2a7552d0: Pulling fs layer 05:30:21 4f4fb700ef54: Pulling fs layer 05:30:21 464afbd9ba4c: Pulling fs layer 05:30:21 00f215d4a9da: Pulling fs layer 05:30:21 d496ad576159: Pulling fs layer 05:30:21 35cb2a7552d0: Waiting 05:30:21 4f4fb700ef54: Waiting 05:30:21 464afbd9ba4c: Waiting 05:30:21 00f215d4a9da: Waiting 05:30:21 d496ad576159: Waiting 05:30:21 a69c41024577: Verifying Checksum 05:30:21 a69c41024577: Download complete 05:30:21 35cb2a7552d0: Verifying Checksum 05:30:21 35cb2a7552d0: Download complete 05:30:21 4f4fb700ef54: Verifying Checksum 05:30:21 4f4fb700ef54: Download complete 05:30:21 464afbd9ba4c: Verifying Checksum 05:30:21 464afbd9ba4c: Download complete 05:30:21 c6b39de5b339: Download complete 05:30:22 d496ad576159: Verifying Checksum 05:30:22 d496ad576159: Download complete 05:30:23 c6b39de5b339: Pull complete 05:30:24 a69c41024577: Pull complete 05:30:24 d6de4b400683: Verifying Checksum 05:30:24 d6de4b400683: Download complete 05:30:25 00f215d4a9da: Verifying Checksum 05:30:25 00f215d4a9da: Download complete 05:30:40 d6de4b400683: Pull complete 05:30:40 35cb2a7552d0: Pull complete 05:30:40 4f4fb700ef54: Pull complete 05:30:40 464afbd9ba4c: Pull complete 05:30:50 00f215d4a9da: Pull complete 05:30:50 d496ad576159: Pull complete 05:30:50 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:30:50 ---> f246e2811388 05:30:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:30:53 ---> Running in 8c97c5d24b61 05:30:53 Removing intermediate container 8c97c5d24b61 05:30:53 ---> d7f04aed8540 05:30:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:30:53 ---> Running in 4630163457c6 05:30:54 Removing intermediate container 4630163457c6 05:30:54 ---> 0dbf5ed9043a 05:30:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:30:54 ---> Running in 7338ef0256a4 05:30:54 Removing intermediate container 7338ef0256a4 05:30:54 ---> 2fa2bf87e6c2 05:30:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:30:54 ---> Running in a3b9c457ed58 05:30:54 Removing intermediate container a3b9c457ed58 05:30:54 ---> 159c51547dfc 05:30:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:30:54 ---> Running in ef701ee8b5ab 05:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:30:57 (1/4) Installing openssh-keygen (9.3_p2-r1) 05:30:57 (2/4) Installing libedit (20221030.3.1-r1) 05:30:57 (3/4) Installing openssh-client-common (9.3_p2-r1) 05:30:57 (4/4) Installing openssh-client-default (9.3_p2-r1) 05:30:58 Executing busybox-1.36.1-r5.trigger 05:30:58 OK: 271 MiB in 56 packages 05:30:59 Removing intermediate container ef701ee8b5ab 05:30:59 ---> f8fe6a2f28e2 05:30:59 Step 8/12 : WORKDIR /device-rest-go 05:30:59 ---> Running in a0ae15f1c61d 05:30:59 Removing intermediate container a0ae15f1c61d 05:30:59 ---> 4b87b809dae8 05:30:59 Step 9/12 : COPY go.mod vendor* ./ 05:31:00 ---> a625f37b6ced 05:31:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:00 ---> Running in 2e0b714febaa 05:33:22 Removing intermediate container 2e0b714febaa 05:33:22 ---> ad0787503700 05:33:22 Step 11/12 : COPY . . 05:33:22 ---> e77a9c3f4afe 05:33:22 Step 12/12 : RUN $MAKE 05:33:22 ---> Running in df87d5a0ede7 05:33:22 noop 05:33:22 Removing intermediate container df87d5a0ede7 05:33:22 ---> 1851bc9c36b8 05:33:22 Successfully built 1851bc9c36b8 05:33:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:22 + docker inspect -f . ci-base-image-arm64 05:33:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:22 prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container 05:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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:33:24 $ docker top 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:25 + go version 05:33:25 go version go1.21.9 linux/arm64 [Pipeline] } 05:33:25 $ docker stop --time=1 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 05:33:27 $ docker rm -f --volumes 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:28 + docker inspect -f . ci-base-image-arm64 05:33:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:28 prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container 05:33:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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:33:30 $ docker top b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:30 + git config --global --add safe.directory /w/workspace/device-rest-go/166 [Pipeline] fileExists [Pipeline] sh 05:33:31 + make test 05:33:31 go test ./... -coverprofile=coverage.out ./... 05:33:39 ? github.com/edgexfoundry/device-rest-go [no test files] 05:38:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:38:40 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 05:38:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:38:41 go vet ./... 05:39:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:39:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:39:49 ./bin/test-attribution-txt.sh 05:39:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:39:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:39:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:39:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:39:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:39:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:39:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:39:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:39:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:39:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:39:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:39:49 $ docker stop --time=1 b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b 05:39:51 $ docker rm -f --volumes b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b [Pipeline] // withDockerContainer [Pipeline] sh 05:39:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:39:53 Warning: overwriting stash ‘coverage-report’ 05:39:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:39:54 + ls -al . 05:39:54 total 244 05:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:33 . 05:39:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 05:29 .. 05:39:54 -rw-rw-r-- 1 jenkins jenkins 151 Jun 26 05:29 .dockerignore 05:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:29 .git 05:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 .github 05:39:54 -rw-rw-r-- 1 jenkins jenkins 264 Jun 26 05:29 .gitignore 05:39:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 05:29 .golangci.yml 05:39:54 -rw-rw-r-- 1 jenkins jenkins 10300 Jun 26 05:29 Attribution.txt 05:39:54 -rw-rw-r-- 1 jenkins jenkins 17685 Jun 26 05:29 CHANGELOG.md 05:39:54 -rw-rw-r-- 1 jenkins jenkins 1687 Jun 26 05:29 Dockerfile 05:39:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 05:29 GOVERNANCE.md 05:39:54 -rw-rw-r-- 1 jenkins jenkins 680 Jun 26 05:29 Jenkinsfile 05:39:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 26 05:29 LICENSE 05:39:54 -rw-rw-r-- 1 jenkins jenkins 2016 Jun 26 05:29 Makefile 05:39:54 -rw-rw-r-- 1 jenkins jenkins 620 Jun 26 05:29 OWNERS.md 05:39:54 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 26 05:29 README.md 05:39:54 -rw-rw-r-- 1 jenkins jenkins 12 Jun 26 05:27 VERSION 05:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:29 bin 05:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 cmd 05:39:54 -rw-r--r-- 1 jenkins jenkins 14499 Jun 26 05:38 coverage.out 05:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:29 driver 05:39:54 -rw-rw-r-- 1 jenkins jenkins 7190 Jun 26 05:29 go.mod 05:39:54 -rw-rw-r-- 1 jenkins jenkins 101949 Jun 26 05:29 go.sum 05:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 openapi 05:39:54 -rw-rw-r-- 1 jenkins jenkins 713 Jun 26 05:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:55 + 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=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 --label arch=arm64 --label version=3.2.0-dev.14 . 05:39:55 Sending build context to Docker daemon 146.4kB 05:39:55 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:39:55 Step 2/26 : FROM ${BASE} AS builder 05:39:55 ---> 1851bc9c36b8 05:39:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:39:55 ---> Running in ac1ad48bada1 05:39:56 Removing intermediate container ac1ad48bada1 05:39:56 ---> 639c0b193cab 05:39:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:39:56 ---> Running in 2e916b677a76 05:39:56 Removing intermediate container 2e916b677a76 05:39:56 ---> 0200af40263c 05:39:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:39:56 ---> Running in 2ae932c44771 05:39:57 Removing intermediate container 2ae932c44771 05:39:57 ---> a9f69d9c7c73 05:39:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:39:57 ---> Running in 2bafa7a34096 05:39:57 Removing intermediate container 2bafa7a34096 05:39:57 ---> 027543506cc5 05:39:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:39:57 ---> Running in c9af046b8690 05:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:40:00 OK: 271 MiB in 56 packages 05:40:02 Removing intermediate container c9af046b8690 05:40:02 ---> 825a2bcbbeed 05:40:02 Step 8/26 : WORKDIR /device-rest-go 05:40:02 ---> Running in 989d7be94341 05:40:02 Removing intermediate container 989d7be94341 05:40:02 ---> 4dd31f1e0724 05:40:02 Step 9/26 : COPY go.mod vendor* ./ 05:40:02 ---> ae1f075eb107 05:40:02 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:02 ---> Running in 7123c53280a3 05:40:06 Removing intermediate container 7123c53280a3 05:40:06 ---> e934add3b631 05:40:06 Step 11/26 : COPY . . 05:40:06 ---> e930b9c05084 05:40:06 Step 12/26 : RUN $MAKE 05:40:06 ---> Running in cdf3923bd257 05:40:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:44:14 Removing intermediate container cdf3923bd257 05:44:14 ---> 83f414bc3876 05:44:14 Step 13/26 : FROM alpine:3.18 05:44:14 3.18: Pulling from library/alpine 05:44:14 5c905c7ebe2f: Pulling fs layer 05:44:14 5c905c7ebe2f: Verifying Checksum 05:44:14 5c905c7ebe2f: Download complete 05:44:14 5c905c7ebe2f: Pull complete 05:44:14 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:44:14 Status: Downloaded newer image for alpine:3.18 05:44:14 ---> dec292d02e07 05:44:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:44:14 ---> Running in 97f2f4918f09 05:44:14 Removing intermediate container 97f2f4918f09 05:44:14 ---> 48154c95cb24 05:44:14 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:44:14 ---> Running in 81b3c753e706 05:44:14 Removing intermediate container 81b3c753e706 05:44:14 ---> 6e777abcd24d 05:44:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:44:14 ---> Running in 33191e7cb3bc 05:44:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:44:17 (1/1) Installing dumb-init (1.2.5-r2) 05:44:17 Executing busybox-1.36.1-r7.trigger 05:44:17 OK: 8 MiB in 16 packages 05:44:18 Removing intermediate container 33191e7cb3bc 05:44:18 ---> cbda7654783e 05:44:18 Step 17/26 : RUN apk --no-cache upgrade 05:44:18 ---> Running in c102d134a3e4 05:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:44:20 OK: 8 MiB in 16 packages 05:44:20 Removing intermediate container c102d134a3e4 05:44:20 ---> 47362a54d291 05:44:20 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:44:22 ---> 8699e6273038 05:44:22 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:44:23 ---> 475c24cf63d4 05:44:23 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:44:23 ---> d19849ea2c1c 05:44:23 Step 21/26 : EXPOSE 59986 05:44:23 ---> Running in 52bde38bef39 05:44:24 Removing intermediate container 52bde38bef39 05:44:24 ---> 00f86f871d1f 05:44:24 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:44:24 ---> Running in 1081cca8db1a 05:44:24 Removing intermediate container 1081cca8db1a 05:44:24 ---> 91a0889f5985 05:44:24 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:44:24 ---> Running in 330ff2ddabee 05:44:24 Removing intermediate container 330ff2ddabee 05:44:24 ---> 1617b4c59252 05:44:24 Step 24/26 : LABEL arch=arm64 05:44:24 ---> Running in 995acc3ad90d 05:44:25 Removing intermediate container 995acc3ad90d 05:44:25 ---> f2732de788d7 05:44:25 Step 25/26 : LABEL git_sha=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:44:25 ---> Running in 476a409dd1cc 05:44:25 Removing intermediate container 476a409dd1cc 05:44:25 ---> 772274fc73bb 05:44:25 Step 26/26 : LABEL version=3.2.0-dev.14 05:44:25 ---> Running in db799331bcaf 05:44:26 Removing intermediate container db799331bcaf 05:44:26 ---> 1b67c6415934 05:44:26 [Warning] One or more build-args [ARCH] were not consumed 05:44:26 Successfully built 1b67c6415934 05:44:26 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:26 provisioning config files... 05:44:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/166@tmp/config4169835367789886974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:26 ---> ****-login.sh 05:44:26 nexus3.edgexfoundry.org:10001 05:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:26 Configure a credential helper to remove this warning. See 05:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:26 05:44:26 Login Succeeded 05:44:26 nexus3.edgexfoundry.org:10002 05:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:27 Configure a credential helper to remove this warning. See 05:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:27 05:44:27 Login Succeeded 05:44:27 nexus3.edgexfoundry.org:10003 05:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:27 Configure a credential helper to remove this warning. See 05:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:27 05:44:27 Login Succeeded 05:44:27 nexus3.edgexfoundry.org:10004 05:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:27 Configure a credential helper to remove this warning. See 05:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:27 05:44:27 Login Succeeded 05:44:27 ****.io 05:44:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:28 Configure a credential helper to remove this warning. See 05:44:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:28 05:44:28 Login Succeeded 05:44:28 ---> ****-login.sh ends [Pipeline] } 05:44:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:44:28 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:44:28 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:44:28 latest 05:44:28 3.2.0-dev.14 05:44:28 f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:44:28 main 05:44:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:44:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:29 4e844d076ce9: Preparing 05:44:29 b8c169ea310c: Preparing 05:44:29 52e1e0a2d6ff: Preparing 05:44:29 087fb768f6c2: Preparing 05:44:29 795f99322ab6: Preparing 05:44:29 da707bb00cb8: Preparing 05:44:29 da707bb00cb8: Waiting 05:44:29 b8c169ea310c: Pushed 05:44:29 795f99322ab6: Pushed 05:44:29 087fb768f6c2: Pushed 05:44:29 4e844d076ce9: Pushed 05:44:29 da707bb00cb8: Layer already exists 05:44:36 52e1e0a2d6ff: Pushed 05:44:36 f76f4517c34d0712f0a5b1769cf5436b862bb8e0: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:36 + 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:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:44:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:36 4e844d076ce9: Preparing 05:44:36 b8c169ea310c: Preparing 05:44:36 52e1e0a2d6ff: Preparing 05:44:36 087fb768f6c2: Preparing 05:44:36 795f99322ab6: Preparing 05:44:36 da707bb00cb8: Preparing 05:44:36 da707bb00cb8: Waiting 05:44:36 087fb768f6c2: Layer already exists 05:44:36 52e1e0a2d6ff: Layer already exists 05:44:36 4e844d076ce9: Layer already exists 05:44:36 b8c169ea310c: Layer already exists 05:44:36 795f99322ab6: Layer already exists 05:44:36 da707bb00cb8: Layer already exists 05:44:37 latest: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 05:44:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:37 4e844d076ce9: Preparing 05:44:37 b8c169ea310c: Preparing 05:44:37 52e1e0a2d6ff: Preparing 05:44:37 087fb768f6c2: Preparing 05:44:37 795f99322ab6: Preparing 05:44:37 da707bb00cb8: Preparing 05:44:37 da707bb00cb8: Waiting 05:44:37 087fb768f6c2: Layer already exists 05:44:37 b8c169ea310c: Layer already exists 05:44:37 52e1e0a2d6ff: Layer already exists 05:44:37 4e844d076ce9: Layer already exists 05:44:37 795f99322ab6: Layer already exists 05:44:37 da707bb00cb8: Layer already exists 05:44:38 3.2.0-dev.14: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:44:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:38 4e844d076ce9: Preparing 05:44:38 b8c169ea310c: Preparing 05:44:38 52e1e0a2d6ff: Preparing 05:44:38 087fb768f6c2: Preparing 05:44:38 795f99322ab6: Preparing 05:44:38 da707bb00cb8: Preparing 05:44:38 da707bb00cb8: Waiting 05:44:38 b8c169ea310c: Layer already exists 05:44:38 52e1e0a2d6ff: Layer already exists 05:44:38 4e844d076ce9: Layer already exists 05:44:38 087fb768f6c2: Layer already exists 05:44:38 795f99322ab6: Layer already exists 05:44:38 da707bb00cb8: Layer already exists 05:44:39 f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:39 + 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:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 05:44:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:44:39 4e844d076ce9: Preparing 05:44:39 b8c169ea310c: Preparing 05:44:39 52e1e0a2d6ff: Preparing 05:44:39 087fb768f6c2: Preparing 05:44:39 795f99322ab6: Preparing 05:44:39 da707bb00cb8: Preparing 05:44:39 da707bb00cb8: Waiting 05:44:39 52e1e0a2d6ff: Layer already exists 05:44:39 087fb768f6c2: Layer already exists 05:44:39 4e844d076ce9: Layer already exists 05:44:39 795f99322ab6: Layer already exists 05:44:39 b8c169ea310c: Layer already exists 05:44:39 da707bb00cb8: Layer already exists 05:44:40 main: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:40 ===================================================== [Pipeline] echo 05:44:40 taggedImages: 05:44:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 05:44:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:44:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 05:44:40 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 05:44:40 - 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:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:40 05:44:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:41 arm64: Pulling from edgex-lftools-log-publisher 05:44:41 8998bd30e6a1: Pulling fs layer 05:44:41 04944245beec: Pulling fs layer 05:44:41 699f458cf7ca: Pulling fs layer 05:44:41 765212b225bb: Pulling fs layer 05:44:41 f23df028b6ca: Pulling fs layer 05:44:41 d65c8cfc05b1: Pulling fs layer 05:44:41 2437ff75d9bd: Pulling fs layer 05:44:41 f23df028b6ca: Waiting 05:44:41 d65c8cfc05b1: Waiting 05:44:41 2437ff75d9bd: Waiting 05:44:41 765212b225bb: Waiting 05:44:41 04944245beec: Verifying Checksum 05:44:41 04944245beec: Download complete 05:44:41 765212b225bb: Verifying Checksum 05:44:41 765212b225bb: Download complete 05:44:41 f23df028b6ca: Verifying Checksum 05:44:41 f23df028b6ca: Download complete 05:44:41 d65c8cfc05b1: Verifying Checksum 05:44:41 d65c8cfc05b1: Download complete 05:44:41 699f458cf7ca: Verifying Checksum 05:44:41 699f458cf7ca: Download complete 05:44:41 8998bd30e6a1: Verifying Checksum 05:44:41 8998bd30e6a1: Download complete 05:44:44 2437ff75d9bd: Verifying Checksum 05:44:44 2437ff75d9bd: Download complete 05:44:46 8998bd30e6a1: Pull complete 05:44:46 04944245beec: Pull complete 05:44:48 699f458cf7ca: Pull complete 05:44:48 765212b225bb: Pull complete 05:44:49 f23df028b6ca: Pull complete 05:44:49 d65c8cfc05b1: Pull complete 05:45:07 2437ff75d9bd: Pull complete 05:45:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:07 prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container 05:45:07 $ 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/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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:45:10 $ docker top 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:11 ---> job-cost.sh 05:45:11 lf-activate-venv: SKIPPING 05:45:11 INFO: No Stack... 05:45:11 INFO: Retrieving Pricing Info for: v3-standard-4 05:45:12 INFO: Archiving Costs [Pipeline] sh 05:45:13 + cat /w/workspace/device-rest-go/166/archives/cost.csv 05:45:13 + cut -d, -f6 [Pipeline] lock 05:45:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] 05:45:13 Resource [jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] did not exist. Created. 05:45:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:14 /w/workspace/device-rest-go/166@tmp/durable-78aee7d0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:45:14 + echo total: 0.10999999940395355 [Pipeline] stash 05:45:14 Warning: overwriting stash ‘stack-cost’ 05:45:14 Stashed 1 file(s) [Pipeline] } 05:45:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:14 $ docker stop --time=1 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 05:45:15 $ docker rm -f --volumes 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 [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:45:16 provisioning config files... 05:45:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8006942942449476630tmp [Pipeline] { [Pipeline] sh 05:45:16 + set +x 05:45:16 + bash -s -- 05:45:16 + curl -s https://codecov.io/bash 05:45:16 05:45:16 _____ _ 05:45:16 / ____| | | 05:45:16 | | ___ __| | ___ ___ _____ __ 05:45:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:16 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:16 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:16 Bash-1.0.6 05:45:16 05:45:16 05:45:16 ==> git version 2.25.1 found 05:45:16 ==> 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:45:16 Release-Date: 2020-01-08 05:45:16 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:45:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:16 ==> Jenkins CI detected. 05:45:16 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 05:45:16 project root: . 05:45:16 --> token set from env 05:45:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:16 ==> Running gcov in . (disable via -X gcov) 05:45:16 ==> Python coveragepy not found 05:45:16 ==> Searching for coverage reports in: 05:45:16 + . 05:45:16 -> Found 1 reports 05:45:16 ==> Detecting git/mercurial file structure 05:45:16 ==> Reading reports 05:45:16 + ./coverage.out bytes=14499 05:45:16 ==> Appending adjustments 05:45:16 https://docs.codecov.io/docs/fixing-reports 05:45:16 + Found adjustments 05:45:16 ==> Gzipping contents 05:45:16 4.0K /tmp/codecov.s2wCgx.gz 05:45:16 ==> Uploading reports 05:45:16 url: https://codecov.io 05:45:16 query: branch=main&commit=f76f4517c34d0712f0a5b1769cf5436b862bb8e0&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:16 -> Pinging Codecov 05:45:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f76f4517c34d0712f0a5b1769cf5436b862bb8e0&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:16 -> Uploading to 05:45:16 https://storage.googleapis.com/codecov/v4/raw/2024-06-26/4E5D53B4F1F92C436F7061BF334D961C/f76f4517c34d0712f0a5b1769cf5436b862bb8e0/f2047cd5-d20a-42c2-8c9f-7871f8f4422b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240626%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240626T054516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97f58279e44aa0da5e92629ae9fa6d7d3dd0062daf2b5b3e51a702322caa45bb 05:45:16 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:16 Dload Upload Total Spent Left Speed 05:45:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10598 --:--:-- --:--:-- --:--:-- 10598 05:45:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } 05:45:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:45:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:45:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:45:17 05:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:45:18 latest: Pulling from edgex-devops/edgex-snyk-go 05:45:18 619be1103602: Already exists 05:45:18 f8ea3408117e: Pulling fs layer 05:45:18 91320369b822: Pulling fs layer 05:45:18 0406650e8295: Pulling fs layer 05:45:18 4f4fb700ef54: Pulling fs layer 05:45:18 96d80e3f36e1: Pulling fs layer 05:45:18 bcf3aedb951c: Pulling fs layer 05:45:18 96d80e3f36e1: Waiting 05:45:18 bcf3aedb951c: Waiting 05:45:18 0406650e8295: Verifying Checksum 05:45:18 0406650e8295: Download complete 05:45:18 f8ea3408117e: Download complete 05:45:18 4f4fb700ef54: Verifying Checksum 05:45:18 4f4fb700ef54: Download complete 05:45:18 f8ea3408117e: Pull complete 05:45:18 96d80e3f36e1: Verifying Checksum 05:45:18 96d80e3f36e1: Download complete 05:45:18 91320369b822: Verifying Checksum 05:45:18 91320369b822: Download complete 05:45:19 bcf3aedb951c: Verifying Checksum 05:45:19 bcf3aedb951c: Download complete 05:45:22 91320369b822: Pull complete 05:45:22 0406650e8295: Pull complete 05:45:22 4f4fb700ef54: Pull complete 05:45:22 96d80e3f36e1: Pull complete 05:45:25 bcf3aedb951c: Pull complete 05:45:25 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:45:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:25 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:45:30 $ docker top 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 05:45:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 05:45:30 + set -o pipefail 05:45:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 05:45:37 05:45:37 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 05:45:37 05:45:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/7fc010d2-638d-4a2c-839f-921154b033cf 05:45:37 05:45:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:45:37 05:45:37 05:45:37 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 05:45:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:45:37 $ docker stop --time=1 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a 05:45:42 $ docker rm -f --volumes 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a [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:43 + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] sh 05:45:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:44 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:44 $ docker top a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 -eo pid,comm 05:45:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:45:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:45 [ssh-agent] Looking for ssh-agent implementation... 05:45:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:45 $ docker exec a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 ssh-agent 05:45:45 SSH_AUTH_SOCK=/tmp/ssh-lrDr9VtPWTQI/agent.32 05:45:45 SSH_AGENT_PID=38 05:45:45 Running ssh-add (command line suppressed) 05:45:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15176040359696633256.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15176040359696633256.key) 05:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:45 + git semver tag 05:45:46 2024-06-26 05:45:45,891 [run_tag] DEBUG tag force:False 05:45:46 2024-06-26 05:45:45,891 [check_head_tag] DEBUG check head tag 05:45:46 2024-06-26 05:45:45,892 [execute] INFO git cat-file --batch-check 05:45:46 2024-06-26 05:45:45,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:45:46 2024-06-26 05:45:45,895 [execute] INFO git cat-file --batch 05:45:46 2024-06-26 05:45:45,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:45:46 2024-06-26 05:45:45,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:45:46 2024-06-26 05:45:45,918 [execute] INFO git tag -a v3.2.0-dev.14 -m v3.2.0-dev.14 05:45:46 2024-06-26 05:45:45,919 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.14', '-m', 'v3.2.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 05:45:46 2024-06-26 05:45:45,923 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:45:46 3.2.0-dev.14 [Pipeline] } 05:45:46 $ docker exec --env ******** --env ******** a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 ssh-agent -k 05:45:46 unset SSH_AUTH_SOCK; 05:45:46 unset SSH_AGENT_PID; 05:45:46 echo Agent pid 38 killed; 05:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:46 + git semver [Pipeline] } 05:45:46 $ docker stop --time=1 a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 05:45:48 $ docker rm -f --volumes a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:48 05:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:48 0.23.1-centos7: Pulling from edgex-lftools 05:45:48 ab5ef0e58194: Pulling fs layer 05:45:48 9712f1f96733: Pulling fs layer 05:45:48 63f879dbbcfc: Pulling fs layer 05:45:48 0d9ebad4ef96: Pulling fs layer 05:45:48 e9a5061849ea: Pulling fs layer 05:45:48 d747dcd14b5f: Pulling fs layer 05:45:48 2de7ff778b66: Pulling fs layer 05:45:48 d747dcd14b5f: Waiting 05:45:48 2de7ff778b66: Waiting 05:45:48 0d9ebad4ef96: Waiting 05:45:48 e9a5061849ea: Waiting 05:45:48 9712f1f96733: Verifying Checksum 05:45:48 9712f1f96733: Download complete 05:45:49 63f879dbbcfc: Verifying Checksum 05:45:49 63f879dbbcfc: Download complete 05:45:49 ab5ef0e58194: Verifying Checksum 05:45:49 ab5ef0e58194: Download complete 05:45:49 d747dcd14b5f: Verifying Checksum 05:45:49 d747dcd14b5f: Download complete 05:45:49 e9a5061849ea: Verifying Checksum 05:45:49 e9a5061849ea: Download complete 05:45:49 0d9ebad4ef96: Verifying Checksum 05:45:49 0d9ebad4ef96: Download complete 05:45:49 2de7ff778b66: Verifying Checksum 05:45:49 2de7ff778b66: Download complete 05:45:52 ab5ef0e58194: Pull complete 05:45:52 9712f1f96733: Pull complete 05:45:52 63f879dbbcfc: Pull complete 05:45:57 0d9ebad4ef96: Pull complete 05:45:57 e9a5061849ea: Pull complete 05:45:57 d747dcd14b5f: Pull complete 05:45:58 2de7ff778b66: Pull complete 05:45:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:58 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:45:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:46:03 $ docker top 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:46:04 provisioning config files... 05:46:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5232724769979741162tmp 05:46:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17653916234837630975tmp 05:46:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14467357249684656248tmp [Pipeline] { [Pipeline] echo 05:46:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:46:04 ---> sigul-configuration.sh 05:46:04 gpg: directory `/root/.gnupg' created 05:46:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:46:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:46:04 gpg: keyring `/root/.gnupg/secring.gpg' created 05:46:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:46:04 gpg: CAST5 encrypted data 05:46:04 gpg: encrypted with 1 passphrase 05:46:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:46:04 + mkdir /home/jenkins 05:46:04 + mkdir /home/jenkins/sigul [Pipeline] sh 05:46:05 + 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:46:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:46:05 ---> sigul-install.sh 05:46:05 Sigul already installed; skipping installation. [Pipeline] sh 05:46:05 + git tag --list 05:46:05 v1.0.0 05:46:05 v1.1.0 05:46:05 v1.1.1 05:46:05 v1.1.2 05:46:05 v1.2.0 05:46:05 v1.2.1 05:46:05 v2.0.0 05:46:05 v2.1.0 05:46:05 v2.1.1 05:46:05 v2.2.0 05:46:05 v2.3.0 05:46:05 v3.0 05:46:05 v3.0.0 05:46:05 v3.1 05:46:05 v3.1.0 05:46:05 v3.1.0-dev.1 05:46:05 v3.1.0-dev.10 05:46:05 v3.1.0-dev.11 05:46:05 v3.1.0-dev.12 05:46:05 v3.1.0-dev.13 05:46:05 v3.1.0-dev.14 05:46:05 v3.1.0-dev.15 05:46:05 v3.1.0-dev.16 05:46:05 v3.1.0-dev.17 05:46:05 v3.1.0-dev.18 05:46:05 v3.1.0-dev.19 05:46:05 v3.1.0-dev.2 05:46:05 v3.1.0-dev.20 05:46:05 v3.1.0-dev.21 05:46:05 v3.1.0-dev.22 05:46:05 v3.1.0-dev.23 05:46:05 v3.1.0-dev.24 05:46:05 v3.1.0-dev.25 05:46:05 v3.1.0-dev.26 05:46:05 v3.1.0-dev.27 05:46:05 v3.1.0-dev.28 05:46:05 v3.1.0-dev.29 05:46:05 v3.1.0-dev.3 05:46:05 v3.1.0-dev.30 05:46:05 v3.1.0-dev.31 05:46:05 v3.1.0-dev.32 05:46:05 v3.1.0-dev.4 05:46:05 v3.1.0-dev.5 05:46:05 v3.1.0-dev.6 05:46:05 v3.1.0-dev.7 05:46:05 v3.1.0-dev.8 05:46:05 v3.1.0-dev.9 05:46:05 v3.1.1 05:46:05 v3.2.0-dev.1 05:46:05 v3.2.0-dev.10 05:46:05 v3.2.0-dev.11 05:46:05 v3.2.0-dev.12 05:46:05 v3.2.0-dev.13 05:46:05 v3.2.0-dev.14 05:46:05 v3.2.0-dev.2 05:46:05 v3.2.0-dev.3 05:46:05 v3.2.0-dev.4 05:46:05 v3.2.0-dev.5 05:46:05 v3.2.0-dev.6 05:46:05 v3.2.0-dev.7 05:46:05 v3.2.0-dev.8 05:46:05 v3.2.0-dev.9 [Pipeline] sh 05:46:05 + lftools sign git-tag v3.2.0-dev.14 05:46:06 Signing Git tag with Sigul... 05:46:06 Signing v3.2.0-dev.14 [Pipeline] echo 05:46:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:46:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:46:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:46:07 $ docker stop --time=1 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 05:46:08 $ docker rm -f --volumes 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:46:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:09 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:46:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:09 $ docker top b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 -eo pid,comm 05:46:09 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:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:10 [ssh-agent] Looking for ssh-agent implementation... 05:46:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:10 $ docker exec b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 ssh-agent 05:46:10 SSH_AUTH_SOCK=/tmp/ssh-sIDGNObxaDNk/agent.32 05:46:10 SSH_AGENT_PID=38 05:46:10 Running ssh-add (command line suppressed) 05:46:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17859389648464960399.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17859389648464960399.key) 05:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:10 + git semver bump pre 05:46:11 2024-06-26 05:46:10,966 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:11 2024-06-26 05:46:10,967 [bump_version] DEBUG bumping version:3.2.0-dev.14 on axis:pre with prefix:dev 05:46:11 2024-06-26 05:46:10,967 [bump_version] DEBUG bumped version:3.2.0-dev.15 05:46:11 2024-06-26 05:46:10,967 [write_version] DEBUG write version:3.2.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 05:46:11 2024-06-26 05:46:10,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:11 2024-06-26 05:46:10,967 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:11 2024-06-26 05:46:10,968 [execute] INFO git cat-file --batch-check 05:46:11 2024-06-26 05:46:10,969 [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:11 2024-06-26 05:46:10,974 [execute] INFO git cat-file --batch 05:46:11 2024-06-26 05:46:10,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:11 2024-06-26 05:46:10,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:11 3.2.0-dev.15 [Pipeline] } 05:46:11 $ docker exec --env ******** --env ******** b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 ssh-agent -k 05:46:11 unset SSH_AUTH_SOCK; 05:46:11 unset SSH_AGENT_PID; 05:46:11 echo Agent pid 38 killed; 05:46:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:11 + git semver [Pipeline] } 05:46:11 $ docker stop --time=1 b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 05:46:13 $ docker rm -f --volumes b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:13 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:14 $ docker top f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:14 [ssh-agent] Looking for ssh-agent implementation... 05:46:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:14 $ docker exec f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb ssh-agent 05:46:14 SSH_AUTH_SOCK=/tmp/ssh-GQUZo8SiEblI/agent.32 05:46:14 SSH_AGENT_PID=38 05:46:14 Running ssh-add (command line suppressed) 05:46:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1615616294397672995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1615616294397672995.key) 05:46:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:14 + git semver push 05:46:15 2024-06-26 05:46:15,232 [run_push] DEBUG push 05:46:15 2024-06-26 05:46:15,233 [execute] INFO git cat-file --batch-check 05:46:15 2024-06-26 05:46:15,233 [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:15 2024-06-26 05:46:15,238 [execute] INFO git rev-list b85b259e2389fa45951b79511feb9abe2602d879 -- 05:46:15 2024-06-26 05:46:15,238 [execute] DEBUG Popen(['git', 'rev-list', 'b85b259e2389fa45951b79511feb9abe2602d879', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:46:15 2024-06-26 05:46:15,252 [execute] INFO git fetch -v origin 05:46:15 2024-06-26 05:46:15,252 [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:15 2024-06-26 05:46:15,708 [run_push] DEBUG no remote changes detected 05:46:15 2024-06-26 05:46:15,708 [execute] INFO git push origin semver 05:46:15 2024-06-26 05:46:15,709 [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:16 2024-06-26 05:46:16,447 [run_push] DEBUG push all version tags 05:46:16 2024-06-26 05:46:16,447 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:46:16 2024-06-26 05:46:16,448 [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:17 2024-06-26 05:46:17,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:46:17 3.2.0-dev.15 [Pipeline] } 05:46:17 $ docker exec --env ******** --env ******** f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb ssh-agent -k 05:46:17 unset SSH_AUTH_SOCK; 05:46:17 unset SSH_AGENT_PID; 05:46:17 echo Agent pid 38 killed; 05:46:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:17 + git semver [Pipeline] } 05:46:18 $ docker stop --time=1 f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb 05:46:19 $ docker rm -f --volumes f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb [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:20 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 05:46:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:20 total 16 05:46:20 drwxr-xr-x 3 root root 4096 Jun 26 05:30 . 05:46:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 05:46 .. 05:46:20 drwxr-xr-x 2 root root 4096 Jun 26 05:30 cost 05:46:20 -rw-r--r-- 1 root root 86 Jun 26 05:30 cost.csv 05:46:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:46:20 total 16 05:46:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 05:30 . 05:46:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 05:46 .. 05:46:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 05:30 cost 05:46:20 -rw-r--r-- 1 jenkins jenkins 86 Jun 26 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:46:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:21 ---> package-listing.sh 05:46:21 ++ facter osfamily 05:46:21 ++ tr '[:upper:]' '[:lower:]' 05:46:21 + OS_FAMILY=debian 05:46:21 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:46:21 + START_PACKAGES=/tmp/packages_start.txt 05:46:21 + END_PACKAGES=/tmp/packages_end.txt 05:46:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:21 + PACKAGES=/tmp/packages_start.txt 05:46:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:46:21 + PACKAGES=/tmp/packages_end.txt 05:46:21 + case "${OS_FAMILY}" in 05:46:21 + dpkg -l 05:46:21 + grep '^ii' 05:46:21 + '[' -f /tmp/packages_start.txt ']' 05:46:21 + '[' -f /tmp/packages_end.txt ']' 05:46:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:46:21 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:46:21 + 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:21 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:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:22 prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container 05:46:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:46:22 $ docker top ffaa19728441390990406ce339560041e04a8637f97e33b90423c59cfe28addb -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:22 + touch /tmp/pre-build-complete [Pipeline] sh 05:46:23 + mkdir -p /var/log/sysstat [Pipeline] sh 05:46:23 + ls /var/log/sa-host 05:46:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:23 provisioning config files... 05:46:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13543723231252268697tmp [Pipeline] { [Pipeline] echo 05:46:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:23 ---> create-netrc.sh [Pipeline] } 05:46:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:46:24 ---> python-tools-install.sh [Pipeline] echo 05:46:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:46:24 ---> sudo-logs.sh 05:46:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:46:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:46:24 ---> job-cost.sh 05:46:24 lf-activate-venv: SKIPPING 05:46:24 DEBUG: total: 0.2199999988079071 05:46:24 INFO: Retrieving Stack Cost... 05:46:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:25 INFO: Archiving Costs [Pipeline] echo 05:46:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:25 ---> logs-deploy.sh 05:46:25 lf-activate-venv: SKIPPING 05:46:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/166 05:46:25 INFO: archiving workspace using pattern(s): 05:46:26 Archives upload complete. 05:46:26 INFO: archiving logs to Nexus