Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0191fcbf31d47e6537e79896ea60966564fcaee0 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-ssh10412210949468990415.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-ssh2267418053693445497.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-ssh18026478435749022939.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-ssh4046364875988747735.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-ssh14560530786430727880.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-975’ is offline Running on prd-ubuntu20.04-docker-8c-8g-976 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 0191fcbf31d47e6537e79896ea60966564fcaee0 (main) Commit message: "Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" > 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 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 > git rev-list --no-walk 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:50:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:50:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:50:55 ========================================================= 23:50:55 EdgeX Global Pipelines Version Info 23:50:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:50:55 ------------------- 23:50:55 stable info: 23:50:55 ------------------- 23:50:55 Commited By: Ginny Guan ginny@iotechsys.com 23:50:55 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 23:50:55 Message: update stable to v1.0.260 23:50:56 ------------------- 23:50:56 experimental info: 23:50:56 ------------------- 23:50:56 Commited By: Ginny Guan ginny@iotechsys.com 23:50:56 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 23:50:56 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:50:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0191fcb [Pipeline] echo 23:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:57 provisioning config files... 23:50:57 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2822607837044248500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:57 ---> ****-login.sh 23:50:57 nexus3.edgexfoundry.org:10001 23:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:57 Configure a credential helper to remove this warning. See 23:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:57 23:50:57 Login Succeeded 23:50:57 nexus3.edgexfoundry.org:10002 23:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:58 Configure a credential helper to remove this warning. See 23:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:58 23:50:58 Login Succeeded 23:50:58 nexus3.edgexfoundry.org:10003 23:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:58 Configure a credential helper to remove this warning. See 23:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:58 23:50:58 Login Succeeded 23:50:58 nexus3.edgexfoundry.org:10004 23:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:58 Configure a credential helper to remove this warning. See 23:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:58 23:50:58 Login Succeeded 23:50:58 ****.io 23:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:50:58 Configure a credential helper to remove this warning. See 23:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:50:58 23:50:58 Login Succeeded 23:50:58 ---> ****-login.sh ends [Pipeline] } 23:50:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:50:59 + git rev-list -1 --merges 0191fcbf31d47e6537e79896ea60966564fcaee0~1..0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] echo 23:50:59 -----------> git rev-list -1 --merges 0191fcbf31d47e6537e79896ea60966564fcaee0~1..0191fcbf31d47e6537e79896ea60966564fcaee0 0191fcbf31d47e6537e79896ea60966564fcaee0 23:50:59 0191fcbf31d47e6537e79896ea60966564fcaee0 [false] [Pipeline] sh 23:50:59 + git log --format=format:%s -1 0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] echo 23:50:59 ========================================================= 23:50:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:50:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:50:59 + git log --format=format:%s -1 0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] echo 23:50:59 [semverPrep] GIT_COMMIT: 0191fcbf31d47e6537e79896ea60966564fcaee0, Commit Message: Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15 [Pipeline] echo 23:50:59 [semverPrep] This is not a build commit. [Pipeline] sh 23:51:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:51:00 + grep -v github /etc/ssh/ssh_known_hosts 23:51:00 + [ -e /tmp/ssh_known_hosts ] 23:51:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:51:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:51:00 + sudo tee -a /etc/ssh/ssh_known_hosts 23:51:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:00 23:51:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:00 0.1.4: Pulling from edgex-devops/py-git-semver 23:51:00 b85a868b505f: Pulling fs layer 23:51:00 e2be974225ed: Pulling fs layer 23:51:00 339a4e72a1f5: Pulling fs layer 23:51:00 988bab9f4d93: Pulling fs layer 23:51:00 1469e6f7b9e6: Pulling fs layer 23:51:00 eaf3925da568: Pulling fs layer 23:51:00 bab4dde63d76: Pulling fs layer 23:51:00 bde34c3a00c8: Pulling fs layer 23:51:00 b352a97aabf1: Pulling fs layer 23:51:00 4872d77fe225: Pulling fs layer 23:51:00 5851b861e8e6: Pulling fs layer 23:51:00 bde34c3a00c8: Waiting 23:51:00 1469e6f7b9e6: Waiting 23:51:00 4872d77fe225: Waiting 23:51:00 eaf3925da568: Waiting 23:51:00 5851b861e8e6: Waiting 23:51:00 988bab9f4d93: Waiting 23:51:00 bab4dde63d76: Waiting 23:51:00 e2be974225ed: Download complete 23:51:00 988bab9f4d93: Verifying Checksum 23:51:00 988bab9f4d93: Download complete 23:51:01 1469e6f7b9e6: Verifying Checksum 23:51:01 1469e6f7b9e6: Download complete 23:51:01 eaf3925da568: Verifying Checksum 23:51:01 eaf3925da568: Download complete 23:51:01 339a4e72a1f5: Verifying Checksum 23:51:01 339a4e72a1f5: Download complete 23:51:01 bde34c3a00c8: Download complete 23:51:01 b352a97aabf1: Download complete 23:51:01 4872d77fe225: Verifying Checksum 23:51:01 5851b861e8e6: Download complete 23:51:01 b85a868b505f: Verifying Checksum 23:51:01 b85a868b505f: Download complete 23:51:01 bab4dde63d76: Verifying Checksum 23:51:01 bab4dde63d76: Download complete 23:51:02 b85a868b505f: Pull complete 23:51:02 e2be974225ed: Pull complete 23:51:02 339a4e72a1f5: Pull complete 23:51:03 988bab9f4d93: Pull complete 23:51:03 1469e6f7b9e6: Pull complete 23:51:03 eaf3925da568: Pull complete 23:51:05 bab4dde63d76: Pull complete 23:51:05 bde34c3a00c8: Pull complete 23:51:05 b352a97aabf1: Pull complete 23:51:05 4872d77fe225: Pull complete 23:51:05 5851b861e8e6: Pull complete 23:51:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:05 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 23:51:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:51:07 $ docker top b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf -eo pid,comm 23:51:07 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). 23:51:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:51:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:17 [ssh-agent] Looking for ssh-agent implementation... 23:51:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:17 $ docker exec b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf ssh-agent 23:51:17 SSH_AUTH_SOCK=/tmp/ssh-sBQXapk7F25a/agent.32 23:51:17 SSH_AGENT_PID=38 23:51:17 Running ssh-add (command line suppressed) 23:51:17 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6046045795621299950.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6046045795621299950.key) 23:51:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:17 + git tag --points-at HEAD [Pipeline] } 23:51:17 $ docker exec --env ******** --env ******** b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf ssh-agent -k 23:51:18 unset SSH_AUTH_SOCK; 23:51:18 unset SSH_AGENT_PID; 23:51:18 echo Agent pid 38 killed; 23:51:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:51:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:18 [ssh-agent] Looking for ssh-agent implementation... 23:51:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:18 $ docker exec b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf ssh-agent 23:51:18 SSH_AUTH_SOCK=/tmp/ssh-V5I0HfATLUhG/agent.71 23:51:18 SSH_AGENT_PID=77 23:51:18 Running ssh-add (command line suppressed) 23:51:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10321727874326848142.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10321727874326848142.key) 23:51:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:18 + git semver init 23:51:18 2024-05-28 23:51:18,910 [run_init] DEBUG init version:0.0.0 force:False 23:51:18 2024-05-28 23:51:18,912 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 23:51:18 2024-05-28 23:51:18,913 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 23:51:18 2024-05-28 23:51:18,913 [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) 23:51:19 2024-05-28 23:51:19,888 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 23:51:19 2024-05-28 23:51:19,889 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 23:51:19 2024-05-28 23:51:19,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 23:51:19 2024-05-28 23:51:19,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 23:51:19 3.0.1-dev.22 [Pipeline] } 23:51:19 $ docker exec --env ******** --env ******** b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf ssh-agent -k 23:51:20 unset SSH_AUTH_SOCK; 23:51:20 unset SSH_AGENT_PID; 23:51:20 echo Agent pid 77 killed; 23:51:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:51:20 + git semver [Pipeline] } 23:51:20 $ docker stop --time=1 b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf 23:51:21 $ docker rm -f --volumes b095c50501b977e1a2ac447e459ca759efa32fd1f35caec419ea3158c407a3cf [Pipeline] // withDockerContainer [Pipeline] sh 23:51:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:51:22 Stashed 1 file(s) [Pipeline] echo 23:51:22 [edgeXSemver]: initialized semver on version 3.0.1-dev.22 [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 23:51:22 provisioning config files... 23:51:22 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14923490208568981913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:23 ---> ****-login.sh 23:51:23 nexus3.edgexfoundry.org:10001 23:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:23 Configure a credential helper to remove this warning. See 23:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:23 23:51:23 Login Succeeded 23:51:23 nexus3.edgexfoundry.org:10002 23:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:23 Configure a credential helper to remove this warning. See 23:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:23 23:51:23 Login Succeeded 23:51:23 nexus3.edgexfoundry.org:10003 23:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:23 Configure a credential helper to remove this warning. See 23:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:23 23:51:23 Login Succeeded 23:51:23 nexus3.edgexfoundry.org:10004 23:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:23 Configure a credential helper to remove this warning. See 23:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:23 23:51:23 Login Succeeded 23:51:23 ****.io 23:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:23 Configure a credential helper to remove this warning. See 23:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:23 23:51:23 Login Succeeded 23:51:23 ---> ****-login.sh ends [Pipeline] } 23:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:51:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:51:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:51:23 ========================================================= 23:51:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:51:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:24 + 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 . 23:51:24 Sending build context to Docker daemon 23.12MB 23:51:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:51:24 Step 2/12 : FROM ${BASE} AS builder 23:51:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:51:24 619be1103602: Pulling fs layer 23:51:24 7862e08f4a3e: Pulling fs layer 23:51:24 5df492c9dc93: Pulling fs layer 23:51:24 7629e6793208: Pulling fs layer 23:51:24 4f4fb700ef54: Pulling fs layer 23:51:24 fb5054dd5b73: Pulling fs layer 23:51:24 eeca6798cff9: Pulling fs layer 23:51:24 aa269ceb94a6: Pulling fs layer 23:51:24 ada007ff1a6a: Pulling fs layer 23:51:24 7629e6793208: Waiting 23:51:24 4f4fb700ef54: Waiting 23:51:24 fb5054dd5b73: Waiting 23:51:24 eeca6798cff9: Waiting 23:51:24 aa269ceb94a6: Waiting 23:51:24 ada007ff1a6a: Waiting 23:51:24 7862e08f4a3e: Verifying Checksum 23:51:24 7862e08f4a3e: Download complete 23:51:24 7629e6793208: Verifying Checksum 23:51:24 7629e6793208: Download complete 23:51:24 4f4fb700ef54: Verifying Checksum 23:51:24 4f4fb700ef54: Download complete 23:51:24 fb5054dd5b73: Verifying Checksum 23:51:24 fb5054dd5b73: Download complete 23:51:24 619be1103602: Verifying Checksum 23:51:24 619be1103602: Download complete 23:51:24 eeca6798cff9: Verifying Checksum 23:51:24 eeca6798cff9: Download complete 23:51:24 619be1103602: Pull complete 23:51:24 ada007ff1a6a: Verifying Checksum 23:51:24 ada007ff1a6a: Download complete 23:51:24 7862e08f4a3e: Pull complete 23:51:24 5df492c9dc93: Verifying Checksum 23:51:24 5df492c9dc93: Download complete 23:51:25 aa269ceb94a6: Verifying Checksum 23:51:25 aa269ceb94a6: Download complete 23:51:28 5df492c9dc93: Pull complete 23:51:28 7629e6793208: Pull complete 23:51:28 4f4fb700ef54: Pull complete 23:51:28 fb5054dd5b73: Pull complete 23:51:28 eeca6798cff9: Pull complete 23:51:30 aa269ceb94a6: Pull complete 23:51:31 ada007ff1a6a: Pull complete 23:51:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 23:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:51:31 ---> f489d0715acc 23:51:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:51:33 ---> Running in a279e9da01a0 23:51:33 Removing intermediate container a279e9da01a0 23:51:33 ---> bfb5fd17b0dc 23:51:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:51:33 ---> Running in d79a6441e37f 23:51:33 Removing intermediate container d79a6441e37f 23:51:33 ---> f76368c62ac9 23:51:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:51:33 ---> Running in c66433afadfc 23:51:33 Removing intermediate container c66433afadfc 23:51:33 ---> bae7cf3b6e2a 23:51:33 Step 6/12 : WORKDIR /device-uart 23:51:33 ---> Running in 0c1705e83401 23:51:33 Removing intermediate container 0c1705e83401 23:51:33 ---> 56b5493eab19 23:51:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:51:33 ---> Running in 00ae2670a79b 23:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:51:33 (1/4) Installing openssh-keygen (9.3_p2-r1) 23:51:33 (2/4) Installing libedit (20221030.3.1-r1) 23:51:33 (3/4) Installing openssh-client-common (9.3_p2-r1) 23:51:33 (4/4) Installing openssh-client-default (9.3_p2-r1) 23:51:33 Executing busybox-1.36.1-r5.trigger 23:51:33 OK: 268 MiB in 56 packages 23:51:34 Removing intermediate container 00ae2670a79b 23:51:34 ---> a0ffd1d7b264 23:51:34 Step 8/12 : COPY go.mod vendor* ./ 23:51:34 ---> 73d2d91bf272 23:51:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:34 ---> Running in de9c5f1e9a53 23:51:37 Still waiting to schedule task 23:51:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-977’ is offline 23:52:21 Removing intermediate container de9c5f1e9a53 23:52:21 ---> b8696b0766ca 23:52:21 Step 10/12 : COPY . . 23:52:21 ---> 3a763403a8d9 23:52:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:21 ---> Running in 01216039959c 23:52:21 Removing intermediate container 01216039959c 23:52:21 ---> 03f780504d83 23:52:21 Step 12/12 : RUN ${MAKE} 23:52:21 ---> Running in a26dd241e0ff 23:52:21 noop 23:52:21 Removing intermediate container a26dd241e0ff 23:52:21 ---> 8e9e70c1bc37 23:52:21 Successfully built 8e9e70c1bc37 23:52:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:21 + docker inspect -f . ci-base-image-x86_64 23:52:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:21 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 23:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:22 $ docker top ec07aabb5a11b20accab32544005451ae6c065b3f905f37377b43643080baeac -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:23 + go version 23:52:23 go version go1.21.9 linux/amd64 [Pipeline] } 23:52:23 $ docker stop --time=1 ec07aabb5a11b20accab32544005451ae6c065b3f905f37377b43643080baeac 23:52:24 $ docker rm -f --volumes ec07aabb5a11b20accab32544005451ae6c065b3f905f37377b43643080baeac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:25 + docker inspect -f . ci-base-image-x86_64 23:52:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:25 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 23:52:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:26 $ docker top b520c28c0c3f2d577f5121d5c2fbca924fd282a36d8dbe403ff27cc44dccb114 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 23:52:27 + make test 23:52:27 go test ./... -coverprofile=coverage.out 23:52:29 ? github.com/edgexfoundry/device-uart [no test files] 23:52:47 ? github.com/edgexfoundry/device-uart/cmd [no test files] 23:52:47 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 23:52:57 go vet ./... 23:53:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:04 ./bin/test-attribution-txt.sh 23:53:04 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 23:53:04 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 23:53:04 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 23:53:04 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 23:53:04 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 23:53:04 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 23:53:04 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 23:53:04 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 23:53:04 An attribution for golang.org/x/term is missing from Attribution.txt, please add 23:53:04 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 23:53:04 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 23:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:53:04 $ docker stop --time=1 b520c28c0c3f2d577f5121d5c2fbca924fd282a36d8dbe403ff27cc44dccb114 23:53:06 $ docker rm -f --volumes b520c28c0c3f2d577f5121d5c2fbca924fd282a36d8dbe403ff27cc44dccb114 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:07 + ls -al . 23:53:07 total 224 23:53:07 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:52 . 23:53:07 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:50 .. 23:53:07 -rw-rw-r-- 1 jenkins jenkins 140 May 28 23:50 .dockerignore 23:53:07 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:52 .git 23:53:07 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:50 .github 23:53:07 -rw-rw-r-- 1 jenkins jenkins 343 May 28 23:50 .gitignore 23:53:07 -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:50 .golangci.yml 23:53:07 drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:51 .semver 23:53:07 -rw-rw-r-- 1 jenkins jenkins 9941 May 28 23:50 Attribution.txt 23:53:07 -rw-rw-r-- 1 jenkins jenkins 1908 May 28 23:50 CHANGELOG.md 23:53:07 -rw-rw-r-- 1 jenkins jenkins 1886 May 28 23:50 Dockerfile 23:53:07 -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:50 GOVERNANCE.md 23:53:07 -rw-rw-r-- 1 jenkins jenkins 675 May 28 23:50 Jenkinsfile 23:53:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:50 LICENSE 23:53:07 -rw-rw-r-- 1 jenkins jenkins 1872 May 28 23:50 Makefile 23:53:07 -rw-rw-r-- 1 jenkins jenkins 617 May 28 23:50 OWNERS.md 23:53:07 -rw-rw-r-- 1 jenkins jenkins 8892 May 28 23:50 README.md 23:53:07 -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION 23:53:07 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:50 bin 23:53:07 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:50 cmd 23:53:07 -rw-r--r-- 1 jenkins jenkins 10 May 28 23:52 coverage.out 23:53:07 -rw-rw-r-- 1 jenkins jenkins 7020 May 28 23:50 go.mod 23:53:07 -rw-rw-r-- 1 jenkins jenkins 101763 May 28 23:50 go.sum 23:53:07 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:50 internal 23:53:07 -rw-rw-r-- 1 jenkins jenkins 209 May 28 23:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:08 + 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=0191fcbf31d47e6537e79896ea60966564fcaee0 --label arch=amd64 --label version=3.0.1-dev.22 . 23:53:08 Sending build context to Docker daemon 23.12MB 23:53:08 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 23:53:08 Step 2/26 : FROM ${BASE} AS builder 23:53:08 ---> 8e9e70c1bc37 23:53:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:53:08 ---> Running in 0295c4c85c5e 23:53:08 Removing intermediate container 0295c4c85c5e 23:53:08 ---> 1867851b43ad 23:53:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:53:08 ---> Running in 86d532294ec8 23:53:08 Removing intermediate container 86d532294ec8 23:53:08 ---> fd2920d49eb3 23:53:08 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:53:08 ---> Running in cf8464d544df 23:53:08 Removing intermediate container cf8464d544df 23:53:08 ---> 3c0aa9dec37a 23:53:08 Step 6/26 : WORKDIR /device-uart 23:53:08 ---> Running in fe2197aefd49 23:53:08 Removing intermediate container fe2197aefd49 23:53:08 ---> d61f4706adb4 23:53:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:08 ---> Running in 8556bcc46191 23:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:53:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:53:09 OK: 268 MiB in 56 packages 23:53:09 Removing intermediate container 8556bcc46191 23:53:09 ---> cb84c9d8a5fb 23:53:09 Step 8/26 : COPY go.mod vendor* ./ 23:53:09 ---> d0940e372f2a 23:53:09 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:09 ---> Running in ff6709047f4f 23:53:10 Removing intermediate container ff6709047f4f 23:53:10 ---> 342100535f1f 23:53:10 Step 10/26 : COPY . . 23:53:11 ---> 1ce7d76f76cb 23:53:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:11 ---> Running in a63811c6bcbd 23:53:11 Removing intermediate container a63811c6bcbd 23:53:11 ---> bbef7aefabfc 23:53:11 Step 12/26 : RUN ${MAKE} 23:53:11 ---> Running in 6c0de591f5ba 23:53:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-uart ./cmd 23:53:43 Removing intermediate container 6c0de591f5ba 23:53:43 ---> 311856cd63c5 23:53:43 Step 13/26 : FROM alpine:3.18 23:53:43 3.18: Pulling from library/alpine 23:53:43 619be1103602: Already exists 23:53:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:53:43 Status: Downloaded newer image for alpine:3.18 23:53:43 ---> d3782b16ccc9 23:53:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:53:43 ---> Running in aad403e4aa71 23:53:43 Removing intermediate container aad403e4aa71 23:53:43 ---> 1711e37d0c67 23:53:43 Step 15/26 : RUN apk add --update --no-cache dumb-init 23:53:43 ---> Running in eb046dcd8f3c 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:53:43 (1/1) Installing dumb-init (1.2.5-r2) 23:53:43 Executing busybox-1.36.1-r5.trigger 23:53:43 OK: 7 MiB in 16 packages 23:53:43 Removing intermediate container eb046dcd8f3c 23:53:43 ---> 82602c262c96 23:53:43 Step 16/26 : RUN apk --no-cache upgrade 23:53:43 ---> Running in 7a3b026679c9 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:53:43 Upgrading critical system libraries and apk-tools: 23:53:43 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 23:53:43 Executing busybox-1.36.1-r5.trigger 23:53:43 Continuing the upgrade transaction with new apk-tools: 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:53:43 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 23:53:43 Executing busybox-1.36.1-r6.post-upgrade 23:53:43 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 23:53:43 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 23:53:43 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 23:53:43 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 23:53:43 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 23:53:43 Executing busybox-1.36.1-r6.trigger 23:53:43 OK: 7 MiB in 16 packages 23:53:43 Removing intermediate container 7a3b026679c9 23:53:43 ---> 38dcba7918b8 23:53:43 Step 17/26 : WORKDIR / 23:53:43 ---> Running in 13554a9c1239 23:53:43 Removing intermediate container 13554a9c1239 23:53:43 ---> c950d6252730 23:53:43 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 23:53:43 ---> 2d1b4eccd544 23:53:43 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 23:53:43 ---> 875e712b7a68 23:53:43 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 23:53:44 ---> b9f36686f268 23:53:44 Step 21/26 : EXPOSE 59995 23:53:44 ---> Running in 4ce5d56783b7 23:53:44 Removing intermediate container 4ce5d56783b7 23:53:44 ---> bef16f4ef2c1 23:53:44 Step 22/26 : ENTRYPOINT ["/device-uart"] 23:53:44 ---> Running in 6ca2bfa4225e 23:53:44 Removing intermediate container 6ca2bfa4225e 23:53:44 ---> eb987bc6f5c1 23:53:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:53:44 ---> Running in 8210bf3f82ca 23:53:44 Removing intermediate container 8210bf3f82ca 23:53:44 ---> d6c4dce622e4 23:53:44 Step 24/26 : LABEL arch=amd64 23:53:44 ---> Running in 790dc6b61acc 23:53:44 Removing intermediate container 790dc6b61acc 23:53:44 ---> 30429e00ded7 23:53:44 Step 25/26 : LABEL git_sha=0191fcbf31d47e6537e79896ea60966564fcaee0 23:53:44 ---> Running in 92408a1cac13 23:53:44 Removing intermediate container 92408a1cac13 23:53:44 ---> 88f0f959c0f5 23:53:44 Step 26/26 : LABEL version=3.0.1-dev.22 23:53:44 ---> Running in 4f79220f5710 23:53:44 Removing intermediate container 4f79220f5710 23:53:44 ---> b59a95366b10 23:53:44 [Warning] One or more build-args [ARCH] were not consumed 23:53:44 Successfully built b59a95366b10 23:53:44 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:44 provisioning config files... 23:53:44 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17588209119444933724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:45 ---> ****-login.sh 23:53:45 nexus3.edgexfoundry.org:10001 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10002 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10003 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10004 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 ****.io 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 ---> ****-login.sh ends [Pipeline] } 23:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:53:45 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 23:53:45 0191fcbf31d47e6537e79896ea60966564fcaee0 23:53:45 latest 23:53:45 3.0.1-dev.22 23:53:45 0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 23:53:45 main 23:53:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:46 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:46 + docker push nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0 23:53:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 23:53:46 1df0ef5f9f12: Preparing 23:53:46 013b3d9e7317: Preparing 23:53:46 248c6cd17b29: Preparing 23:53:46 4f6acf7657ea: Preparing 23:53:46 e964950143d7: Preparing 23:53:46 aedc3bda2944: Preparing 23:53:46 aedc3bda2944: Waiting 23:53:46 248c6cd17b29: Pushed 23:53:46 e964950143d7: Pushed 23:53:46 013b3d9e7317: Pushed 23:53:46 aedc3bda2944: Layer already exists 23:53:47 4f6acf7657ea: Pushed 23:53:51 1df0ef5f9f12: Pushed 23:53:51 0191fcbf31d47e6537e79896ea60966564fcaee0: digest: sha256:40e31ca4333bd94ba11f067c85ced98ebf6adf7c99522a595306fe2eb5c69bfb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:51 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:51 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 23:53:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 23:53:51 1df0ef5f9f12: Preparing 23:53:51 013b3d9e7317: Preparing 23:53:51 248c6cd17b29: Preparing 23:53:51 4f6acf7657ea: Preparing 23:53:51 e964950143d7: Preparing 23:53:51 aedc3bda2944: Preparing 23:53:51 aedc3bda2944: Waiting 23:53:51 1df0ef5f9f12: Layer already exists 23:53:51 013b3d9e7317: Layer already exists 23:53:51 248c6cd17b29: Layer already exists 23:53:51 e964950143d7: Layer already exists 23:53:51 4f6acf7657ea: Layer already exists 23:53:51 aedc3bda2944: Layer already exists 23:53:51 latest: digest: sha256:40e31ca4333bd94ba11f067c85ced98ebf6adf7c99522a595306fe2eb5c69bfb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:52 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:52 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.22 23:53:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 23:53:52 1df0ef5f9f12: Preparing 23:53:52 013b3d9e7317: Preparing 23:53:52 248c6cd17b29: Preparing 23:53:52 4f6acf7657ea: Preparing 23:53:52 e964950143d7: Preparing 23:53:52 aedc3bda2944: Preparing 23:53:52 aedc3bda2944: Waiting 23:53:52 013b3d9e7317: Layer already exists 23:53:52 e964950143d7: Layer already exists 23:53:52 4f6acf7657ea: Layer already exists 23:53:52 1df0ef5f9f12: Layer already exists 23:53:52 248c6cd17b29: Layer already exists 23:53:52 aedc3bda2944: Layer already exists 23:53:52 3.0.1-dev.22: digest: sha256:40e31ca4333bd94ba11f067c85ced98ebf6adf7c99522a595306fe2eb5c69bfb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:52 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:53 + docker push nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 23:53:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 23:53:53 1df0ef5f9f12: Preparing 23:53:53 013b3d9e7317: Preparing 23:53:53 248c6cd17b29: Preparing 23:53:53 4f6acf7657ea: Preparing 23:53:53 e964950143d7: Preparing 23:53:53 aedc3bda2944: Preparing 23:53:53 248c6cd17b29: Layer already exists 23:53:53 1df0ef5f9f12: Layer already exists 23:53:53 4f6acf7657ea: Layer already exists 23:53:53 013b3d9e7317: Layer already exists 23:53:53 e964950143d7: Layer already exists 23:53:53 aedc3bda2944: Layer already exists 23:53:53 0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22: digest: sha256:40e31ca4333bd94ba11f067c85ced98ebf6adf7c99522a595306fe2eb5c69bfb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:53 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:53 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 23:53:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 23:53:53 1df0ef5f9f12: Preparing 23:53:53 013b3d9e7317: Preparing 23:53:53 248c6cd17b29: Preparing 23:53:53 4f6acf7657ea: Preparing 23:53:53 e964950143d7: Preparing 23:53:53 aedc3bda2944: Preparing 23:53:53 aedc3bda2944: Waiting 23:53:53 4f6acf7657ea: Layer already exists 23:53:53 1df0ef5f9f12: Layer already exists 23:53:53 248c6cd17b29: Layer already exists 23:53:53 e964950143d7: Layer already exists 23:53:53 013b3d9e7317: Layer already exists 23:53:53 aedc3bda2944: Layer already exists 23:53:53 main: digest: sha256:40e31ca4333bd94ba11f067c85ced98ebf6adf7c99522a595306fe2eb5c69bfb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:54 ===================================================== [Pipeline] echo 23:53:54 taggedImages: 23:53:54 - nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0 23:53:54 - nexus3.edgexfoundry.org:10004/device-uart:latest 23:53:54 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.22 23:53:54 - nexus3.edgexfoundry.org:10004/device-uart:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 23:53:54 - 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 23:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:54 23:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:54 latest: Pulling from edgex-lftools-log-publisher 23:53:54 5eb5b503b376: Pulling fs layer 23:53:54 5c69ac0246d0: Pulling fs layer 23:53:54 ec43610c2a17: Pulling fs layer 23:53:54 3a2ae6a8a46f: Pulling fs layer 23:53:54 33b1e0a273af: Pulling fs layer 23:53:54 5d3b04190fa2: Pulling fs layer 23:53:54 2f39f015ded8: Pulling fs layer 23:53:54 33b1e0a273af: Waiting 23:53:54 5d3b04190fa2: Waiting 23:53:54 2f39f015ded8: Waiting 23:53:54 3a2ae6a8a46f: Waiting 23:53:54 5c69ac0246d0: Verifying Checksum 23:53:54 5c69ac0246d0: Download complete 23:53:54 3a2ae6a8a46f: Verifying Checksum 23:53:54 3a2ae6a8a46f: Download complete 23:53:54 33b1e0a273af: Verifying Checksum 23:53:54 33b1e0a273af: Download complete 23:53:54 5d3b04190fa2: Download complete 23:53:55 ec43610c2a17: Verifying Checksum 23:53:55 ec43610c2a17: Download complete 23:53:55 5eb5b503b376: Verifying Checksum 23:53:55 5eb5b503b376: Download complete 23:53:56 2f39f015ded8: Download complete 23:53:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-979 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 23:53:56 Running in /w/workspace/device-uart/29 [Pipeline] { [Pipeline] checkout 23:53:56 The recommended git tool is: git 23:53:56 5eb5b503b376: Pull complete 23:53:56 5c69ac0246d0: Pull complete 23:53:56 ec43610c2a17: Pull complete 23:53:57 3a2ae6a8a46f: Pull complete 23:53:57 33b1e0a273af: Pull complete 23:53:57 5d3b04190fa2: Pull complete 23:54:01 2f39f015ded8: Pull complete 23:54:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:01 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 23:54:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:03 $ docker top b68cf136f50c905363fc5cb0d50936fb97a7c7f29730095fb433710bcfb5c8fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:03 ---> job-cost.sh 23:54:03 lf-activate-venv: SKIPPING 23:54:03 INFO: No Stack... 23:54:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:04 INFO: Archiving Costs [Pipeline] sh 23:54:04 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 23:54:04 + cut -d, -f6 [Pipeline] lock 23:54:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] 23:54:04 Resource [jenkins-edgexfoundry-device-uart-main-29-stack-cost] did not exist. Created. 23:54:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:04 using credential edgex-jenkins-ssh 23:54:04 Cloning the remote Git repository 23:54:04 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:04 Stashed 1 file(s) [Pipeline] } 23:54:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:04 $ docker stop --time=1 b68cf136f50c905363fc5cb0d50936fb97a7c7f29730095fb433710bcfb5c8fe 23:54:04 Cloning repository git@github.com:edgexfoundry/device-uart.git 23:54:04 > git init /w/workspace/device-uart/29 # timeout=10 23:54:04 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 23:54:04 > git --version # timeout=10 23:54:05 > git --version # 'git version 2.25.1' 23:54:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:05 $ docker rm -f --volumes b68cf136f50c905363fc5cb0d50936fb97a7c7f29730095fb433710bcfb5c8fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:07 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 23:54:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:08 Avoid second fetch 23:54:08 Checking out Revision 0191fcbf31d47e6537e79896ea60966564fcaee0 (main) 23:54:09 Commit message: "Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" 23:54:08 > git config core.sparsecheckout # timeout=10 23:54:08 > git checkout -f 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:54:14 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:14 Dload Upload Total Spent Left Speed 23:54:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 23:54:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:54:15 + + sudo tee /etc/docker/daemon.new 23:54:15 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:54:15 { 23:54:15 "registry-mirrors": [ 23:54:15 "https://nexus3.edgexfoundry.org:10001" 23:54:15 ], 23:54:15 "bip": "10.250.0.254/24", 23:54:15 "hosts": [ 23:54:15 "tcp://0.0.0.0:5555", 23:54:15 "unix:///var/run/docker.sock" 23:54:15 ], 23:54:15 "mtu": 1458, 23:54:15 "selinux-enabled": true, 23:54:15 "seccomp-profile": "/etc/docker/seccomp.json" 23:54:15 } [Pipeline] sh 23:54:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:54:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:34 provisioning config files... 23:54:34 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/29@tmp/config7190570686581134905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:34 ---> ****-login.sh 23:54:34 nexus3.edgexfoundry.org:10001 23:54:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:35 Configure a credential helper to remove this warning. See 23:54:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:35 23:54:35 Login Succeeded 23:54:35 nexus3.edgexfoundry.org:10002 23:54:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:35 Configure a credential helper to remove this warning. See 23:54:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:35 23:54:35 Login Succeeded 23:54:35 nexus3.edgexfoundry.org:10003 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:36 Configure a credential helper to remove this warning. See 23:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:36 23:54:36 Login Succeeded 23:54:36 nexus3.edgexfoundry.org:10004 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:36 Configure a credential helper to remove this warning. See 23:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:36 23:54:36 Login Succeeded 23:54:36 ****.io 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:37 Configure a credential helper to remove this warning. See 23:54:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:37 23:54:37 Login Succeeded 23:54:37 ---> ****-login.sh ends [Pipeline] } 23:54:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:54:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:54:37 ========================================================= 23:54:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:54:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:54:38 Sending build context to Docker daemon 11.62MB 23:54:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:54:38 Step 2/12 : FROM ${BASE} AS builder 23:54:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:54:38 c6b39de5b339: Pulling fs layer 23:54:38 a69c41024577: Pulling fs layer 23:54:38 d6de4b400683: Pulling fs layer 23:54:38 35cb2a7552d0: Pulling fs layer 23:54:38 4f4fb700ef54: Pulling fs layer 23:54:38 464afbd9ba4c: Pulling fs layer 23:54:38 00f215d4a9da: Pulling fs layer 23:54:38 d496ad576159: Pulling fs layer 23:54:38 4f4fb700ef54: Waiting 23:54:38 464afbd9ba4c: Waiting 23:54:38 35cb2a7552d0: Waiting 23:54:38 00f215d4a9da: Waiting 23:54:38 d496ad576159: Waiting 23:54:38 a69c41024577: Verifying Checksum 23:54:38 a69c41024577: Download complete 23:54:38 35cb2a7552d0: Verifying Checksum 23:54:38 35cb2a7552d0: Download complete 23:54:38 4f4fb700ef54: Verifying Checksum 23:54:38 4f4fb700ef54: Download complete 23:54:38 464afbd9ba4c: Verifying Checksum 23:54:38 464afbd9ba4c: Download complete 23:54:38 c6b39de5b339: Download complete 23:54:39 d496ad576159: Verifying Checksum 23:54:39 d496ad576159: Download complete 23:54:39 c6b39de5b339: Pull complete 23:54:40 a69c41024577: Pull complete 23:54:40 d6de4b400683: Verifying Checksum 23:54:40 d6de4b400683: Download complete 23:54:41 00f215d4a9da: Verifying Checksum 23:54:41 00f215d4a9da: Download complete 23:54:54 d6de4b400683: Pull complete 23:54:54 35cb2a7552d0: Pull complete 23:54:54 4f4fb700ef54: Pull complete 23:54:54 464afbd9ba4c: Pull complete 23:55:04 00f215d4a9da: Pull complete 23:55:05 d496ad576159: Pull complete 23:55:05 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 23:55:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:55:05 ---> f246e2811388 23:55:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:55:06 ---> Running in af234c8b83a5 23:55:06 Removing intermediate container af234c8b83a5 23:55:06 ---> 2e2dc945d694 23:55:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:55:06 ---> Running in e443e8e69a59 23:55:06 Removing intermediate container e443e8e69a59 23:55:06 ---> 342cbf7c89b6 23:55:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:55:07 ---> Running in fe6e67909994 23:55:07 Removing intermediate container fe6e67909994 23:55:07 ---> 82dd8b461fc1 23:55:07 Step 6/12 : WORKDIR /device-uart 23:55:07 ---> Running in 661203258b7d 23:55:07 Removing intermediate container 661203258b7d 23:55:07 ---> 31e8f89dc139 23:55:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:07 ---> Running in cdeddcd92ac7 23:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:55:12 (1/4) Installing openssh-keygen (9.3_p2-r1) 23:55:12 (2/4) Installing libedit (20221030.3.1-r1) 23:55:12 (3/4) Installing openssh-client-common (9.3_p2-r1) 23:55:12 (4/4) Installing openssh-client-default (9.3_p2-r1) 23:55:12 Executing busybox-1.36.1-r5.trigger 23:55:12 OK: 271 MiB in 56 packages 23:55:13 Removing intermediate container cdeddcd92ac7 23:55:13 ---> c47a626b874c 23:55:13 Step 8/12 : COPY go.mod vendor* ./ 23:55:13 ---> 98e42d420261 23:55:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:14 ---> Running in 6d9248fbe8d0 23:57:05 Removing intermediate container 6d9248fbe8d0 23:57:05 ---> 9738c76a6d0a 23:57:05 Step 10/12 : COPY . . 23:57:06 ---> 59035262c571 23:57:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:06 ---> Running in b0ba8b6db591 23:57:06 Removing intermediate container b0ba8b6db591 23:57:06 ---> 234c2b2166e2 23:57:06 Step 12/12 : RUN ${MAKE} 23:57:06 ---> Running in 229014a990a4 23:57:07 noop 23:57:08 Removing intermediate container 229014a990a4 23:57:08 ---> 407eb8add37b 23:57:08 Successfully built 407eb8add37b 23:57:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:09 + docker inspect -f . ci-base-image-arm64 23:57:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:09 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 23:57:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/29 -v /w/workspace/device-uart/29:/w/workspace/device-uart/29:rw,z -v /w/workspace/device-uart/29@tmp:/w/workspace/device-uart/29@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-arm64 cat 23:57:10 $ docker top 7323124bc092e0ff882d5d77b78bdefd296a811c6a3b2c8cc4ca33dec9412d06 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:11 + go version 23:57:11 go version go1.21.9 linux/arm64 [Pipeline] } 23:57:11 $ docker stop --time=1 7323124bc092e0ff882d5d77b78bdefd296a811c6a3b2c8cc4ca33dec9412d06 23:57:13 $ docker rm -f --volumes 7323124bc092e0ff882d5d77b78bdefd296a811c6a3b2c8cc4ca33dec9412d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:14 + docker inspect -f . ci-base-image-arm64 23:57:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:14 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 23:57:14 $ 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/29 -v /w/workspace/device-uart/29:/w/workspace/device-uart/29:rw,z -v /w/workspace/device-uart/29@tmp:/w/workspace/device-uart/29@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-arm64 cat 23:57:15 $ docker top f528ec8da48ddd17e6fdce05ed2adbc8a6bdfd66b881e10c0ef65211919f80d5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:16 + git config --global --add safe.directory /w/workspace/device-uart/29 [Pipeline] fileExists [Pipeline] sh 23:57:16 + make test 23:57:17 go test ./... -coverprofile=coverage.out 23:57:23 ? github.com/edgexfoundry/device-uart [no test files] 00:01:00 ? github.com/edgexfoundry/device-uart/cmd [no test files] 00:01:00 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 00:01:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:01:00 go vet ./... 00:01:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:01:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:01:47 ./bin/test-attribution-txt.sh 00:01:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 00:01:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 00:01:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 00:01:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 00:01:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 00:01:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 00:01:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 00:01:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 00:01:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 00:01:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 00:01:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 00:01:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:01:47 $ docker stop --time=1 f528ec8da48ddd17e6fdce05ed2adbc8a6bdfd66b881e10c0ef65211919f80d5 00:01:49 $ docker rm -f --volumes f528ec8da48ddd17e6fdce05ed2adbc8a6bdfd66b881e10c0ef65211919f80d5 [Pipeline] // withDockerContainer [Pipeline] sh 00:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:51 Warning: overwriting stash ‘coverage-report’ 00:01:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:52 + ls -al . 00:01:52 total 220 00:01:52 drwxrwxr-x 7 jenkins jenkins 4096 May 28 23:57 . 00:01:52 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:54 .. 00:01:52 -rw-rw-r-- 1 jenkins jenkins 140 May 28 23:54 .dockerignore 00:01:52 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:54 .git 00:01:52 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:54 .github 00:01:52 -rw-rw-r-- 1 jenkins jenkins 343 May 28 23:54 .gitignore 00:01:52 -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:54 .golangci.yml 00:01:52 -rw-rw-r-- 1 jenkins jenkins 9941 May 28 23:54 Attribution.txt 00:01:52 -rw-rw-r-- 1 jenkins jenkins 1908 May 28 23:54 CHANGELOG.md 00:01:52 -rw-rw-r-- 1 jenkins jenkins 1886 May 28 23:54 Dockerfile 00:01:52 -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:54 GOVERNANCE.md 00:01:52 -rw-rw-r-- 1 jenkins jenkins 675 May 28 23:54 Jenkinsfile 00:01:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:54 LICENSE 00:01:52 -rw-rw-r-- 1 jenkins jenkins 1872 May 28 23:54 Makefile 00:01:52 -rw-rw-r-- 1 jenkins jenkins 617 May 28 23:54 OWNERS.md 00:01:52 -rw-rw-r-- 1 jenkins jenkins 8892 May 28 23:54 README.md 00:01:52 -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION 00:01:52 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:54 bin 00:01:52 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:54 cmd 00:01:52 -rw-r--r-- 1 jenkins jenkins 10 May 28 23:57 coverage.out 00:01:52 -rw-rw-r-- 1 jenkins jenkins 7020 May 28 23:54 go.mod 00:01:52 -rw-rw-r-- 1 jenkins jenkins 101763 May 28 23:54 go.sum 00:01:52 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:54 internal 00:01:52 -rw-rw-r-- 1 jenkins jenkins 209 May 28 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01: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=0191fcbf31d47e6537e79896ea60966564fcaee0 --label arch=arm64 --label version=3.0.1-dev.22 . 00:01:53 Sending build context to Docker daemon 11.62MB 00:01:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:01:53 Step 2/26 : FROM ${BASE} AS builder 00:01:53 ---> 407eb8add37b 00:01:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:01:53 ---> Running in c787fbaf7f6a 00:01:53 Removing intermediate container c787fbaf7f6a 00:01:53 ---> 8a42e1fc76b0 00:01:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:01:53 ---> Running in 404773cf674d 00:01:54 Removing intermediate container 404773cf674d 00:01:54 ---> 0d44ad38c9a1 00:01:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:01:54 ---> Running in ae1992664b90 00:01:54 Removing intermediate container ae1992664b90 00:01:54 ---> 261d9449c60e 00:01:54 Step 6/26 : WORKDIR /device-uart 00:01:54 ---> Running in 9ebda9b4bd26 00:01:54 Removing intermediate container 9ebda9b4bd26 00:01:54 ---> 07d9cda8d594 00:01:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:55 ---> Running in 95aad79c1971 00:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:01:57 OK: 271 MiB in 56 packages 00:01:58 Removing intermediate container 95aad79c1971 00:01:58 ---> 5c84d3e14f55 00:01:58 Step 8/26 : COPY go.mod vendor* ./ 00:01:58 ---> 19aadc989645 00:01:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:58 ---> Running in d114ae655bae 00:02:01 Removing intermediate container d114ae655bae 00:02:01 ---> f74d9d05a79c 00:02:01 Step 10/26 : COPY . . 00:02:02 ---> 36301a87506e 00:02:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:02:02 ---> Running in f02218da086e 00:02:02 Removing intermediate container f02218da086e 00:02:02 ---> f1e99c62b937 00:02:02 Step 12/26 : RUN ${MAKE} 00:02:02 ---> Running in e36c0da436bf 00:02:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-uart ./cmd 00:05:55 Removing intermediate container e36c0da436bf 00:05:55 ---> b83a0d441803 00:05:55 Step 13/26 : FROM alpine:3.18 00:05:55 3.18: Pulling from library/alpine 00:05:55 c6b39de5b339: Already exists 00:05:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:05:55 Status: Downloaded newer image for alpine:3.18 00:05:55 ---> 33abbf032149 00:05:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:05:55 ---> Running in d5aad142e6f8 00:05:55 Removing intermediate container d5aad142e6f8 00:05:55 ---> 9ad0cfc18a30 00:05:55 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:05:55 ---> Running in 9f5a4413fe54 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:05:55 (1/1) Installing dumb-init (1.2.5-r2) 00:05:55 Executing busybox-1.36.1-r5.trigger 00:05:55 OK: 8 MiB in 16 packages 00:05:55 Removing intermediate container 9f5a4413fe54 00:05:55 ---> 2c05670625e2 00:05:55 Step 16/26 : RUN apk --no-cache upgrade 00:05:55 ---> Running in 406e6a3d0ce9 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:05:55 Upgrading critical system libraries and apk-tools: 00:05:55 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 00:05:55 Executing busybox-1.36.1-r5.trigger 00:05:55 Continuing the upgrade transaction with new apk-tools: 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:05:55 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 00:05:55 Executing busybox-1.36.1-r6.post-upgrade 00:05:55 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 00:05:55 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:05:55 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 00:05:55 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 00:05:55 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 00:05:55 Executing busybox-1.36.1-r6.trigger 00:05:55 OK: 8 MiB in 16 packages 00:05:55 Removing intermediate container 406e6a3d0ce9 00:05:55 ---> edb293467251 00:05:55 Step 17/26 : WORKDIR / 00:05:55 ---> Running in 0313af68da5f 00:05:55 Removing intermediate container 0313af68da5f 00:05:55 ---> 1811e32403d5 00:05:55 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 00:05:55 ---> 557391d3a1eb 00:05:55 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 00:05:55 ---> d28872af6f07 00:05:55 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 00:05:55 ---> e0971288472c 00:05:55 Step 21/26 : EXPOSE 59995 00:05:55 ---> Running in 95b9693c2015 00:05:55 Removing intermediate container 95b9693c2015 00:05:55 ---> 0bad2c588f3c 00:05:55 Step 22/26 : ENTRYPOINT ["/device-uart"] 00:05:55 ---> Running in cf4ef3a16258 00:05:55 Removing intermediate container cf4ef3a16258 00:05:55 ---> d6313b942b38 00:05:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:05:55 ---> Running in 52ac5a602dd2 00:05:56 Removing intermediate container 52ac5a602dd2 00:05:56 ---> 54aed2ecb972 00:05:56 Step 24/26 : LABEL arch=arm64 00:05:56 ---> Running in a89ab63ebb6e 00:05:56 Removing intermediate container a89ab63ebb6e 00:05:56 ---> add462fd904e 00:05:56 Step 25/26 : LABEL git_sha=0191fcbf31d47e6537e79896ea60966564fcaee0 00:05:56 ---> Running in 40fa9c085c07 00:05:56 Removing intermediate container 40fa9c085c07 00:05:56 ---> 949686c7093a 00:05:56 Step 26/26 : LABEL version=3.0.1-dev.22 00:05:57 ---> Running in 9677e48bdc48 00:05:57 Removing intermediate container 9677e48bdc48 00:05:57 ---> e60ab18a432d 00:05:57 [Warning] One or more build-args [ARCH] were not consumed 00:05:57 Successfully built e60ab18a432d 00:05:57 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 00:05:57 provisioning config files... 00:05:57 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/29@tmp/config940795701787662442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:57 ---> ****-login.sh 00:05:57 nexus3.edgexfoundry.org:10001 00:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:05:58 Configure a credential helper to remove this warning. See 00:05:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:05:58 00:05:58 Login Succeeded 00:05:58 nexus3.edgexfoundry.org:10002 00:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:05:58 Configure a credential helper to remove this warning. See 00:05:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:05:58 00:05:58 Login Succeeded 00:05:58 nexus3.edgexfoundry.org:10003 00:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:05:58 Configure a credential helper to remove this warning. See 00:05:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:05:58 00:05:58 Login Succeeded 00:05:58 nexus3.edgexfoundry.org:10004 00:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:05:59 Configure a credential helper to remove this warning. See 00:05:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:05:59 00:05:59 Login Succeeded 00:05:59 ****.io 00:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:05:59 Configure a credential helper to remove this warning. See 00:05:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:05:59 00:05:59 Login Succeeded 00:05:59 ---> ****-login.sh ends [Pipeline] } 00:05:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:05:59 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 00:05:59 0191fcbf31d47e6537e79896ea60966564fcaee0 00:05:59 latest 00:05:59 3.0.1-dev.22 00:05:59 0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 00:05:59 main 00:05:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:00 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:00 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0 00:06:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:06:00 31952940752e: Preparing 00:06:00 3bc8368e7738: Preparing 00:06:00 0c011e621087: Preparing 00:06:00 bf03b2000e7f: Preparing 00:06:00 4934cbd6dc70: Preparing 00:06:00 7c504f21be85: Preparing 00:06:00 7c504f21be85: Waiting 00:06:00 0c011e621087: Pushed 00:06:00 3bc8368e7738: Pushed 00:06:00 4934cbd6dc70: Pushed 00:06:00 7c504f21be85: Layer already exists 00:06:02 bf03b2000e7f: Pushed 00:06:10 31952940752e: Pushed 00:06:10 0191fcbf31d47e6537e79896ea60966564fcaee0: digest: sha256:9e414c95787330998aa68284c54cefce59f5b7f9eb0fadc2c95ba9a12e86a8a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:11 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:11 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 00:06:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:06:11 31952940752e: Preparing 00:06:11 3bc8368e7738: Preparing 00:06:11 0c011e621087: Preparing 00:06:11 bf03b2000e7f: Preparing 00:06:11 4934cbd6dc70: Preparing 00:06:11 7c504f21be85: Preparing 00:06:11 7c504f21be85: Waiting 00:06:11 3bc8368e7738: Layer already exists 00:06:11 4934cbd6dc70: Layer already exists 00:06:11 31952940752e: Layer already exists 00:06:11 bf03b2000e7f: Layer already exists 00:06:11 0c011e621087: Layer already exists 00:06:11 7c504f21be85: Layer already exists 00:06:11 latest: digest: sha256:9e414c95787330998aa68284c54cefce59f5b7f9eb0fadc2c95ba9a12e86a8a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:12 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:12 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.22 00:06:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:06:12 31952940752e: Preparing 00:06:12 3bc8368e7738: Preparing 00:06:12 0c011e621087: Preparing 00:06:12 bf03b2000e7f: Preparing 00:06:12 4934cbd6dc70: Preparing 00:06:12 7c504f21be85: Preparing 00:06:12 7c504f21be85: Waiting 00:06:12 bf03b2000e7f: Layer already exists 00:06:12 3bc8368e7738: Layer already exists 00:06:12 4934cbd6dc70: Layer already exists 00:06:12 31952940752e: Layer already exists 00:06:12 0c011e621087: Layer already exists 00:06:12 7c504f21be85: Layer already exists 00:06:12 3.0.1-dev.22: digest: sha256:9e414c95787330998aa68284c54cefce59f5b7f9eb0fadc2c95ba9a12e86a8a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:13 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:13 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 00:06:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:06:13 31952940752e: Preparing 00:06:13 3bc8368e7738: Preparing 00:06:13 0c011e621087: Preparing 00:06:13 bf03b2000e7f: Preparing 00:06:13 4934cbd6dc70: Preparing 00:06:13 7c504f21be85: Preparing 00:06:13 7c504f21be85: Waiting 00:06:13 bf03b2000e7f: Layer already exists 00:06:13 3bc8368e7738: Layer already exists 00:06:13 0c011e621087: Layer already exists 00:06:13 31952940752e: Layer already exists 00:06:13 4934cbd6dc70: Layer already exists 00:06:13 7c504f21be85: Layer already exists 00:06:13 0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22: digest: sha256:9e414c95787330998aa68284c54cefce59f5b7f9eb0fadc2c95ba9a12e86a8a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:14 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:14 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 00:06:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:06:14 31952940752e: Preparing 00:06:14 3bc8368e7738: Preparing 00:06:14 0c011e621087: Preparing 00:06:14 bf03b2000e7f: Preparing 00:06:14 4934cbd6dc70: Preparing 00:06:14 7c504f21be85: Preparing 00:06:14 7c504f21be85: Waiting 00:06:14 bf03b2000e7f: Layer already exists 00:06:14 3bc8368e7738: Layer already exists 00:06:14 31952940752e: Layer already exists 00:06:14 0c011e621087: Layer already exists 00:06:14 4934cbd6dc70: Layer already exists 00:06:14 7c504f21be85: Layer already exists 00:06:14 main: digest: sha256:9e414c95787330998aa68284c54cefce59f5b7f9eb0fadc2c95ba9a12e86a8a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:06:14 ===================================================== [Pipeline] echo 00:06:14 taggedImages: 00:06:14 - nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0 00:06:14 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 00:06:14 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.22 00:06:14 - nexus3.edgexfoundry.org:10004/device-uart-arm64:0191fcbf31d47e6537e79896ea60966564fcaee0-3.0.1-dev.22 00:06:14 - 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 00:06:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:15 00:06:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:15 arm64: Pulling from edgex-lftools-log-publisher 00:06:15 8998bd30e6a1: Pulling fs layer 00:06:15 04944245beec: Pulling fs layer 00:06:15 699f458cf7ca: Pulling fs layer 00:06:15 765212b225bb: Pulling fs layer 00:06:15 f23df028b6ca: Pulling fs layer 00:06:15 d65c8cfc05b1: Pulling fs layer 00:06:15 2437ff75d9bd: Pulling fs layer 00:06:15 765212b225bb: Waiting 00:06:15 d65c8cfc05b1: Waiting 00:06:15 2437ff75d9bd: Waiting 00:06:15 f23df028b6ca: Waiting 00:06:15 04944245beec: Verifying Checksum 00:06:15 04944245beec: Download complete 00:06:15 765212b225bb: Verifying Checksum 00:06:15 765212b225bb: Download complete 00:06:15 f23df028b6ca: Verifying Checksum 00:06:15 f23df028b6ca: Download complete 00:06:15 d65c8cfc05b1: Download complete 00:06:16 699f458cf7ca: Download complete 00:06:16 8998bd30e6a1: Verifying Checksum 00:06:16 8998bd30e6a1: Download complete 00:06:18 2437ff75d9bd: Verifying Checksum 00:06:20 8998bd30e6a1: Pull complete 00:06:21 04944245beec: Pull complete 00:06:23 699f458cf7ca: Pull complete 00:06:23 765212b225bb: Pull complete 00:06:24 f23df028b6ca: Pull complete 00:06:24 d65c8cfc05b1: Pull complete 00:06:42 2437ff75d9bd: Pull complete 00:06:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:42 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 00:06:42 $ 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/29 -v /w/workspace/device-uart/29:/w/workspace/device-uart/29:rw,z -v /w/workspace/device-uart/29@tmp:/w/workspace/device-uart/29@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:arm64 cat 00:06:45 $ docker top 27b3e2a3f33349dfe2687bbc4a09875249843b796dfc94f441242e66738ef5a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:46 ---> job-cost.sh 00:06:46 lf-activate-venv: SKIPPING 00:06:46 INFO: No Stack... 00:06:46 INFO: Retrieving Pricing Info for: v3-standard-4 00:06:47 INFO: Archiving Costs [Pipeline] sh 00:06:48 + + cutcat /w/workspace/device-uart/29/archives/cost.csv 00:06:48 -d, -f6 [Pipeline] lock 00:06:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] 00:06:48 Resource [jenkins-edgexfoundry-device-uart-main-29-stack-cost] did not exist. Created. 00:06:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:48 /w/workspace/device-uart/29@tmp/durable-0e877184/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:06:49 + echo total: 0.10999999940395355 [Pipeline] stash 00:06:49 Warning: overwriting stash ‘stack-cost’ 00:06:49 Stashed 1 file(s) [Pipeline] } 00:06:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:49 $ docker stop --time=1 27b3e2a3f33349dfe2687bbc4a09875249843b796dfc94f441242e66738ef5a6 00:06:50 $ docker rm -f --volumes 27b3e2a3f33349dfe2687bbc4a09875249843b796dfc94f441242e66738ef5a6 [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 00:06:51 provisioning config files... 00:06:51 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config562984266249555931tmp [Pipeline] { [Pipeline] sh 00:06:51 + set +x 00:06:51 + curl -s https://codecov.io/bash 00:06:51 + bash -s -- 00:06:51 00:06:51 _____ _ 00:06:51 / ____| | | 00:06:51 | | ___ __| | ___ ___ _____ __ 00:06:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:06:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:06:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:06:51 Bash-1.0.6 00:06:51 00:06:51 00:06:51 ==> git version 2.25.1 found 00:06:51 ==> 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 00:06:51 Release-Date: 2020-01-08 00:06:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:06:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:06:51 ==> Jenkins CI detected. 00:06:51 current dir:  /w/workspace/edgexfoundry_device-uart_main 00:06:51 project root: . 00:06:51 --> token set from env 00:06:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:06:51 ==> Running gcov in . (disable via -X gcov) 00:06:51 ==> Python coveragepy not found 00:06:51 ==> Searching for coverage reports in: 00:06:51 + . 00:06:51 -> Found 1 reports 00:06:51 ==> Detecting git/mercurial file structure 00:06:51 ==> Reading reports 00:06:51 + ./coverage.out bytes=10 00:06:51 ==> Appending adjustments 00:06:51 https://docs.codecov.io/docs/fixing-reports 00:06:51 + Found adjustments 00:06:51 ==> Gzipping contents 00:06:51 4.0K /tmp/codecov.Ee0cBk.gz 00:06:51 ==> Uploading reports 00:06:51 url: https://codecov.io 00:06:51 query: branch=main&commit=0191fcbf31d47e6537e79896ea60966564fcaee0&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 00:06:51 -> Pinging Codecov 00:06:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0191fcbf31d47e6537e79896ea60966564fcaee0&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 00:06:52 -> Uploading to 00:06:52 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/B9AA6E0BBD74AE3A32605C7A7C664919/0191fcbf31d47e6537e79896ea60966564fcaee0/b54675af-dbbf-4814-b28f-5b3a4485fbce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T000652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c68c7e33ad7c60d127942e5e5a527947f80b3d092ec6bd1af188b2e8607c840 00:06:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:06:52 Dload Upload Total Spent Left Speed 00:06:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2587 --:--:-- --:--:-- --:--:-- 2587 00:06:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] } 00:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:06:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:06:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:06:58 00:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:06:58 latest: Pulling from edgex-devops/edgex-snyk-go 00:06:58 619be1103602: Already exists 00:06:58 f8ea3408117e: Pulling fs layer 00:06:58 91320369b822: Pulling fs layer 00:06:58 0406650e8295: Pulling fs layer 00:06:58 4f4fb700ef54: Pulling fs layer 00:06:58 96d80e3f36e1: Pulling fs layer 00:06:58 bcf3aedb951c: Pulling fs layer 00:06:58 4f4fb700ef54: Waiting 00:06:58 96d80e3f36e1: Waiting 00:06:58 bcf3aedb951c: Waiting 00:06:58 0406650e8295: Verifying Checksum 00:06:58 0406650e8295: Download complete 00:06:58 f8ea3408117e: Verifying Checksum 00:06:58 f8ea3408117e: Download complete 00:06:58 4f4fb700ef54: Verifying Checksum 00:06:58 4f4fb700ef54: Download complete 00:06:58 f8ea3408117e: Pull complete 00:06:59 96d80e3f36e1: Verifying Checksum 00:06:59 96d80e3f36e1: Download complete 00:06:59 91320369b822: Verifying Checksum 00:06:59 91320369b822: Download complete 00:06:59 bcf3aedb951c: Verifying Checksum 00:06:59 bcf3aedb951c: Download complete 00:07:02 91320369b822: Pull complete 00:07:02 0406650e8295: Pull complete 00:07:02 4f4fb700ef54: Pull complete 00:07:02 96d80e3f36e1: Pull complete 00:07:06 bcf3aedb951c: Pull complete 00:07:06 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 00:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:07:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:06 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 00:07:07 $ docker top 0421c4f5ca03fe63a399c09c943d7abdec556962e86f1c0e392ee43c7f8c5e12 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 00:07:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 00:07:08 + set -o pipefail 00:07:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 00:07:16 00:07:16 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 00:07:16 00:07:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/dbde95bd-fc55-4a1f-9e19-bdefa7c7d30b 00:07:16 00:07:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:07:16 00:07:16 00:07:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:07:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:07:16 $ docker stop --time=1 0421c4f5ca03fe63a399c09c943d7abdec556962e86f1c0e392ee43c7f8c5e12 00:07:19 $ docker rm -f --volumes 0421c4f5ca03fe63a399c09c943d7abdec556962e86f1c0e392ee43c7f8c5e12 [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 00:07:19 + git log --format=format:%s -1 0191fcbf31d47e6537e79896ea60966564fcaee0 [Pipeline] sh 00:07:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:20 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:21 $ docker top 50194d0a9b7812ac1d2f903d9bd5c035d6e2ce83009c228528ff92adbe42bb21 -eo pid,comm 00:07:21 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). 00:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:21 [ssh-agent] Looking for ssh-agent implementation... 00:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:21 $ docker exec 50194d0a9b7812ac1d2f903d9bd5c035d6e2ce83009c228528ff92adbe42bb21 ssh-agent 00:07:21 SSH_AUTH_SOCK=/tmp/ssh-i9Hd3AceDu4E/agent.32 00:07:21 SSH_AGENT_PID=38 00:07:21 Running ssh-add (command line suppressed) 00:07:22 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2527737982268577542.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2527737982268577542.key) 00:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:22 + git semver tag 00:07:22 2024-05-29 00:07:22,507 [run_tag] DEBUG tag force:False 00:07:22 2024-05-29 00:07:22,507 [check_head_tag] DEBUG check head tag 00:07:22 2024-05-29 00:07:22,508 [execute] INFO git cat-file --batch-check 00:07:22 2024-05-29 00:07:22,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 00:07:22 2024-05-29 00:07:22,511 [execute] INFO git cat-file --batch 00:07:22 2024-05-29 00:07:22,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 00:07:22 2024-05-29 00:07:22,522 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:22 2024-05-29 00:07:22,522 [execute] INFO git tag -a v3.0.1-dev.22 -m v3.0.1-dev.22 00:07:22 2024-05-29 00:07:22,522 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.22', '-m', 'v3.0.1-dev.22'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 00:07:22 2024-05-29 00:07:22,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:22 3.0.1-dev.22 [Pipeline] } 00:07:22 $ docker exec --env ******** --env ******** 50194d0a9b7812ac1d2f903d9bd5c035d6e2ce83009c228528ff92adbe42bb21 ssh-agent -k 00:07:22 unset SSH_AUTH_SOCK; 00:07:22 unset SSH_AGENT_PID; 00:07:22 echo Agent pid 38 killed; 00:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:23 + git semver [Pipeline] } 00:07:23 $ docker stop --time=1 50194d0a9b7812ac1d2f903d9bd5c035d6e2ce83009c228528ff92adbe42bb21 00:07:24 $ docker rm -f --volumes 50194d0a9b7812ac1d2f903d9bd5c035d6e2ce83009c228528ff92adbe42bb21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:25 00:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:25 0.23.1-centos7: Pulling from edgex-lftools 00:07:25 ab5ef0e58194: Pulling fs layer 00:07:25 9712f1f96733: Pulling fs layer 00:07:25 63f879dbbcfc: Pulling fs layer 00:07:25 0d9ebad4ef96: Pulling fs layer 00:07:25 e9a5061849ea: Pulling fs layer 00:07:25 d747dcd14b5f: Pulling fs layer 00:07:25 2de7ff778b66: Pulling fs layer 00:07:25 d747dcd14b5f: Waiting 00:07:25 0d9ebad4ef96: Waiting 00:07:25 e9a5061849ea: Waiting 00:07:25 2de7ff778b66: Waiting 00:07:25 9712f1f96733: Verifying Checksum 00:07:25 9712f1f96733: Download complete 00:07:25 63f879dbbcfc: Verifying Checksum 00:07:25 63f879dbbcfc: Download complete 00:07:25 e9a5061849ea: Verifying Checksum 00:07:25 e9a5061849ea: Download complete 00:07:25 d747dcd14b5f: Download complete 00:07:25 0d9ebad4ef96: Verifying Checksum 00:07:25 0d9ebad4ef96: Download complete 00:07:26 ab5ef0e58194: Verifying Checksum 00:07:26 ab5ef0e58194: Download complete 00:07:26 2de7ff778b66: Verifying Checksum 00:07:26 2de7ff778b66: Download complete 00:07:28 ab5ef0e58194: Pull complete 00:07:28 9712f1f96733: Pull complete 00:07:29 63f879dbbcfc: Pull complete 00:07:32 0d9ebad4ef96: Pull complete 00:07:33 e9a5061849ea: Pull complete 00:07:33 d747dcd14b5f: Pull complete 00:07:34 2de7ff778b66: Pull complete 00:07:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:34 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:07:38 $ docker top c5eb28fa377df6531bb7076cf2f8acdb6bccb4f3e9d86ab52c1283536fb1dcc9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:07:38 provisioning config files... 00:07:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config158090779334494427tmp 00:07:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config906995366157043836tmp 00:07:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16167517395871021703tmp [Pipeline] { [Pipeline] echo 00:07:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:07:38 ---> sigul-configuration.sh 00:07:38 gpg: directory `/root/.gnupg' created 00:07:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:07:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:07:38 gpg: keyring `/root/.gnupg/secring.gpg' created 00:07:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:07:38 gpg: CAST5 encrypted data 00:07:38 gpg: encrypted with 1 passphrase 00:07:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:07:39 + mkdir /home/jenkins 00:07:39 + mkdir /home/jenkins/sigul [Pipeline] sh 00:07:39 + 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 00:07:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:07:39 ---> sigul-install.sh 00:07:39 Sigul already installed; skipping installation. [Pipeline] sh 00:07:40 + git tag --list 00:07:40 v0.0.0 00:07:40 v0.0.1-dev.1 00:07:40 v0.0.1-dev.2 00:07:40 v0.0.1-dev.3 00:07:40 v0.0.1-dev.4 00:07:40 v3.0.0 00:07:40 v3.0.1-dev.1 00:07:40 v3.0.1-dev.10 00:07:40 v3.0.1-dev.11 00:07:40 v3.0.1-dev.12 00:07:40 v3.0.1-dev.13 00:07:40 v3.0.1-dev.14 00:07:40 v3.0.1-dev.15 00:07:40 v3.0.1-dev.16 00:07:40 v3.0.1-dev.17 00:07:40 v3.0.1-dev.18 00:07:40 v3.0.1-dev.19 00:07:40 v3.0.1-dev.2 00:07:40 v3.0.1-dev.20 00:07:40 v3.0.1-dev.21 00:07:40 v3.0.1-dev.22 00:07:40 v3.0.1-dev.3 00:07:40 v3.0.1-dev.4 00:07:40 v3.0.1-dev.5 00:07:40 v3.0.1-dev.6 00:07:40 v3.0.1-dev.7 00:07:40 v3.0.1-dev.8 00:07:40 v3.0.1-dev.9 00:07:40 v3.1 00:07:40 v3.1.0 [Pipeline] sh 00:07:40 + lftools sign git-tag v3.0.1-dev.22 00:07:41 Signing Git tag with Sigul... 00:07:41 Signing v3.0.1-dev.22 [Pipeline] echo 00:07:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:07:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:07:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:07:41 $ docker stop --time=1 c5eb28fa377df6531bb7076cf2f8acdb6bccb4f3e9d86ab52c1283536fb1dcc9 00:07:42 $ docker rm -f --volumes c5eb28fa377df6531bb7076cf2f8acdb6bccb4f3e9d86ab52c1283536fb1dcc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:07:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:43 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:44 $ docker top e5052bbabc7802b1f9d685ccdae3f1b56f0b8461f37686ec823056b632f7b06e -eo pid,comm 00:07:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:07:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:44 [ssh-agent] Looking for ssh-agent implementation... 00:07:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:44 $ docker exec e5052bbabc7802b1f9d685ccdae3f1b56f0b8461f37686ec823056b632f7b06e ssh-agent 00:07:44 SSH_AUTH_SOCK=/tmp/ssh-mDwyDkuejdNn/agent.32 00:07:44 SSH_AGENT_PID=38 00:07:44 Running ssh-add (command line suppressed) 00:07:44 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12644181168987579730.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12644181168987579730.key) 00:07:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:44 + git semver bump pre 00:07:45 2024-05-29 00:07:45,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:45 2024-05-29 00:07:45,080 [bump_version] DEBUG bumping version:3.0.1-dev.22 on axis:pre with prefix:dev 00:07:45 2024-05-29 00:07:45,080 [bump_version] DEBUG bumped version:3.0.1-dev.23 00:07:45 2024-05-29 00:07:45,080 [write_version] DEBUG write version:3.0.1-dev.23 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 00:07:45 2024-05-29 00:07:45,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:45 2024-05-29 00:07:45,080 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:45 2024-05-29 00:07:45,082 [execute] INFO git cat-file --batch-check 00:07:45 2024-05-29 00:07:45,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:45 2024-05-29 00:07:45,087 [execute] INFO git cat-file --batch 00:07:45 2024-05-29 00:07:45,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:45 2024-05-29 00:07:45,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:45 3.0.1-dev.23 [Pipeline] } 00:07:45 $ docker exec --env ******** --env ******** e5052bbabc7802b1f9d685ccdae3f1b56f0b8461f37686ec823056b632f7b06e ssh-agent -k 00:07:45 unset SSH_AUTH_SOCK; 00:07:45 unset SSH_AGENT_PID; 00:07:45 echo Agent pid 38 killed; 00:07:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:45 + git semver [Pipeline] } 00:07:45 $ docker stop --time=1 e5052bbabc7802b1f9d685ccdae3f1b56f0b8461f37686ec823056b632f7b06e 00:07:47 $ docker rm -f --volumes e5052bbabc7802b1f9d685ccdae3f1b56f0b8461f37686ec823056b632f7b06e [Pipeline] // withDockerContainer [Pipeline] sh 00:07:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:48 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:48 $ docker top 8fe753345b0b6590740f37c83ed55dbd733f0d40281b597fe2d80e845eb111e5 -eo pid,comm 00:07:48 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). 00:07:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:48 [ssh-agent] Looking for ssh-agent implementation... 00:07:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:48 $ docker exec 8fe753345b0b6590740f37c83ed55dbd733f0d40281b597fe2d80e845eb111e5 ssh-agent 00:07:48 SSH_AUTH_SOCK=/tmp/ssh-PKHd0B1LE7i9/agent.32 00:07:48 SSH_AGENT_PID=38 00:07:48 Running ssh-add (command line suppressed) 00:07:48 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14596934593241590873.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14596934593241590873.key) 00:07:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:49 + git semver push 00:07:49 2024-05-29 00:07:49,319 [run_push] DEBUG push 00:07:49 2024-05-29 00:07:49,320 [execute] INFO git cat-file --batch-check 00:07:49 2024-05-29 00:07:49,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:49 2024-05-29 00:07:49,325 [execute] INFO git rev-list 40d5714d7e660379a2e8fa41e5491a1ee3a036da -- 00:07:49 2024-05-29 00:07:49,325 [execute] DEBUG Popen(['git', 'rev-list', '40d5714d7e660379a2e8fa41e5491a1ee3a036da', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 00:07:49 2024-05-29 00:07:49,331 [execute] INFO git fetch -v origin 00:07:49 2024-05-29 00:07:49,332 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 00:07:49 2024-05-29 00:07:49,819 [run_push] DEBUG no remote changes detected 00:07:49 2024-05-29 00:07:49,819 [execute] INFO git push origin semver 00:07:49 2024-05-29 00:07:49,819 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 00:07:50 2024-05-29 00:07:50,602 [run_push] DEBUG push all version tags 00:07:50 2024-05-29 00:07:50,603 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:07:50 2024-05-29 00:07:50,603 [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) 00:07:51 2024-05-29 00:07:51,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:07:51 3.0.1-dev.23 [Pipeline] } 00:07:51 $ docker exec --env ******** --env ******** 8fe753345b0b6590740f37c83ed55dbd733f0d40281b597fe2d80e845eb111e5 ssh-agent -k 00:07:51 unset SSH_AUTH_SOCK; 00:07:51 unset SSH_AGENT_PID; 00:07:51 echo Agent pid 38 killed; 00:07:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:51 + git semver [Pipeline] } 00:07:52 $ docker stop --time=1 8fe753345b0b6590740f37c83ed55dbd733f0d40281b597fe2d80e845eb111e5 00:07:53 $ docker rm -f --volumes 8fe753345b0b6590740f37c83ed55dbd733f0d40281b597fe2d80e845eb111e5 [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 00:07:54 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 00:07:54 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 00:07:54 total 16 00:07:54 drwxr-xr-x 3 root root 4096 May 28 23:54 . 00:07:54 drwxrwxr-x 9 jenkins jenkins 4096 May 29 00:07 .. 00:07:54 drwxr-xr-x 2 root root 4096 May 28 23:54 cost 00:07:54 -rw-r--r-- 1 root root 82 May 28 23:54 cost.csv 00:07:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 00:07:54 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 00:07:54 total 16 00:07:54 drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:54 . 00:07:54 drwxrwxr-x 9 jenkins jenkins 4096 May 29 00:07 .. 00:07:54 drwxr-xr-x 2 jenkins jenkins 4096 May 28 23:54 cost 00:07:54 -rw-r--r-- 1 jenkins jenkins 82 May 28 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:07:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:55 ---> package-listing.sh 00:07:55 ++ facter osfamily 00:07:55 ++ tr '[:upper:]' '[:lower:]' 00:07:55 + OS_FAMILY=debian 00:07:55 + workspace=/w/workspace/edgexfoundry_device-uart_main 00:07:55 + START_PACKAGES=/tmp/packages_start.txt 00:07:55 + END_PACKAGES=/tmp/packages_end.txt 00:07:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:55 + PACKAGES=/tmp/packages_start.txt 00:07:55 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 00:07:55 + PACKAGES=/tmp/packages_end.txt 00:07:55 + case "${OS_FAMILY}" in 00:07:55 + dpkg -l 00:07:55 + grep '^ii' 00:07:55 + '[' -f /tmp/packages_start.txt ']' 00:07:55 + '[' -f /tmp/packages_end.txt ']' 00:07:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:55 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 00:07:55 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 00:07:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 00:07:55 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 00:07:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:56 prd-ubuntu20.04-docker-8c-8g-976 does not seem to be running inside a container 00:07:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:07:56 $ docker top dd040d5ab43aaf8ba90d933cb24ba434d4278986e158a37ba5a8515b2857caa7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:57 + mkdir -p /var/log/sysstat [Pipeline] sh 00:07:57 + ls /var/log/sa-host 00:07:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:57 provisioning config files... 00:07:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6543798554836003208tmp [Pipeline] { [Pipeline] echo 00:07:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:07:58 ---> create-netrc.sh [Pipeline] } 00:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:07:58 ---> python-tools-install.sh [Pipeline] echo 00:07:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:58 ---> sudo-logs.sh 00:07:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:07:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:59 ---> job-cost.sh 00:07:59 lf-activate-venv: SKIPPING 00:07:59 DEBUG: total: 0.2199999988079071 00:07:59 INFO: Retrieving Stack Cost... 00:07:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:07:59 INFO: Archiving Costs [Pipeline] echo 00:07:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:00 ---> logs-deploy.sh 00:08:00 lf-activate-venv: SKIPPING 00:08:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/29 00:08:00 INFO: archiving workspace using pattern(s): 00:08:01 Archives upload complete. 00:08:01 INFO: archiving logs to Nexus