Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 613adc0de45787bd800a7a9fb2523a657efd5d33 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-ssh13839952584899604860.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-ssh12309677834014061426.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-ssh14872452201194794061.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-ssh4136326128264880406.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-ssh3322838189145087410.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6483’ Running on prd-ubuntu20.04-docker-8c-8g-6487 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 Avoid second fetch Checking out Revision 613adc0de45787bd800a7a9fb2523a657efd5d33 (main) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 Commit message: "Merge pull request #62 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" > git rev-list --no-walk d00e383a819cb4e70ab506041202e2de1b245b65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:26:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:26:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:26:05 ========================================================= 01:26:05 EdgeX Global Pipelines Version Info 01:26:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:26:07 ------------------- 01:26:07 stable info: 01:26:07 ------------------- 01:26:07 Commited By: Ginny Guan ginny@iotechsys.com 01:26:07 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:26:07 Message: update stable to v1.0.260 01:26:07 ------------------- 01:26:07 experimental info: 01:26:07 ------------------- 01:26:07 Commited By: Ginny Guan ginny@iotechsys.com 01:26:07 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:26:07 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:26:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] echo 01:26:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 613adc0 [Pipeline] echo 01:26:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:08 provisioning config files... 01:26:08 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11546535994578314544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:08 ---> ****-login.sh 01:26:08 nexus3.edgexfoundry.org:10001 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 nexus3.edgexfoundry.org:10002 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 nexus3.edgexfoundry.org:10003 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 nexus3.edgexfoundry.org:10004 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 ****.io 01:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:09 Configure a credential helper to remove this warning. See 01:26:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:09 01:26:09 Login Succeeded 01:26:09 ---> ****-login.sh ends [Pipeline] } 01:26:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:26:09 + git rev-list -1 --merges 613adc0de45787bd800a7a9fb2523a657efd5d33~1..613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] echo 01:26:09 -----------> git rev-list -1 --merges 613adc0de45787bd800a7a9fb2523a657efd5d33~1..613adc0de45787bd800a7a9fb2523a657efd5d33 613adc0de45787bd800a7a9fb2523a657efd5d33 01:26:09 613adc0de45787bd800a7a9fb2523a657efd5d33 [false] [Pipeline] sh 01:26:09 + git log --format=format:%s -1 613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] echo 01:26:09 ========================================================= 01:26:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:26:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:10 + git log --format=format:%s -1 613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] echo 01:26:10 [semverPrep] GIT_COMMIT: 613adc0de45787bd800a7a9fb2523a657efd5d33, Commit Message: Merge pull request #62 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27 [Pipeline] echo 01:26:10 [semverPrep] This is not a build commit. [Pipeline] sh 01:26:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:10 + grep -v github /etc/ssh/ssh_known_hosts 01:26:10 + [ -e /tmp/ssh_known_hosts ] 01:26:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:26:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:26:10 + sudo tee -a /etc/ssh/ssh_known_hosts 01:26:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:11 01:26:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:11 0.1.4: Pulling from edgex-devops/py-git-semver 01:26:11 b85a868b505f: Pulling fs layer 01:26:11 e2be974225ed: Pulling fs layer 01:26:11 339a4e72a1f5: Pulling fs layer 01:26:11 988bab9f4d93: Pulling fs layer 01:26:11 1469e6f7b9e6: Pulling fs layer 01:26:11 eaf3925da568: Pulling fs layer 01:26:11 bab4dde63d76: Pulling fs layer 01:26:11 bde34c3a00c8: Pulling fs layer 01:26:11 b352a97aabf1: Pulling fs layer 01:26:11 4872d77fe225: Pulling fs layer 01:26:11 5851b861e8e6: Pulling fs layer 01:26:11 988bab9f4d93: Waiting 01:26:11 1469e6f7b9e6: Waiting 01:26:11 bde34c3a00c8: Waiting 01:26:11 eaf3925da568: Waiting 01:26:11 bab4dde63d76: Waiting 01:26:11 b352a97aabf1: Waiting 01:26:11 4872d77fe225: Waiting 01:26:11 5851b861e8e6: Waiting 01:26:11 e2be974225ed: Verifying Checksum 01:26:11 e2be974225ed: Download complete 01:26:11 988bab9f4d93: Verifying Checksum 01:26:11 988bab9f4d93: Download complete 01:26:11 1469e6f7b9e6: Verifying Checksum 01:26:11 1469e6f7b9e6: Download complete 01:26:11 eaf3925da568: Verifying Checksum 01:26:11 eaf3925da568: Download complete 01:26:11 339a4e72a1f5: Verifying Checksum 01:26:11 339a4e72a1f5: Download complete 01:26:11 bde34c3a00c8: Verifying Checksum 01:26:11 bde34c3a00c8: Download complete 01:26:11 b352a97aabf1: Download complete 01:26:11 4872d77fe225: Download complete 01:26:11 5851b861e8e6: Verifying Checksum 01:26:11 5851b861e8e6: Download complete 01:26:11 b85a868b505f: Verifying Checksum 01:26:11 b85a868b505f: Download complete 01:26:12 bab4dde63d76: Verifying Checksum 01:26:12 bab4dde63d76: Download complete 01:26:13 b85a868b505f: Pull complete 01:26:13 e2be974225ed: Pull complete 01:26:13 339a4e72a1f5: Pull complete 01:26:13 988bab9f4d93: Pull complete 01:26:13 1469e6f7b9e6: Pull complete 01:26:14 eaf3925da568: Pull complete 01:26:16 bab4dde63d76: Pull complete 01:26:16 bde34c3a00c8: Pull complete 01:26:16 b352a97aabf1: Pull complete 01:26:16 4872d77fe225: Pull complete 01:26:16 5851b861e8e6: Pull complete 01:26:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:16 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:26:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:26:19 $ docker top 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 -eo pid,comm 01:26:19 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). 01:26:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:19 [ssh-agent] Looking for ssh-agent implementation... 01:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:19 $ docker exec 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 ssh-agent 01:26:20 SSH_AUTH_SOCK=/tmp/ssh-tnj2yldG6yQO/agent.32 01:26:20 SSH_AGENT_PID=38 01:26:20 Running ssh-add (command line suppressed) 01:26:20 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6285310964678780033.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6285310964678780033.key) 01:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:20 + git tag --points-at HEAD [Pipeline] } 01:26:20 $ docker exec --env ******** --env ******** 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 ssh-agent -k 01:26:20 unset SSH_AUTH_SOCK; 01:26:20 unset SSH_AGENT_PID; 01:26:20 echo Agent pid 38 killed; 01:26:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:26:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:20 [ssh-agent] Looking for ssh-agent implementation... 01:26:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:20 $ docker exec 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 ssh-agent 01:26:20 SSH_AUTH_SOCK=/tmp/ssh-9JyHfW2VO3kC/agent.71 01:26:20 SSH_AGENT_PID=77 01:26:20 Running ssh-add (command line suppressed) 01:26:20 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6626125453050752904.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6626125453050752904.key) 01:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:21 + git semver init 01:26:21 2024-07-26 01:26:21,423 [run_init] DEBUG init version:0.0.0 force:False 01:26:21 2024-07-26 01:26:21,424 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 01:26:21 2024-07-26 01:26:21,425 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 01:26:21 2024-07-26 01:26:21,425 [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) 01:26:22 2024-07-26 01:26:22,609 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 01:26:22 2024-07-26 01:26:22,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 01:26:22 2024-07-26 01:26:22,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:26:22 2024-07-26 01:26:22,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:26:22 3.0.1-dev.27 [Pipeline] } 01:26:22 $ docker exec --env ******** --env ******** 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 ssh-agent -k 01:26:23 unset SSH_AUTH_SOCK; 01:26:23 unset SSH_AGENT_PID; 01:26:23 echo Agent pid 77 killed; 01:26:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:23 + git semver [Pipeline] } 01:26:23 $ docker stop --time=1 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 01:26:24 $ docker rm -f --volumes 20df0f802a2a03816923e7114582fbf508002a6257e804b23a1cda7b3479f699 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:26:25 Stashed 1 file(s) [Pipeline] echo 01:26:25 [edgeXSemver]: initialized semver on version 3.0.1-dev.27 [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 01:26:25 provisioning config files... 01:26:25 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6635054381452447461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:26 ---> ****-login.sh 01:26:26 nexus3.edgexfoundry.org:10001 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 nexus3.edgexfoundry.org:10002 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 nexus3.edgexfoundry.org:10003 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 nexus3.edgexfoundry.org:10004 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 ****.io 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 ---> ****-login.sh ends [Pipeline] } 01:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:26 ========================================================= 01:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:26:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:27 + 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 . 01:26:27 Sending build context to Docker daemon 25.52MB 01:26:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:26:27 Step 2/12 : FROM ${BASE} AS builder 01:26:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:27 619be1103602: Pulling fs layer 01:26:27 7862e08f4a3e: Pulling fs layer 01:26:27 5df492c9dc93: Pulling fs layer 01:26:27 7629e6793208: Pulling fs layer 01:26:27 4f4fb700ef54: Pulling fs layer 01:26:27 fb5054dd5b73: Pulling fs layer 01:26:27 eeca6798cff9: Pulling fs layer 01:26:27 aa269ceb94a6: Pulling fs layer 01:26:27 ada007ff1a6a: Pulling fs layer 01:26:27 aa269ceb94a6: Waiting 01:26:27 ada007ff1a6a: Waiting 01:26:27 eeca6798cff9: Waiting 01:26:27 7629e6793208: Waiting 01:26:27 4f4fb700ef54: Waiting 01:26:27 7862e08f4a3e: Verifying Checksum 01:26:27 7862e08f4a3e: Download complete 01:26:27 7629e6793208: Verifying Checksum 01:26:27 7629e6793208: Download complete 01:26:27 4f4fb700ef54: Download complete 01:26:27 619be1103602: Verifying Checksum 01:26:27 619be1103602: Download complete 01:26:27 fb5054dd5b73: Download complete 01:26:27 eeca6798cff9: Verifying Checksum 01:26:27 eeca6798cff9: Download complete 01:26:27 619be1103602: Pull complete 01:26:27 ada007ff1a6a: Verifying Checksum 01:26:27 ada007ff1a6a: Download complete 01:26:27 7862e08f4a3e: Pull complete 01:26:27 5df492c9dc93: Verifying Checksum 01:26:27 5df492c9dc93: Download complete 01:26:28 aa269ceb94a6: Verifying Checksum 01:26:28 aa269ceb94a6: Download complete 01:26:31 5df492c9dc93: Pull complete 01:26:31 7629e6793208: Pull complete 01:26:31 4f4fb700ef54: Pull complete 01:26:31 fb5054dd5b73: Pull complete 01:26:31 eeca6798cff9: Pull complete 01:26:34 aa269ceb94a6: Pull complete 01:26:34 ada007ff1a6a: Pull complete 01:26:34 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:26:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:26:34 ---> f489d0715acc 01:26:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:26:38 ---> Running in 4309c6168770 01:26:38 Removing intermediate container 4309c6168770 01:26:38 ---> 89222ea02d3e 01:26:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:26:38 ---> Running in e9a625e0166f 01:26:38 Removing intermediate container e9a625e0166f 01:26:38 ---> 8d9ad01a971f 01:26:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:26:38 ---> Running in 136ea6db07c1 01:26:38 Removing intermediate container 136ea6db07c1 01:26:38 ---> 4347203a9a13 01:26:38 Step 6/12 : WORKDIR /device-uart 01:26:38 ---> Running in 48d6ef291aad 01:26:38 Removing intermediate container 48d6ef291aad 01:26:38 ---> e10522465f0e 01:26:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:38 ---> Running in 5b0f07c8d857 01:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:26:39 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:26:39 (2/4) Installing libedit (20221030.3.1-r1) 01:26:39 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:26:39 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:26:39 Executing busybox-1.36.1-r5.trigger 01:26:39 OK: 268 MiB in 56 packages 01:26:40 Removing intermediate container 5b0f07c8d857 01:26:40 ---> 91217b995544 01:26:40 Step 8/12 : COPY go.mod vendor* ./ 01:26:40 ---> f0e0dd157eb1 01:26:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:40 ---> Running in 3ab088281f9a 01:26:40 Still waiting to schedule task 01:26:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6484’ is offline 01:27:27 Removing intermediate container 3ab088281f9a 01:27:27 ---> f8b56921427d 01:27:27 Step 10/12 : COPY . . 01:27:27 ---> 8f1539724300 01:27:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:27 ---> Running in 75de24d9eb1c 01:27:27 Removing intermediate container 75de24d9eb1c 01:27:27 ---> 6b66bd919291 01:27:27 Step 12/12 : RUN ${MAKE} 01:27:27 ---> Running in a14daed528e4 01:27:27 noop 01:27:28 Removing intermediate container a14daed528e4 01:27:28 ---> 9f490429a4b2 01:27:28 Successfully built 9f490429a4b2 01:27:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:28 + docker inspect -f . ci-base-image-x86_64 01:27:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:28 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:27:28 $ 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 ******** ci-base-image-x86_64 cat 01:27:29 $ docker top 9f0208064df205e5ac51ae95c66bc8ba9dc3ab52c13315c1b173904f601c0905 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:29 + go version 01:27:29 go version go1.21.9 linux/amd64 [Pipeline] } 01:27:29 $ docker stop --time=1 9f0208064df205e5ac51ae95c66bc8ba9dc3ab52c13315c1b173904f601c0905 01:27:30 $ docker rm -f --volumes 9f0208064df205e5ac51ae95c66bc8ba9dc3ab52c13315c1b173904f601c0905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:31 + docker inspect -f . ci-base-image-x86_64 01:27:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:31 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:27:31 $ 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 ******** ci-base-image-x86_64 cat 01:27:31 $ docker top f9f922513b09c9073a7983ce7ea9eeb1660cdc4884bdd5d18baf6b1fbc3d1635 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 01:27:32 + make test 01:27:32 go test ./... -coverprofile=coverage.out 01:27:33 ? github.com/edgexfoundry/device-uart [no test files] 01:27:55 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:27:55 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:28:03 go vet ./... 01:28:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:10 ./bin/test-attribution-txt.sh 01:28:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:28:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:28:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:28:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:28:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:28:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:28:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:28:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:28:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:28:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:28:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:28:10 $ docker stop --time=1 f9f922513b09c9073a7983ce7ea9eeb1660cdc4884bdd5d18baf6b1fbc3d1635 01:28:14 $ docker rm -f --volumes f9f922513b09c9073a7983ce7ea9eeb1660cdc4884bdd5d18baf6b1fbc3d1635 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:15 + ls -al . 01:28:15 total 224 01:28:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:27 . 01:28:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:26 .. 01:28:15 -rw-rw-r-- 1 jenkins jenkins 140 Jul 26 01:26 .dockerignore 01:28:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:27 .git 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:26 .github 01:28:15 -rw-rw-r-- 1 jenkins jenkins 343 Jul 26 01:26 .gitignore 01:28:15 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:26 .golangci.yml 01:28:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:26 .semver 01:28:15 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 26 01:26 Attribution.txt 01:28:15 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 26 01:26 CHANGELOG.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 26 01:26 Dockerfile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:26 GOVERNANCE.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 675 Jul 26 01:26 Jenkinsfile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:26 LICENSE 01:28:15 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 26 01:26 Makefile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 617 Jul 26 01:26 OWNERS.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 26 01:26 README.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 12 Jul 26 01:26 VERSION 01:28:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:26 bin 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:26 cmd 01:28:15 -rw-r--r-- 1 jenkins jenkins 10 Jul 26 01:27 coverage.out 01:28:15 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 26 01:26 go.mod 01:28:15 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 26 01:26 go.sum 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:26 internal 01:28:15 -rw-rw-r-- 1 jenkins jenkins 209 Jul 26 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:16 + 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=613adc0de45787bd800a7a9fb2523a657efd5d33 --label arch=amd64 --label version=3.0.1-dev.27 . 01:28:16 Sending build context to Docker daemon 25.52MB 01:28:16 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:28:16 Step 2/26 : FROM ${BASE} AS builder 01:28:16 ---> 9f490429a4b2 01:28:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:28:16 ---> Running in 6cb0ad653249 01:28:16 Removing intermediate container 6cb0ad653249 01:28:16 ---> 7ec31512ed13 01:28:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:28:16 ---> Running in d9d77fa2f79f 01:28:16 Removing intermediate container d9d77fa2f79f 01:28:16 ---> 770eb84b2757 01:28:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:28:16 ---> Running in 4ce566c03869 01:28:16 Removing intermediate container 4ce566c03869 01:28:16 ---> 96c9d279870c 01:28:16 Step 6/26 : WORKDIR /device-uart 01:28:16 ---> Running in bd477c0a037e 01:28:16 Removing intermediate container bd477c0a037e 01:28:16 ---> c26d2e8e5773 01:28:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:16 ---> Running in d5629ac77a1f 01:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:17 OK: 268 MiB in 56 packages 01:28:18 Removing intermediate container d5629ac77a1f 01:28:18 ---> ca63ef74d6d0 01:28:18 Step 8/26 : COPY go.mod vendor* ./ 01:28:18 ---> f6f797e5b4b2 01:28:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:18 ---> Running in b95507952871 01:28:19 Removing intermediate container b95507952871 01:28:19 ---> 5cf493de5e6f 01:28:19 Step 10/26 : COPY . . 01:28:19 ---> 12598d6f9061 01:28:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:19 ---> Running in fb0c40834091 01:28:19 Removing intermediate container fb0c40834091 01:28:19 ---> ec608314a69d 01:28:19 Step 12/26 : RUN ${MAKE} 01:28:19 ---> Running in 055fbe6dbbf7 01:28:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:28:52 Removing intermediate container 055fbe6dbbf7 01:28:52 ---> 13840f21f1ff 01:28:52 Step 13/26 : FROM alpine:3.18 01:28:52 3.18: Pulling from library/alpine 01:28:52 930bdd4d222e: Pulling fs layer 01:28:52 930bdd4d222e: Verifying Checksum 01:28:52 930bdd4d222e: Download complete 01:28:52 930bdd4d222e: Pull complete 01:28:52 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:28:52 Status: Downloaded newer image for alpine:3.18 01:28:52 ---> 18f865063206 01:28:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:28:52 ---> Running in 97f72096f6af 01:28:52 Removing intermediate container 97f72096f6af 01:28:52 ---> a3023851d018 01:28:52 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:28:52 ---> Running in c6b2cd73d254 01:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:52 (1/1) Installing dumb-init (1.2.5-r2) 01:28:52 Executing busybox-1.36.1-r7.trigger 01:28:52 OK: 7 MiB in 16 packages 01:28:52 Removing intermediate container c6b2cd73d254 01:28:52 ---> 3f9f20210067 01:28:52 Step 16/26 : RUN apk --no-cache upgrade 01:28:52 ---> Running in 4f88d0710741 01:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:53 OK: 7 MiB in 16 packages 01:28:53 Removing intermediate container 4f88d0710741 01:28:53 ---> 3bcc4977cb63 01:28:53 Step 17/26 : WORKDIR / 01:28:53 ---> Running in b763bd8465d3 01:28:53 Removing intermediate container b763bd8465d3 01:28:53 ---> b0d35e5faef4 01:28:53 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 01:28:53 ---> f91c49e88a47 01:28:53 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 01:28:53 ---> 2887b018c09d 01:28:53 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 01:28:55 ---> b432e67ab7a9 01:28:55 Step 21/26 : EXPOSE 59995 01:28:55 ---> Running in f3b28535a2ac 01:28:55 Removing intermediate container f3b28535a2ac 01:28:55 ---> bbe045c86610 01:28:55 Step 22/26 : ENTRYPOINT ["/device-uart"] 01:28:55 ---> Running in 0382b13e26f1 01:28:55 Removing intermediate container 0382b13e26f1 01:28:55 ---> 2be320491b73 01:28:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:28:55 ---> Running in e875e38f3fd4 01:28:55 Removing intermediate container e875e38f3fd4 01:28:55 ---> 4e4ec960a577 01:28:55 Step 24/26 : LABEL arch=amd64 01:28:55 ---> Running in 7a758cf293c2 01:28:55 Removing intermediate container 7a758cf293c2 01:28:55 ---> bd128a7d40bf 01:28:55 Step 25/26 : LABEL git_sha=613adc0de45787bd800a7a9fb2523a657efd5d33 01:28:55 ---> Running in c81405158367 01:28:55 Removing intermediate container c81405158367 01:28:55 ---> 03454f56f8ee 01:28:55 Step 26/26 : LABEL version=3.0.1-dev.27 01:28:55 ---> Running in 3c54eea134c8 01:28:55 Removing intermediate container 3c54eea134c8 01:28:55 ---> 76082d358d2c 01:28:55 [Warning] One or more build-args [ARCH] were not consumed 01:28:55 Successfully built 76082d358d2c 01:28:56 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:56 provisioning config files... 01:28:56 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14813185048601436926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:56 ---> ****-login.sh 01:28:56 nexus3.edgexfoundry.org:10001 01:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:56 Configure a credential helper to remove this warning. See 01:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:56 01:28:56 Login Succeeded 01:28:56 nexus3.edgexfoundry.org:10002 01:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:56 Configure a credential helper to remove this warning. See 01:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:56 01:28:56 Login Succeeded 01:28:56 nexus3.edgexfoundry.org:10003 01:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:56 Configure a credential helper to remove this warning. See 01:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:56 01:28:56 Login Succeeded 01:28:56 nexus3.edgexfoundry.org:10004 01:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:56 Configure a credential helper to remove this warning. See 01:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:56 01:28:56 Login Succeeded 01:28:56 ****.io 01:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:57 Configure a credential helper to remove this warning. See 01:28:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:57 01:28:57 Login Succeeded 01:28:57 ---> ****-login.sh ends [Pipeline] } 01:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:28:57 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 01:28:57 613adc0de45787bd800a7a9fb2523a657efd5d33 01:28:57 latest 01:28:57 3.0.1-dev.27 01:28:57 613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:28:57 main 01:28:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:57 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:57 + docker push nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33 01:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:28:57 5e565c021dee: Preparing 01:28:57 db712b444cac: Preparing 01:28:57 c57a8b4bcbd6: Preparing 01:28:57 637f5f2ae5c6: Preparing 01:28:57 594e5b37d643: Preparing 01:28:57 ce7f800efff9: Preparing 01:28:57 ce7f800efff9: Waiting 01:28:57 db712b444cac: Pushed 01:28:57 594e5b37d643: Pushed 01:28:57 c57a8b4bcbd6: Pushed 01:28:57 637f5f2ae5c6: Pushed 01:28:57 ce7f800efff9: Layer already exists 01:29:03 5e565c021dee: Pushed 01:29:03 613adc0de45787bd800a7a9fb2523a657efd5d33: digest: sha256:ddcf69f102c9f2b93b7040916ba9a17e0c9800fddc561e23b528c11ce6de320d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:03 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:03 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 01:29:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:03 5e565c021dee: Preparing 01:29:03 db712b444cac: Preparing 01:29:03 c57a8b4bcbd6: Preparing 01:29:03 637f5f2ae5c6: Preparing 01:29:03 594e5b37d643: Preparing 01:29:03 ce7f800efff9: Preparing 01:29:03 ce7f800efff9: Waiting 01:29:03 5e565c021dee: Layer already exists 01:29:03 db712b444cac: Layer already exists 01:29:03 c57a8b4bcbd6: Layer already exists 01:29:03 637f5f2ae5c6: Layer already exists 01:29:03 594e5b37d643: Layer already exists 01:29:03 ce7f800efff9: Layer already exists 01:29:03 latest: digest: sha256:ddcf69f102c9f2b93b7040916ba9a17e0c9800fddc561e23b528c11ce6de320d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:04 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:04 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.27 01:29:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:04 5e565c021dee: Preparing 01:29:04 db712b444cac: Preparing 01:29:04 c57a8b4bcbd6: Preparing 01:29:04 637f5f2ae5c6: Preparing 01:29:04 594e5b37d643: Preparing 01:29:04 ce7f800efff9: Preparing 01:29:04 ce7f800efff9: Waiting 01:29:04 5e565c021dee: Layer already exists 01:29:04 637f5f2ae5c6: Layer already exists 01:29:04 c57a8b4bcbd6: Layer already exists 01:29:04 594e5b37d643: Layer already exists 01:29:04 db712b444cac: Layer already exists 01:29:04 ce7f800efff9: Layer already exists 01:29:04 3.0.1-dev.27: digest: sha256:ddcf69f102c9f2b93b7040916ba9a17e0c9800fddc561e23b528c11ce6de320d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:04 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:05 + docker push nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:29:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:05 5e565c021dee: Preparing 01:29:05 db712b444cac: Preparing 01:29:05 c57a8b4bcbd6: Preparing 01:29:05 637f5f2ae5c6: Preparing 01:29:05 594e5b37d643: Preparing 01:29:05 ce7f800efff9: Preparing 01:29:05 ce7f800efff9: Waiting 01:29:05 c57a8b4bcbd6: Layer already exists 01:29:05 637f5f2ae5c6: Layer already exists 01:29:05 5e565c021dee: Layer already exists 01:29:05 db712b444cac: Layer already exists 01:29:05 594e5b37d643: Layer already exists 01:29:05 ce7f800efff9: Layer already exists 01:29:05 613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27: digest: sha256:ddcf69f102c9f2b93b7040916ba9a17e0c9800fddc561e23b528c11ce6de320d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:05 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:05 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 01:29:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:05 5e565c021dee: Preparing 01:29:05 db712b444cac: Preparing 01:29:05 c57a8b4bcbd6: Preparing 01:29:05 637f5f2ae5c6: Preparing 01:29:05 594e5b37d643: Preparing 01:29:05 ce7f800efff9: Preparing 01:29:05 ce7f800efff9: Waiting 01:29:05 db712b444cac: Layer already exists 01:29:05 594e5b37d643: Layer already exists 01:29:05 c57a8b4bcbd6: Layer already exists 01:29:05 5e565c021dee: Layer already exists 01:29:05 637f5f2ae5c6: Layer already exists 01:29:05 ce7f800efff9: Layer already exists 01:29:05 main: digest: sha256:ddcf69f102c9f2b93b7040916ba9a17e0c9800fddc561e23b528c11ce6de320d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:29:05 ===================================================== [Pipeline] echo 01:29:05 taggedImages: 01:29:05 - nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33 01:29:05 - nexus3.edgexfoundry.org:10004/device-uart:latest 01:29:05 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.27 01:29:05 - nexus3.edgexfoundry.org:10004/device-uart:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:29:05 - 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 01:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:06 01:29:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:06 latest: Pulling from edgex-lftools-log-publisher 01:29:06 5eb5b503b376: Pulling fs layer 01:29:06 5c69ac0246d0: Pulling fs layer 01:29:06 ec43610c2a17: Pulling fs layer 01:29:06 3a2ae6a8a46f: Pulling fs layer 01:29:06 33b1e0a273af: Pulling fs layer 01:29:06 5d3b04190fa2: Pulling fs layer 01:29:06 2f39f015ded8: Pulling fs layer 01:29:06 33b1e0a273af: Waiting 01:29:06 5d3b04190fa2: Waiting 01:29:06 2f39f015ded8: Waiting 01:29:06 3a2ae6a8a46f: Waiting 01:29:06 5c69ac0246d0: Verifying Checksum 01:29:06 5c69ac0246d0: Download complete 01:29:06 3a2ae6a8a46f: Verifying Checksum 01:29:06 3a2ae6a8a46f: Download complete 01:29:06 33b1e0a273af: Verifying Checksum 01:29:06 33b1e0a273af: Download complete 01:29:06 5d3b04190fa2: Verifying Checksum 01:29:06 5d3b04190fa2: Download complete 01:29:06 ec43610c2a17: Verifying Checksum 01:29:06 ec43610c2a17: Download complete 01:29:06 5eb5b503b376: Download complete 01:29:07 2f39f015ded8: Download complete 01:29:07 5eb5b503b376: Pull complete 01:29:08 5c69ac0246d0: Pull complete 01:29:08 ec43610c2a17: Pull complete 01:29:08 3a2ae6a8a46f: Pull complete 01:29:09 33b1e0a273af: Pull complete 01:29:09 5d3b04190fa2: Pull complete 01:29:14 2f39f015ded8: Pull complete 01:29:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:14 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:29:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6492 in /w/workspace/edgexfoundry_device-uart_main 01:29:20 $ docker top 12eab8c200f3602c412f3d2546bb478bf2c932cd2bfb6aef242f6ab87b32bc7e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 01:29:20 Running in /w/workspace/device-uart/34 [Pipeline] { [Pipeline] checkout 01:29:20 The recommended git tool is: git 01:29:20 ---> job-cost.sh 01:29:20 lf-activate-venv: SKIPPING 01:29:20 INFO: No Stack... 01:29:20 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:20 INFO: Archiving Costs [Pipeline] sh 01:29:21 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 01:29:21 + cut -d, -f6 [Pipeline] lock 01:29:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] 01:29:21 Resource [jenkins-edgexfoundry-device-uart-main-34-stack-cost] did not exist. Created. 01:29:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:21 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:21 Stashed 1 file(s) [Pipeline] } 01:29:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:21 $ docker stop --time=1 12eab8c200f3602c412f3d2546bb478bf2c932cd2bfb6aef242f6ab87b32bc7e 01:29:22 $ docker rm -f --volumes 12eab8c200f3602c412f3d2546bb478bf2c932cd2bfb6aef242f6ab87b32bc7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:28 using credential edgex-jenkins-ssh 01:29:28 Cloning the remote Git repository 01:29:28 Cloning repository git@github.com:edgexfoundry/device-uart.git 01:29:28 > git init /w/workspace/device-uart/34 # timeout=10 01:29:28 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:29:28 > git --version # timeout=10 01:29:29 > git --version # 'git version 2.25.1' 01:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:31 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:29:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:32 Avoid second fetch 01:29:32 Checking out Revision 613adc0de45787bd800a7a9fb2523a657efd5d33 (main) 01:29:33 Commit message: "Merge pull request #62 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" 01:29:32 > git config core.sparsecheckout # timeout=10 01:29:32 > git checkout -f 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:37 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:37 Dload Upload Total Spent Left Speed 01:29:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 01:29:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:29:38 + sudo tee /etc/docker/daemon.new 01:29:38 { 01:29:38 "registry-mirrors": [ 01:29:38 "https://nexus3.edgexfoundry.org:10001" 01:29:38 ], 01:29:38 "bip": "10.250.0.254/24", 01:29:38 "hosts": [ 01:29:38 "tcp://0.0.0.0:5555", 01:29:38 "unix:///var/run/docker.sock" 01:29:38 ], 01:29:38 "mtu": 1458, 01:29:38 "selinux-enabled": true, 01:29:38 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:38 } [Pipeline] sh 01:29:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:57 provisioning config files... 01:29:57 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/34@tmp/config17942111326741895662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:58 ---> ****-login.sh 01:29:58 nexus3.edgexfoundry.org:10001 01:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:58 Configure a credential helper to remove this warning. See 01:29:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:58 01:29:58 Login Succeeded 01:29:58 nexus3.edgexfoundry.org:10002 01:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:59 Configure a credential helper to remove this warning. See 01:29:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:59 01:29:59 Login Succeeded 01:29:59 nexus3.edgexfoundry.org:10003 01:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:59 Configure a credential helper to remove this warning. See 01:29:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:59 01:29:59 Login Succeeded 01:29:59 nexus3.edgexfoundry.org:10004 01:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:59 Configure a credential helper to remove this warning. See 01:29:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:59 01:29:59 Login Succeeded 01:29:59 ****.io 01:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:00 Configure a credential helper to remove this warning. See 01:30:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:00 01:30:00 Login Succeeded 01:30:00 ---> ****-login.sh ends [Pipeline] } 01:30:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:30:00 ========================================================= 01:30:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:30:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:01 + 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 . 01:30:01 Sending build context to Docker daemon 12.83MB 01:30:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:30:01 Step 2/12 : FROM ${BASE} AS builder 01:30:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:30:01 c6b39de5b339: Pulling fs layer 01:30:01 a69c41024577: Pulling fs layer 01:30:01 d6de4b400683: Pulling fs layer 01:30:01 35cb2a7552d0: Pulling fs layer 01:30:01 4f4fb700ef54: Pulling fs layer 01:30:01 464afbd9ba4c: Pulling fs layer 01:30:01 00f215d4a9da: Pulling fs layer 01:30:01 d496ad576159: Pulling fs layer 01:30:01 35cb2a7552d0: Waiting 01:30:01 4f4fb700ef54: Waiting 01:30:01 464afbd9ba4c: Waiting 01:30:01 00f215d4a9da: Waiting 01:30:01 d496ad576159: Waiting 01:30:01 a69c41024577: Verifying Checksum 01:30:01 a69c41024577: Download complete 01:30:01 35cb2a7552d0: Verifying Checksum 01:30:01 35cb2a7552d0: Download complete 01:30:01 4f4fb700ef54: Verifying Checksum 01:30:01 4f4fb700ef54: Download complete 01:30:01 464afbd9ba4c: Verifying Checksum 01:30:01 464afbd9ba4c: Download complete 01:30:01 c6b39de5b339: Download complete 01:30:02 d496ad576159: Verifying Checksum 01:30:02 d496ad576159: Download complete 01:30:02 c6b39de5b339: Pull complete 01:30:03 a69c41024577: Pull complete 01:30:03 d6de4b400683: Verifying Checksum 01:30:03 d6de4b400683: Download complete 01:30:04 00f215d4a9da: Verifying Checksum 01:30:04 00f215d4a9da: Download complete 01:30:16 d6de4b400683: Pull complete 01:30:16 35cb2a7552d0: Pull complete 01:30:16 4f4fb700ef54: Pull complete 01:30:16 464afbd9ba4c: Pull complete 01:30:25 00f215d4a9da: Pull complete 01:30:26 d496ad576159: Pull complete 01:30:26 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:30:26 ---> f246e2811388 01:30:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:29 ---> Running in 26191ce18668 01:30:29 Removing intermediate container 26191ce18668 01:30:29 ---> ddebb1efba3c 01:30:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:30:29 ---> Running in d1ed7777f786 01:30:29 Removing intermediate container d1ed7777f786 01:30:29 ---> 365202ef34cd 01:30:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:30:29 ---> Running in 62ed1317416e 01:30:29 Removing intermediate container 62ed1317416e 01:30:29 ---> faf587366beb 01:30:29 Step 6/12 : WORKDIR /device-uart 01:30:30 ---> Running in 6b31e1215026 01:30:30 Removing intermediate container 6b31e1215026 01:30:30 ---> 30da9551588a 01:30:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:30 ---> Running in 3ed259a35d43 01:30:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:30:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:30:34 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:30:34 (2/4) Installing libedit (20221030.3.1-r1) 01:30:34 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:30:34 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:30:34 Executing busybox-1.36.1-r5.trigger 01:30:34 OK: 271 MiB in 56 packages 01:30:34 Removing intermediate container 3ed259a35d43 01:30:34 ---> d56e7849629f 01:30:34 Step 8/12 : COPY go.mod vendor* ./ 01:30:35 ---> e208a331c88e 01:30:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:35 ---> Running in b42214dc4dd8 01:32:42 Removing intermediate container b42214dc4dd8 01:32:42 ---> a0536edee415 01:32:42 Step 10/12 : COPY . . 01:32:42 ---> 53223cd3ed90 01:32:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:42 ---> Running in 14e31e6c4dd0 01:32:42 Removing intermediate container 14e31e6c4dd0 01:32:42 ---> fe06334e84c7 01:32:42 Step 12/12 : RUN ${MAKE} 01:32:42 ---> Running in a03886f77cf8 01:32:42 noop 01:32:42 Removing intermediate container a03886f77cf8 01:32:42 ---> caabd9ba6128 01:32:42 Successfully built caabd9ba6128 01:32:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:42 + docker inspect -f . ci-base-image-arm64 01:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:42 prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container 01:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/34 -v /w/workspace/device-uart/34:/w/workspace/device-uart/34:rw,z -v /w/workspace/device-uart/34@tmp:/w/workspace/device-uart/34@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 01:32:44 $ docker top 7bfddbb0cfb791fba8653ca1975601d6f47a942cb8bc80f7d1bacb2ce59fd7b4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:45 + go version 01:32:45 go version go1.21.9 linux/arm64 [Pipeline] } 01:32:45 $ docker stop --time=1 7bfddbb0cfb791fba8653ca1975601d6f47a942cb8bc80f7d1bacb2ce59fd7b4 01:32:46 $ docker rm -f --volumes 7bfddbb0cfb791fba8653ca1975601d6f47a942cb8bc80f7d1bacb2ce59fd7b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:47 + docker inspect -f . ci-base-image-arm64 01:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:47 prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container 01:32:47 $ 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/34 -v /w/workspace/device-uart/34:/w/workspace/device-uart/34:rw,z -v /w/workspace/device-uart/34@tmp:/w/workspace/device-uart/34@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 01:32:49 $ docker top e053770d34d46dd3702f68412212f0a6bc91ec799af87d828a208a62ff3e72ba -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:50 + git config --global --add safe.directory /w/workspace/device-uart/34 [Pipeline] fileExists [Pipeline] sh 01:32:51 + make test 01:32:51 go test ./... -coverprofile=coverage.out 01:32:57 ? github.com/edgexfoundry/device-uart [no test files] 01:36:49 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:36:49 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:36:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:36:49 go vet ./... 01:37:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:46 ./bin/test-attribution-txt.sh 01:37:46 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:37:46 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:37:46 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:37:46 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:37:46 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:37:46 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:37:46 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:37:46 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:37:46 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:37:46 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:37:46 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:37:46 $ docker stop --time=1 e053770d34d46dd3702f68412212f0a6bc91ec799af87d828a208a62ff3e72ba 01:37:48 $ docker rm -f --volumes e053770d34d46dd3702f68412212f0a6bc91ec799af87d828a208a62ff3e72ba [Pipeline] // withDockerContainer [Pipeline] sh 01:37:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:50 Warning: overwriting stash ‘coverage-report’ 01:37:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:51 + ls -al . 01:37:51 total 220 01:37:51 drwxrwxr-x 7 jenkins jenkins 4096 Jul 26 01:32 . 01:37:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:29 .. 01:37:51 -rw-rw-r-- 1 jenkins jenkins 140 Jul 26 01:29 .dockerignore 01:37:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:29 .git 01:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 .github 01:37:51 -rw-rw-r-- 1 jenkins jenkins 343 Jul 26 01:29 .gitignore 01:37:51 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:29 .golangci.yml 01:37:51 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 26 01:29 Attribution.txt 01:37:51 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 26 01:29 CHANGELOG.md 01:37:51 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 26 01:29 Dockerfile 01:37:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:29 GOVERNANCE.md 01:37:51 -rw-rw-r-- 1 jenkins jenkins 675 Jul 26 01:29 Jenkinsfile 01:37:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:29 LICENSE 01:37:51 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 26 01:29 Makefile 01:37:51 -rw-rw-r-- 1 jenkins jenkins 617 Jul 26 01:29 OWNERS.md 01:37:51 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 26 01:29 README.md 01:37:51 -rw-rw-r-- 1 jenkins jenkins 12 Jul 26 01:26 VERSION 01:37:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:29 bin 01:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 cmd 01:37:51 -rw-r--r-- 1 jenkins jenkins 10 Jul 26 01:32 coverage.out 01:37:51 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 26 01:29 go.mod 01:37:51 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 26 01:29 go.sum 01:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 internal 01:37:51 -rw-rw-r-- 1 jenkins jenkins 209 Jul 26 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:52 + 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=613adc0de45787bd800a7a9fb2523a657efd5d33 --label arch=arm64 --label version=3.0.1-dev.27 . 01:37:52 Sending build context to Docker daemon 12.83MB 01:37:52 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:37:52 Step 2/26 : FROM ${BASE} AS builder 01:37:52 ---> caabd9ba6128 01:37:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:52 ---> Running in 403563aaccf9 01:37:53 Removing intermediate container 403563aaccf9 01:37:53 ---> ae916e7caaa0 01:37:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:37:53 ---> Running in e0e755732afb 01:37:53 Removing intermediate container e0e755732afb 01:37:53 ---> 3a22955dd5f5 01:37:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:37:53 ---> Running in b18f3bdc60fa 01:37:54 Removing intermediate container b18f3bdc60fa 01:37:54 ---> 9608ad0bbd38 01:37:54 Step 6/26 : WORKDIR /device-uart 01:37:54 ---> Running in 9489e8d7fa88 01:37:54 Removing intermediate container 9489e8d7fa88 01:37:54 ---> 7abe571562f2 01:37:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:54 ---> Running in b79135af6152 01:37:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:37:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:37:57 OK: 271 MiB in 56 packages 01:37:58 Removing intermediate container b79135af6152 01:37:58 ---> 1389c0a8b9cc 01:37:58 Step 8/26 : COPY go.mod vendor* ./ 01:37:58 ---> 47b6e5a8510a 01:37:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:58 ---> Running in 82169e4ff366 01:38:01 Removing intermediate container 82169e4ff366 01:38:01 ---> 375d4eff587f 01:38:01 Step 10/26 : COPY . . 01:38:02 ---> 0a4c334044e1 01:38:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:02 ---> Running in fdaf2c515788 01:38:03 Removing intermediate container fdaf2c515788 01:38:03 ---> 07bc7a9d5b3a 01:38:03 Step 12/26 : RUN ${MAKE} 01:38:03 ---> Running in f7ecf1338a70 01:38:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:42:11 Removing intermediate container f7ecf1338a70 01:42:11 ---> f5dfd4548a9e 01:42:11 Step 13/26 : FROM alpine:3.18 01:42:11 3.18: Pulling from library/alpine 01:42:11 4983c3fe2029: Pulling fs layer 01:42:11 4983c3fe2029: Verifying Checksum 01:42:11 4983c3fe2029: Download complete 01:42:11 4983c3fe2029: Pull complete 01:42:11 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:42:11 Status: Downloaded newer image for alpine:3.18 01:42:11 ---> a0237000ae83 01:42:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:42:11 ---> Running in 85527ecbc5df 01:42:11 Removing intermediate container 85527ecbc5df 01:42:11 ---> 47290d55f90e 01:42:11 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:42:11 ---> Running in 31db7db842b3 01:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:11 (1/1) Installing dumb-init (1.2.5-r2) 01:42:11 Executing busybox-1.36.1-r7.trigger 01:42:11 OK: 8 MiB in 16 packages 01:42:11 Removing intermediate container 31db7db842b3 01:42:11 ---> af0ad498e6f0 01:42:11 Step 16/26 : RUN apk --no-cache upgrade 01:42:11 ---> Running in cc5debd21b39 01:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:11 OK: 8 MiB in 16 packages 01:42:11 Removing intermediate container cc5debd21b39 01:42:11 ---> d203eace6a5d 01:42:11 Step 17/26 : WORKDIR / 01:42:11 ---> Running in 74c2e29fc366 01:42:11 Removing intermediate container 74c2e29fc366 01:42:11 ---> 2ae56a6d9d9d 01:42:11 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 01:42:12 ---> 1863c285ccb3 01:42:12 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 01:42:13 ---> 8a6af1d187bb 01:42:13 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 01:42:15 ---> d5048c982ed1 01:42:15 Step 21/26 : EXPOSE 59995 01:42:15 ---> Running in 77348502fb4c 01:42:16 Removing intermediate container 77348502fb4c 01:42:16 ---> d623ad4e9bf9 01:42:16 Step 22/26 : ENTRYPOINT ["/device-uart"] 01:42:16 ---> Running in 8537ad73001c 01:42:16 Removing intermediate container 8537ad73001c 01:42:16 ---> 56a510666d62 01:42:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:42:16 ---> Running in 9195e82b4163 01:42:16 Removing intermediate container 9195e82b4163 01:42:16 ---> 83279e827a20 01:42:16 Step 24/26 : LABEL arch=arm64 01:42:16 ---> Running in 74b28f461a3d 01:42:17 Removing intermediate container 74b28f461a3d 01:42:17 ---> 63aeb997e29a 01:42:17 Step 25/26 : LABEL git_sha=613adc0de45787bd800a7a9fb2523a657efd5d33 01:42:17 ---> Running in 828669ebacce 01:42:17 Removing intermediate container 828669ebacce 01:42:17 ---> f0e128410efd 01:42:17 Step 26/26 : LABEL version=3.0.1-dev.27 01:42:17 ---> Running in 178a60394906 01:42:18 Removing intermediate container 178a60394906 01:42:18 ---> 16b422bf0fd5 01:42:18 [Warning] One or more build-args [ARCH] were not consumed 01:42:18 Successfully built 16b422bf0fd5 01:42:18 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 01:42:18 provisioning config files... 01:42:18 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/34@tmp/config12755396578414252454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:18 ---> ****-login.sh 01:42:18 nexus3.edgexfoundry.org:10001 01:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:19 Configure a credential helper to remove this warning. See 01:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:19 01:42:19 Login Succeeded 01:42:19 nexus3.edgexfoundry.org:10002 01:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:19 Configure a credential helper to remove this warning. See 01:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:19 01:42:19 Login Succeeded 01:42:19 nexus3.edgexfoundry.org:10003 01:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:19 Configure a credential helper to remove this warning. See 01:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:19 01:42:19 Login Succeeded 01:42:19 nexus3.edgexfoundry.org:10004 01:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:20 Configure a credential helper to remove this warning. See 01:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:20 01:42:20 Login Succeeded 01:42:20 ****.io 01:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:21 Configure a credential helper to remove this warning. See 01:42:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:21 01:42:21 Login Succeeded 01:42:21 ---> ****-login.sh ends [Pipeline] } 01:42:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:42:21 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 01:42:21 613adc0de45787bd800a7a9fb2523a657efd5d33 01:42:21 latest 01:42:21 3.0.1-dev.27 01:42:21 613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:42:21 main 01:42:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:21 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:21 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33 01:42:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:42:21 9f8c3c2b0feb: Preparing 01:42:21 8ddd95cf9757: Preparing 01:42:21 c641ba5742bf: Preparing 01:42:21 3546c420bb8d: Preparing 01:42:21 d4adf83699ae: Preparing 01:42:21 3c20671a5817: Preparing 01:42:21 3c20671a5817: Waiting 01:42:22 d4adf83699ae: Pushed 01:42:22 3546c420bb8d: Pushed 01:42:22 8ddd95cf9757: Pushed 01:42:22 c641ba5742bf: Pushed 01:42:22 3c20671a5817: Layer already exists 01:42:34 9f8c3c2b0feb: Pushed 01:42:34 613adc0de45787bd800a7a9fb2523a657efd5d33: digest: sha256:d13e18935fa3c285f4156fb564f86d26c4c0666a9c20d2c93997e0d03119612f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:42:34 9f8c3c2b0feb: Preparing 01:42:34 8ddd95cf9757: Preparing 01:42:34 c641ba5742bf: Preparing 01:42:34 3546c420bb8d: Preparing 01:42:34 d4adf83699ae: Preparing 01:42:34 3c20671a5817: Preparing 01:42:34 3c20671a5817: Waiting 01:42:34 8ddd95cf9757: Layer already exists 01:42:34 9f8c3c2b0feb: Layer already exists 01:42:34 d4adf83699ae: Layer already exists 01:42:34 c641ba5742bf: Layer already exists 01:42:34 3546c420bb8d: Layer already exists 01:42:34 3c20671a5817: Layer already exists 01:42:35 latest: digest: sha256:d13e18935fa3c285f4156fb564f86d26c4c0666a9c20d2c93997e0d03119612f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:35 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:35 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.27 01:42:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:42:35 9f8c3c2b0feb: Preparing 01:42:35 8ddd95cf9757: Preparing 01:42:35 c641ba5742bf: Preparing 01:42:35 3546c420bb8d: Preparing 01:42:35 d4adf83699ae: Preparing 01:42:35 3c20671a5817: Preparing 01:42:35 3c20671a5817: Waiting 01:42:35 3546c420bb8d: Layer already exists 01:42:35 d4adf83699ae: Layer already exists 01:42:35 9f8c3c2b0feb: Layer already exists 01:42:35 c641ba5742bf: Layer already exists 01:42:35 8ddd95cf9757: Layer already exists 01:42:35 3c20671a5817: Layer already exists 01:42:36 3.0.1-dev.27: digest: sha256:d13e18935fa3c285f4156fb564f86d26c4c0666a9c20d2c93997e0d03119612f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:36 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:36 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:42:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:42:36 9f8c3c2b0feb: Preparing 01:42:36 8ddd95cf9757: Preparing 01:42:36 c641ba5742bf: Preparing 01:42:36 3546c420bb8d: Preparing 01:42:36 d4adf83699ae: Preparing 01:42:36 3c20671a5817: Preparing 01:42:36 3c20671a5817: Waiting 01:42:36 9f8c3c2b0feb: Layer already exists 01:42:36 c641ba5742bf: Layer already exists 01:42:36 8ddd95cf9757: Layer already exists 01:42:36 d4adf83699ae: Layer already exists 01:42:36 3546c420bb8d: Layer already exists 01:42:36 3c20671a5817: Layer already exists 01:42:37 613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27: digest: sha256:d13e18935fa3c285f4156fb564f86d26c4c0666a9c20d2c93997e0d03119612f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:37 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:37 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 01:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:42:37 9f8c3c2b0feb: Preparing 01:42:37 8ddd95cf9757: Preparing 01:42:37 c641ba5742bf: Preparing 01:42:37 3546c420bb8d: Preparing 01:42:37 d4adf83699ae: Preparing 01:42:37 3c20671a5817: Preparing 01:42:37 3c20671a5817: Waiting 01:42:37 8ddd95cf9757: Layer already exists 01:42:37 9f8c3c2b0feb: Layer already exists 01:42:37 c641ba5742bf: Layer already exists 01:42:37 3546c420bb8d: Layer already exists 01:42:37 d4adf83699ae: Layer already exists 01:42:37 3c20671a5817: Layer already exists 01:42:38 main: digest: sha256:d13e18935fa3c285f4156fb564f86d26c4c0666a9c20d2c93997e0d03119612f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:38 ===================================================== [Pipeline] echo 01:42:38 taggedImages: 01:42:38 - nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33 01:42:38 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:42:38 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.27 01:42:38 - nexus3.edgexfoundry.org:10004/device-uart-arm64:613adc0de45787bd800a7a9fb2523a657efd5d33-3.0.1-dev.27 01:42:38 - 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 01:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:38 01:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:38 arm64: Pulling from edgex-lftools-log-publisher 01:42:38 8998bd30e6a1: Pulling fs layer 01:42:38 04944245beec: Pulling fs layer 01:42:38 699f458cf7ca: Pulling fs layer 01:42:38 765212b225bb: Pulling fs layer 01:42:38 f23df028b6ca: Pulling fs layer 01:42:38 d65c8cfc05b1: Pulling fs layer 01:42:38 2437ff75d9bd: Pulling fs layer 01:42:38 d65c8cfc05b1: Waiting 01:42:38 f23df028b6ca: Waiting 01:42:38 765212b225bb: Waiting 01:42:38 2437ff75d9bd: Waiting 01:42:39 04944245beec: Verifying Checksum 01:42:39 04944245beec: Download complete 01:42:39 765212b225bb: Verifying Checksum 01:42:39 765212b225bb: Download complete 01:42:39 f23df028b6ca: Verifying Checksum 01:42:39 f23df028b6ca: Download complete 01:42:39 d65c8cfc05b1: Verifying Checksum 01:42:39 d65c8cfc05b1: Download complete 01:42:39 699f458cf7ca: Verifying Checksum 01:42:39 699f458cf7ca: Download complete 01:42:40 8998bd30e6a1: Verifying Checksum 01:42:40 8998bd30e6a1: Download complete 01:42:42 2437ff75d9bd: Download complete 01:42:44 8998bd30e6a1: Pull complete 01:42:45 04944245beec: Pull complete 01:42:47 699f458cf7ca: Pull complete 01:42:47 765212b225bb: Pull complete 01:42:48 f23df028b6ca: Pull complete 01:42:48 d65c8cfc05b1: Pull complete 01:43:06 2437ff75d9bd: Pull complete 01:43:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:06 prd-ubuntu20.04-docker-arm64-4c-16g-6492 does not seem to be running inside a container 01:43:06 $ 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/34 -v /w/workspace/device-uart/34:/w/workspace/device-uart/34:rw,z -v /w/workspace/device-uart/34@tmp:/w/workspace/device-uart/34@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 01:43:09 $ docker top 5a5da0c8bf50e141f1ca7bbda370f4aae14087d34a304ec64bca72947f9460e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:10 ---> job-cost.sh 01:43:10 lf-activate-venv: SKIPPING 01:43:10 INFO: No Stack... 01:43:11 INFO: Retrieving Pricing Info for: v3-standard-4 01:43:12 INFO: Archiving Costs [Pipeline] sh 01:43:12 + cut -d, -f6 01:43:12 + cat /w/workspace/device-uart/34/archives/cost.csv [Pipeline] lock 01:43:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] 01:43:12 Resource [jenkins-edgexfoundry-device-uart-main-34-stack-cost] did not exist. Created. 01:43:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:13 /w/workspace/device-uart/34@tmp/durable-84e10f6c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:43:14 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:14 Warning: overwriting stash ‘stack-cost’ 01:43:14 Stashed 1 file(s) [Pipeline] } 01:43:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:14 $ docker stop --time=1 5a5da0c8bf50e141f1ca7bbda370f4aae14087d34a304ec64bca72947f9460e7 01:43:15 $ docker rm -f --volumes 5a5da0c8bf50e141f1ca7bbda370f4aae14087d34a304ec64bca72947f9460e7 [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 01:43:16 provisioning config files... 01:43:16 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3355546318312160412tmp [Pipeline] { [Pipeline] sh 01:43:16 + set +x 01:43:16 + bash -s -- 01:43:16 + curl -s https://codecov.io/bash 01:43:16 01:43:16 _____ _ 01:43:16 / ____| | | 01:43:16 | | ___ __| | ___ ___ _____ __ 01:43:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:43:16 | |___| (_) | (_| | __/ (_| (_) \ V / 01:43:16 \_____\___/ \__,_|\___|\___\___/ \_/ 01:43:16 Bash-1.0.6 01:43:16 01:43:16 01:43:16 ==> git version 2.25.1 found 01:43:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:43:16 Release-Date: 2020-01-08 01:43:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:43:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:43:16 ==> Jenkins CI detected. 01:43:16 current dir:  /w/workspace/edgexfoundry_device-uart_main 01:43:16 project root: . 01:43:16 --> token set from env 01:43:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:43:16 ==> Running gcov in . (disable via -X gcov) 01:43:16 ==> Python coveragepy not found 01:43:16 ==> Searching for coverage reports in: 01:43:16 + . 01:43:16 -> Found 1 reports 01:43:16 ==> Detecting git/mercurial file structure 01:43:16 ==> Reading reports 01:43:16 + ./coverage.out bytes=10 01:43:16 ==> Appending adjustments 01:43:16 https://docs.codecov.io/docs/fixing-reports 01:43:16 + Found adjustments 01:43:16 ==> Gzipping contents 01:43:16 4.0K /tmp/codecov.8uWMnN.gz 01:43:16 ==> Uploading reports 01:43:16 url: https://codecov.io 01:43:16 query: branch=main&commit=613adc0de45787bd800a7a9fb2523a657efd5d33&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:43:16 -> Pinging Codecov 01:43:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=613adc0de45787bd800a7a9fb2523a657efd5d33&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:43:17 -> Uploading to 01:43:17 https://storage.googleapis.com/codecov/v4/raw/2024-07-26/B9AA6E0BBD74AE3A32605C7A7C664919/613adc0de45787bd800a7a9fb2523a657efd5d33/df856166-782a-4181-b118-d73563f73210.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240726%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240726T014317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4ef5a74dd060b6217ee6665e9c92ac6842f4a9318ad7b3f1c426bf142e54f51 01:43:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:17 Dload Upload Total Spent Left Speed 01:43:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2633 --:--:-- --:--:-- --:--:-- 2633 01:43:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] } 01:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:43:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:43:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:17 01:43:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:18 latest: Pulling from edgex-devops/edgex-snyk-go 01:43:18 619be1103602: Already exists 01:43:18 f8ea3408117e: Pulling fs layer 01:43:18 91320369b822: Pulling fs layer 01:43:18 0406650e8295: Pulling fs layer 01:43:18 4f4fb700ef54: Pulling fs layer 01:43:18 96d80e3f36e1: Pulling fs layer 01:43:18 bcf3aedb951c: Pulling fs layer 01:43:18 4f4fb700ef54: Waiting 01:43:18 96d80e3f36e1: Waiting 01:43:18 bcf3aedb951c: Waiting 01:43:18 0406650e8295: Verifying Checksum 01:43:18 0406650e8295: Download complete 01:43:18 f8ea3408117e: Download complete 01:43:18 4f4fb700ef54: Verifying Checksum 01:43:18 4f4fb700ef54: Download complete 01:43:18 f8ea3408117e: Pull complete 01:43:18 96d80e3f36e1: Verifying Checksum 01:43:18 96d80e3f36e1: Download complete 01:43:19 91320369b822: Verifying Checksum 01:43:19 91320369b822: Download complete 01:43:19 bcf3aedb951c: Verifying Checksum 01:43:19 bcf3aedb951c: Download complete 01:43:22 91320369b822: Pull complete 01:43:22 0406650e8295: Pull complete 01:43:22 4f4fb700ef54: Pull complete 01:43:22 96d80e3f36e1: Pull complete 01:43:25 bcf3aedb951c: Pull complete 01:43:25 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 01:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:26 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:43:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:43:30 $ docker top c77cf833db2c2d8b4cb0568bd4671330628220c628c02123326f9c6999eea6ba -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 01:43:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 01:43:30 + set -o pipefail 01:43:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 01:43:38 01:43:38 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 01:43:38 01:43:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/8ae65d06-4237-4c65-b571-213b70cb91d0 01:43:38 01:43:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:43:38 01:43:38 01:43:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:43:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:43:38 $ docker stop --time=1 c77cf833db2c2d8b4cb0568bd4671330628220c628c02123326f9c6999eea6ba 01:43:43 $ docker rm -f --volumes c77cf833db2c2d8b4cb0568bd4671330628220c628c02123326f9c6999eea6ba [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 01:43:44 + git log --format=format:%s -1 613adc0de45787bd800a7a9fb2523a657efd5d33 [Pipeline] sh 01:43:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:44 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:43:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:45 $ docker top 6d0e9aa50c71d3f3236f5742876fe637c55f732bf3d8735d42de6ef18ade8e22 -eo pid,comm 01:43:45 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). 01:43:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:45 [ssh-agent] Looking for ssh-agent implementation... 01:43:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:45 $ docker exec 6d0e9aa50c71d3f3236f5742876fe637c55f732bf3d8735d42de6ef18ade8e22 ssh-agent 01:43:45 SSH_AUTH_SOCK=/tmp/ssh-CLRFUqDoFuLy/agent.31 01:43:45 SSH_AGENT_PID=37 01:43:45 Running ssh-add (command line suppressed) 01:43:45 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12102743716309838973.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12102743716309838973.key) 01:43:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:45 + git semver tag 01:43:46 2024-07-26 01:43:46,176 [run_tag] DEBUG tag force:False 01:43:46 2024-07-26 01:43:46,177 [check_head_tag] DEBUG check head tag 01:43:46 2024-07-26 01:43:46,177 [execute] INFO git cat-file --batch-check 01:43:46 2024-07-26 01:43:46,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:43:46 2024-07-26 01:43:46,182 [execute] INFO git cat-file --batch 01:43:46 2024-07-26 01:43:46,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:43:46 2024-07-26 01:43:46,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:43:46 2024-07-26 01:43:46,197 [execute] INFO git tag -a v3.0.1-dev.27 -m v3.0.1-dev.27 01:43:46 2024-07-26 01:43:46,197 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.27', '-m', 'v3.0.1-dev.27'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 01:43:46 2024-07-26 01:43:46,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:43:46 3.0.1-dev.27 [Pipeline] } 01:43:46 $ docker exec --env ******** --env ******** 6d0e9aa50c71d3f3236f5742876fe637c55f732bf3d8735d42de6ef18ade8e22 ssh-agent -k 01:43:46 unset SSH_AUTH_SOCK; 01:43:46 unset SSH_AGENT_PID; 01:43:46 echo Agent pid 37 killed; 01:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:46 + git semver [Pipeline] } 01:43:46 $ docker stop --time=1 6d0e9aa50c71d3f3236f5742876fe637c55f732bf3d8735d42de6ef18ade8e22 01:43:48 $ docker rm -f --volumes 6d0e9aa50c71d3f3236f5742876fe637c55f732bf3d8735d42de6ef18ade8e22 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:48 01:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:48 0.23.1-centos7: Pulling from edgex-lftools 01:43:48 ab5ef0e58194: Pulling fs layer 01:43:48 9712f1f96733: Pulling fs layer 01:43:48 63f879dbbcfc: Pulling fs layer 01:43:48 0d9ebad4ef96: Pulling fs layer 01:43:48 e9a5061849ea: Pulling fs layer 01:43:48 d747dcd14b5f: Pulling fs layer 01:43:48 2de7ff778b66: Pulling fs layer 01:43:48 0d9ebad4ef96: Waiting 01:43:48 e9a5061849ea: Waiting 01:43:48 d747dcd14b5f: Waiting 01:43:48 2de7ff778b66: Waiting 01:43:48 9712f1f96733: Verifying Checksum 01:43:48 9712f1f96733: Download complete 01:43:49 63f879dbbcfc: Verifying Checksum 01:43:49 63f879dbbcfc: Download complete 01:43:49 e9a5061849ea: Verifying Checksum 01:43:49 e9a5061849ea: Download complete 01:43:49 d747dcd14b5f: Verifying Checksum 01:43:49 d747dcd14b5f: Download complete 01:43:49 0d9ebad4ef96: Verifying Checksum 01:43:49 0d9ebad4ef96: Download complete 01:43:49 ab5ef0e58194: Verifying Checksum 01:43:49 ab5ef0e58194: Download complete 01:43:49 2de7ff778b66: Verifying Checksum 01:43:49 2de7ff778b66: Download complete 01:43:52 ab5ef0e58194: Pull complete 01:43:52 9712f1f96733: Pull complete 01:43:53 63f879dbbcfc: Pull complete 01:43:57 0d9ebad4ef96: Pull complete 01:43:57 e9a5061849ea: Pull complete 01:43:57 d747dcd14b5f: Pull complete 01:43:58 2de7ff778b66: Pull complete 01:43:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:58 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:43:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:44:04 $ docker top 53201488d6acd03c79de2ff2cb2112c3671afe8a90fdab35b80dfea301fd088e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:44:04 provisioning config files... 01:44:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7558728706316653997tmp 01:44:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14984886854107332945tmp 01:44:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2430625561349371322tmp [Pipeline] { [Pipeline] echo 01:44:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:44:04 ---> sigul-configuration.sh 01:44:04 gpg: directory `/root/.gnupg' created 01:44:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:44:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:44:04 gpg: keyring `/root/.gnupg/secring.gpg' created 01:44:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:44:04 gpg: CAST5 encrypted data 01:44:04 gpg: encrypted with 1 passphrase 01:44:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:44:05 + mkdir /home/jenkins 01:44:05 + mkdir /home/jenkins/sigul [Pipeline] sh 01:44:05 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:44:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:44:05 ---> sigul-install.sh 01:44:05 Sigul already installed; skipping installation. [Pipeline] sh 01:44:06 + git tag --list 01:44:06 v0.0.0 01:44:06 v0.0.1-dev.1 01:44:06 v0.0.1-dev.2 01:44:06 v0.0.1-dev.3 01:44:06 v0.0.1-dev.4 01:44:06 v3.0.0 01:44:06 v3.0.1-dev.1 01:44:06 v3.0.1-dev.10 01:44:06 v3.0.1-dev.11 01:44:06 v3.0.1-dev.12 01:44:06 v3.0.1-dev.13 01:44:06 v3.0.1-dev.14 01:44:06 v3.0.1-dev.15 01:44:06 v3.0.1-dev.16 01:44:06 v3.0.1-dev.17 01:44:06 v3.0.1-dev.18 01:44:06 v3.0.1-dev.19 01:44:06 v3.0.1-dev.2 01:44:06 v3.0.1-dev.20 01:44:06 v3.0.1-dev.21 01:44:06 v3.0.1-dev.22 01:44:06 v3.0.1-dev.23 01:44:06 v3.0.1-dev.24 01:44:06 v3.0.1-dev.25 01:44:06 v3.0.1-dev.26 01:44:06 v3.0.1-dev.27 01:44:06 v3.0.1-dev.3 01:44:06 v3.0.1-dev.4 01:44:06 v3.0.1-dev.5 01:44:06 v3.0.1-dev.6 01:44:06 v3.0.1-dev.7 01:44:06 v3.0.1-dev.8 01:44:06 v3.0.1-dev.9 01:44:06 v3.1 01:44:06 v3.1.0 01:44:06 v3.1.1 01:44:06 v3.1.1-dev.1 [Pipeline] sh 01:44:06 + lftools sign git-tag v3.0.1-dev.27 01:44:06 Signing Git tag with Sigul... 01:44:06 Signing v3.0.1-dev.27 [Pipeline] echo 01:44:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:44:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:44:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:44:07 $ docker stop --time=1 53201488d6acd03c79de2ff2cb2112c3671afe8a90fdab35b80dfea301fd088e 01:44:08 $ docker rm -f --volumes 53201488d6acd03c79de2ff2cb2112c3671afe8a90fdab35b80dfea301fd088e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:44:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:44:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:09 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:44:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:44:10 $ docker top efc5e41c148bb1bfc25e4912e8f71ddcf25408eca1d9d706fba479ea0cd4c909 -eo pid,comm 01:44:10 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). 01:44:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:10 [ssh-agent] Looking for ssh-agent implementation... 01:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:10 $ docker exec efc5e41c148bb1bfc25e4912e8f71ddcf25408eca1d9d706fba479ea0cd4c909 ssh-agent 01:44:10 SSH_AUTH_SOCK=/tmp/ssh-13stffub1M1L/agent.31 01:44:10 SSH_AGENT_PID=37 01:44:10 Running ssh-add (command line suppressed) 01:44:10 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13979869035196497767.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13979869035196497767.key) 01:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:10 + git semver bump pre 01:44:11 2024-07-26 01:44:10,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:44:11 2024-07-26 01:44:10,933 [bump_version] DEBUG bumping version:3.0.1-dev.27 on axis:pre with prefix:dev 01:44:11 2024-07-26 01:44:10,933 [bump_version] DEBUG bumped version:3.0.1-dev.28 01:44:11 2024-07-26 01:44:10,933 [write_version] DEBUG write version:3.0.1-dev.28 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 01:44:11 2024-07-26 01:44:10,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:44:11 2024-07-26 01:44:10,933 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 01:44:11 2024-07-26 01:44:10,935 [execute] INFO git cat-file --batch-check 01:44:11 2024-07-26 01:44:10,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:44:11 2024-07-26 01:44:10,941 [execute] INFO git cat-file --batch 01:44:11 2024-07-26 01:44:10,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:44:11 2024-07-26 01:44:10,947 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:44:11 3.0.1-dev.28 [Pipeline] } 01:44:11 $ docker exec --env ******** --env ******** efc5e41c148bb1bfc25e4912e8f71ddcf25408eca1d9d706fba479ea0cd4c909 ssh-agent -k 01:44:11 unset SSH_AUTH_SOCK; 01:44:11 unset SSH_AGENT_PID; 01:44:11 echo Agent pid 37 killed; 01:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:44:11 + git semver [Pipeline] } 01:44:11 $ docker stop --time=1 efc5e41c148bb1bfc25e4912e8f71ddcf25408eca1d9d706fba479ea0cd4c909 01:44:13 $ docker rm -f --volumes efc5e41c148bb1bfc25e4912e8f71ddcf25408eca1d9d706fba479ea0cd4c909 [Pipeline] // withDockerContainer [Pipeline] sh 01:44:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:44:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:13 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:44:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:44:14 $ docker top 10fea2c73224b1862f98416cd0b12340972d9879a42fe7898991950ee477a0e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:44:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:14 [ssh-agent] Looking for ssh-agent implementation... 01:44:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:14 $ docker exec 10fea2c73224b1862f98416cd0b12340972d9879a42fe7898991950ee477a0e1 ssh-agent 01:44:14 SSH_AUTH_SOCK=/tmp/ssh-XbzvlDNVcfqk/agent.32 01:44:14 SSH_AGENT_PID=39 01:44:14 Running ssh-add (command line suppressed) 01:44:14 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12927684475387963037.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12927684475387963037.key) 01:44:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:14 + git semver push 01:44:15 2024-07-26 01:44:15,039 [run_push] DEBUG push 01:44:15 2024-07-26 01:44:15,039 [execute] INFO git cat-file --batch-check 01:44:15 2024-07-26 01:44:15,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:44:15 2024-07-26 01:44:15,044 [execute] INFO git rev-list b02cedeea53c7629ac946dcb6557dd525d399445 -- 01:44:15 2024-07-26 01:44:15,044 [execute] DEBUG Popen(['git', 'rev-list', 'b02cedeea53c7629ac946dcb6557dd525d399445', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:44:15 2024-07-26 01:44:15,050 [execute] INFO git fetch -v origin 01:44:15 2024-07-26 01:44:15,051 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 01:44:15 2024-07-26 01:44:15,484 [run_push] DEBUG no remote changes detected 01:44:15 2024-07-26 01:44:15,484 [execute] INFO git push origin semver 01:44:15 2024-07-26 01:44:15,485 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:44:16 2024-07-26 01:44:16,346 [run_push] DEBUG push all version tags 01:44:16 2024-07-26 01:44:16,346 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:44:16 2024-07-26 01:44:16,346 [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) 01:44:17 2024-07-26 01:44:17,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:44:17 3.0.1-dev.28 [Pipeline] } 01:44:17 $ docker exec --env ******** --env ******** 10fea2c73224b1862f98416cd0b12340972d9879a42fe7898991950ee477a0e1 ssh-agent -k 01:44:17 unset SSH_AUTH_SOCK; 01:44:17 unset SSH_AGENT_PID; 01:44:17 echo Agent pid 39 killed; 01:44:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:44:17 + git semver [Pipeline] } 01:44:17 $ docker stop --time=1 10fea2c73224b1862f98416cd0b12340972d9879a42fe7898991950ee477a0e1 01:44:19 $ docker rm -f --volumes 10fea2c73224b1862f98416cd0b12340972d9879a42fe7898991950ee477a0e1 [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 01:44:19 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 01:44:19 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:44:19 total 16 01:44:19 drwxr-xr-x 3 root root 4096 Jul 26 01:29 . 01:44:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 01:44 .. 01:44:19 drwxr-xr-x 2 root root 4096 Jul 26 01:29 cost 01:44:19 -rw-r--r-- 1 root root 82 Jul 26 01:29 cost.csv 01:44:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 01:44:19 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:44:19 total 16 01:44:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:29 . 01:44:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 01:44 .. 01:44:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 01:29 cost 01:44:19 -rw-r--r-- 1 jenkins jenkins 82 Jul 26 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:20 ---> package-listing.sh 01:44:20 ++ facter osfamily 01:44:20 ++ tr '[:upper:]' '[:lower:]' 01:44:21 + OS_FAMILY=debian 01:44:21 + workspace=/w/workspace/edgexfoundry_device-uart_main 01:44:21 + START_PACKAGES=/tmp/packages_start.txt 01:44:21 + END_PACKAGES=/tmp/packages_end.txt 01:44:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:21 + PACKAGES=/tmp/packages_start.txt 01:44:21 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:44:21 + PACKAGES=/tmp/packages_end.txt 01:44:21 + case "${OS_FAMILY}" in 01:44:21 + dpkg -l 01:44:21 + grep '^ii' 01:44:21 + '[' -f /tmp/packages_start.txt ']' 01:44:21 + '[' -f /tmp/packages_end.txt ']' 01:44:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:21 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:44:21 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 01:44:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 01:44:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:44:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:22 prd-ubuntu20.04-docker-8c-8g-6487 does not seem to be running inside a container 01:44:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:22 $ docker top 68ae50c0b224efc73efce33d1856566ff84956b141d07f08505f6c8ba81bded6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:22 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:23 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:23 + ls /var/log/sa-host 01:44:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:23 provisioning config files... 01:44:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config18345463218437400585tmp [Pipeline] { [Pipeline] echo 01:44:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:23 ---> create-netrc.sh [Pipeline] } 01:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:24 ---> python-tools-install.sh [Pipeline] echo 01:44:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:24 ---> sudo-logs.sh 01:44:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:24 ---> job-cost.sh 01:44:24 lf-activate-venv: SKIPPING 01:44:24 DEBUG: total: 0.2199999988079071 01:44:24 INFO: Retrieving Stack Cost... 01:44:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:25 INFO: Archiving Costs [Pipeline] echo 01:44:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:25 ---> logs-deploy.sh 01:44:25 lf-activate-venv: SKIPPING 01:44:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/34 01:44:25 INFO: archiving workspace using pattern(s): 01:44:26 Archives upload complete. 01:44:26 INFO: archiving logs to Nexus