Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f8749581d9de8ec9f8c1a4606090d5570a6645d2 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-ssh4584918762088102858.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-ssh7945237980498160424.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-uart/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-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5064988438706687184.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-ssh6718172065409159673.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-uart/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-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5910669365507311566.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-uart, buildSnap:false] ========================================================= [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-uart-settings PROJECT: device-uart 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-uart 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 ‘prd-ubuntu20.04-docker-8c-8g-4992’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4993 in /w/workspace/edgexfoundry_device-uart_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-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.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-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f8749581d9de8ec9f8c1a4606090d5570a6645d2 (main) Commit message: "Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > git config core.sparsecheckout # timeout=10 > git checkout -f f8749581d9de8ec9f8c1a4606090d5570a6645d2 # timeout=10 > git rev-list --no-walk 3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:27:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:27:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:27:59 ========================================================= 05:27:59 EdgeX Global Pipelines Version Info 05:27:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:28:00 ------------------- 05:28:00 stable info: 05:28:00 ------------------- 05:28:00 Commited By: Ginny Guan ginny@iotechsys.com 05:28:00 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:28:00 Message: update stable to v1.0.260 05:28:00 ------------------- 05:28:00 experimental info: 05:28:00 ------------------- 05:28:00 Commited By: Ginny Guan ginny@iotechsys.com 05:28:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:28:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:28:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f874958 [Pipeline] echo 05:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:01 provisioning config files... 05:28:01 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5673472110060679174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:02 ---> ****-login.sh 05:28:02 nexus3.edgexfoundry.org:10001 05:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:02 Configure a credential helper to remove this warning. See 05:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:02 05:28:02 Login Succeeded 05:28:02 nexus3.edgexfoundry.org:10002 05:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:02 Configure a credential helper to remove this warning. See 05:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:02 05:28:02 Login Succeeded 05:28:02 nexus3.edgexfoundry.org:10003 05:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:02 Configure a credential helper to remove this warning. See 05:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:02 05:28:02 Login Succeeded 05:28:02 nexus3.edgexfoundry.org:10004 05:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:02 Configure a credential helper to remove this warning. See 05:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:02 05:28:02 Login Succeeded 05:28:02 ****.io 05:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:03 Configure a credential helper to remove this warning. See 05:28:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:03 05:28:03 Login Succeeded 05:28:03 ---> ****-login.sh ends [Pipeline] } 05:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:28:03 + git rev-list -1 --merges f8749581d9de8ec9f8c1a4606090d5570a6645d2~1..f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] echo 05:28:03 -----------> git rev-list -1 --merges f8749581d9de8ec9f8c1a4606090d5570a6645d2~1..f8749581d9de8ec9f8c1a4606090d5570a6645d2 f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:28:03 f8749581d9de8ec9f8c1a4606090d5570a6645d2 [false] [Pipeline] sh 05:28:03 + git log --format=format:%s -1 f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] echo 05:28:03 ========================================================= 05:28:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:28:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:04 + git log --format=format:%s -1 f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] echo 05:28:04 [semverPrep] GIT_COMMIT: f8749581d9de8ec9f8c1a4606090d5570a6645d2, Commit Message: Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 05:28:04 [semverPrep] This is not a build commit. [Pipeline] sh 05:28:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:04 + grep -v github /etc/ssh/ssh_known_hosts 05:28:04 + [ -e /tmp/ssh_known_hosts ] 05:28:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:28:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:28:04 + sudo tee -a /etc/ssh/ssh_known_hosts 05:28:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:04 05:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:05 0.1.4: Pulling from edgex-devops/py-git-semver 05:28:05 b85a868b505f: Pulling fs layer 05:28:05 e2be974225ed: Pulling fs layer 05:28:05 339a4e72a1f5: Pulling fs layer 05:28:05 988bab9f4d93: Pulling fs layer 05:28:05 1469e6f7b9e6: Pulling fs layer 05:28:05 eaf3925da568: Pulling fs layer 05:28:05 bab4dde63d76: Pulling fs layer 05:28:05 bde34c3a00c8: Pulling fs layer 05:28:05 988bab9f4d93: Waiting 05:28:05 b352a97aabf1: Pulling fs layer 05:28:05 4872d77fe225: Pulling fs layer 05:28:05 5851b861e8e6: Pulling fs layer 05:28:05 eaf3925da568: Waiting 05:28:05 bab4dde63d76: Waiting 05:28:05 4872d77fe225: Waiting 05:28:05 5851b861e8e6: Waiting 05:28:05 b352a97aabf1: Waiting 05:28:05 1469e6f7b9e6: Waiting 05:28:05 bde34c3a00c8: Waiting 05:28:05 e2be974225ed: Verifying Checksum 05:28:05 e2be974225ed: Download complete 05:28:05 988bab9f4d93: Verifying Checksum 05:28:05 988bab9f4d93: Download complete 05:28:05 1469e6f7b9e6: Verifying Checksum 05:28:05 1469e6f7b9e6: Download complete 05:28:05 eaf3925da568: Download complete 05:28:05 339a4e72a1f5: Verifying Checksum 05:28:05 339a4e72a1f5: Download complete 05:28:05 bde34c3a00c8: Download complete 05:28:05 b352a97aabf1: Verifying Checksum 05:28:05 b352a97aabf1: Download complete 05:28:05 4872d77fe225: Download complete 05:28:05 b85a868b505f: Verifying Checksum 05:28:05 b85a868b505f: Download complete 05:28:05 5851b861e8e6: Verifying Checksum 05:28:05 5851b861e8e6: Download complete 05:28:05 bab4dde63d76: Verifying Checksum 05:28:05 bab4dde63d76: Download complete 05:28:06 b85a868b505f: Pull complete 05:28:06 e2be974225ed: Pull complete 05:28:07 339a4e72a1f5: Pull complete 05:28:07 988bab9f4d93: Pull complete 05:28:07 1469e6f7b9e6: Pull complete 05:28:07 eaf3925da568: Pull complete 05:28:09 bab4dde63d76: Pull complete 05:28:09 bde34c3a00c8: Pull complete 05:28:09 b352a97aabf1: Pull complete 05:28:09 4872d77fe225: Pull complete 05:28:09 5851b861e8e6: Pull complete 05:28:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:10 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:28:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:13 $ docker top 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e -eo pid,comm 05:28:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:28:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:13 [ssh-agent] Looking for ssh-agent implementation... 05:28:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:13 $ docker exec 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e ssh-agent 05:28:13 SSH_AUTH_SOCK=/tmp/ssh-2XDgUBukDevq/agent.32 05:28:13 SSH_AGENT_PID=38 05:28:13 Running ssh-add (command line suppressed) 05:28:13 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_987303941659393852.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_987303941659393852.key) 05:28:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:14 + git tag --points-at HEAD [Pipeline] } 05:28:14 $ docker exec --env ******** --env ******** 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e ssh-agent -k 05:28:14 unset SSH_AUTH_SOCK; 05:28:14 unset SSH_AGENT_PID; 05:28:14 echo Agent pid 38 killed; 05:28:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:28:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:14 [ssh-agent] Looking for ssh-agent implementation... 05:28:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:14 $ docker exec 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e ssh-agent 05:28:14 SSH_AUTH_SOCK=/tmp/ssh-oW09RMT4eb2B/agent.72 05:28:14 SSH_AGENT_PID=78 05:28:14 Running ssh-add (command line suppressed) 05:28:14 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16841355986572205614.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16841355986572205614.key) 05:28:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:14 + git semver init 05:28:15 2024-07-04 05:28:15,036 [run_init] DEBUG init version:0.0.0 force:False 05:28:15 2024-07-04 05:28:15,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 05:28:15 2024-07-04 05:28:15,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 05:28:15 2024-07-04 05:28:15,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 05:28:16 2024-07-04 05:28:16,456 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 05:28:16 2024-07-04 05:28:16,457 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 05:28:16 2024-07-04 05:28:16,457 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:28:16 2024-07-04 05:28:16,457 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:28:16 3.0.1-dev.24 [Pipeline] } 05:28:16 $ docker exec --env ******** --env ******** 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e ssh-agent -k 05:28:16 unset SSH_AUTH_SOCK; 05:28:16 unset SSH_AGENT_PID; 05:28:16 echo Agent pid 78 killed; 05:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:16 + git semver [Pipeline] } 05:28:17 $ docker stop --time=1 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e 05:28:18 $ docker rm -f --volumes 89c7a1658f82a1ebc2eae6f684960b21fd09dd6e7c8d6f8ced8195f8c36a584e [Pipeline] // withDockerContainer [Pipeline] sh 05:28:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:28:19 Stashed 1 file(s) [Pipeline] echo 05:28:19 [edgeXSemver]: initialized semver on version 3.0.1-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:19 provisioning config files... 05:28:19 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13077621236160871746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:19 ---> ****-login.sh 05:28:19 nexus3.edgexfoundry.org:10001 05:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:19 Configure a credential helper to remove this warning. See 05:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:19 05:28:19 Login Succeeded 05:28:19 nexus3.edgexfoundry.org:10002 05:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:19 Configure a credential helper to remove this warning. See 05:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:19 05:28:19 Login Succeeded 05:28:19 nexus3.edgexfoundry.org:10003 05:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:19 Configure a credential helper to remove this warning. See 05:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:19 05:28:19 Login Succeeded 05:28:19 nexus3.edgexfoundry.org:10004 05:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:19 Configure a credential helper to remove this warning. See 05:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:19 05:28:19 Login Succeeded 05:28:19 ****.io 05:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:28:20 Configure a credential helper to remove this warning. See 05:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:28:20 05:28:20 Login Succeeded 05:28:20 ---> ****-login.sh ends [Pipeline] } 05:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:28:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:28:20 ========================================================= 05:28:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:28:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:28:20 Sending build context to Docker daemon 29.06MB 05:28:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:28:20 Step 2/12 : FROM ${BASE} AS builder 05:28:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:28:20 619be1103602: Pulling fs layer 05:28:20 7862e08f4a3e: Pulling fs layer 05:28:20 5df492c9dc93: Pulling fs layer 05:28:20 7629e6793208: Pulling fs layer 05:28:20 4f4fb700ef54: Pulling fs layer 05:28:20 fb5054dd5b73: Pulling fs layer 05:28:20 eeca6798cff9: Pulling fs layer 05:28:20 aa269ceb94a6: Pulling fs layer 05:28:20 ada007ff1a6a: Pulling fs layer 05:28:20 fb5054dd5b73: Waiting 05:28:20 aa269ceb94a6: Waiting 05:28:20 7629e6793208: Waiting 05:28:20 4f4fb700ef54: Waiting 05:28:20 eeca6798cff9: Waiting 05:28:20 ada007ff1a6a: Waiting 05:28:20 7862e08f4a3e: Download complete 05:28:20 7629e6793208: Download complete 05:28:20 4f4fb700ef54: Verifying Checksum 05:28:20 4f4fb700ef54: Download complete 05:28:20 fb5054dd5b73: Download complete 05:28:20 619be1103602: Verifying Checksum 05:28:20 619be1103602: Download complete 05:28:20 eeca6798cff9: Verifying Checksum 05:28:20 eeca6798cff9: Download complete 05:28:21 619be1103602: Pull complete 05:28:21 ada007ff1a6a: Verifying Checksum 05:28:21 ada007ff1a6a: Download complete 05:28:21 7862e08f4a3e: Pull complete 05:28:21 5df492c9dc93: Verifying Checksum 05:28:21 5df492c9dc93: Download complete 05:28:21 aa269ceb94a6: Verifying Checksum 05:28:21 aa269ceb94a6: Download complete 05:28:24 5df492c9dc93: Pull complete 05:28:24 7629e6793208: Pull complete 05:28:24 4f4fb700ef54: Pull complete 05:28:24 fb5054dd5b73: Pull complete 05:28:24 eeca6798cff9: Pull complete 05:28:26 aa269ceb94a6: Pull complete 05:28:27 ada007ff1a6a: Pull complete 05:28:27 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:28:27 ---> f489d0715acc 05:28:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:28:34 ---> Running in 58a23a1f00eb 05:28:34 Removing intermediate container 58a23a1f00eb 05:28:34 ---> e8fff33ea5e5 05:28:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:28:34 ---> Running in d51e5302b55e 05:28:34 Removing intermediate container d51e5302b55e 05:28:34 ---> 998026cb0d70 05:28:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:28:34 ---> Running in ac11580f4810 05:28:34 Removing intermediate container ac11580f4810 05:28:34 ---> 3de0728f56e0 05:28:34 Step 6/12 : WORKDIR /device-uart 05:28:34 ---> Running in 48379b937baa 05:28:34 Removing intermediate container 48379b937baa 05:28:34 ---> 51a926a62cb9 05:28:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:28:34 ---> Running in 095f890cf726 05:28:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:28:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:28:34 Still waiting to schedule task 05:28:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4994’ 05:28:34 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:28:34 (2/4) Installing libedit (20221030.3.1-r1) 05:28:34 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:28:34 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:28:34 Executing busybox-1.36.1-r5.trigger 05:28:34 OK: 268 MiB in 56 packages 05:28:34 Removing intermediate container 095f890cf726 05:28:34 ---> e5022c0ca46c 05:28:34 Step 8/12 : COPY go.mod vendor* ./ 05:28:34 ---> f37177bb2df0 05:28:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:34 ---> Running in c90098740bd3 05:29:31 Removing intermediate container c90098740bd3 05:29:31 ---> ddeb5fbd0892 05:29:31 Step 10/12 : COPY . . 05:29:31 ---> e0e3aadaeefd 05:29:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:31 ---> Running in fe15140395a9 05:29:31 Removing intermediate container fe15140395a9 05:29:31 ---> 7b46270039c0 05:29:31 Step 12/12 : RUN ${MAKE} 05:29:31 ---> Running in b28a43e50e62 05:29:31 noop 05:29:31 Removing intermediate container b28a43e50e62 05:29:31 ---> 5b61049ac88c 05:29:31 Successfully built 5b61049ac88c 05:29:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:31 + docker inspect -f . ci-base-image-x86_64 05:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:31 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:29:31 $ docker top db308b88621faac86822a9a0189a535bb3a60eee3b92e72983a7c06b290634e3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:32 + go version 05:29:32 go version go1.21.9 linux/amd64 [Pipeline] } 05:29:32 $ docker stop --time=1 db308b88621faac86822a9a0189a535bb3a60eee3b92e72983a7c06b290634e3 05:29:33 $ docker rm -f --volumes db308b88621faac86822a9a0189a535bb3a60eee3b92e72983a7c06b290634e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:33 + docker inspect -f . ci-base-image-x86_64 05:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:34 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:29:34 $ 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-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:29:34 $ docker top 1c0478f8a5fe0d395795abb0866cba5ea19bc7a640893de791c7f95f1b2ec458 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 05:29:35 + make test 05:29:35 go test ./... -coverprofile=coverage.out 05:29:36 ? github.com/edgexfoundry/device-uart [no test files] 05:29:54 ? github.com/edgexfoundry/device-uart/cmd [no test files] 05:29:54 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 05:30:01 go vet ./... 05:30:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:30:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:30:06 ./bin/test-attribution-txt.sh 05:30:06 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:30:06 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:30:06 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:30:06 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:30:06 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:30:06 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:30:06 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:30:06 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:30:06 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:30:06 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:30:06 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:30:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:30:06 $ docker stop --time=1 1c0478f8a5fe0d395795abb0866cba5ea19bc7a640893de791c7f95f1b2ec458 05:30:11 $ docker rm -f --volumes 1c0478f8a5fe0d395795abb0866cba5ea19bc7a640893de791c7f95f1b2ec458 [Pipeline] // withDockerContainer [Pipeline] sh 05:30:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:30:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:30:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:30:12 + ls -al . 05:30:12 total 224 05:30:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:29 . 05:30:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:27 .. 05:30:12 -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:27 .dockerignore 05:30:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:29 .git 05:30:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:27 .github 05:30:12 -rw-rw-r-- 1 jenkins jenkins 343 Jul 4 05:27 .gitignore 05:30:12 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:27 .golangci.yml 05:30:12 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:28 .semver 05:30:12 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 4 05:27 Attribution.txt 05:30:12 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 4 05:27 CHANGELOG.md 05:30:12 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 4 05:27 Dockerfile 05:30:12 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:27 GOVERNANCE.md 05:30:12 -rw-rw-r-- 1 jenkins jenkins 675 Jul 4 05:27 Jenkinsfile 05:30:12 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:27 LICENSE 05:30:12 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 4 05:27 Makefile 05:30:12 -rw-rw-r-- 1 jenkins jenkins 617 Jul 4 05:27 OWNERS.md 05:30:12 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 4 05:27 README.md 05:30:12 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION 05:30:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:27 bin 05:30:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:27 cmd 05:30:12 -rw-r--r-- 1 jenkins jenkins 10 Jul 4 05:29 coverage.out 05:30:12 -rw-rw-r-- 1 jenkins jenkins 7021 Jul 4 05:27 go.mod 05:30:12 -rw-rw-r-- 1 jenkins jenkins 102170 Jul 4 05:27 go.sum 05:30:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:27 internal 05:30:12 -rw-rw-r-- 1 jenkins jenkins 209 Jul 4 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:12 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f8749581d9de8ec9f8c1a4606090d5570a6645d2 --label arch=amd64 --label version=3.0.1-dev.24 . 05:30:12 Sending build context to Docker daemon 29.06MB 05:30:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:30:12 Step 2/26 : FROM ${BASE} AS builder 05:30:12 ---> 5b61049ac88c 05:30:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:30:13 ---> Running in b9276fe2e58b 05:30:13 Removing intermediate container b9276fe2e58b 05:30:13 ---> e3dc26d22ce7 05:30:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:30:13 ---> Running in 47db28f58611 05:30:13 Removing intermediate container 47db28f58611 05:30:13 ---> ca6a8759add0 05:30:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:30:13 ---> Running in d28a405e8cef 05:30:13 Removing intermediate container d28a405e8cef 05:30:13 ---> 86395f56c250 05:30:13 Step 6/26 : WORKDIR /device-uart 05:30:13 ---> Running in be6f05f59679 05:30:13 Removing intermediate container be6f05f59679 05:30:13 ---> 1bb5288f7a22 05:30:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:30:13 ---> Running in 84ca0481ba15 05:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:14 OK: 268 MiB in 56 packages 05:30:14 Removing intermediate container 84ca0481ba15 05:30:14 ---> 1292048b8b4b 05:30:14 Step 8/26 : COPY go.mod vendor* ./ 05:30:14 ---> 907cc79f414b 05:30:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:30:14 ---> Running in d94299aae28e 05:30:15 Removing intermediate container d94299aae28e 05:30:15 ---> 51aa5dd8b92c 05:30:15 Step 10/26 : COPY . . 05:30:16 ---> 4e891fb6f554 05:30:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:30:16 ---> Running in 1ad3ff74a5f3 05:30:16 Removing intermediate container 1ad3ff74a5f3 05:30:16 ---> 80513c959130 05:30:16 Step 12/26 : RUN ${MAKE} 05:30:16 ---> Running in 5dae18ab1c41 05:30:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-uart ./cmd 05:30:48 Removing intermediate container 5dae18ab1c41 05:30:48 ---> 9cb955814716 05:30:48 Step 13/26 : FROM alpine:3.18 05:30:48 3.18: Pulling from library/alpine 05:30:48 73baa7ef167e: Pulling fs layer 05:30:48 73baa7ef167e: Verifying Checksum 05:30:48 73baa7ef167e: Download complete 05:30:48 73baa7ef167e: Pull complete 05:30:48 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:30:48 Status: Downloaded newer image for alpine:3.18 05:30:48 ---> 8fd7cac70a4a 05:30:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 05:30:48 ---> Running in 9c2e7f023f75 05:30:48 Removing intermediate container 9c2e7f023f75 05:30:48 ---> b8bd8506a658 05:30:48 Step 15/26 : RUN apk add --update --no-cache dumb-init 05:30:49 ---> Running in 1ca28a841d91 05:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:49 (1/1) Installing dumb-init (1.2.5-r2) 05:30:49 Executing busybox-1.36.1-r7.trigger 05:30:49 OK: 7 MiB in 16 packages 05:30:49 Removing intermediate container 1ca28a841d91 05:30:49 ---> fb50730b1216 05:30:49 Step 16/26 : RUN apk --no-cache upgrade 05:30:50 ---> Running in 82a3f687ba03 05:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:50 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:30:50 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:30:50 OK: 7 MiB in 16 packages 05:30:50 Removing intermediate container 82a3f687ba03 05:30:50 ---> f078db39d199 05:30:50 Step 17/26 : WORKDIR / 05:30:50 ---> Running in d1251a87e520 05:30:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4997 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 05:30:51 Running in /w/workspace/device-uart/31 [Pipeline] { [Pipeline] checkout 05:30:51 Removing intermediate container d1251a87e520 05:30:51 ---> fdd25e16cf88 05:30:51 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 05:30:51 ---> f4b0f5c19191 05:30:51 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 05:30:51 ---> 83f45ffad253 05:30:51 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 05:30:52 ---> 0dde992ee20a 05:30:52 Step 21/26 : EXPOSE 59995 05:30:52 ---> Running in da6af64cdd14 05:30:52 Removing intermediate container da6af64cdd14 05:30:52 ---> 78ae72b6c9f8 05:30:52 Step 22/26 : ENTRYPOINT ["/device-uart"] 05:30:52 ---> Running in 269ecf315f7b 05:30:52 Removing intermediate container 269ecf315f7b 05:30:52 ---> e24c78822fd1 05:30:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:30:53 ---> Running in ad61ac511dd2 05:30:53 Removing intermediate container ad61ac511dd2 05:30:53 ---> 7ad3444e48ad 05:30:53 Step 24/26 : LABEL arch=amd64 05:30:53 ---> Running in 162b680a0076 05:30:53 Removing intermediate container 162b680a0076 05:30:53 ---> 11ae741e3517 05:30:53 Step 25/26 : LABEL git_sha=f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:30:53 ---> Running in 491b0b813d10 05:30:53 Removing intermediate container 491b0b813d10 05:30:53 ---> 379011171c7c 05:30:53 Step 26/26 : LABEL version=3.0.1-dev.24 05:30:53 ---> Running in 77797dba49a3 05:30:53 Removing intermediate container 77797dba49a3 05:30:53 ---> 5b58416b07e4 05:30:53 [Warning] One or more build-args [ARCH] were not consumed 05:30:53 Successfully built 5b58416b07e4 05:30:53 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv 05:30:54 The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:54 provisioning config files... 05:30:54 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config277330358567586784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:54 ---> ****-login.sh 05:30:54 nexus3.edgexfoundry.org:10001 05:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:54 Configure a credential helper to remove this warning. See 05:30:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:54 05:30:54 Login Succeeded 05:30:54 nexus3.edgexfoundry.org:10002 05:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:54 Configure a credential helper to remove this warning. See 05:30:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:54 05:30:54 Login Succeeded 05:30:54 nexus3.edgexfoundry.org:10003 05:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:54 Configure a credential helper to remove this warning. See 05:30:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:54 05:30:54 Login Succeeded 05:30:54 nexus3.edgexfoundry.org:10004 05:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:54 Configure a credential helper to remove this warning. See 05:30:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:54 05:30:54 Login Succeeded 05:30:54 ****.io 05:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:30:55 Configure a credential helper to remove this warning. See 05:30:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:30:55 05:30:55 Login Succeeded 05:30:55 ---> ****-login.sh ends [Pipeline] } 05:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:30:55 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 05:30:55 f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:30:55 latest 05:30:55 3.0.1-dev.24 05:30:55 f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:30:55 main 05:30:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:55 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:55 + docker push nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:30:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 05:30:55 1a91e908f9b7: Preparing 05:30:55 276eef50b213: Preparing 05:30:55 82ea11307a1c: Preparing 05:30:55 911fe7b53019: Preparing 05:30:55 3cf6a3a3f004: Preparing 05:30:55 63ec0bd56cf3: Preparing 05:30:55 63ec0bd56cf3: Waiting 05:30:55 276eef50b213: Pushed 05:30:55 3cf6a3a3f004: Pushed 05:30:55 63ec0bd56cf3: Layer already exists 05:30:55 82ea11307a1c: Pushed 05:30:56 911fe7b53019: Pushed 05:30:59 1a91e908f9b7: Pushed 05:30:59 f8749581d9de8ec9f8c1a4606090d5570a6645d2: digest: sha256:144c29f1921e88297a41d461d4c2de86dc9e3be2c573ad36b0f04d70e1f4fcbe size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:00 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 05:31:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 05:31:00 1a91e908f9b7: Preparing 05:31:00 276eef50b213: Preparing 05:31:00 82ea11307a1c: Preparing 05:31:00 911fe7b53019: Preparing 05:31:00 3cf6a3a3f004: Preparing 05:31:00 63ec0bd56cf3: Preparing 05:31:00 63ec0bd56cf3: Waiting 05:31:00 911fe7b53019: Layer already exists 05:31:00 276eef50b213: Layer already exists 05:31:00 1a91e908f9b7: Layer already exists 05:31:00 3cf6a3a3f004: Layer already exists 05:31:00 82ea11307a1c: Layer already exists 05:31:00 63ec0bd56cf3: Layer already exists 05:31:00 latest: digest: sha256:144c29f1921e88297a41d461d4c2de86dc9e3be2c573ad36b0f04d70e1f4fcbe size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.24 05:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 05:31:01 1a91e908f9b7: Preparing 05:31:01 276eef50b213: Preparing 05:31:01 82ea11307a1c: Preparing 05:31:01 911fe7b53019: Preparing 05:31:01 3cf6a3a3f004: Preparing 05:31:01 63ec0bd56cf3: Preparing 05:31:01 63ec0bd56cf3: Waiting 05:31:01 276eef50b213: Layer already exists 05:31:01 1a91e908f9b7: Layer already exists 05:31:01 3cf6a3a3f004: Layer already exists 05:31:01 911fe7b53019: Layer already exists 05:31:01 82ea11307a1c: Layer already exists 05:31:01 63ec0bd56cf3: Layer already exists 05:31:01 3.0.1-dev.24: digest: sha256:144c29f1921e88297a41d461d4c2de86dc9e3be2c573ad36b0f04d70e1f4fcbe size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:01 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 05:31:01 1a91e908f9b7: Preparing 05:31:01 276eef50b213: Preparing 05:31:01 82ea11307a1c: Preparing 05:31:01 911fe7b53019: Preparing 05:31:01 3cf6a3a3f004: Preparing 05:31:01 63ec0bd56cf3: Preparing 05:31:01 82ea11307a1c: Layer already exists 05:31:01 276eef50b213: Layer already exists 05:31:01 911fe7b53019: Layer already exists 05:31:01 3cf6a3a3f004: Layer already exists 05:31:01 1a91e908f9b7: Layer already exists 05:31:01 63ec0bd56cf3: Layer already exists 05:31:01 f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24: digest: sha256:144c29f1921e88297a41d461d4c2de86dc9e3be2c573ad36b0f04d70e1f4fcbe size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:02 using credential edgex-jenkins-ssh 05:31:02 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv 05:31:02 Cloning the remote Git repository [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 05:31:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 05:31:02 1a91e908f9b7: Preparing 05:31:02 276eef50b213: Preparing 05:31:02 82ea11307a1c: Preparing 05:31:02 911fe7b53019: Preparing 05:31:02 3cf6a3a3f004: Preparing 05:31:02 63ec0bd56cf3: Preparing 05:31:02 63ec0bd56cf3: Waiting 05:31:02 82ea11307a1c: Layer already exists 05:31:02 911fe7b53019: Layer already exists 05:31:02 276eef50b213: Layer already exists 05:31:02 3cf6a3a3f004: Layer already exists 05:31:02 1a91e908f9b7: Layer already exists 05:31:02 63ec0bd56cf3: Layer already exists 05:31:02 main: digest: sha256:144c29f1921e88297a41d461d4c2de86dc9e3be2c573ad36b0f04d70e1f4fcbe size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:31:02 ===================================================== [Pipeline] echo 05:31:02 taggedImages: 05:31:02 - nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:31:02 - nexus3.edgexfoundry.org:10004/device-uart:latest 05:31:02 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.24 05:31:02 - nexus3.edgexfoundry.org:10004/device-uart:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:31:02 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:03 05:31:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:03 latest: Pulling from edgex-lftools-log-publisher 05:31:03 5eb5b503b376: Pulling fs layer 05:31:03 5c69ac0246d0: Pulling fs layer 05:31:03 ec43610c2a17: Pulling fs layer 05:31:03 3a2ae6a8a46f: Pulling fs layer 05:31:03 33b1e0a273af: Pulling fs layer 05:31:03 5d3b04190fa2: Pulling fs layer 05:31:03 2f39f015ded8: Pulling fs layer 05:31:03 3a2ae6a8a46f: Waiting 05:31:03 33b1e0a273af: Waiting 05:31:03 5d3b04190fa2: Waiting 05:31:03 2f39f015ded8: Waiting 05:31:03 5c69ac0246d0: Download complete 05:31:03 3a2ae6a8a46f: Verifying Checksum 05:31:03 3a2ae6a8a46f: Download complete 05:31:03 ec43610c2a17: Verifying Checksum 05:31:03 ec43610c2a17: Download complete 05:31:03 33b1e0a273af: Verifying Checksum 05:31:03 33b1e0a273af: Download complete 05:31:03 5d3b04190fa2: Verifying Checksum 05:31:03 5d3b04190fa2: Download complete 05:31:02 Cloning repository git@github.com:edgexfoundry/device-uart.git 05:31:02 > git init /w/workspace/device-uart/31 # timeout=10 05:31:02 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 05:31:02 > git --version # timeout=10 05:31:02 > git --version # 'git version 2.25.1' 05:31:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:03 5eb5b503b376: Download complete 05:31:04 2f39f015ded8: Verifying Checksum 05:31:04 2f39f015ded8: Download complete 05:31:04 5eb5b503b376: Pull complete 05:31:05 5c69ac0246d0: Pull complete 05:31:05 ec43610c2a17: Pull complete 05:31:05 3a2ae6a8a46f: Pull complete 05:31:05 33b1e0a273af: Pull complete 05:31:05 5d3b04190fa2: Pull complete 05:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 05:31:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:06 Avoid second fetch 05:31:06 Checking out Revision f8749581d9de8ec9f8c1a4606090d5570a6645d2 (main) 05:31:07 Commit message: "Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" 05:31:06 > git config core.sparsecheckout # timeout=10 05:31:06 > git checkout -f f8749581d9de8ec9f8c1a4606090d5570a6645d2 # timeout=10 05:31:09 2f39f015ded8: Pull complete 05:31:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:10 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:31:10 $ 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-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:31:11 05:31:11 GitHub has been notified of this commit’s build result 05:31:11 05:31:14 $ docker top cb9e21237a057f883becc155e1ca9a484bd01d54aa3782c2410b33c6f14227f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:14 ---> job-cost.sh 05:31:14 lf-activate-venv: SKIPPING 05:31:14 INFO: No Stack... 05:31:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:31:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:14 Dload Upload Total Spent Left Speed 05:31:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 05:31:15 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 05:31:15 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 05:31:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:31:15 + sudo tee /etc/docker/daemon.new 05:31:15 { 05:31:15 "registry-mirrors": [ 05:31:15 "https://nexus3.edgexfoundry.org:10001" 05:31:15 ], 05:31:15 "bip": "10.250.0.254/24", 05:31:15 "hosts": [ 05:31:15 "tcp://0.0.0.0:5555", 05:31:15 "unix:///var/run/docker.sock" 05:31:15 ], 05:31:15 "mtu": 1458, 05:31:15 "selinux-enabled": true, 05:31:15 "seccomp-profile": "/etc/docker/seccomp.json" 05:31:15 } [Pipeline] sh 05:31:15 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 05:31:15 + cut -d, -f6 [Pipeline] lock 05:31:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] 05:31:15 Resource [jenkins-edgexfoundry-device-uart-main-31-stack-cost] did not exist. Created. 05:31:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:31:16 + echo total: 0.2199999988079071 [Pipeline] stash 05:31:16 Stashed 1 file(s) [Pipeline] } 05:31:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:16 $ docker stop --time=1 cb9e21237a057f883becc155e1ca9a484bd01d54aa3782c2410b33c6f14227f3 05:31:16 + sudo service docker restart 05:31:17 $ docker rm -f --volumes cb9e21237a057f883becc155e1ca9a484bd01d54aa3782c2410b33c6f14227f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:34 provisioning config files... 05:31:34 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/31@tmp/config356589155837350555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:35 ---> ****-login.sh 05:31:35 nexus3.edgexfoundry.org:10001 05:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:35 Configure a credential helper to remove this warning. See 05:31:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:35 05:31:35 Login Succeeded 05:31:35 nexus3.edgexfoundry.org:10002 05:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:36 Configure a credential helper to remove this warning. See 05:31:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:36 05:31:36 Login Succeeded 05:31:36 nexus3.edgexfoundry.org:10003 05:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:36 Configure a credential helper to remove this warning. See 05:31:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:36 05:31:36 Login Succeeded 05:31:36 nexus3.edgexfoundry.org:10004 05:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:36 Configure a credential helper to remove this warning. See 05:31:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:36 05:31:36 Login Succeeded 05:31:36 ****.io 05:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 ---> ****-login.sh ends [Pipeline] } 05:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:31:37 ========================================================= 05:31:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:31:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:31:38 Sending build context to Docker daemon 14.59MB 05:31:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:31:38 Step 2/12 : FROM ${BASE} AS builder 05:31:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:31:38 c6b39de5b339: Pulling fs layer 05:31:38 a69c41024577: Pulling fs layer 05:31:38 d6de4b400683: Pulling fs layer 05:31:38 35cb2a7552d0: Pulling fs layer 05:31:38 4f4fb700ef54: Pulling fs layer 05:31:38 464afbd9ba4c: Pulling fs layer 05:31:38 00f215d4a9da: Pulling fs layer 05:31:38 d496ad576159: Pulling fs layer 05:31:38 35cb2a7552d0: Waiting 05:31:38 4f4fb700ef54: Waiting 05:31:38 464afbd9ba4c: Waiting 05:31:38 00f215d4a9da: Waiting 05:31:38 d496ad576159: Waiting 05:31:38 a69c41024577: Verifying Checksum 05:31:38 a69c41024577: Download complete 05:31:38 35cb2a7552d0: Verifying Checksum 05:31:38 35cb2a7552d0: Download complete 05:31:38 4f4fb700ef54: Verifying Checksum 05:31:38 4f4fb700ef54: Download complete 05:31:38 464afbd9ba4c: Verifying Checksum 05:31:38 464afbd9ba4c: Download complete 05:31:38 c6b39de5b339: Verifying Checksum 05:31:38 c6b39de5b339: Download complete 05:31:39 d496ad576159: Verifying Checksum 05:31:39 d496ad576159: Download complete 05:31:39 c6b39de5b339: Pull complete 05:31:40 a69c41024577: Pull complete 05:31:40 d6de4b400683: Verifying Checksum 05:31:40 d6de4b400683: Download complete 05:31:41 00f215d4a9da: Verifying Checksum 05:31:41 00f215d4a9da: Download complete 05:31:53 d6de4b400683: Pull complete 05:31:53 35cb2a7552d0: Pull complete 05:31:53 4f4fb700ef54: Pull complete 05:31:54 464afbd9ba4c: Pull complete 05:32:04 00f215d4a9da: Pull complete 05:32:04 d496ad576159: Pull complete 05:32:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:32:04 ---> f246e2811388 05:32:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:32:06 ---> Running in 07a14619bed1 05:32:07 Removing intermediate container 07a14619bed1 05:32:07 ---> 046c064b0dff 05:32:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:32:07 ---> Running in bf38e5774291 05:32:07 Removing intermediate container bf38e5774291 05:32:07 ---> d45186a97081 05:32:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:32:07 ---> Running in ace32fd53c59 05:32:07 Removing intermediate container ace32fd53c59 05:32:07 ---> 00a952542da9 05:32:07 Step 6/12 : WORKDIR /device-uart 05:32:08 ---> Running in 6424482e684d 05:32:08 Removing intermediate container 6424482e684d 05:32:08 ---> 8741c1450318 05:32:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:32:08 ---> Running in bd45c24343c3 05:32:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:32:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:32:10 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:32:10 (2/4) Installing libedit (20221030.3.1-r1) 05:32:10 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:32:11 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:32:11 Executing busybox-1.36.1-r5.trigger 05:32:11 OK: 271 MiB in 56 packages 05:32:12 Removing intermediate container bd45c24343c3 05:32:12 ---> eeec7ed5639e 05:32:12 Step 8/12 : COPY go.mod vendor* ./ 05:32:12 ---> 9261fc7877f1 05:32:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:12 ---> Running in 04b425e71b5c 05:34:19 Removing intermediate container 04b425e71b5c 05:34:19 ---> bb502ecd6378 05:34:19 Step 10/12 : COPY . . 05:34:19 ---> 2bea1adcdbc2 05:34:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:34:19 ---> Running in ae9cd6bb5fb6 05:34:19 Removing intermediate container ae9cd6bb5fb6 05:34:19 ---> 7b0a77c3133c 05:34:19 Step 12/12 : RUN ${MAKE} 05:34:19 ---> Running in 2f733734a669 05:34:19 noop 05:34:19 Removing intermediate container 2f733734a669 05:34:19 ---> eb7abfdb7c2b 05:34:19 Successfully built eb7abfdb7c2b 05:34:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:19 + docker inspect -f . ci-base-image-arm64 05:34:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:20 prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container 05:34:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/31 -v /w/workspace/device-uart/31:/w/workspace/device-uart/31:rw,z -v /w/workspace/device-uart/31@tmp:/w/workspace/device-uart/31@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:34:21 $ docker top 665d7c010cfdc5d598b35786ea63641df18ad2851de3bff1634075b8b93d5d61 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:22 + go version 05:34:22 go version go1.21.9 linux/arm64 [Pipeline] } 05:34:22 $ docker stop --time=1 665d7c010cfdc5d598b35786ea63641df18ad2851de3bff1634075b8b93d5d61 05:34:23 $ docker rm -f --volumes 665d7c010cfdc5d598b35786ea63641df18ad2851de3bff1634075b8b93d5d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:24 + docker inspect -f . ci-base-image-arm64 05:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:24 prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container 05:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/31 -v /w/workspace/device-uart/31:/w/workspace/device-uart/31:rw,z -v /w/workspace/device-uart/31@tmp:/w/workspace/device-uart/31@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:34:25 $ docker top 41face03a9686e92e0f66cb392cfa26c5ea8e95c1131035fd8dceb6ee9a5246e -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:26 + git config --global --add safe.directory /w/workspace/device-uart/31 [Pipeline] fileExists [Pipeline] sh 05:34:27 + make test 05:34:27 go test ./... -coverprofile=coverage.out 05:34:34 ? github.com/edgexfoundry/device-uart [no test files] 05:38:10 ? github.com/edgexfoundry/device-uart/cmd [no test files] 05:38:10 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 05:38:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:38:10 go vet ./... 05:38:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:38:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:38:57 ./bin/test-attribution-txt.sh 05:38:57 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:38:57 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:38:57 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:38:57 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:38:57 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:38:57 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:38:57 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:38:57 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:38:57 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:38:57 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:38:57 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:38:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:38:57 $ docker stop --time=1 41face03a9686e92e0f66cb392cfa26c5ea8e95c1131035fd8dceb6ee9a5246e 05:38:59 $ docker rm -f --volumes 41face03a9686e92e0f66cb392cfa26c5ea8e95c1131035fd8dceb6ee9a5246e [Pipeline] // withDockerContainer [Pipeline] sh 05:39:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:39:01 Warning: overwriting stash ‘coverage-report’ 05:39:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:39:02 + ls -al . 05:39:02 total 220 05:39:02 drwxrwxr-x 7 jenkins jenkins 4096 Jul 4 05:34 . 05:39:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:31 .. 05:39:02 -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:31 .dockerignore 05:39:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:31 .git 05:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:31 .github 05:39:02 -rw-rw-r-- 1 jenkins jenkins 343 Jul 4 05:31 .gitignore 05:39:02 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:31 .golangci.yml 05:39:02 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 4 05:31 Attribution.txt 05:39:02 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 4 05:31 CHANGELOG.md 05:39:02 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 4 05:31 Dockerfile 05:39:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:31 GOVERNANCE.md 05:39:02 -rw-rw-r-- 1 jenkins jenkins 675 Jul 4 05:31 Jenkinsfile 05:39:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:31 LICENSE 05:39:02 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 4 05:31 Makefile 05:39:02 -rw-rw-r-- 1 jenkins jenkins 617 Jul 4 05:31 OWNERS.md 05:39:02 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 4 05:31 README.md 05:39:02 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION 05:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:31 bin 05:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:31 cmd 05:39:02 -rw-r--r-- 1 jenkins jenkins 10 Jul 4 05:34 coverage.out 05:39:02 -rw-rw-r-- 1 jenkins jenkins 7021 Jul 4 05:31 go.mod 05:39:02 -rw-rw-r-- 1 jenkins jenkins 102170 Jul 4 05:31 go.sum 05:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:31 internal 05:39:02 -rw-rw-r-- 1 jenkins jenkins 209 Jul 4 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:02 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f8749581d9de8ec9f8c1a4606090d5570a6645d2 --label arch=arm64 --label version=3.0.1-dev.24 . 05:39:03 Sending build context to Docker daemon 14.6MB 05:39:03 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:39:03 Step 2/26 : FROM ${BASE} AS builder 05:39:03 ---> eb7abfdb7c2b 05:39:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:39:03 ---> Running in 81da8157e758 05:39:03 Removing intermediate container 81da8157e758 05:39:03 ---> dba9d805c2ad 05:39:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:39:03 ---> Running in 3aa104e2ebe9 05:39:04 Removing intermediate container 3aa104e2ebe9 05:39:04 ---> f8529f6ceb01 05:39:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:39:04 ---> Running in b89035d7a130 05:39:04 Removing intermediate container b89035d7a130 05:39:04 ---> 768348692670 05:39:04 Step 6/26 : WORKDIR /device-uart 05:39:04 ---> Running in f1ca62e7be54 05:39:05 Removing intermediate container f1ca62e7be54 05:39:05 ---> bee4429126d2 05:39:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:39:05 ---> Running in 23b70ca99c07 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:39:07 OK: 271 MiB in 56 packages 05:39:08 Removing intermediate container 23b70ca99c07 05:39:08 ---> 340ade719541 05:39:08 Step 8/26 : COPY go.mod vendor* ./ 05:39:09 ---> 230d3fa1ce87 05:39:09 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:09 ---> Running in 0ab1d3d72dc5 05:39:11 Removing intermediate container 0ab1d3d72dc5 05:39:11 ---> a3dfe3e08898 05:39:11 Step 10/26 : COPY . . 05:39:12 ---> bdc9f52492f3 05:39:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:39:12 ---> Running in fafb8e1d426d 05:39:13 Removing intermediate container fafb8e1d426d 05:39:13 ---> aa49b1db09d6 05:39:13 Step 12/26 : RUN ${MAKE} 05:39:13 ---> Running in 266715f8d57f 05:39:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-uart ./cmd 05:43:06 Removing intermediate container 266715f8d57f 05:43:06 ---> fc1194f28b95 05:43:06 Step 13/26 : FROM alpine:3.18 05:43:06 3.18: Pulling from library/alpine 05:43:06 5c905c7ebe2f: Pulling fs layer 05:43:06 5c905c7ebe2f: Download complete 05:43:06 5c905c7ebe2f: Pull complete 05:43:06 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:43:06 Status: Downloaded newer image for alpine:3.18 05:43:06 ---> dec292d02e07 05:43:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 05:43:06 ---> Running in 6f59170e9115 05:43:06 Removing intermediate container 6f59170e9115 05:43:06 ---> 08a77f62b7da 05:43:06 Step 15/26 : RUN apk add --update --no-cache dumb-init 05:43:06 ---> Running in 040220770ea1 05:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:06 (1/1) Installing dumb-init (1.2.5-r2) 05:43:06 Executing busybox-1.36.1-r7.trigger 05:43:06 OK: 8 MiB in 16 packages 05:43:06 Removing intermediate container 040220770ea1 05:43:06 ---> 81ed01300104 05:43:06 Step 16/26 : RUN apk --no-cache upgrade 05:43:06 ---> Running in 31a4a0f4cd6a 05:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:06 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:43:06 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:43:06 OK: 8 MiB in 16 packages 05:43:06 Removing intermediate container 31a4a0f4cd6a 05:43:06 ---> e4452cabb829 05:43:06 Step 17/26 : WORKDIR / 05:43:06 ---> Running in 763772c95ebe 05:43:06 Removing intermediate container 763772c95ebe 05:43:06 ---> 8aeef62fa62f 05:43:06 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 05:43:06 ---> 8ad679bd7d50 05:43:06 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 05:43:07 ---> 71f35ae4a49a 05:43:07 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 05:43:09 ---> f3f8ccf5e619 05:43:09 Step 21/26 : EXPOSE 59995 05:43:09 ---> Running in dc274dd3c5e4 05:43:09 Removing intermediate container dc274dd3c5e4 05:43:09 ---> 3df93320f7f4 05:43:09 Step 22/26 : ENTRYPOINT ["/device-uart"] 05:43:09 ---> Running in f851ab2700c0 05:43:09 Removing intermediate container f851ab2700c0 05:43:09 ---> d4f865210a3f 05:43:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:43:09 ---> Running in 81ac7095b304 05:43:10 Removing intermediate container 81ac7095b304 05:43:10 ---> b6485f87643a 05:43:10 Step 24/26 : LABEL arch=arm64 05:43:10 ---> Running in 049d01e1b9d6 05:43:10 Removing intermediate container 049d01e1b9d6 05:43:10 ---> d6fde7f2a7c4 05:43:10 Step 25/26 : LABEL git_sha=f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:43:10 ---> Running in b0e5b3d172f6 05:43:11 Removing intermediate container b0e5b3d172f6 05:43:11 ---> d781a21532e4 05:43:11 Step 26/26 : LABEL version=3.0.1-dev.24 05:43:11 ---> Running in 218c790f6430 05:43:11 Removing intermediate container 218c790f6430 05:43:11 ---> ccedc3298271 05:43:11 [Warning] One or more build-args [ARCH] were not consumed 05:43:11 Successfully built ccedc3298271 05:43:11 Successfully tagged device-uart-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:43:11 provisioning config files... 05:43:11 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/31@tmp/config9298492022982035968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:12 ---> ****-login.sh 05:43:12 nexus3.edgexfoundry.org:10001 05:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:12 Configure a credential helper to remove this warning. See 05:43:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:12 05:43:12 Login Succeeded 05:43:12 nexus3.edgexfoundry.org:10002 05:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:12 Configure a credential helper to remove this warning. See 05:43:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:12 05:43:12 Login Succeeded 05:43:12 nexus3.edgexfoundry.org:10003 05:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:12 Configure a credential helper to remove this warning. See 05:43:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:12 05:43:12 Login Succeeded 05:43:12 nexus3.edgexfoundry.org:10004 05:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:13 Configure a credential helper to remove this warning. See 05:43:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:13 05:43:13 Login Succeeded 05:43:13 ****.io 05:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:13 Configure a credential helper to remove this warning. See 05:43:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:13 05:43:13 Login Succeeded 05:43:13 ---> ****-login.sh ends [Pipeline] } 05:43:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:43:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:43:14 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 05:43:14 f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:43:14 latest 05:43:14 3.0.1-dev.24 05:43:14 f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:43:14 main 05:43:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:14 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:14 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:43:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 05:43:14 3bf65696ff24: Preparing 05:43:14 859ca2636ec9: Preparing 05:43:14 4510e5ddf3f5: Preparing 05:43:14 18b4a0934d9d: Preparing 05:43:14 2c2338068983: Preparing 05:43:14 da707bb00cb8: Preparing 05:43:14 da707bb00cb8: Waiting 05:43:15 859ca2636ec9: Pushed 05:43:15 2c2338068983: Pushed 05:43:15 4510e5ddf3f5: Pushed 05:43:15 da707bb00cb8: Layer already exists 05:43:16 18b4a0934d9d: Pushed 05:43:24 3bf65696ff24: Pushed 05:43:24 f8749581d9de8ec9f8c1a4606090d5570a6645d2: digest: sha256:35bbfbcc69482ccf88c53ce3ed7946059ad6b73b9fd60675b96d9ce8eb763d27 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:24 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 05:43:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 05:43:25 3bf65696ff24: Preparing 05:43:25 859ca2636ec9: Preparing 05:43:25 4510e5ddf3f5: Preparing 05:43:25 18b4a0934d9d: Preparing 05:43:25 2c2338068983: Preparing 05:43:25 da707bb00cb8: Preparing 05:43:25 da707bb00cb8: Waiting 05:43:25 859ca2636ec9: Layer already exists 05:43:25 3bf65696ff24: Layer already exists 05:43:25 18b4a0934d9d: Layer already exists 05:43:25 4510e5ddf3f5: Layer already exists 05:43:25 2c2338068983: Layer already exists 05:43:25 da707bb00cb8: Layer already exists 05:43:25 latest: digest: sha256:35bbfbcc69482ccf88c53ce3ed7946059ad6b73b9fd60675b96d9ce8eb763d27 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.24 05:43:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 05:43:25 3bf65696ff24: Preparing 05:43:25 859ca2636ec9: Preparing 05:43:25 4510e5ddf3f5: Preparing 05:43:25 18b4a0934d9d: Preparing 05:43:25 2c2338068983: Preparing 05:43:25 da707bb00cb8: Preparing 05:43:25 da707bb00cb8: Waiting 05:43:25 4510e5ddf3f5: Layer already exists 05:43:25 18b4a0934d9d: Layer already exists 05:43:25 2c2338068983: Layer already exists 05:43:25 3bf65696ff24: Layer already exists 05:43:25 859ca2636ec9: Layer already exists 05:43:25 da707bb00cb8: Layer already exists 05:43:25 3.0.1-dev.24: digest: sha256:35bbfbcc69482ccf88c53ce3ed7946059ad6b73b9fd60675b96d9ce8eb763d27 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:26 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:27 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:43:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 05:43:27 3bf65696ff24: Preparing 05:43:27 859ca2636ec9: Preparing 05:43:27 4510e5ddf3f5: Preparing 05:43:27 18b4a0934d9d: Preparing 05:43:27 2c2338068983: Preparing 05:43:27 da707bb00cb8: Preparing 05:43:27 da707bb00cb8: Waiting 05:43:27 18b4a0934d9d: Layer already exists 05:43:27 2c2338068983: Layer already exists 05:43:27 859ca2636ec9: Layer already exists 05:43:27 4510e5ddf3f5: Layer already exists 05:43:27 3bf65696ff24: Layer already exists 05:43:27 da707bb00cb8: Layer already exists 05:43:27 f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24: digest: sha256:35bbfbcc69482ccf88c53ce3ed7946059ad6b73b9fd60675b96d9ce8eb763d27 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:27 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:28 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 05:43:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 05:43:28 3bf65696ff24: Preparing 05:43:28 859ca2636ec9: Preparing 05:43:28 4510e5ddf3f5: Preparing 05:43:28 18b4a0934d9d: Preparing 05:43:28 2c2338068983: Preparing 05:43:28 da707bb00cb8: Preparing 05:43:28 da707bb00cb8: Waiting 05:43:28 4510e5ddf3f5: Layer already exists 05:43:28 18b4a0934d9d: Layer already exists 05:43:28 3bf65696ff24: Layer already exists 05:43:28 859ca2636ec9: Layer already exists 05:43:28 2c2338068983: Layer already exists 05:43:28 da707bb00cb8: Layer already exists 05:43:28 main: digest: sha256:35bbfbcc69482ccf88c53ce3ed7946059ad6b73b9fd60675b96d9ce8eb763d27 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:43:28 ===================================================== [Pipeline] echo 05:43:28 taggedImages: 05:43:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2 05:43:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 05:43:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.24 05:43:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f8749581d9de8ec9f8c1a4606090d5570a6645d2-3.0.1-dev.24 05:43:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:43:28 05:43:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:43:29 arm64: Pulling from edgex-lftools-log-publisher 05:43:29 8998bd30e6a1: Pulling fs layer 05:43:29 04944245beec: Pulling fs layer 05:43:29 699f458cf7ca: Pulling fs layer 05:43:29 765212b225bb: Pulling fs layer 05:43:29 f23df028b6ca: Pulling fs layer 05:43:29 d65c8cfc05b1: Pulling fs layer 05:43:29 2437ff75d9bd: Pulling fs layer 05:43:29 765212b225bb: Waiting 05:43:29 d65c8cfc05b1: Waiting 05:43:29 2437ff75d9bd: Waiting 05:43:29 f23df028b6ca: Waiting 05:43:29 04944245beec: Verifying Checksum 05:43:29 04944245beec: Download complete 05:43:29 765212b225bb: Download complete 05:43:29 f23df028b6ca: Verifying Checksum 05:43:29 f23df028b6ca: Download complete 05:43:29 d65c8cfc05b1: Verifying Checksum 05:43:29 d65c8cfc05b1: Download complete 05:43:29 699f458cf7ca: Verifying Checksum 05:43:29 699f458cf7ca: Download complete 05:43:29 8998bd30e6a1: Verifying Checksum 05:43:29 8998bd30e6a1: Download complete 05:43:32 2437ff75d9bd: Verifying Checksum 05:43:32 2437ff75d9bd: Download complete 05:43:35 8998bd30e6a1: Pull complete 05:43:35 04944245beec: Pull complete 05:43:37 699f458cf7ca: Pull complete 05:43:37 765212b225bb: Pull complete 05:43:38 f23df028b6ca: Pull complete 05:43:38 d65c8cfc05b1: Pull complete 05:43:56 2437ff75d9bd: Pull complete 05:43:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:43:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:56 prd-ubuntu20.04-docker-arm64-4c-16g-4997 does not seem to be running inside a container 05:43:56 $ 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-uart/31 -v /w/workspace/device-uart/31:/w/workspace/device-uart/31:rw,z -v /w/workspace/device-uart/31@tmp:/w/workspace/device-uart/31@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:43:59 $ docker top 06445ca2b153e93d984f93889c23cbf5fb843316fdf90aa726d88837da439d28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:00 ---> job-cost.sh 05:44:00 lf-activate-venv: SKIPPING 05:44:00 INFO: No Stack... 05:44:01 INFO: Retrieving Pricing Info for: v3-standard-4 05:44:01 INFO: Archiving Costs [Pipeline] sh 05:44:02 + cat /w/workspace/device-uart/31/archives/cost.csv 05:44:02 + cut -d, -f6 [Pipeline] lock 05:44:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] 05:44:02 Resource [jenkins-edgexfoundry-device-uart-main-31-stack-cost] did not exist. Created. 05:44:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:03 /w/workspace/device-uart/31@tmp/durable-73170bdc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:44:03 + echo total: 0.10999999940395355 [Pipeline] stash 05:44:03 Warning: overwriting stash ‘stack-cost’ 05:44:03 Stashed 1 file(s) [Pipeline] } 05:44:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:03 $ docker stop --time=1 06445ca2b153e93d984f93889c23cbf5fb843316fdf90aa726d88837da439d28 05:44:05 $ docker rm -f --volumes 06445ca2b153e93d984f93889c23cbf5fb843316fdf90aa726d88837da439d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:44:05 provisioning config files... 05:44:05 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8704372208857475435tmp [Pipeline] { [Pipeline] sh 05:44:06 + set +x 05:44:06 + curl -s https://codecov.io/bash 05:44:06 + bash -s -- 05:44:06 05:44:06 _____ _ 05:44:06 / ____| | | 05:44:06 | | ___ __| | ___ ___ _____ __ 05:44:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:44:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:44:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:44:06 Bash-1.0.6 05:44:06 05:44:06 05:44:06 ==> git version 2.25.1 found 05:44:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:44:06 Release-Date: 2020-01-08 05:44:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:44:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:44:06 ==> Jenkins CI detected. 05:44:06 current dir:  /w/workspace/edgexfoundry_device-uart_main 05:44:06 project root: . 05:44:06 --> token set from env 05:44:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:44:06 ==> Running gcov in . (disable via -X gcov) 05:44:06 ==> Python coveragepy not found 05:44:06 ==> Searching for coverage reports in: 05:44:06 + . 05:44:06 -> Found 1 reports 05:44:06 ==> Detecting git/mercurial file structure 05:44:06 ==> Reading reports 05:44:06 + ./coverage.out bytes=10 05:44:06 ==> Appending adjustments 05:44:06 https://docs.codecov.io/docs/fixing-reports 05:44:06 + Found adjustments 05:44:06 ==> Gzipping contents 05:44:06 4.0K /tmp/codecov.z1xLGb.gz 05:44:06 ==> Uploading reports 05:44:06 url: https://codecov.io 05:44:06 query: branch=main&commit=f8749581d9de8ec9f8c1a4606090d5570a6645d2&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:06 -> Pinging Codecov 05:44:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f8749581d9de8ec9f8c1a4606090d5570a6645d2&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:06 -> Uploading to 05:44:06 https://storage.googleapis.com/codecov/v4/raw/2024-07-04/B9AA6E0BBD74AE3A32605C7A7C664919/f8749581d9de8ec9f8c1a4606090d5570a6645d2/c6280934-e2ab-4d1e-8a3b-54606a9dbe64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T054406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f32f08fbf1815ddb6c9cb734c233c46af81567c4a0be05c7eebd2e6675d0b464 05:44:06 % Total % Received % Xferd Average Speed Time Time Time Current 05:44:06 Dload Upload Total Spent Left Speed 05:44:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2970 --:--:-- --:--:-- --:--:-- 2955 100 603 0 0 100 603 0 2565 --:--:-- --:--:-- --:--:-- 2555 05:44:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] } 05:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:44:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:44:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:07 05:44:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:07 latest: Pulling from edgex-devops/edgex-snyk-go 05:44:07 619be1103602: Already exists 05:44:07 f8ea3408117e: Pulling fs layer 05:44:07 91320369b822: Pulling fs layer 05:44:07 0406650e8295: Pulling fs layer 05:44:07 4f4fb700ef54: Pulling fs layer 05:44:07 96d80e3f36e1: Pulling fs layer 05:44:07 bcf3aedb951c: Pulling fs layer 05:44:07 4f4fb700ef54: Waiting 05:44:07 96d80e3f36e1: Waiting 05:44:07 bcf3aedb951c: Waiting 05:44:07 f8ea3408117e: Verifying Checksum 05:44:07 f8ea3408117e: Download complete 05:44:07 4f4fb700ef54: Verifying Checksum 05:44:07 4f4fb700ef54: Download complete 05:44:07 f8ea3408117e: Pull complete 05:44:08 96d80e3f36e1: Verifying Checksum 05:44:08 96d80e3f36e1: Download complete 05:44:08 91320369b822: Verifying Checksum 05:44:08 91320369b822: Download complete 05:44:08 bcf3aedb951c: Verifying Checksum 05:44:08 bcf3aedb951c: Download complete 05:44:11 91320369b822: Pull complete 05:44:11 0406650e8295: Pull complete 05:44:11 4f4fb700ef54: Pull complete 05:44:11 96d80e3f36e1: Pull complete 05:44:14 bcf3aedb951c: Pull complete 05:44:14 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:14 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:44:14 $ 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-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:44:19 $ docker top af590934a5ea878e916293341ec3a4e5821d70aae20b9f483645a39d66b8ea4a -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 05:44:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 05:44:20 + set -o pipefail 05:44:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 05:44:26 05:44:26 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 05:44:26 05:44:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/247467e8-990d-44a2-b500-774d2de5afc2 05:44:26 05:44:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:44:26 05:44:26 05:44:26 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:44:26 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:44:26 $ docker stop --time=1 af590934a5ea878e916293341ec3a4e5821d70aae20b9f483645a39d66b8ea4a 05:44:31 $ docker rm -f --volumes af590934a5ea878e916293341ec3a4e5821d70aae20b9f483645a39d66b8ea4a [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:44:32 + git log --format=format:%s -1 f8749581d9de8ec9f8c1a4606090d5570a6645d2 [Pipeline] sh 05:44:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:44:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:33 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:44:33 $ docker top 7e6c1da22a1cc8e5818e3784382e0a19471b47bdba6bb54dd77724fd9b2b3211 -eo pid,comm 05:44:33 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:44:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:44:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:34 [ssh-agent] Looking for ssh-agent implementation... 05:44:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:34 $ docker exec 7e6c1da22a1cc8e5818e3784382e0a19471b47bdba6bb54dd77724fd9b2b3211 ssh-agent 05:44:34 SSH_AUTH_SOCK=/tmp/ssh-ylwgltz9Rrll/agent.31 05:44:34 SSH_AGENT_PID=36 05:44:34 Running ssh-add (command line suppressed) 05:44:34 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14796818680974889562.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14796818680974889562.key) 05:44:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:34 + git semver tag 05:44:34 2024-07-04 05:44:34,821 [run_tag] DEBUG tag force:False 05:44:34 2024-07-04 05:44:34,821 [check_head_tag] DEBUG check head tag 05:44:34 2024-07-04 05:44:34,822 [execute] INFO git cat-file --batch-check 05:44:34 2024-07-04 05:44:34,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 05:44:34 2024-07-04 05:44:34,825 [execute] INFO git cat-file --batch 05:44:34 2024-07-04 05:44:34,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 05:44:34 2024-07-04 05:44:34,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:34 2024-07-04 05:44:34,839 [execute] INFO git tag -a v3.0.1-dev.24 -m v3.0.1-dev.24 05:44:34 2024-07-04 05:44:34,839 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.24', '-m', 'v3.0.1-dev.24'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 05:44:34 2024-07-04 05:44:34,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:34 3.0.1-dev.24 [Pipeline] } 05:44:34 $ docker exec --env ******** --env ******** 7e6c1da22a1cc8e5818e3784382e0a19471b47bdba6bb54dd77724fd9b2b3211 ssh-agent -k 05:44:35 unset SSH_AUTH_SOCK; 05:44:35 unset SSH_AGENT_PID; 05:44:35 echo Agent pid 36 killed; 05:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:44:35 + git semver [Pipeline] } 05:44:35 $ docker stop --time=1 7e6c1da22a1cc8e5818e3784382e0a19471b47bdba6bb54dd77724fd9b2b3211 05:44:36 $ docker rm -f --volumes 7e6c1da22a1cc8e5818e3784382e0a19471b47bdba6bb54dd77724fd9b2b3211 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:44:37 05:44:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:44:37 0.23.1-centos7: Pulling from edgex-lftools 05:44:37 ab5ef0e58194: Pulling fs layer 05:44:37 9712f1f96733: Pulling fs layer 05:44:37 63f879dbbcfc: Pulling fs layer 05:44:37 0d9ebad4ef96: Pulling fs layer 05:44:37 e9a5061849ea: Pulling fs layer 05:44:37 d747dcd14b5f: Pulling fs layer 05:44:37 2de7ff778b66: Pulling fs layer 05:44:37 2de7ff778b66: Waiting 05:44:37 e9a5061849ea: Waiting 05:44:37 d747dcd14b5f: Waiting 05:44:37 0d9ebad4ef96: Waiting 05:44:37 9712f1f96733: Download complete 05:44:37 63f879dbbcfc: Verifying Checksum 05:44:37 63f879dbbcfc: Download complete 05:44:37 e9a5061849ea: Verifying Checksum 05:44:37 e9a5061849ea: Download complete 05:44:37 d747dcd14b5f: Verifying Checksum 05:44:37 d747dcd14b5f: Download complete 05:44:38 0d9ebad4ef96: Verifying Checksum 05:44:38 0d9ebad4ef96: Download complete 05:44:38 ab5ef0e58194: Verifying Checksum 05:44:38 ab5ef0e58194: Download complete 05:44:38 2de7ff778b66: Verifying Checksum 05:44:38 2de7ff778b66: Download complete 05:44:40 ab5ef0e58194: Pull complete 05:44:40 9712f1f96733: Pull complete 05:44:41 63f879dbbcfc: Pull complete 05:44:44 0d9ebad4ef96: Pull complete 05:44:44 e9a5061849ea: Pull complete 05:44:45 d747dcd14b5f: Pull complete 05:44:45 2de7ff778b66: Pull complete 05:44:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:46 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:44:51 $ docker top d7bc12b5b76c01b1bc230ae19b8aee62b8749e2f9bedc33a5d2b84efb6b0e73b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:44:51 provisioning config files... 05:44:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config759998998189505886tmp 05:44:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9571877578469534250tmp 05:44:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8599873374819029436tmp [Pipeline] { [Pipeline] echo 05:44:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:44:52 ---> sigul-configuration.sh 05:44:52 gpg: directory `/root/.gnupg' created 05:44:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:44:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:44:52 gpg: keyring `/root/.gnupg/secring.gpg' created 05:44:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:44:52 gpg: CAST5 encrypted data 05:44:52 gpg: encrypted with 1 passphrase 05:44:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:44:52 + mkdir /home/jenkins 05:44:52 + mkdir /home/jenkins/sigul [Pipeline] sh 05:44:52 + 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:44:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:44:53 ---> sigul-install.sh 05:44:53 Sigul already installed; skipping installation. [Pipeline] sh 05:44:53 + git tag --list 05:44:53 v0.0.0 05:44:53 v0.0.1-dev.1 05:44:53 v0.0.1-dev.2 05:44:53 v0.0.1-dev.3 05:44:53 v0.0.1-dev.4 05:44:53 v3.0.0 05:44:53 v3.0.1-dev.1 05:44:53 v3.0.1-dev.10 05:44:53 v3.0.1-dev.11 05:44:53 v3.0.1-dev.12 05:44:53 v3.0.1-dev.13 05:44:53 v3.0.1-dev.14 05:44:53 v3.0.1-dev.15 05:44:53 v3.0.1-dev.16 05:44:53 v3.0.1-dev.17 05:44:53 v3.0.1-dev.18 05:44:53 v3.0.1-dev.19 05:44:53 v3.0.1-dev.2 05:44:53 v3.0.1-dev.20 05:44:53 v3.0.1-dev.21 05:44:53 v3.0.1-dev.22 05:44:53 v3.0.1-dev.23 05:44:53 v3.0.1-dev.24 05:44:53 v3.0.1-dev.3 05:44:53 v3.0.1-dev.4 05:44:53 v3.0.1-dev.5 05:44:53 v3.0.1-dev.6 05:44:53 v3.0.1-dev.7 05:44:53 v3.0.1-dev.8 05:44:53 v3.0.1-dev.9 05:44:53 v3.1 05:44:53 v3.1.0 05:44:53 v3.1.1 05:44:53 v3.1.1-dev.1 [Pipeline] sh 05:44:53 + lftools sign git-tag v3.0.1-dev.24 05:44:54 Signing Git tag with Sigul... 05:44:54 Signing v3.0.1-dev.24 [Pipeline] echo 05:44:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:44:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:44:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:44:54 $ docker stop --time=1 d7bc12b5b76c01b1bc230ae19b8aee62b8749e2f9bedc33a5d2b84efb6b0e73b 05:44:56 $ docker rm -f --volumes d7bc12b5b76c01b1bc230ae19b8aee62b8749e2f9bedc33a5d2b84efb6b0e73b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:44:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:44:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:56 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:44:57 $ docker top 436ef19f9393a1e0f7d7905eaab15ca7fc656025d58ca4e26a983adba6aa69a1 -eo pid,comm 05:44:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:44:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:57 [ssh-agent] Looking for ssh-agent implementation... 05:44:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:57 $ docker exec 436ef19f9393a1e0f7d7905eaab15ca7fc656025d58ca4e26a983adba6aa69a1 ssh-agent 05:44:57 SSH_AUTH_SOCK=/tmp/ssh-3YntpM0kXUSH/agent.32 05:44:57 SSH_AGENT_PID=38 05:44:57 Running ssh-add (command line suppressed) 05:44:57 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7393512104054984923.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7393512104054984923.key) 05:44:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:58 + git semver bump pre 05:44:58 2024-07-04 05:44:58,264 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:58 2024-07-04 05:44:58,265 [bump_version] DEBUG bumping version:3.0.1-dev.24 on axis:pre with prefix:dev 05:44:58 2024-07-04 05:44:58,265 [bump_version] DEBUG bumped version:3.0.1-dev.25 05:44:58 2024-07-04 05:44:58,265 [write_version] DEBUG write version:3.0.1-dev.25 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 05:44:58 2024-07-04 05:44:58,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:58 2024-07-04 05:44:58,265 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:58 2024-07-04 05:44:58,267 [execute] INFO git cat-file --batch-check 05:44:58 2024-07-04 05:44:58,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:44:58 2024-07-04 05:44:58,273 [execute] INFO git cat-file --batch 05:44:58 2024-07-04 05:44:58,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:44:58 2024-07-04 05:44:58,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:44:58 3.0.1-dev.25 [Pipeline] } 05:44:58 $ docker exec --env ******** --env ******** 436ef19f9393a1e0f7d7905eaab15ca7fc656025d58ca4e26a983adba6aa69a1 ssh-agent -k 05:44:58 unset SSH_AUTH_SOCK; 05:44:58 unset SSH_AGENT_PID; 05:44:58 echo Agent pid 38 killed; 05:44:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:44:58 + git semver [Pipeline] } 05:44:59 $ docker stop --time=1 436ef19f9393a1e0f7d7905eaab15ca7fc656025d58ca4e26a983adba6aa69a1 05:45:00 $ docker rm -f --volumes 436ef19f9393a1e0f7d7905eaab15ca7fc656025d58ca4e26a983adba6aa69a1 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:01 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:01 $ docker top 5cb156340cf85ed85cbcf2e89ef9bf0a8e2212afd7c6b44c6e203ba07c9ada79 -eo pid,comm 05:45:01 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:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:01 [ssh-agent] Looking for ssh-agent implementation... 05:45:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:01 $ docker exec 5cb156340cf85ed85cbcf2e89ef9bf0a8e2212afd7c6b44c6e203ba07c9ada79 ssh-agent 05:45:01 SSH_AUTH_SOCK=/tmp/ssh-E42MH8e6293X/agent.32 05:45:01 SSH_AGENT_PID=38 05:45:01 Running ssh-add (command line suppressed) 05:45:01 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_322691546744584013.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_322691546744584013.key) 05:45:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:02 + git semver push 05:45:02 2024-07-04 05:45:02,319 [run_push] DEBUG push 05:45:02 2024-07-04 05:45:02,320 [execute] INFO git cat-file --batch-check 05:45:02 2024-07-04 05:45:02,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:02 2024-07-04 05:45:02,323 [execute] INFO git rev-list f806f741be24315b5612076a9bb14036d8987342 -- 05:45:02 2024-07-04 05:45:02,323 [execute] DEBUG Popen(['git', 'rev-list', 'f806f741be24315b5612076a9bb14036d8987342', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:02 2024-07-04 05:45:02,329 [execute] INFO git fetch -v origin 05:45:02 2024-07-04 05:45:02,330 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 05:45:02 2024-07-04 05:45:02,788 [run_push] DEBUG no remote changes detected 05:45:02 2024-07-04 05:45:02,788 [execute] INFO git push origin semver 05:45:02 2024-07-04 05:45:02,789 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:03 2024-07-04 05:45:03,619 [run_push] DEBUG push all version tags 05:45:03 2024-07-04 05:45:03,619 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:45:03 2024-07-04 05:45:03,620 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 05:45:04 2024-07-04 05:45:04,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:45:04 3.0.1-dev.25 [Pipeline] } 05:45:04 $ docker exec --env ******** --env ******** 5cb156340cf85ed85cbcf2e89ef9bf0a8e2212afd7c6b44c6e203ba07c9ada79 ssh-agent -k 05:45:04 unset SSH_AUTH_SOCK; 05:45:04 unset SSH_AGENT_PID; 05:45:04 echo Agent pid 38 killed; 05:45:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:04 + git semver [Pipeline] } 05:45:05 $ docker stop --time=1 5cb156340cf85ed85cbcf2e89ef9bf0a8e2212afd7c6b44c6e203ba07c9ada79 05:45:06 $ docker rm -f --volumes 5cb156340cf85ed85cbcf2e89ef9bf0a8e2212afd7c6b44c6e203ba07c9ada79 [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:45:07 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 05:45:07 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 05:45:07 total 16 05:45:07 drwxr-xr-x 3 root root 4096 Jul 4 05:31 . 05:45:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:44 .. 05:45:07 drwxr-xr-x 2 root root 4096 Jul 4 05:31 cost 05:45:07 -rw-r--r-- 1 root root 82 Jul 4 05:31 cost.csv 05:45:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 05:45:07 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 05:45:07 total 16 05:45:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:31 . 05:45:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:44 .. 05:45:07 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:31 cost 05:45:07 -rw-r--r-- 1 jenkins jenkins 82 Jul 4 05:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:08 ---> package-listing.sh 05:45:08 ++ facter osfamily 05:45:08 ++ tr '[:upper:]' '[:lower:]' 05:45:08 + OS_FAMILY=debian 05:45:08 + workspace=/w/workspace/edgexfoundry_device-uart_main 05:45:08 + START_PACKAGES=/tmp/packages_start.txt 05:45:08 + END_PACKAGES=/tmp/packages_end.txt 05:45:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:08 + PACKAGES=/tmp/packages_start.txt 05:45:08 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 05:45:08 + PACKAGES=/tmp/packages_end.txt 05:45:08 + case "${OS_FAMILY}" in 05:45:08 + dpkg -l 05:45:08 + grep '^ii' 05:45:08 + '[' -f /tmp/packages_start.txt ']' 05:45:08 + '[' -f /tmp/packages_end.txt ']' 05:45:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:08 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 05:45:08 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 05:45:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 05:45:08 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-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:45:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:09 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 05:45:09 $ 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-uart_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-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_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:45:09 $ docker top ed8d828f5b8f3101d8e3e8adc7142c49d87bce78f66cf1ea107401c81ea5da3f -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:10 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:10 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:10 + ls /var/log/sa-host 05:45:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:10 provisioning config files... 05:45:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5877836569911816776tmp [Pipeline] { [Pipeline] echo 05:45:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:11 ---> create-netrc.sh [Pipeline] } 05:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:11 ---> python-tools-install.sh [Pipeline] echo 05:45:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:11 ---> sudo-logs.sh 05:45:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:12 ---> job-cost.sh 05:45:12 lf-activate-venv: SKIPPING 05:45:12 DEBUG: total: 0.2199999988079071 05:45:12 INFO: Retrieving Stack Cost... 05:45:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:12 INFO: Archiving Costs [Pipeline] echo 05:45:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:12 ---> logs-deploy.sh 05:45:12 lf-activate-venv: SKIPPING 05:45:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/31 05:45:12 INFO: archiving workspace using pattern(s): 05:45:13 Archives upload complete. 05:45:13 INFO: archiving logs to Nexus