Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc279460de46d3a6d33425637d1308351b1bd8af 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-ssh3032177930834001674.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-ssh5627557902892046794.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-ssh293116591621031255.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-ssh2034821410231547382.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-ssh9349217067158420114.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6808 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 bc279460de46d3a6d33425637d1308351b1bd8af (main) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 Commit message: "Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git rev-list --no-walk 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:07 ========================================================= 02:30:07 EdgeX Global Pipelines Version Info 02:30:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:07 ------------------- 02:30:07 stable info: 02:30:07 ------------------- 02:30:07 Commited By: Ginny Guan ginny@iotechsys.com 02:30:07 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:30:07 Message: update stable to v1.0.260 02:30:08 ------------------- 02:30:08 experimental info: 02:30:08 ------------------- 02:30:08 Commited By: Ginny Guan ginny@iotechsys.com 02:30:08 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:30:08 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc27946 [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:09 provisioning config files... 02:30:09 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3081890301904947753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:09 ---> ****-login.sh 02:30:09 nexus3.edgexfoundry.org:10001 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10002 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10003 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10004 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 ****.io 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 ---> ****-login.sh ends [Pipeline] } 02:30:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:30:10 + git rev-list -1 --merges bc279460de46d3a6d33425637d1308351b1bd8af~1..bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo 02:30:11 -----------> git rev-list -1 --merges bc279460de46d3a6d33425637d1308351b1bd8af~1..bc279460de46d3a6d33425637d1308351b1bd8af bc279460de46d3a6d33425637d1308351b1bd8af 02:30:11 bc279460de46d3a6d33425637d1308351b1bd8af [false] [Pipeline] sh 02:30:11 + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo 02:30:11 ========================================================= 02:30:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:11 + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo 02:30:11 [semverPrep] GIT_COMMIT: bc279460de46d3a6d33425637d1308351b1bd8af, Commit Message: Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 02:30:11 [semverPrep] This is not a build commit. [Pipeline] sh 02:30:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:12 + grep -v github /etc/ssh/ssh_known_hosts 02:30:12 + [ -e /tmp/ssh_known_hosts ] 02:30:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:12 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 02:30:12 tee -a /etc/ssh/ssh_known_hosts 02:30:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:12 02:30:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:12 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:12 b85a868b505f: Pulling fs layer 02:30:12 e2be974225ed: Pulling fs layer 02:30:12 339a4e72a1f5: Pulling fs layer 02:30:12 988bab9f4d93: Pulling fs layer 02:30:12 1469e6f7b9e6: Pulling fs layer 02:30:12 eaf3925da568: Pulling fs layer 02:30:12 bab4dde63d76: Pulling fs layer 02:30:12 1469e6f7b9e6: Waiting 02:30:12 988bab9f4d93: Waiting 02:30:12 eaf3925da568: Waiting 02:30:12 bde34c3a00c8: Pulling fs layer 02:30:12 b352a97aabf1: Pulling fs layer 02:30:12 4872d77fe225: Pulling fs layer 02:30:12 bab4dde63d76: Waiting 02:30:12 bde34c3a00c8: Waiting 02:30:12 b352a97aabf1: Waiting 02:30:12 5851b861e8e6: Pulling fs layer 02:30:12 5851b861e8e6: Waiting 02:30:12 4872d77fe225: Waiting 02:30:12 e2be974225ed: Download complete 02:30:12 988bab9f4d93: Verifying Checksum 02:30:12 988bab9f4d93: Download complete 02:30:12 1469e6f7b9e6: Verifying Checksum 02:30:12 1469e6f7b9e6: Download complete 02:30:12 339a4e72a1f5: Verifying Checksum 02:30:12 339a4e72a1f5: Download complete 02:30:12 eaf3925da568: Verifying Checksum 02:30:12 eaf3925da568: Download complete 02:30:12 bde34c3a00c8: Verifying Checksum 02:30:12 bde34c3a00c8: Download complete 02:30:12 b352a97aabf1: Download complete 02:30:12 4872d77fe225: Verifying Checksum 02:30:12 4872d77fe225: Download complete 02:30:12 5851b861e8e6: Download complete 02:30:12 b85a868b505f: Verifying Checksum 02:30:12 b85a868b505f: Download complete 02:30:13 bab4dde63d76: Verifying Checksum 02:30:13 bab4dde63d76: Download complete 02:30:14 b85a868b505f: Pull complete 02:30:14 e2be974225ed: Pull complete 02:30:15 339a4e72a1f5: Pull complete 02:30:15 988bab9f4d93: Pull complete 02:30:15 1469e6f7b9e6: Pull complete 02:30:15 eaf3925da568: Pull complete 02:30:17 bab4dde63d76: Pull complete 02:30:17 bde34c3a00c8: Pull complete 02:30:17 b352a97aabf1: Pull complete 02:30:17 4872d77fe225: Pull complete 02:30:17 5851b861e8e6: Pull complete 02:30:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:17 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:30:17 $ 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 02:30:28 $ docker top fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f -eo pid,comm 02:30:28 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). 02:30:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:28 [ssh-agent] Looking for ssh-agent implementation... 02:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:29 $ docker exec fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent 02:30:29 SSH_AUTH_SOCK=/tmp/ssh-UAVphwTM4E1T/agent.31 02:30:29 SSH_AGENT_PID=37 02:30:29 Running ssh-add (command line suppressed) 02:30:29 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3209952312515524936.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3209952312515524936.key) 02:30:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:29 + git tag --points-at HEAD [Pipeline] } 02:30:29 $ docker exec --env ******** --env ******** fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent -k 02:30:29 unset SSH_AUTH_SOCK; 02:30:29 unset SSH_AGENT_PID; 02:30:29 echo Agent pid 37 killed; 02:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:29 [ssh-agent] Looking for ssh-agent implementation... 02:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:29 $ docker exec fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent 02:30:29 SSH_AUTH_SOCK=/tmp/ssh-BGGMSibPWc5z/agent.70 02:30:29 SSH_AGENT_PID=76 02:30:30 Running ssh-add (command line suppressed) 02:30:30 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11098619493864666153.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11098619493864666153.key) 02:30:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:30 + git semver init 02:30:30 2024-07-31 02:30:30,637 [run_init] DEBUG init version:0.0.0 force:False 02:30:30 2024-07-31 02:30:30,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 02:30:30 2024-07-31 02:30:30,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 02:30:30 2024-07-31 02:30:30,638 [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) 02:30:32 2024-07-31 02:30:31,856 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 02:30:32 2024-07-31 02:30:31,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 02:30:32 2024-07-31 02:30:31,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:30:32 2024-07-31 02:30:31,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:30:32 3.0.1-dev.28 [Pipeline] } 02:30:32 $ docker exec --env ******** --env ******** fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent -k 02:30:32 unset SSH_AUTH_SOCK; 02:30:32 unset SSH_AGENT_PID; 02:30:32 echo Agent pid 76 killed; 02:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:32 + git semver [Pipeline] } 02:30:32 $ docker stop --time=1 fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f 02:30:34 $ docker rm -f --volumes fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f [Pipeline] // withDockerContainer [Pipeline] sh 02:30:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:34 Stashed 1 file(s) [Pipeline] echo 02:30:34 [edgeXSemver]: initialized semver on version 3.0.1-dev.28 [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 02:30:34 provisioning config files... 02:30:34 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17503494351424206913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:35 ---> ****-login.sh 02:30:35 nexus3.edgexfoundry.org:10001 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 nexus3.edgexfoundry.org:10002 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 nexus3.edgexfoundry.org:10003 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 nexus3.edgexfoundry.org:10004 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 ****.io 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 ---> ****-login.sh ends [Pipeline] } 02:30:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:35 ========================================================= 02:30:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:30:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:36 + 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 . 02:30:36 Sending build context to Docker daemon 25.53MB 02:30:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:30:36 Step 2/12 : FROM ${BASE} AS builder 02:30:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:30:36 619be1103602: Pulling fs layer 02:30:36 7862e08f4a3e: Pulling fs layer 02:30:36 5df492c9dc93: Pulling fs layer 02:30:36 7629e6793208: Pulling fs layer 02:30:36 4f4fb700ef54: Pulling fs layer 02:30:36 fb5054dd5b73: Pulling fs layer 02:30:36 eeca6798cff9: Pulling fs layer 02:30:36 aa269ceb94a6: Pulling fs layer 02:30:36 ada007ff1a6a: Pulling fs layer 02:30:36 fb5054dd5b73: Waiting 02:30:36 eeca6798cff9: Waiting 02:30:36 4f4fb700ef54: Waiting 02:30:36 aa269ceb94a6: Waiting 02:30:36 ada007ff1a6a: Waiting 02:30:36 7629e6793208: Waiting 02:30:36 7862e08f4a3e: Verifying Checksum 02:30:36 7862e08f4a3e: Download complete 02:30:36 7629e6793208: Verifying Checksum 02:30:36 7629e6793208: Download complete 02:30:36 4f4fb700ef54: Verifying Checksum 02:30:36 4f4fb700ef54: Download complete 02:30:36 fb5054dd5b73: Verifying Checksum 02:30:36 fb5054dd5b73: Download complete 02:30:36 619be1103602: Verifying Checksum 02:30:36 619be1103602: Download complete 02:30:36 eeca6798cff9: Verifying Checksum 02:30:36 eeca6798cff9: Download complete 02:30:36 619be1103602: Pull complete 02:30:36 ada007ff1a6a: Verifying Checksum 02:30:36 ada007ff1a6a: Download complete 02:30:36 7862e08f4a3e: Pull complete 02:30:37 5df492c9dc93: Verifying Checksum 02:30:37 5df492c9dc93: Download complete 02:30:37 aa269ceb94a6: Verifying Checksum 02:30:37 aa269ceb94a6: Download complete 02:30:40 5df492c9dc93: Pull complete 02:30:40 7629e6793208: Pull complete 02:30:40 4f4fb700ef54: Pull complete 02:30:41 fb5054dd5b73: Pull complete 02:30:41 eeca6798cff9: Pull complete 02:30:44 aa269ceb94a6: Pull complete 02:30:45 ada007ff1a6a: Pull complete 02:30:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:30:45 ---> f489d0715acc 02:30:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:30:49 Still waiting to schedule task 02:30:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:30:58 ---> Running in f9ede7bc2d2f 02:30:58 Removing intermediate container f9ede7bc2d2f 02:30:58 ---> 29be09c92b40 02:30:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:30:58 ---> Running in d8f22d364bc0 02:30:58 Removing intermediate container d8f22d364bc0 02:30:58 ---> 0121f673a9be 02:30:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:30:58 ---> Running in 4c226b6cccab 02:30:58 Removing intermediate container 4c226b6cccab 02:30:58 ---> b4cf0b1b00f8 02:30:58 Step 6/12 : WORKDIR /device-uart 02:30:58 ---> Running in 7cf77544d0f2 02:30:59 Removing intermediate container 7cf77544d0f2 02:30:59 ---> a775dac37ec0 02:30:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:59 ---> Running in ff5fd902fc50 02:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:59 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:30:59 (2/4) Installing libedit (20221030.3.1-r1) 02:30:59 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:30:59 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:30:59 Executing busybox-1.36.1-r5.trigger 02:30:59 OK: 268 MiB in 56 packages 02:31:01 Removing intermediate container ff5fd902fc50 02:31:01 ---> 91aa1c599ee3 02:31:01 Step 8/12 : COPY go.mod vendor* ./ 02:31:01 ---> d7027c32c5f2 02:31:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:01 ---> Running in 184a16ea190c 02:32:09 Removing intermediate container 184a16ea190c 02:32:09 ---> 407daa6a563e 02:32:09 Step 10/12 : COPY . . 02:32:09 ---> 687f4910f801 02:32:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:09 ---> Running in d127b53a1988 02:32:09 Removing intermediate container d127b53a1988 02:32:09 ---> beb490e30449 02:32:09 Step 12/12 : RUN ${MAKE} 02:32:09 ---> Running in 949f926b9861 02:32:09 noop 02:32:09 Removing intermediate container 949f926b9861 02:32:09 ---> 6cc7222f8803 02:32:09 Successfully built 6cc7222f8803 02:32:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:09 + docker inspect -f . ci-base-image-x86_64 02:32:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:09 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:32:09 $ 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 02:32:10 $ docker top 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:10 + go version 02:32:10 go version go1.21.9 linux/amd64 [Pipeline] } 02:32:10 $ docker stop --time=1 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c 02:32:12 $ docker rm -f --volumes 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:12 + docker inspect -f . ci-base-image-x86_64 02:32:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:12 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:32:12 $ 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 02:32:13 $ docker top 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 02:32:13 + make test 02:32:13 go test ./... -coverprofile=coverage.out 02:32:15 ? github.com/edgexfoundry/device-uart [no test files] 02:32:33 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:32:33 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:32:43 go vet ./... 02:32:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:48 ./bin/test-attribution-txt.sh 02:32:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:32:48 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:32:48 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:32:48 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:32:48 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:32:48 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:32:48 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:32:48 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:32:48 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:32:48 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:32:48 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:32:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:32:48 $ docker stop --time=1 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d 02:32:55 $ docker rm -f --volumes 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d [Pipeline] // withDockerContainer [Pipeline] sh 02:32:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:56 + ls -al . 02:32:56 total 224 02:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:32 . 02:32:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:30 .. 02:32:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:30 .dockerignore 02:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:32 .git 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 .github 02:32:56 -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 02:30 .gitignore 02:32:56 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:30 .golangci.yml 02:32:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:30 .semver 02:32:56 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 31 02:30 Attribution.txt 02:32:56 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 31 02:30 CHANGELOG.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 31 02:30 Dockerfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:30 GOVERNANCE.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 675 Jul 31 02:30 Jenkinsfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:30 LICENSE 02:32:56 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 31 02:30 Makefile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 02:30 OWNERS.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 31 02:30 README.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:30 VERSION 02:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:30 bin 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 cmd 02:32:56 -rw-r--r-- 1 jenkins jenkins 10 Jul 31 02:32 coverage.out 02:32:56 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 31 02:30 go.mod 02:32:56 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 31 02:30 go.sum 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 internal 02:32:56 -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:56 + 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=bc279460de46d3a6d33425637d1308351b1bd8af --label arch=amd64 --label version=3.0.1-dev.28 . 02:32:56 Sending build context to Docker daemon 25.53MB 02:32:56 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:32:56 Step 2/26 : FROM ${BASE} AS builder 02:32:56 ---> 6cc7222f8803 02:32:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:32:56 ---> Running in 5823c4da807c 02:32:57 Removing intermediate container 5823c4da807c 02:32:57 ---> 398d0b2566d0 02:32:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:32:57 ---> Running in bc8066440db5 02:32:57 Removing intermediate container bc8066440db5 02:32:57 ---> a363bdf3c508 02:32:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:32:57 ---> Running in 349763c1e351 02:32:57 Removing intermediate container 349763c1e351 02:32:57 ---> d855430249d6 02:32:57 Step 6/26 : WORKDIR /device-uart 02:32:57 ---> Running in e313b4d1cfb6 02:32:57 Removing intermediate container e313b4d1cfb6 02:32:57 ---> 601155c9e9de 02:32:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:57 ---> Running in a1d3c4142589 02:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:58 OK: 268 MiB in 56 packages 02:32:58 Removing intermediate container a1d3c4142589 02:32:58 ---> 531b400f6527 02:32:58 Step 8/26 : COPY go.mod vendor* ./ 02:32:58 ---> cd8237fc611c 02:32:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:58 ---> Running in e86e50cad19f 02:32:59 Removing intermediate container e86e50cad19f 02:32:59 ---> 17e1b32daf66 02:32:59 Step 10/26 : COPY . . 02:32:59 ---> 5158367d0641 02:32:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:59 ---> Running in 0646bceca6ad 02:32:59 Removing intermediate container 0646bceca6ad 02:32:59 ---> aa82ad932cc3 02:32:59 Step 12/26 : RUN ${MAKE} 02:32:59 ---> Running in a29c000821f4 02:33:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:33:39 Removing intermediate container a29c000821f4 02:33:39 ---> 2f7d20bd67bd 02:33:39 Step 13/26 : FROM alpine:3.18 02:33:39 3.18: Pulling from library/alpine 02:33:39 930bdd4d222e: Pulling fs layer 02:33:39 930bdd4d222e: Download complete 02:33:39 930bdd4d222e: Pull complete 02:33:39 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:33:39 Status: Downloaded newer image for alpine:3.18 02:33:39 ---> 18f865063206 02:33:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:33:39 ---> Running in f7cdeec67e23 02:33:39 Removing intermediate container f7cdeec67e23 02:33:39 ---> 9da877bee533 02:33:39 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:33:39 ---> Running in c1bd91ddfcca 02:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:33:40 (1/1) Installing dumb-init (1.2.5-r2) 02:33:40 Executing busybox-1.36.1-r7.trigger 02:33:40 OK: 7 MiB in 16 packages 02:33:40 Removing intermediate container c1bd91ddfcca 02:33:40 ---> b5a905ac8293 02:33:40 Step 16/26 : RUN apk --no-cache upgrade 02:33:40 ---> Running in e27b28a7b3e5 02:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:33:41 OK: 7 MiB in 16 packages 02:33:41 Removing intermediate container e27b28a7b3e5 02:33:41 ---> 95392d061723 02:33:41 Step 17/26 : WORKDIR / 02:33:41 ---> Running in ccbb5c95ef89 02:33:41 Removing intermediate container ccbb5c95ef89 02:33:41 ---> 230bae7a1278 02:33:41 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 02:33:41 ---> 78a9f1301bc5 02:33:41 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 02:33:41 ---> 4342d779ae1f 02:33:41 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 02:33:43 ---> ff7b36741bef 02:33:43 Step 21/26 : EXPOSE 59995 02:33:43 ---> Running in f983c529bc4b 02:33:43 Removing intermediate container f983c529bc4b 02:33:43 ---> a805a900731e 02:33:43 Step 22/26 : ENTRYPOINT ["/device-uart"] 02:33:43 ---> Running in 9f8246437292 02:33:43 Removing intermediate container 9f8246437292 02:33:43 ---> 1fb327044b38 02:33:43 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:33:43 ---> Running in 18d7eb55f072 02:33:43 Removing intermediate container 18d7eb55f072 02:33:43 ---> cffbd392b46c 02:33:43 Step 24/26 : LABEL arch=amd64 02:33:43 ---> Running in 723e3651ac30 02:33:43 Removing intermediate container 723e3651ac30 02:33:43 ---> 14bdf162d312 02:33:43 Step 25/26 : LABEL git_sha=bc279460de46d3a6d33425637d1308351b1bd8af 02:33:43 ---> Running in f0ab024fc963 02:33:43 Removing intermediate container f0ab024fc963 02:33:43 ---> 9832dd05a9d8 02:33:43 Step 26/26 : LABEL version=3.0.1-dev.28 02:33:43 ---> Running in 3fdd385b00d7 02:33:43 Removing intermediate container 3fdd385b00d7 02:33:43 ---> fc0656e1972f 02:33:43 [Warning] One or more build-args [ARCH] were not consumed 02:33:43 Successfully built fc0656e1972f 02:33:43 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:43 provisioning config files... 02:33:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14341097961919241156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:44 ---> ****-login.sh 02:33:44 nexus3.edgexfoundry.org:10001 02:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:44 Configure a credential helper to remove this warning. See 02:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:44 02:33:44 Login Succeeded 02:33:44 nexus3.edgexfoundry.org:10002 02:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:44 Configure a credential helper to remove this warning. See 02:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:44 02:33:44 Login Succeeded 02:33:44 nexus3.edgexfoundry.org:10003 02:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:44 Configure a credential helper to remove this warning. See 02:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:44 02:33:44 Login Succeeded 02:33:44 nexus3.edgexfoundry.org:10004 02:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:44 Configure a credential helper to remove this warning. See 02:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:44 02:33:44 Login Succeeded 02:33:44 ****.io 02:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:44 Configure a credential helper to remove this warning. See 02:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:44 02:33:44 Login Succeeded 02:33:44 ---> ****-login.sh ends [Pipeline] } 02:33:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:33:44 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 02:33:44 bc279460de46d3a6d33425637d1308351b1bd8af 02:33:44 latest 02:33:44 3.0.1-dev.28 02:33:44 bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:33:44 main 02:33:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:45 + docker push nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af 02:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:33:45 2491f3ef34ed: Preparing 02:33:45 d265e361453c: Preparing 02:33:45 3b063c9fcb82: Preparing 02:33:45 2045ee276f8e: Preparing 02:33:45 39a91a79392d: Preparing 02:33:45 ce7f800efff9: Preparing 02:33:45 ce7f800efff9: Waiting 02:33:45 2045ee276f8e: Pushed 02:33:45 3b063c9fcb82: Pushed 02:33:45 d265e361453c: Pushed 02:33:45 39a91a79392d: Pushed 02:33:45 ce7f800efff9: Layer already exists 02:33:49 2491f3ef34ed: Pushed 02:33:49 bc279460de46d3a6d33425637d1308351b1bd8af: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:50 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:50 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 02:33:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:33:50 2491f3ef34ed: Preparing 02:33:50 d265e361453c: Preparing 02:33:50 3b063c9fcb82: Preparing 02:33:50 2045ee276f8e: Preparing 02:33:50 39a91a79392d: Preparing 02:33:50 ce7f800efff9: Preparing 02:33:50 ce7f800efff9: Waiting 02:33:50 39a91a79392d: Layer already exists 02:33:50 3b063c9fcb82: Layer already exists 02:33:50 2045ee276f8e: Layer already exists 02:33:50 2491f3ef34ed: Layer already exists 02:33:50 d265e361453c: Layer already exists 02:33:50 ce7f800efff9: Layer already exists 02:33:50 latest: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:50 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:51 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 02:33:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:33:51 2491f3ef34ed: Preparing 02:33:51 d265e361453c: Preparing 02:33:51 3b063c9fcb82: Preparing 02:33:51 2045ee276f8e: Preparing 02:33:51 39a91a79392d: Preparing 02:33:51 ce7f800efff9: Preparing 02:33:51 ce7f800efff9: Waiting 02:33:51 3b063c9fcb82: Layer already exists 02:33:51 2045ee276f8e: Layer already exists 02:33:51 d265e361453c: Layer already exists 02:33:51 2491f3ef34ed: Layer already exists 02:33:51 39a91a79392d: Layer already exists 02:33:51 ce7f800efff9: Layer already exists 02:33:51 3.0.1-dev.28: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:51 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6823 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 02:33:51 Running in /w/workspace/device-uart/35 [Pipeline] { [Pipeline] checkout 02:33:51 + docker push nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:33:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:33:51 2491f3ef34ed: Preparing 02:33:51 d265e361453c: Preparing 02:33:51 3b063c9fcb82: Preparing 02:33:51 2045ee276f8e: Preparing 02:33:51 39a91a79392d: Preparing 02:33:51 ce7f800efff9: Preparing 02:33:51 ce7f800efff9: Waiting 02:33:51 d265e361453c: Layer already exists 02:33:51 39a91a79392d: Layer already exists 02:33:51 2491f3ef34ed: Layer already exists 02:33:51 3b063c9fcb82: Layer already exists 02:33:51 2045ee276f8e: Layer already exists 02:33:51 ce7f800efff9: Layer already exists 02:33:51 bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } 02:33:54 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:54 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:55 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 02:33:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:33:55 2491f3ef34ed: Preparing 02:33:55 d265e361453c: Preparing 02:33:55 3b063c9fcb82: Preparing 02:33:55 2045ee276f8e: Preparing 02:33:55 39a91a79392d: Preparing 02:33:55 ce7f800efff9: Preparing 02:33:55 ce7f800efff9: Waiting 02:33:55 39a91a79392d: Layer already exists 02:33:55 2045ee276f8e: Layer already exists 02:33:55 3b063c9fcb82: Layer already exists 02:33:55 2491f3ef34ed: Layer already exists 02:33:55 d265e361453c: Layer already exists 02:33:55 ce7f800efff9: Layer already exists 02:33:55 main: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:55 ===================================================== [Pipeline] echo 02:33:55 taggedImages: 02:33:55 - nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af 02:33:55 - nexus3.edgexfoundry.org:10004/device-uart:latest 02:33:55 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 02:33:55 - nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:33:55 - 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 02:33:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:55 02:33:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:56 latest: Pulling from edgex-lftools-log-publisher 02:33:56 5eb5b503b376: Pulling fs layer 02:33:56 5c69ac0246d0: Pulling fs layer 02:33:56 ec43610c2a17: Pulling fs layer 02:33:56 3a2ae6a8a46f: Pulling fs layer 02:33:56 33b1e0a273af: Pulling fs layer 02:33:56 5d3b04190fa2: Pulling fs layer 02:33:56 2f39f015ded8: Pulling fs layer 02:33:56 3a2ae6a8a46f: Waiting 02:33:56 5d3b04190fa2: Waiting 02:33:56 33b1e0a273af: Waiting 02:33:56 5c69ac0246d0: Verifying Checksum 02:33:56 5c69ac0246d0: Download complete 02:33:56 3a2ae6a8a46f: Verifying Checksum 02:33:56 3a2ae6a8a46f: Download complete 02:33:56 33b1e0a273af: Verifying Checksum 02:33:56 33b1e0a273af: Download complete 02:33:56 5d3b04190fa2: Verifying Checksum 02:33:56 5d3b04190fa2: Download complete 02:33:56 ec43610c2a17: Download complete 02:33:56 5eb5b503b376: Download complete 02:33:56 2f39f015ded8: Download complete 02:33:57 5eb5b503b376: Pull complete 02:33:57 5c69ac0246d0: Pull complete 02:33:58 ec43610c2a17: Pull complete 02:33:58 3a2ae6a8a46f: Pull complete 02:33:58 33b1e0a273af: Pull complete 02:33:58 5d3b04190fa2: Pull complete 02:34:00 using credential edgex-jenkins-ssh 02:34:00 Cloning the remote Git repository 02:34:00 Cloning repository git@github.com:edgexfoundry/device-uart.git 02:34:00 > git init /w/workspace/device-uart/35 # timeout=10 02:34:01 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 02:34:01 > git --version # timeout=10 02:34:01 > git --version # 'git version 2.25.1' 02:34:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:02 2f39f015ded8: Pull complete 02:34:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:02 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:34:02 $ 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 02:34:03 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 02:34:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:05 Avoid second fetch 02:34:05 Checking out Revision bc279460de46d3a6d33425637d1308351b1bd8af (main) 02:34:06 Commit message: "Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" 02:34:05 > git config core.sparsecheckout # timeout=10 02:34:05 > git checkout -f bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 02:34:08 $ docker top d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:09 ---> job-cost.sh 02:34:09 lf-activate-venv: SKIPPING 02:34:09 INFO: No Stack... 02:34:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:10 INFO: Archiving Costs [Pipeline] sh 02:34:10 02:34:10 GitHub has been notified of this commit’s build result 02:34:10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:34:10 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 02:34:10 + cut -d, -f6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] lock 02:34:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] 02:34:10 Resource [jenkins-edgexfoundry-device-uart-main-35-stack-cost] did not exist. Created. 02:34:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:10 + echo total: 0.2199999988079071 [Pipeline] stash 02:34:10 Stashed 1 file(s) [Pipeline] } 02:34:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:10 $ docker stop --time=1 d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 02:34:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:34:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:11 Dload Upload Total Spent Left Speed 02:34:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k 02:34:12 $ docker rm -f --volumes d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:34:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:34:12 + sudo tee /etc/docker/daemon.new 02:34:12 { 02:34:12 "registry-mirrors": [ 02:34:12 "https://nexus3.edgexfoundry.org:10001" 02:34:12 ], 02:34:12 "bip": "10.250.0.254/24", 02:34:12 "hosts": [ 02:34:12 "tcp://0.0.0.0:5555", 02:34:12 "unix:///var/run/docker.sock" 02:34:12 ], 02:34:12 "mtu": 1458, 02:34:12 "selinux-enabled": true, 02:34:12 "seccomp-profile": "/etc/docker/seccomp.json" 02:34:12 } [Pipeline] sh 02:34:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:34:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:31 provisioning config files... 02:34:32 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/35@tmp/config14143805147657269665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:32 ---> ****-login.sh 02:34:32 nexus3.edgexfoundry.org:10001 02:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:33 Configure a credential helper to remove this warning. See 02:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:33 02:34:33 Login Succeeded 02:34:33 nexus3.edgexfoundry.org:10002 02:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:33 Configure a credential helper to remove this warning. See 02:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:33 02:34:33 Login Succeeded 02:34:33 nexus3.edgexfoundry.org:10003 02:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:34 Configure a credential helper to remove this warning. See 02:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:34 02:34:34 Login Succeeded 02:34:34 nexus3.edgexfoundry.org:10004 02:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:34 Configure a credential helper to remove this warning. See 02:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:34 02:34:34 Login Succeeded 02:34:34 ****.io 02:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:35 Configure a credential helper to remove this warning. See 02:34:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:35 02:34:35 Login Succeeded 02:34:35 ---> ****-login.sh ends [Pipeline] } 02:34:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:35 ========================================================= 02:34:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:34:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:35 + 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 . 02:34:36 Sending build context to Docker daemon 12.83MB 02:34:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:34:36 Step 2/12 : FROM ${BASE} AS builder 02:34:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:34:36 c6b39de5b339: Pulling fs layer 02:34:36 a69c41024577: Pulling fs layer 02:34:36 d6de4b400683: Pulling fs layer 02:34:36 35cb2a7552d0: Pulling fs layer 02:34:36 4f4fb700ef54: Pulling fs layer 02:34:36 464afbd9ba4c: Pulling fs layer 02:34:36 00f215d4a9da: Pulling fs layer 02:34:36 d496ad576159: Pulling fs layer 02:34:36 4f4fb700ef54: Waiting 02:34:36 464afbd9ba4c: Waiting 02:34:36 35cb2a7552d0: Waiting 02:34:36 00f215d4a9da: Waiting 02:34:36 d496ad576159: Waiting 02:34:36 a69c41024577: Verifying Checksum 02:34:36 a69c41024577: Download complete 02:34:36 35cb2a7552d0: Verifying Checksum 02:34:36 35cb2a7552d0: Download complete 02:34:36 4f4fb700ef54: Verifying Checksum 02:34:36 4f4fb700ef54: Download complete 02:34:36 c6b39de5b339: Verifying Checksum 02:34:36 c6b39de5b339: Download complete 02:34:36 464afbd9ba4c: Verifying Checksum 02:34:36 464afbd9ba4c: Download complete 02:34:37 d496ad576159: Verifying Checksum 02:34:37 c6b39de5b339: Pull complete 02:34:38 a69c41024577: Pull complete 02:34:38 d6de4b400683: Verifying Checksum 02:34:38 d6de4b400683: Download complete 02:34:40 00f215d4a9da: Verifying Checksum 02:34:40 00f215d4a9da: Download complete 02:34:52 d6de4b400683: Pull complete 02:34:52 35cb2a7552d0: Pull complete 02:34:52 4f4fb700ef54: Pull complete 02:34:52 464afbd9ba4c: Pull complete 02:35:03 00f215d4a9da: Pull complete 02:35:04 d496ad576159: Pull complete 02:35:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:35:04 ---> f246e2811388 02:35:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:35:05 ---> Running in 341849bbe295 02:35:05 Removing intermediate container 341849bbe295 02:35:05 ---> af3b5e47868f 02:35:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:35:05 ---> Running in 2e43d937d6ae 02:35:05 Removing intermediate container 2e43d937d6ae 02:35:05 ---> c732f07ec410 02:35:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:35:06 ---> Running in e9ec56478853 02:35:06 Removing intermediate container e9ec56478853 02:35:06 ---> d5c0189f5a26 02:35:06 Step 6/12 : WORKDIR /device-uart 02:35:06 ---> Running in 3b58c2c28e74 02:35:07 Removing intermediate container 3b58c2c28e74 02:35:07 ---> 880581e9dcbb 02:35:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:07 ---> Running in d6fc84e68db3 02:35:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:10 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:35:10 (2/4) Installing libedit (20221030.3.1-r1) 02:35:10 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:35:10 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:35:10 Executing busybox-1.36.1-r5.trigger 02:35:10 OK: 271 MiB in 56 packages 02:35:11 Removing intermediate container d6fc84e68db3 02:35:11 ---> f6d4e06d3868 02:35:11 Step 8/12 : COPY go.mod vendor* ./ 02:35:11 ---> d6a03a1b3e36 02:35:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:12 ---> Running in 60d913fd314e 02:37:18 Removing intermediate container 60d913fd314e 02:37:18 ---> 25d74e5460de 02:37:18 Step 10/12 : COPY . . 02:37:18 ---> da97892da597 02:37:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:18 ---> Running in ec97ad8dabaa 02:37:18 Removing intermediate container ec97ad8dabaa 02:37:18 ---> 8b2497d7a019 02:37:18 Step 12/12 : RUN ${MAKE} 02:37:18 ---> Running in 767e9161f2d5 02:37:18 noop 02:37:18 Removing intermediate container 767e9161f2d5 02:37:18 ---> 940876ebf1d3 02:37:18 Successfully built 940876ebf1d3 02:37:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:19 + docker inspect -f . ci-base-image-arm64 02:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:19 prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container 02:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:21 $ docker top a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:22 + go version 02:37:22 go version go1.21.9 linux/arm64 [Pipeline] } 02:37:22 $ docker stop --time=1 a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 02:37:23 $ docker rm -f --volumes a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:24 + docker inspect -f . ci-base-image-arm64 02:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:24 prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container 02:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:26 $ docker top 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:27 + git config --global --add safe.directory /w/workspace/device-uart/35 [Pipeline] fileExists [Pipeline] sh 02:37:27 + make test 02:37:27 go test ./... -coverprofile=coverage.out 02:37:34 ? github.com/edgexfoundry/device-uart [no test files] 02:42:11 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:42:11 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:42:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:42:11 go vet ./... 02:42:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:42:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:42:58 ./bin/test-attribution-txt.sh 02:42:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:42:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:42:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:42:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:42:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:42:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:42:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:42:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:42:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:42:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:42:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:42:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:42:58 $ docker stop --time=1 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f 02:43:00 $ docker rm -f --volumes 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f [Pipeline] // withDockerContainer [Pipeline] sh 02:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:43:02 Warning: overwriting stash ‘coverage-report’ 02:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:43:03 + ls -al . 02:43:03 total 220 02:43:03 drwxrwxr-x 7 jenkins jenkins 4096 Jul 31 02:37 . 02:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:34 .. 02:43:03 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:34 .dockerignore 02:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:34 .git 02:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 .github 02:43:03 -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 02:34 .gitignore 02:43:03 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:34 .golangci.yml 02:43:03 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 31 02:34 Attribution.txt 02:43:03 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 31 02:34 CHANGELOG.md 02:43:03 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 31 02:34 Dockerfile 02:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:34 GOVERNANCE.md 02:43:03 -rw-rw-r-- 1 jenkins jenkins 675 Jul 31 02:34 Jenkinsfile 02:43:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:34 LICENSE 02:43:03 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 31 02:34 Makefile 02:43:03 -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 02:34 OWNERS.md 02:43:03 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 31 02:34 README.md 02:43:03 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:30 VERSION 02:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:34 bin 02:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 cmd 02:43:03 -rw-r--r-- 1 jenkins jenkins 10 Jul 31 02:37 coverage.out 02:43:03 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 31 02:34 go.mod 02:43:03 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 31 02:34 go.sum 02:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 internal 02:43:03 -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:04 + 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=bc279460de46d3a6d33425637d1308351b1bd8af --label arch=arm64 --label version=3.0.1-dev.28 . 02:43:04 Sending build context to Docker daemon 12.83MB 02:43:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:43:04 Step 2/26 : FROM ${BASE} AS builder 02:43:04 ---> 940876ebf1d3 02:43:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:04 ---> Running in bf6c5912f778 02:43:05 Removing intermediate container bf6c5912f778 02:43:05 ---> bb49b90464fa 02:43:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:43:05 ---> Running in 7754d74690da 02:43:05 Removing intermediate container 7754d74690da 02:43:05 ---> 140d962ca193 02:43:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:43:05 ---> Running in 1f9ee8f73ffd 02:43:06 Removing intermediate container 1f9ee8f73ffd 02:43:06 ---> 946ede689d8d 02:43:06 Step 6/26 : WORKDIR /device-uart 02:43:06 ---> Running in 6f3b17e67601 02:43:06 Removing intermediate container 6f3b17e67601 02:43:06 ---> fd3247ed7bb6 02:43:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:06 ---> Running in 7f36da294a93 02:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:43:09 OK: 271 MiB in 56 packages 02:43:11 Removing intermediate container 7f36da294a93 02:43:11 ---> 1d67229327e7 02:43:11 Step 8/26 : COPY go.mod vendor* ./ 02:43:11 ---> 42d43aa6ed3a 02:43:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:11 ---> Running in 8caf3750f68a 02:43:14 Removing intermediate container 8caf3750f68a 02:43:14 ---> 8d810f5800b8 02:43:14 Step 10/26 : COPY . . 02:43:15 ---> f12f096fc636 02:43:15 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:16 ---> Running in d887515417fa 02:43:16 Removing intermediate container d887515417fa 02:43:16 ---> 6acdf419ee86 02:43:16 Step 12/26 : RUN ${MAKE} 02:43:16 ---> Running in 40e1fbe13649 02:43:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:47:54 Removing intermediate container 40e1fbe13649 02:47:54 ---> 0ef877334a0f 02:47:54 Step 13/26 : FROM alpine:3.18 02:47:54 3.18: Pulling from library/alpine 02:47:54 4983c3fe2029: Pulling fs layer 02:47:54 4983c3fe2029: Verifying Checksum 02:47:54 4983c3fe2029: Download complete 02:47:54 4983c3fe2029: Pull complete 02:47:54 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:47:54 Status: Downloaded newer image for alpine:3.18 02:47:54 ---> a0237000ae83 02:47:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:47:54 ---> Running in 59eeb7056433 02:47:54 Removing intermediate container 59eeb7056433 02:47:54 ---> 885dcd33cb97 02:47:54 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:47:54 ---> Running in 16d0733da423 02:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:47:54 (1/1) Installing dumb-init (1.2.5-r2) 02:47:54 Executing busybox-1.36.1-r7.trigger 02:47:54 OK: 8 MiB in 16 packages 02:47:54 Removing intermediate container 16d0733da423 02:47:54 ---> a577df755c88 02:47:54 Step 16/26 : RUN apk --no-cache upgrade 02:47:54 ---> Running in faa664e6ecc5 02:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:47:54 OK: 8 MiB in 16 packages 02:47:54 Removing intermediate container faa664e6ecc5 02:47:54 ---> 7bc6023f5bf2 02:47:54 Step 17/26 : WORKDIR / 02:47:54 ---> Running in 2408e74d6baa 02:47:54 Removing intermediate container 2408e74d6baa 02:47:54 ---> 9953fe5e62e4 02:47:54 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 02:47:54 ---> 3775334eb7b8 02:47:54 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 02:47:55 ---> ebc599481e8f 02:47:55 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 02:47:57 ---> 3f95ee9f422e 02:47:57 Step 21/26 : EXPOSE 59995 02:47:57 ---> Running in 3d3fe8b53eaa 02:47:57 Removing intermediate container 3d3fe8b53eaa 02:47:57 ---> 4c139b2e4dab 02:47:57 Step 22/26 : ENTRYPOINT ["/device-uart"] 02:47:58 ---> Running in 2d0e7134d618 02:47:58 Removing intermediate container 2d0e7134d618 02:47:58 ---> 047b9c89a16c 02:47:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:47:58 ---> Running in 901d2c52ede8 02:47:58 Removing intermediate container 901d2c52ede8 02:47:58 ---> 1129a2bfc357 02:47:58 Step 24/26 : LABEL arch=arm64 02:47:59 ---> Running in 7e567182b508 02:47:59 Removing intermediate container 7e567182b508 02:47:59 ---> 95cc9457d932 02:47:59 Step 25/26 : LABEL git_sha=bc279460de46d3a6d33425637d1308351b1bd8af 02:47:59 ---> Running in 5087c02995fb 02:47:59 Removing intermediate container 5087c02995fb 02:47:59 ---> c938bbcd1b40 02:47:59 Step 26/26 : LABEL version=3.0.1-dev.28 02:47:59 ---> Running in a17d68aaa6ce 02:48:00 Removing intermediate container a17d68aaa6ce 02:48:00 ---> 48dbfcf51714 02:48:00 [Warning] One or more build-args [ARCH] were not consumed 02:48:00 Successfully built 48dbfcf51714 02:48:00 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 02:48:00 provisioning config files... 02:48:00 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/35@tmp/config11150843558349476238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:00 ---> ****-login.sh 02:48:00 nexus3.edgexfoundry.org:10001 02:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:00 Configure a credential helper to remove this warning. See 02:48:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:00 02:48:00 Login Succeeded 02:48:00 nexus3.edgexfoundry.org:10002 02:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:01 Configure a credential helper to remove this warning. See 02:48:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:01 02:48:01 Login Succeeded 02:48:01 nexus3.edgexfoundry.org:10003 02:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:01 Configure a credential helper to remove this warning. See 02:48:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:01 02:48:01 Login Succeeded 02:48:01 nexus3.edgexfoundry.org:10004 02:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:02 Configure a credential helper to remove this warning. See 02:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:02 02:48:02 Login Succeeded 02:48:02 ****.io 02:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:02 Configure a credential helper to remove this warning. See 02:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:02 02:48:02 Login Succeeded 02:48:02 ---> ****-login.sh ends [Pipeline] } 02:48:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:02 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 02:48:02 bc279460de46d3a6d33425637d1308351b1bd8af 02:48:02 latest 02:48:02 3.0.1-dev.28 02:48:02 bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:48:02 main 02:48:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:03 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:03 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af 02:48:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:48:03 67de3bcc0283: Preparing 02:48:03 1900ab135204: Preparing 02:48:03 16cc0cb3ddd7: Preparing 02:48:03 2fd37adcb7d6: Preparing 02:48:03 6ef66f2790b8: Preparing 02:48:03 3c20671a5817: Preparing 02:48:03 3c20671a5817: Waiting 02:48:03 1900ab135204: Pushed 02:48:03 16cc0cb3ddd7: Pushed 02:48:03 3c20671a5817: Layer already exists 02:48:03 2fd37adcb7d6: Pushed 02:48:03 6ef66f2790b8: Pushed 02:48:12 67de3bcc0283: Pushed 02:48:12 bc279460de46d3a6d33425637d1308351b1bd8af: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:12 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:13 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:48:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:48:13 67de3bcc0283: Preparing 02:48:13 1900ab135204: Preparing 02:48:13 16cc0cb3ddd7: Preparing 02:48:13 2fd37adcb7d6: Preparing 02:48:13 6ef66f2790b8: Preparing 02:48:13 3c20671a5817: Preparing 02:48:13 3c20671a5817: Waiting 02:48:13 67de3bcc0283: Layer already exists 02:48:13 6ef66f2790b8: Layer already exists 02:48:13 1900ab135204: Layer already exists 02:48:13 16cc0cb3ddd7: Layer already exists 02:48:13 2fd37adcb7d6: Layer already exists 02:48:13 3c20671a5817: Layer already exists 02:48:13 latest: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:13 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:14 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 02:48:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:48:14 67de3bcc0283: Preparing 02:48:14 1900ab135204: Preparing 02:48:14 16cc0cb3ddd7: Preparing 02:48:14 2fd37adcb7d6: Preparing 02:48:14 6ef66f2790b8: Preparing 02:48:14 3c20671a5817: Preparing 02:48:14 3c20671a5817: Waiting 02:48:14 1900ab135204: Layer already exists 02:48:14 6ef66f2790b8: Layer already exists 02:48:14 67de3bcc0283: Layer already exists 02:48:14 2fd37adcb7d6: Layer already exists 02:48:14 16cc0cb3ddd7: Layer already exists 02:48:14 3c20671a5817: Layer already exists 02:48:14 3.0.1-dev.28: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:14 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:15 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:48:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:48:15 67de3bcc0283: Preparing 02:48:15 1900ab135204: Preparing 02:48:15 16cc0cb3ddd7: Preparing 02:48:15 2fd37adcb7d6: Preparing 02:48:15 6ef66f2790b8: Preparing 02:48:15 3c20671a5817: Preparing 02:48:15 3c20671a5817: Waiting 02:48:15 67de3bcc0283: Layer already exists 02:48:15 2fd37adcb7d6: Layer already exists 02:48:15 1900ab135204: Layer already exists 02:48:15 16cc0cb3ddd7: Layer already exists 02:48:15 6ef66f2790b8: Layer already exists 02:48:15 3c20671a5817: Layer already exists 02:48:15 bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:15 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:16 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 02:48:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:48:16 67de3bcc0283: Preparing 02:48:16 1900ab135204: Preparing 02:48:16 16cc0cb3ddd7: Preparing 02:48:16 2fd37adcb7d6: Preparing 02:48:16 6ef66f2790b8: Preparing 02:48:16 3c20671a5817: Preparing 02:48:16 3c20671a5817: Waiting 02:48:16 2fd37adcb7d6: Layer already exists 02:48:16 6ef66f2790b8: Layer already exists 02:48:16 1900ab135204: Layer already exists 02:48:16 16cc0cb3ddd7: Layer already exists 02:48:16 67de3bcc0283: Layer already exists 02:48:16 3c20671a5817: Layer already exists 02:48:16 main: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:16 ===================================================== [Pipeline] echo 02:48:16 taggedImages: 02:48:16 - nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af 02:48:16 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:48:16 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 02:48:16 - nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 02:48:16 - 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 02:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:16 02:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:17 arm64: Pulling from edgex-lftools-log-publisher 02:48:17 8998bd30e6a1: Pulling fs layer 02:48:17 04944245beec: Pulling fs layer 02:48:17 699f458cf7ca: Pulling fs layer 02:48:17 765212b225bb: Pulling fs layer 02:48:17 f23df028b6ca: Pulling fs layer 02:48:17 d65c8cfc05b1: Pulling fs layer 02:48:17 2437ff75d9bd: Pulling fs layer 02:48:17 f23df028b6ca: Waiting 02:48:17 765212b225bb: Waiting 02:48:17 d65c8cfc05b1: Waiting 02:48:17 2437ff75d9bd: Waiting 02:48:17 04944245beec: Verifying Checksum 02:48:17 04944245beec: Download complete 02:48:17 765212b225bb: Verifying Checksum 02:48:17 765212b225bb: Download complete 02:48:17 f23df028b6ca: Verifying Checksum 02:48:17 f23df028b6ca: Download complete 02:48:17 d65c8cfc05b1: Verifying Checksum 02:48:17 d65c8cfc05b1: Download complete 02:48:17 699f458cf7ca: Verifying Checksum 02:48:17 699f458cf7ca: Download complete 02:48:18 8998bd30e6a1: Verifying Checksum 02:48:18 8998bd30e6a1: Download complete 02:48:20 2437ff75d9bd: Verifying Checksum 02:48:20 2437ff75d9bd: Download complete 02:48:22 8998bd30e6a1: Pull complete 02:48:23 04944245beec: Pull complete 02:48:25 699f458cf7ca: Pull complete 02:48:25 765212b225bb: Pull complete 02:48:26 f23df028b6ca: Pull complete 02:48:26 d65c8cfc05b1: Pull complete 02:48:44 2437ff75d9bd: Pull complete 02:48:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:45 prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container 02:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:48:48 $ docker top 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:48 ---> job-cost.sh 02:48:48 lf-activate-venv: SKIPPING 02:48:48 INFO: No Stack... 02:48:49 INFO: Retrieving Pricing Info for: v3-standard-4 02:48:50 INFO: Archiving Costs [Pipeline] sh 02:48:50 + cat /w/workspace/device-uart/35/archives/cost.csv 02:48:50 + cut -d, -f6 [Pipeline] lock 02:48:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] 02:48:50 Resource [jenkins-edgexfoundry-device-uart-main-35-stack-cost] did not exist. Created. 02:48:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:48:50 /w/workspace/device-uart/35@tmp/durable-deaa67cd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:48:51 + echo total: 0.10999999940395355 [Pipeline] stash 02:48:51 Warning: overwriting stash ‘stack-cost’ 02:48:51 Stashed 1 file(s) [Pipeline] } 02:48:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 02:48:51 $ docker stop --time=1 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 02:48:53 $ docker rm -f --volumes 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 [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 02:48:53 provisioning config files... 02:48:53 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16757054427687162354tmp [Pipeline] { [Pipeline] sh 02:48:53 + set +x 02:48:53 + curl -s https://codecov.io/bash 02:48:53 + bash -s -- 02:48:53 02:48:53 _____ _ 02:48:53 / ____| | | 02:48:53 | | ___ __| | ___ ___ _____ __ 02:48:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:53 Bash-1.0.6 02:48:53 02:48:53 02:48:53 ==> git version 2.25.1 found 02:48:53 ==> 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 02:48:53 Release-Date: 2020-01-08 02:48:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:48:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:48:53 ==> Jenkins CI detected. 02:48:53 current dir:  /w/workspace/edgexfoundry_device-uart_main 02:48:53 project root: . 02:48:53 --> token set from env 02:48:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:53 ==> Running gcov in . (disable via -X gcov) 02:48:53 ==> Python coveragepy not found 02:48:53 ==> Searching for coverage reports in: 02:48:53 + . 02:48:53 -> Found 1 reports 02:48:53 ==> Detecting git/mercurial file structure 02:48:53 ==> Reading reports 02:48:53 + ./coverage.out bytes=10 02:48:53 ==> Appending adjustments 02:48:53 https://docs.codecov.io/docs/fixing-reports 02:48:53 + Found adjustments 02:48:54 ==> Gzipping contents 02:48:54 4.0K /tmp/codecov.vkEBck.gz 02:48:54 ==> Uploading reports 02:48:54 url: https://codecov.io 02:48:54 query: branch=main&commit=bc279460de46d3a6d33425637d1308351b1bd8af&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:48:54 -> Pinging Codecov 02:48:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=bc279460de46d3a6d33425637d1308351b1bd8af&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:48:54 -> Uploading to 02:48:54 https://storage.googleapis.com/codecov/v4/raw/2024-07-31/B9AA6E0BBD74AE3A32605C7A7C664919/bc279460de46d3a6d33425637d1308351b1bd8af/6fc1325d-5e01-4f16-84a9-7a4750b3706b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T024854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c64102e5733b2d79150d7a90da1075823b87feb27c82a22b898ec235299fe5dc 02:48:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:54 Dload Upload Total Spent Left Speed 02:48:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2565 --:--:-- --:--:-- --:--:-- 2565 02:48:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } 02:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:48:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:48:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:48:55 02:48:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:48:56 latest: Pulling from edgex-devops/edgex-snyk-go 02:48:56 619be1103602: Already exists 02:48:56 f8ea3408117e: Pulling fs layer 02:48:56 91320369b822: Pulling fs layer 02:48:56 0406650e8295: Pulling fs layer 02:48:56 4f4fb700ef54: Pulling fs layer 02:48:56 96d80e3f36e1: Pulling fs layer 02:48:56 bcf3aedb951c: Pulling fs layer 02:48:56 4f4fb700ef54: Waiting 02:48:56 96d80e3f36e1: Waiting 02:48:56 bcf3aedb951c: Waiting 02:48:56 0406650e8295: Verifying Checksum 02:48:56 0406650e8295: Download complete 02:48:56 f8ea3408117e: Verifying Checksum 02:48:56 f8ea3408117e: Download complete 02:48:56 96d80e3f36e1: Verifying Checksum 02:48:56 96d80e3f36e1: Download complete 02:48:56 f8ea3408117e: Pull complete 02:48:56 91320369b822: Verifying Checksum 02:48:56 91320369b822: Download complete 02:48:57 bcf3aedb951c: Verifying Checksum 02:48:57 bcf3aedb951c: Download complete 02:49:00 91320369b822: Pull complete 02:49:00 0406650e8295: Pull complete 02:49:01 4f4fb700ef54: Pull complete 02:49:01 96d80e3f36e1: Pull complete 02:49:09 bcf3aedb951c: Pull complete 02:49:09 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:09 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:49:09 $ 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 02:49:16 $ docker top 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 02:49:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 02:49:17 + set -o pipefail 02:49:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 02:49:25 02:49:25 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 02:49:25 02:49:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/6c0db509-1d6a-4138-ae13-6cb1bd42efd6 02:49:25 02:49:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:49:25 02:49:25 02:49:25 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:49:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:49:25 $ docker stop --time=1 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 02:49:36 $ docker rm -f --volumes 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 [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 02:49:37 + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] sh 02:49:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:49:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:38 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:49:38 $ 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 02:49:38 $ docker top f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 -eo pid,comm 02:49:38 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). 02:49:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:49:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:49:38 [ssh-agent] Looking for ssh-agent implementation... 02:49:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:49:38 $ docker exec f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 ssh-agent 02:49:39 SSH_AUTH_SOCK=/tmp/ssh-KxIDbtZeDwbC/agent.33 02:49:39 SSH_AGENT_PID=39 02:49:39 Running ssh-add (command line suppressed) 02:49:39 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17496367252078006063.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17496367252078006063.key) 02:49:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:49:39 + git semver tag 02:49:39 2024-07-31 02:49:39,698 [run_tag] DEBUG tag force:False 02:49:39 2024-07-31 02:49:39,699 [check_head_tag] DEBUG check head tag 02:49:39 2024-07-31 02:49:39,700 [execute] INFO git cat-file --batch-check 02:49:39 2024-07-31 02:49:39,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:49:39 2024-07-31 02:49:39,704 [execute] INFO git cat-file --batch 02:49:39 2024-07-31 02:49:39,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:49:39 2024-07-31 02:49:39,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:49:39 2024-07-31 02:49:39,719 [execute] INFO git tag -a v3.0.1-dev.28 -m v3.0.1-dev.28 02:49:39 2024-07-31 02:49:39,719 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.28', '-m', 'v3.0.1-dev.28'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:49:39 2024-07-31 02:49:39,723 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:49:39 3.0.1-dev.28 [Pipeline] } 02:49:39 $ docker exec --env ******** --env ******** f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 ssh-agent -k 02:49:39 unset SSH_AUTH_SOCK; 02:49:39 unset SSH_AGENT_PID; 02:49:39 echo Agent pid 39 killed; 02:49:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:49:40 + git semver [Pipeline] } 02:49:40 $ docker stop --time=1 f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 02:49:42 $ docker rm -f --volumes f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:49:42 02:49:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:49:42 0.23.1-centos7: Pulling from edgex-lftools 02:49:42 ab5ef0e58194: Pulling fs layer 02:49:42 9712f1f96733: Pulling fs layer 02:49:42 63f879dbbcfc: Pulling fs layer 02:49:42 0d9ebad4ef96: Pulling fs layer 02:49:42 e9a5061849ea: Pulling fs layer 02:49:42 d747dcd14b5f: Pulling fs layer 02:49:42 2de7ff778b66: Pulling fs layer 02:49:42 0d9ebad4ef96: Waiting 02:49:42 2de7ff778b66: Waiting 02:49:42 e9a5061849ea: Waiting 02:49:42 9712f1f96733: Download complete 02:49:43 63f879dbbcfc: Verifying Checksum 02:49:43 63f879dbbcfc: Download complete 02:49:43 e9a5061849ea: Verifying Checksum 02:49:43 e9a5061849ea: Download complete 02:49:43 ab5ef0e58194: Verifying Checksum 02:49:43 ab5ef0e58194: Download complete 02:49:43 0d9ebad4ef96: Verifying Checksum 02:49:43 0d9ebad4ef96: Download complete 02:49:43 2de7ff778b66: Verifying Checksum 02:49:43 2de7ff778b66: Download complete 02:49:46 ab5ef0e58194: Pull complete 02:49:46 9712f1f96733: Pull complete 02:49:46 63f879dbbcfc: Pull complete 02:49:50 0d9ebad4ef96: Pull complete 02:49:50 e9a5061849ea: Pull complete 02:49:50 d747dcd14b5f: Pull complete 02:49:51 2de7ff778b66: Pull complete 02:49:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:49:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:49:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:52 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:49:52 $ 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 02:49:58 $ docker top 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:49:58 provisioning config files... 02:49:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8153913826677170690tmp 02:49:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14361977595871515904tmp 02:49:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1091137890335423130tmp [Pipeline] { [Pipeline] echo 02:49:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:49:58 ---> sigul-configuration.sh 02:49:58 gpg: directory `/root/.gnupg' created 02:49:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:49:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:49:58 gpg: keyring `/root/.gnupg/secring.gpg' created 02:49:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:49:58 gpg: CAST5 encrypted data 02:49:58 gpg: encrypted with 1 passphrase 02:49:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:49:59 + mkdir /home/jenkins 02:49:59 + mkdir /home/jenkins/sigul [Pipeline] sh 02:49:59 + 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 02:49:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:59 ---> sigul-install.sh 02:49:59 Sigul already installed; skipping installation. [Pipeline] sh 02:49:59 + git tag --list 02:49:59 v0.0.0 02:49:59 v0.0.1-dev.1 02:49:59 v0.0.1-dev.2 02:49:59 v0.0.1-dev.3 02:49:59 v0.0.1-dev.4 02:49:59 v3.0.0 02:49:59 v3.0.1-dev.1 02:49:59 v3.0.1-dev.10 02:49:59 v3.0.1-dev.11 02:49:59 v3.0.1-dev.12 02:49:59 v3.0.1-dev.13 02:49:59 v3.0.1-dev.14 02:49:59 v3.0.1-dev.15 02:49:59 v3.0.1-dev.16 02:49:59 v3.0.1-dev.17 02:49:59 v3.0.1-dev.18 02:49:59 v3.0.1-dev.19 02:49:59 v3.0.1-dev.2 02:49:59 v3.0.1-dev.20 02:49:59 v3.0.1-dev.21 02:49:59 v3.0.1-dev.22 02:49:59 v3.0.1-dev.23 02:49:59 v3.0.1-dev.24 02:49:59 v3.0.1-dev.25 02:49:59 v3.0.1-dev.26 02:49:59 v3.0.1-dev.27 02:49:59 v3.0.1-dev.28 02:49:59 v3.0.1-dev.3 02:49:59 v3.0.1-dev.4 02:49:59 v3.0.1-dev.5 02:49:59 v3.0.1-dev.6 02:49:59 v3.0.1-dev.7 02:49:59 v3.0.1-dev.8 02:49:59 v3.0.1-dev.9 02:49:59 v3.1 02:49:59 v3.1.0 02:49:59 v3.1.1 02:49:59 v3.1.1-dev.1 [Pipeline] sh 02:50:00 + lftools sign git-tag v3.0.1-dev.28 02:50:00 Signing Git tag with Sigul... 02:50:00 Signing v3.0.1-dev.28 [Pipeline] echo 02:50:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:50:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:50:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:50:02 $ docker stop --time=1 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 02:50:03 $ docker rm -f --volumes 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:50:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:04 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:50:04 $ 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 02:50:04 $ docker top a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:04 [ssh-agent] Looking for ssh-agent implementation... 02:50:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:04 $ docker exec a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 ssh-agent 02:50:04 SSH_AUTH_SOCK=/tmp/ssh-62ayHt2CAVKo/agent.31 02:50:04 SSH_AGENT_PID=37 02:50:04 Running ssh-add (command line suppressed) 02:50:05 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11433800240243017813.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11433800240243017813.key) 02:50:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:05 + git semver bump pre 02:50:05 2024-07-31 02:50:05,516 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:50:05 2024-07-31 02:50:05,517 [bump_version] DEBUG bumping version:3.0.1-dev.28 on axis:pre with prefix:dev 02:50:05 2024-07-31 02:50:05,517 [bump_version] DEBUG bumped version:3.0.1-dev.29 02:50:05 2024-07-31 02:50:05,517 [write_version] DEBUG write version:3.0.1-dev.29 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 02:50:05 2024-07-31 02:50:05,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:50:05 2024-07-31 02:50:05,517 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 02:50:05 2024-07-31 02:50:05,519 [execute] INFO git cat-file --batch-check 02:50:05 2024-07-31 02:50:05,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:05 2024-07-31 02:50:05,523 [execute] INFO git cat-file --batch 02:50:05 2024-07-31 02:50:05,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:05 2024-07-31 02:50:05,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:50:05 3.0.1-dev.29 [Pipeline] } 02:50:05 $ docker exec --env ******** --env ******** a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 ssh-agent -k 02:50:05 unset SSH_AUTH_SOCK; 02:50:05 unset SSH_AGENT_PID; 02:50:05 echo Agent pid 37 killed; 02:50:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:06 + git semver [Pipeline] } 02:50:06 $ docker stop --time=1 a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 02:50:07 $ docker rm -f --volumes a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:08 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:50:08 $ 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 02:50:08 $ docker top 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 -eo pid,comm 02:50:08 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). 02:50:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:08 [ssh-agent] Looking for ssh-agent implementation... 02:50:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:08 $ docker exec 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 ssh-agent 02:50:09 SSH_AUTH_SOCK=/tmp/ssh-ituEop7clIEw/agent.32 02:50:09 SSH_AGENT_PID=38 02:50:09 Running ssh-add (command line suppressed) 02:50:09 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11398337099594987323.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11398337099594987323.key) 02:50:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:09 + git semver push 02:50:09 2024-07-31 02:50:09,620 [run_push] DEBUG push 02:50:09 2024-07-31 02:50:09,620 [execute] INFO git cat-file --batch-check 02:50:09 2024-07-31 02:50:09,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:09 2024-07-31 02:50:09,624 [execute] INFO git rev-list e049add78115ce700759d521ce22d13574da7de8 -- 02:50:09 2024-07-31 02:50:09,624 [execute] DEBUG Popen(['git', 'rev-list', 'e049add78115ce700759d521ce22d13574da7de8', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:09 2024-07-31 02:50:09,630 [execute] INFO git fetch -v origin 02:50:09 2024-07-31 02:50:09,630 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 02:50:10 2024-07-31 02:50:10,079 [run_push] DEBUG no remote changes detected 02:50:10 2024-07-31 02:50:10,080 [execute] INFO git push origin semver 02:50:10 2024-07-31 02:50:10,080 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:10 2024-07-31 02:50:10,799 [run_push] DEBUG push all version tags 02:50:10 2024-07-31 02:50:10,800 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:50:10 2024-07-31 02:50:10,800 [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) 02:50:11 2024-07-31 02:50:11,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:50:11 3.0.1-dev.29 [Pipeline] } 02:50:11 $ docker exec --env ******** --env ******** 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 ssh-agent -k 02:50:11 unset SSH_AUTH_SOCK; 02:50:11 unset SSH_AGENT_PID; 02:50:11 echo Agent pid 38 killed; 02:50:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:12 + git semver [Pipeline] } 02:50:12 $ docker stop --time=1 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 02:50:13 $ docker rm -f --volumes 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 [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 02:50:14 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 02:50:14 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:50:14 total 16 02:50:14 drwxr-xr-x 3 root root 4096 Jul 31 02:34 . 02:50:14 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:49 .. 02:50:14 drwxr-xr-x 2 root root 4096 Jul 31 02:34 cost 02:50:14 -rw-r--r-- 1 root root 82 Jul 31 02:34 cost.csv 02:50:14 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 02:50:14 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:50:14 total 16 02:50:14 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:34 . 02:50:14 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:49 .. 02:50:14 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:34 cost 02:50:14 -rw-r--r-- 1 jenkins jenkins 82 Jul 31 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:50:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:15 ---> package-listing.sh 02:50:15 ++ facter osfamily 02:50:15 ++ tr '[:upper:]' '[:lower:]' 02:50:15 + OS_FAMILY=debian 02:50:15 + workspace=/w/workspace/edgexfoundry_device-uart_main 02:50:15 + START_PACKAGES=/tmp/packages_start.txt 02:50:15 + END_PACKAGES=/tmp/packages_end.txt 02:50:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:15 + PACKAGES=/tmp/packages_start.txt 02:50:15 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:50:15 + PACKAGES=/tmp/packages_end.txt 02:50:15 + case "${OS_FAMILY}" in 02:50:15 + dpkg -l 02:50:15 + grep '^ii' 02:50:15 + '[' -f /tmp/packages_start.txt ']' 02:50:15 + '[' -f /tmp/packages_end.txt ']' 02:50:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:15 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:50:15 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 02:50:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 02:50:15 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 02:50:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:16 prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container 02:50:16 $ 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 02:50:17 $ docker top 69a8b72d5d36093e01807fedc53d097ec821e9df39a6afb3d07a32c535909652 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:17 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:17 + mkdir -p /var/log/sysstat [Pipeline] sh 02:50:18 + ls /var/log/sa-host 02:50:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:18 provisioning config files... 02:50:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8907895284610810424tmp [Pipeline] { [Pipeline] echo 02:50:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> create-netrc.sh [Pipeline] } 02:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> python-tools-install.sh [Pipeline] echo 02:50:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:19 ---> sudo-logs.sh 02:50:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:50:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:19 ---> job-cost.sh 02:50:19 lf-activate-venv: SKIPPING 02:50:19 DEBUG: total: 0.2199999988079071 02:50:19 INFO: Retrieving Stack Cost... 02:50:19 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:19 INFO: Archiving Costs [Pipeline] echo 02:50:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:20 ---> logs-deploy.sh 02:50:20 lf-activate-venv: SKIPPING 02:50:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/35 02:50:20 INFO: archiving workspace using pattern(s): 02:50:21 Archives upload complete. 02:50:21 INFO: archiving logs to Nexus