Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 23327eef742656f25952fb3dd9c4e82b8abf1118 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-ssh6494171180302555503.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh16975533755081482294.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh12274698831151645650.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh1077233220012518766.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-ssh6168573572069685301.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-9938 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 23327eef742656f25952fb3dd9c4e82b8abf1118 (main) Commit message: "Merge pull request #70 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git config core.sparsecheckout # timeout=10 > git checkout -f 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 > git rev-list --no-walk 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:00:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:00:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:00:02 ========================================================= 03:00:02 EdgeX Global Pipelines Version Info 03:00:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:00:04 ------------------- 03:00:04 stable info: 03:00:04 ------------------- 03:00:04 Commited By: Cherry Wang cherry@iotechsys.com 03:00:04 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:00:04 Message: update stable to v1.0.263 03:00:04 ------------------- 03:00:04 experimental info: 03:00:04 ------------------- 03:00:04 Commited By: Cherry Wang cherry@iotechsys.com 03:00:04 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:00:04 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:00:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23327ee [Pipeline] echo 03:00:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:05 provisioning config files... 03:00:05 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13766344919829121352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:05 ---> ****-login.sh 03:00:05 nexus3.edgexfoundry.org:10001 03:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:05 Configure a credential helper to remove this warning. See 03:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:05 03:00:05 Login Succeeded 03:00:05 nexus3.edgexfoundry.org:10002 03:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:05 Configure a credential helper to remove this warning. See 03:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:05 03:00:05 Login Succeeded 03:00:05 nexus3.edgexfoundry.org:10003 03:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:06 Configure a credential helper to remove this warning. See 03:00:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:06 03:00:06 Login Succeeded 03:00:06 nexus3.edgexfoundry.org:10004 03:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:06 Configure a credential helper to remove this warning. See 03:00:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:06 03:00:06 Login Succeeded 03:00:06 ****.io 03:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:06 Configure a credential helper to remove this warning. See 03:00:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:06 03:00:06 Login Succeeded 03:00:06 ---> ****-login.sh ends [Pipeline] } 03:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:00:07 + git rev-list -1 --merges 23327eef742656f25952fb3dd9c4e82b8abf1118~1..23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] echo 03:00:07 -----------> git rev-list -1 --merges 23327eef742656f25952fb3dd9c4e82b8abf1118~1..23327eef742656f25952fb3dd9c4e82b8abf1118 23327eef742656f25952fb3dd9c4e82b8abf1118 03:00:07 23327eef742656f25952fb3dd9c4e82b8abf1118 [false] [Pipeline] sh 03:00:07 + git log --format=format:%s -1 23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] echo 03:00:07 ========================================================= 03:00:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:00:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:07 + git log --format=format:%s -1 23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] echo 03:00:07 [semverPrep] GIT_COMMIT: 23327eef742656f25952fb3dd9c4e82b8abf1118, Commit Message: Merge pull request #70 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 03:00:07 [semverPrep] This is not a build commit. [Pipeline] sh 03:00:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:08 + grep -v github /etc/ssh/ssh_known_hosts 03:00:08 + [ -e /tmp/ssh_known_hosts ] 03:00:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:00:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:00:08 + sudo tee -a /etc/ssh/ssh_known_hosts 03:00:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:08 03:00:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:08 0.1.4: Pulling from edgex-devops/py-git-semver 03:00:08 b85a868b505f: Pulling fs layer 03:00:08 e2be974225ed: Pulling fs layer 03:00:08 339a4e72a1f5: Pulling fs layer 03:00:08 988bab9f4d93: Pulling fs layer 03:00:08 1469e6f7b9e6: Pulling fs layer 03:00:08 eaf3925da568: Pulling fs layer 03:00:08 bab4dde63d76: Pulling fs layer 03:00:08 bde34c3a00c8: Pulling fs layer 03:00:08 b352a97aabf1: Pulling fs layer 03:00:08 4872d77fe225: Pulling fs layer 03:00:08 5851b861e8e6: Pulling fs layer 03:00:08 988bab9f4d93: Waiting 03:00:08 1469e6f7b9e6: Waiting 03:00:08 eaf3925da568: Waiting 03:00:08 bab4dde63d76: Waiting 03:00:08 bde34c3a00c8: Waiting 03:00:08 b352a97aabf1: Waiting 03:00:08 4872d77fe225: Waiting 03:00:08 5851b861e8e6: Waiting 03:00:09 339a4e72a1f5: Verifying Checksum 03:00:09 339a4e72a1f5: Download complete 03:00:09 988bab9f4d93: Download complete 03:00:09 e2be974225ed: Download complete 03:00:09 eaf3925da568: Download complete 03:00:09 1469e6f7b9e6: Verifying Checksum 03:00:09 1469e6f7b9e6: Download complete 03:00:09 bde34c3a00c8: Verifying Checksum 03:00:09 bde34c3a00c8: Download complete 03:00:09 b352a97aabf1: Download complete 03:00:09 4872d77fe225: Verifying Checksum 03:00:09 4872d77fe225: Download complete 03:00:09 5851b861e8e6: Download complete 03:00:09 b85a868b505f: Verifying Checksum 03:00:09 b85a868b505f: Download complete 03:00:09 bab4dde63d76: Verifying Checksum 03:00:09 bab4dde63d76: Download complete 03:00:10 b85a868b505f: Pull complete 03:00:10 e2be974225ed: Pull complete 03:00:11 339a4e72a1f5: Pull complete 03:00:11 988bab9f4d93: Pull complete 03:00:11 1469e6f7b9e6: Pull complete 03:00:11 eaf3925da568: Pull complete 03:00:14 bab4dde63d76: Pull complete 03:00:14 bde34c3a00c8: Pull complete 03:00:14 b352a97aabf1: Pull complete 03:00:14 4872d77fe225: Pull complete 03:00:14 5851b861e8e6: Pull complete 03:00:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:00:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:14 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:00:14 $ 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 03:00:18 $ docker top 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 -eo pid,comm 03:00:18 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). 03:00:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:18 [ssh-agent] Looking for ssh-agent implementation... 03:00:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:19 $ docker exec 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 ssh-agent 03:00:19 SSH_AUTH_SOCK=/tmp/ssh-yzL7dAtwMn3F/agent.33 03:00:19 SSH_AGENT_PID=39 03:00:19 Running ssh-add (command line suppressed) 03:00:19 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10971882393957570198.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10971882393957570198.key) 03:00:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:19 + git tag --points-at HEAD [Pipeline] } 03:00:19 $ docker exec --env ******** --env ******** 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 ssh-agent -k 03:00:19 unset SSH_AUTH_SOCK; 03:00:19 unset SSH_AGENT_PID; 03:00:19 echo Agent pid 39 killed; 03:00:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:00:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:19 [ssh-agent] Looking for ssh-agent implementation... 03:00:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:19 $ docker exec 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 ssh-agent 03:00:19 SSH_AUTH_SOCK=/tmp/ssh-enW9LkTqJfVK/agent.72 03:00:19 SSH_AGENT_PID=78 03:00:19 Running ssh-add (command line suppressed) 03:00:20 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15003185454337765216.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15003185454337765216.key) 03:00:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:20 + git semver init 03:00:20 2024-09-10 03:00:20,651 [run_init] DEBUG init version:0.0.0 force:False 03:00:20 2024-09-10 03:00:20,652 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 03:00:20 2024-09-10 03:00:20,653 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 03:00:20 2024-09-10 03:00:20,653 [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) 03:00:22 2024-09-10 03:00:21,977 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 03:00:22 2024-09-10 03:00:21,977 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 03:00:22 2024-09-10 03:00:21,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:00:22 2024-09-10 03:00:21,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:00:22 3.0.1-dev.30 [Pipeline] } 03:00:22 $ docker exec --env ******** --env ******** 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 ssh-agent -k 03:00:22 unset SSH_AUTH_SOCK; 03:00:22 unset SSH_AGENT_PID; 03:00:22 echo Agent pid 78 killed; 03:00:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:22 + git semver [Pipeline] } 03:00:22 $ docker stop --time=1 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 03:00:24 $ docker rm -f --volumes 63ce96e3ba6ab92657ebd0d4e10d141673363e62b14c3f2ec902d446a3018274 [Pipeline] // withDockerContainer [Pipeline] sh 03:00:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:00:24 Stashed 1 file(s) [Pipeline] echo 03:00:24 [edgeXSemver]: initialized semver on version 3.0.1-dev.30 [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 03:00:24 provisioning config files... 03:00:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15247974295625117672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:25 ---> ****-login.sh 03:00:25 nexus3.edgexfoundry.org:10001 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 nexus3.edgexfoundry.org:10002 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 nexus3.edgexfoundry.org:10003 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 nexus3.edgexfoundry.org:10004 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 ****.io 03:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:00:25 Configure a credential helper to remove this warning. See 03:00:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:00:25 03:00:25 Login Succeeded 03:00:25 ---> ****-login.sh ends [Pipeline] } 03:00:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:00:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:00:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:00:25 ========================================================= 03:00:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:00:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:26 + 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 . 03:00:26 Sending build context to Docker daemon 25.55MB 03:00:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:00:26 Step 2/12 : FROM ${BASE} AS builder 03:00:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:00:26 619be1103602: Pulling fs layer 03:00:26 7862e08f4a3e: Pulling fs layer 03:00:26 5df492c9dc93: Pulling fs layer 03:00:26 7629e6793208: Pulling fs layer 03:00:26 4f4fb700ef54: Pulling fs layer 03:00:26 fb5054dd5b73: Pulling fs layer 03:00:26 eeca6798cff9: Pulling fs layer 03:00:26 aa269ceb94a6: Pulling fs layer 03:00:26 ada007ff1a6a: Pulling fs layer 03:00:26 eeca6798cff9: Waiting 03:00:26 4f4fb700ef54: Waiting 03:00:26 aa269ceb94a6: Waiting 03:00:26 ada007ff1a6a: Waiting 03:00:26 fb5054dd5b73: Waiting 03:00:26 7862e08f4a3e: Verifying Checksum 03:00:26 7629e6793208: Download complete 03:00:26 4f4fb700ef54: Verifying Checksum 03:00:26 4f4fb700ef54: Download complete 03:00:26 fb5054dd5b73: Verifying Checksum 03:00:26 fb5054dd5b73: Download complete 03:00:26 619be1103602: Verifying Checksum 03:00:26 619be1103602: Download complete 03:00:26 eeca6798cff9: Verifying Checksum 03:00:26 eeca6798cff9: Download complete 03:00:26 619be1103602: Pull complete 03:00:26 7862e08f4a3e: Pull complete 03:00:26 ada007ff1a6a: Verifying Checksum 03:00:26 ada007ff1a6a: Download complete 03:00:26 5df492c9dc93: Verifying Checksum 03:00:26 5df492c9dc93: Download complete 03:00:27 aa269ceb94a6: Verifying Checksum 03:00:27 aa269ceb94a6: Download complete 03:00:30 5df492c9dc93: Pull complete 03:00:30 7629e6793208: Pull complete 03:00:30 4f4fb700ef54: Pull complete 03:00:30 fb5054dd5b73: Pull complete 03:00:30 eeca6798cff9: Pull complete 03:00:33 aa269ceb94a6: Pull complete 03:00:33 ada007ff1a6a: Pull complete 03:00:33 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:00:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:00:33 ---> f489d0715acc 03:00:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:39 Still waiting to schedule task 03:00:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:00:40 ---> Running in 8585be3c2767 03:00:40 Removing intermediate container 8585be3c2767 03:00:40 ---> 754b88f4b5f5 03:00:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:00:40 ---> Running in 5703cd63dbfc 03:00:40 Removing intermediate container 5703cd63dbfc 03:00:40 ---> 144d358322f2 03:00:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:00:40 ---> Running in 34622953dec0 03:00:41 Removing intermediate container 34622953dec0 03:00:41 ---> 9dcaf9f04430 03:00:41 Step 6/12 : WORKDIR /device-uart 03:00:41 ---> Running in 02d6040309e7 03:00:41 Removing intermediate container 02d6040309e7 03:00:41 ---> eb9a8e6dc1ac 03:00:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:41 ---> Running in 9e41d0b9c742 03:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:00:41 (1/4) Installing openssh-keygen (9.3_p2-r2) 03:00:41 (2/4) Installing libedit (20221030.3.1-r1) 03:00:41 (3/4) Installing openssh-client-common (9.3_p2-r2) 03:00:41 (4/4) Installing openssh-client-default (9.3_p2-r2) 03:00:41 Executing busybox-1.36.1-r5.trigger 03:00:41 OK: 268 MiB in 56 packages 03:00:42 Removing intermediate container 9e41d0b9c742 03:00:42 ---> 066f6595ff9c 03:00:42 Step 8/12 : COPY go.mod vendor* ./ 03:00:43 ---> 70503d6949cd 03:00:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:43 ---> Running in 6febe3e600bc 03:01:46 Removing intermediate container 6febe3e600bc 03:01:46 ---> 28e70735a8a3 03:01:46 Step 10/12 : COPY . . 03:01:46 ---> eefa89b87ae4 03:01:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:01:46 ---> Running in 5d39f3bc6553 03:01:46 Removing intermediate container 5d39f3bc6553 03:01:46 ---> 243a32df9d07 03:01:46 Step 12/12 : RUN ${MAKE} 03:01:46 ---> Running in e47c937edfa6 03:01:46 noop 03:01:47 Removing intermediate container e47c937edfa6 03:01:47 ---> ca6f076f0282 03:01:47 Successfully built ca6f076f0282 03:01:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:48 + docker inspect -f . ci-base-image-x86_64 03:01:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:48 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:01:48 $ 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 03:01:49 $ docker top 553c335d6f5b9d27bea20ec9ff3e87ed0162660bf09a6c54d943fd6ffea86f5d -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:49 + go version 03:01:49 go version go1.21.9 linux/amd64 [Pipeline] } 03:01:49 $ docker stop --time=1 553c335d6f5b9d27bea20ec9ff3e87ed0162660bf09a6c54d943fd6ffea86f5d 03:01:51 $ docker rm -f --volumes 553c335d6f5b9d27bea20ec9ff3e87ed0162660bf09a6c54d943fd6ffea86f5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:51 + docker inspect -f . ci-base-image-x86_64 03:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:51 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:01:51 $ 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 03:01:52 $ docker top 95d33acff78418a48919178facba599bc443077b9480170646763317bf26ab83 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 03:01:53 + make test 03:01:53 go test ./... -coverprofile=coverage.out 03:01:58 ? github.com/edgexfoundry/device-uart [no test files] 03:02:20 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:02:20 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:02:23 go vet ./... 03:02:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:02:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:02:28 ./bin/test-attribution-txt.sh 03:02:28 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:02:28 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:02:28 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:02:28 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:02:28 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:02:28 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:02:28 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:02:28 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:02:28 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:02:28 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:02:28 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:02:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:02:28 $ docker stop --time=1 95d33acff78418a48919178facba599bc443077b9480170646763317bf26ab83 03:02:37 $ docker rm -f --volumes 95d33acff78418a48919178facba599bc443077b9480170646763317bf26ab83 [Pipeline] // withDockerContainer [Pipeline] sh 03:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:02:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:02:39 + ls -al . 03:02:39 total 224 03:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:01 . 03:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 02:59 .. 03:02:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 02:59 .dockerignore 03:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:02 .git 03:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 02:59 .github 03:02:39 -rw-rw-r-- 1 jenkins jenkins 343 Sep 10 02:59 .gitignore 03:02:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 02:59 .golangci.yml 03:02:39 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:00 .semver 03:02:39 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 10 02:59 Attribution.txt 03:02:39 -rw-rw-r-- 1 jenkins jenkins 1908 Sep 10 02:59 CHANGELOG.md 03:02:39 -rw-rw-r-- 1 jenkins jenkins 1886 Sep 10 02:59 Dockerfile 03:02:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 02:59 GOVERNANCE.md 03:02:39 -rw-rw-r-- 1 jenkins jenkins 675 Sep 10 02:59 Jenkinsfile 03:02:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 02:59 LICENSE 03:02:39 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 10 02:59 Makefile 03:02:39 -rw-rw-r-- 1 jenkins jenkins 617 Sep 10 02:59 OWNERS.md 03:02:39 -rw-rw-r-- 1 jenkins jenkins 8892 Sep 10 02:59 README.md 03:02:39 -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:00 VERSION 03:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 02:59 bin 03:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 02:59 cmd 03:02:39 -rw-r--r-- 1 jenkins jenkins 10 Sep 10 03:01 coverage.out 03:02:39 -rw-rw-r-- 1 jenkins jenkins 6965 Sep 10 02:59 go.mod 03:02:39 -rw-rw-r-- 1 jenkins jenkins 101894 Sep 10 02:59 go.sum 03:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 02:59 internal 03:02:39 -rw-rw-r-- 1 jenkins jenkins 209 Sep 10 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:39 + 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=23327eef742656f25952fb3dd9c4e82b8abf1118 --label arch=amd64 --label version=3.0.1-dev.30 . 03:02:39 Sending build context to Docker daemon 25.55MB 03:02:39 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:02:39 Step 2/26 : FROM ${BASE} AS builder 03:02:39 ---> ca6f076f0282 03:02:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:02:39 ---> Running in 73a58c192714 03:02:40 Removing intermediate container 73a58c192714 03:02:40 ---> f0df1dce50e6 03:02:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:02:40 ---> Running in f255c041ef2e 03:02:40 Removing intermediate container f255c041ef2e 03:02:40 ---> 07cff2cf16b5 03:02:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:02:40 ---> Running in f973cc5a279a 03:02:40 Removing intermediate container f973cc5a279a 03:02:40 ---> dd7ffd9bc4fe 03:02:40 Step 6/26 : WORKDIR /device-uart 03:02:40 ---> Running in 6163de21befc 03:02:40 Removing intermediate container 6163de21befc 03:02:40 ---> 3f9e82ed6e34 03:02:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:02:40 ---> Running in 530e335f5ba1 03:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:02:40 OK: 268 MiB in 56 packages 03:02:41 Removing intermediate container 530e335f5ba1 03:02:41 ---> c505b139bb53 03:02:41 Step 8/26 : COPY go.mod vendor* ./ 03:02:41 ---> bb95e89e3e01 03:02:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:02:41 ---> Running in 825f4ef81dc1 03:02:42 Removing intermediate container 825f4ef81dc1 03:02:42 ---> 5112cf584fff 03:02:42 Step 10/26 : COPY . . 03:02:42 ---> 4c25bc0ef91a 03:02:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:02:42 ---> Running in decd4e16e416 03:02:43 Removing intermediate container decd4e16e416 03:02:43 ---> 0147dc4504bc 03:02:43 Step 12/26 : RUN ${MAKE} 03:02:43 ---> Running in 02636747bc3e 03:02:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:03:22 Removing intermediate container 02636747bc3e 03:03:22 ---> deed24272fb2 03:03:22 Step 13/26 : FROM alpine:3.18 03:03:22 3.18: Pulling from library/alpine 03:03:22 1cc3d825d8b2: Pulling fs layer 03:03:22 1cc3d825d8b2: Download complete 03:03:22 1cc3d825d8b2: Pull complete 03:03:22 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 03:03:22 Status: Downloaded newer image for alpine:3.18 03:03:22 ---> 2c64cf60f6f0 03:03:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:03:22 ---> Running in bd0adb8ad278 03:03:22 Removing intermediate container bd0adb8ad278 03:03:22 ---> fc8f44581b69 03:03:22 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:03:22 ---> Running in 6c1c2f472c63 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:22 (1/1) Installing dumb-init (1.2.5-r2) 03:03:22 Executing busybox-1.36.1-r7.trigger 03:03:22 OK: 7 MiB in 16 packages 03:03:22 Removing intermediate container 6c1c2f472c63 03:03:22 ---> e822b8473a41 03:03:22 Step 16/26 : RUN apk --no-cache upgrade 03:03:22 ---> Running in fa6b448e6a36 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:22 OK: 7 MiB in 16 packages 03:03:22 Removing intermediate container fa6b448e6a36 03:03:22 ---> 363b74e7a6dd 03:03:22 Step 17/26 : WORKDIR / 03:03:22 ---> Running in 1eb5fab38f71 03:03:22 Removing intermediate container 1eb5fab38f71 03:03:22 ---> 208cdf1eb183 03:03:22 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 03:03:23 ---> 6eace89d1728 03:03:23 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 03:03:23 ---> 593af64870e1 03:03:23 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 03:03:25 ---> 88cb26716c48 03:03:25 Step 21/26 : EXPOSE 59995 03:03:25 ---> Running in 2a17084f7fa0 03:03:25 Removing intermediate container 2a17084f7fa0 03:03:25 ---> 7752e624c5ac 03:03:25 Step 22/26 : ENTRYPOINT ["/device-uart"] 03:03:25 ---> Running in 381c1dea4a3d 03:03:25 Removing intermediate container 381c1dea4a3d 03:03:25 ---> 759a98f09256 03:03:25 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:03:25 ---> Running in 115e9870c622 03:03:25 Removing intermediate container 115e9870c622 03:03:25 ---> 7d6a3b0f8ca2 03:03:25 Step 24/26 : LABEL arch=amd64 03:03:25 ---> Running in a3a2e496f6b4 03:03:26 Removing intermediate container a3a2e496f6b4 03:03:26 ---> 87ba92eb82dc 03:03:26 Step 25/26 : LABEL git_sha=23327eef742656f25952fb3dd9c4e82b8abf1118 03:03:26 ---> Running in 610ece28e615 03:03:26 Removing intermediate container 610ece28e615 03:03:26 ---> f7a419e3e09d 03:03:26 Step 26/26 : LABEL version=3.0.1-dev.30 03:03:26 ---> Running in e184b111eef3 03:03:26 Removing intermediate container e184b111eef3 03:03:26 ---> 40d56d49bbec 03:03:26 [Warning] One or more build-args [ARCH] were not consumed 03:03:26 Successfully built 40d56d49bbec 03:03:26 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:26 provisioning config files... 03:03:26 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13014122648106615832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:26 ---> ****-login.sh 03:03:26 nexus3.edgexfoundry.org:10001 03:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:26 Configure a credential helper to remove this warning. See 03:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:26 03:03:26 Login Succeeded 03:03:26 nexus3.edgexfoundry.org:10002 03:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:26 Configure a credential helper to remove this warning. See 03:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:26 03:03:26 Login Succeeded 03:03:26 nexus3.edgexfoundry.org:10003 03:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:26 Configure a credential helper to remove this warning. See 03:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:26 03:03:26 Login Succeeded 03:03:26 nexus3.edgexfoundry.org:10004 03:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:26 Configure a credential helper to remove this warning. See 03:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:26 03:03:26 Login Succeeded 03:03:26 ****.io 03:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:27 Configure a credential helper to remove this warning. See 03:03:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:27 03:03:27 Login Succeeded 03:03:27 ---> ****-login.sh ends [Pipeline] } 03:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:27 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 03:03:27 23327eef742656f25952fb3dd9c4e82b8abf1118 03:03:27 latest 03:03:27 3.0.1-dev.30 03:03:27 23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:03:27 main 03:03:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:27 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:27 + docker push nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118 03:03:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:03:27 5b35e66a7dd0: Preparing 03:03:27 8f3839c5bd1a: Preparing 03:03:27 f8c3070b4e01: Preparing 03:03:27 72ab8709b427: Preparing 03:03:27 78aba7aef90b: Preparing 03:03:27 d62a02444d39: Preparing 03:03:27 d62a02444d39: Waiting 03:03:27 8f3839c5bd1a: Pushed 03:03:27 78aba7aef90b: Pushed 03:03:27 72ab8709b427: Pushed 03:03:27 f8c3070b4e01: Pushed 03:03:27 d62a02444d39: Layer already exists 03:03:31 5b35e66a7dd0: Pushed 03:03:31 23327eef742656f25952fb3dd9c4e82b8abf1118: digest: sha256:60a3476ad8e2588d3cbb15c4c81220005c2efd6df317a75f1690b6cf85f5658a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:32 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:32 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 03:03:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:03:32 5b35e66a7dd0: Preparing 03:03:32 8f3839c5bd1a: Preparing 03:03:32 f8c3070b4e01: Preparing 03:03:32 72ab8709b427: Preparing 03:03:32 78aba7aef90b: Preparing 03:03:32 d62a02444d39: Preparing 03:03:32 5b35e66a7dd0: Layer already exists 03:03:32 78aba7aef90b: Layer already exists 03:03:32 f8c3070b4e01: Layer already exists 03:03:32 8f3839c5bd1a: Layer already exists 03:03:32 72ab8709b427: Layer already exists 03:03:32 d62a02444d39: Layer already exists 03:03:32 latest: digest: sha256:60a3476ad8e2588d3cbb15c4c81220005c2efd6df317a75f1690b6cf85f5658a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:33 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:33 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.30 03:03:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:03:33 5b35e66a7dd0: Preparing 03:03:33 8f3839c5bd1a: Preparing 03:03:33 f8c3070b4e01: Preparing 03:03:33 72ab8709b427: Preparing 03:03:33 78aba7aef90b: Preparing 03:03:33 d62a02444d39: Preparing 03:03:33 d62a02444d39: Waiting 03:03:33 f8c3070b4e01: Layer already exists 03:03:33 72ab8709b427: Layer already exists 03:03:33 8f3839c5bd1a: Layer already exists 03:03:33 5b35e66a7dd0: Layer already exists 03:03:33 78aba7aef90b: Layer already exists 03:03:33 d62a02444d39: Layer already exists 03:03:33 3.0.1-dev.30: digest: sha256:60a3476ad8e2588d3cbb15c4c81220005c2efd6df317a75f1690b6cf85f5658a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:33 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:34 + docker push nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:03:34 5b35e66a7dd0: Preparing 03:03:34 8f3839c5bd1a: Preparing 03:03:34 f8c3070b4e01: Preparing 03:03:34 72ab8709b427: Preparing 03:03:34 78aba7aef90b: Preparing 03:03:34 d62a02444d39: Preparing 03:03:34 d62a02444d39: Waiting 03:03:34 f8c3070b4e01: Layer already exists 03:03:34 5b35e66a7dd0: Layer already exists 03:03:34 8f3839c5bd1a: Layer already exists 03:03:34 78aba7aef90b: Layer already exists 03:03:34 72ab8709b427: Layer already exists 03:03:34 d62a02444d39: Layer already exists 03:03:34 23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30: digest: sha256:60a3476ad8e2588d3cbb15c4c81220005c2efd6df317a75f1690b6cf85f5658a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:34 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:34 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 03:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:03:34 5b35e66a7dd0: Preparing 03:03:34 8f3839c5bd1a: Preparing 03:03:34 f8c3070b4e01: Preparing 03:03:34 72ab8709b427: Preparing 03:03:34 78aba7aef90b: Preparing 03:03:34 d62a02444d39: Preparing 03:03:34 d62a02444d39: Waiting 03:03:34 78aba7aef90b: Layer already exists 03:03:34 8f3839c5bd1a: Layer already exists 03:03:34 5b35e66a7dd0: Layer already exists 03:03:34 f8c3070b4e01: Layer already exists 03:03:34 72ab8709b427: Layer already exists 03:03:34 d62a02444d39: Layer already exists 03:03:34 main: digest: sha256:60a3476ad8e2588d3cbb15c4c81220005c2efd6df317a75f1690b6cf85f5658a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:34 ===================================================== [Pipeline] echo 03:03:34 taggedImages: 03:03:34 - nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118 03:03:34 - nexus3.edgexfoundry.org:10004/device-uart:latest 03:03:34 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.30 03:03:34 - nexus3.edgexfoundry.org:10004/device-uart:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:03:34 - 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 03:03:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:35 03:03:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:35 latest: Pulling from edgex-lftools-log-publisher 03:03:35 5eb5b503b376: Pulling fs layer 03:03:35 5c69ac0246d0: Pulling fs layer 03:03:35 ec43610c2a17: Pulling fs layer 03:03:35 3a2ae6a8a46f: Pulling fs layer 03:03:35 33b1e0a273af: Pulling fs layer 03:03:35 5d3b04190fa2: Pulling fs layer 03:03:35 2f39f015ded8: Pulling fs layer 03:03:35 3a2ae6a8a46f: Waiting 03:03:35 5d3b04190fa2: Waiting 03:03:35 33b1e0a273af: Waiting 03:03:35 2f39f015ded8: Waiting 03:03:35 5c69ac0246d0: Verifying Checksum 03:03:35 5c69ac0246d0: Download complete 03:03:35 3a2ae6a8a46f: Verifying Checksum 03:03:35 3a2ae6a8a46f: Download complete 03:03:35 33b1e0a273af: Verifying Checksum 03:03:35 33b1e0a273af: Download complete 03:03:35 5d3b04190fa2: Verifying Checksum 03:03:35 5d3b04190fa2: Download complete 03:03:35 ec43610c2a17: Verifying Checksum 03:03:35 ec43610c2a17: Download complete 03:03:35 5eb5b503b376: Verifying Checksum 03:03:35 5eb5b503b376: Download complete 03:03:36 2f39f015ded8: Download complete 03:03:37 5eb5b503b376: Pull complete 03:03:37 5c69ac0246d0: Pull complete 03:03:37 ec43610c2a17: Pull complete 03:03:37 3a2ae6a8a46f: Pull complete 03:03:38 33b1e0a273af: Pull complete 03:03:38 5d3b04190fa2: Pull complete 03:03:43 2f39f015ded8: Pull complete 03:03:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:03:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:43 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:03:43 $ 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 03:04:00 $ docker top cb60f3debced33d62039f33f9116957101f26b63e96a8b8cb2f9367ad9310984 -eo pid,comm 03:04:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9944 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 03:04:00 Running in /w/workspace/device-uart/37 [Pipeline] { [Pipeline] checkout 03:04:01 ---> job-cost.sh 03:04:01 lf-activate-venv: SKIPPING 03:04:01 INFO: No Stack... 03:04:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:04:01 INFO: Archiving Costs [Pipeline] sh 03:04:03 The recommended git tool is: git 03:04:04 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 03:04:04 + cut -d, -f6 [Pipeline] lock 03:04:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] 03:04:04 Resource [jenkins-edgexfoundry-device-uart-main-37-stack-cost] did not exist. Created. 03:04:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:04 + echo total: 0.2199999988079071 [Pipeline] stash 03:04:04 Stashed 1 file(s) [Pipeline] } 03:04:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:04 $ docker stop --time=1 cb60f3debced33d62039f33f9116957101f26b63e96a8b8cb2f9367ad9310984 03:04:06 $ docker rm -f --volumes cb60f3debced33d62039f33f9116957101f26b63e96a8b8cb2f9367ad9310984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:04:13 using credential edgex-jenkins-ssh 03:04:13 Cloning the remote Git repository 03:04:13 Cloning repository git@github.com:edgexfoundry/device-uart.git 03:04:14 > git init /w/workspace/device-uart/37 # timeout=10 03:04:14 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 03:04:14 > git --version # timeout=10 03:04:14 > git --version # 'git version 2.25.1' 03:04:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:04:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:04:17 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 03:04:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:04:18 Avoid second fetch 03:04:18 Checking out Revision 23327eef742656f25952fb3dd9c4e82b8abf1118 (main) 03:04:19 Commit message: "Merge pull request #70 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" 03:04:18 > git config core.sparsecheckout # timeout=10 03:04:18 > git checkout -f 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:04:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:04:23 Dload Upload Total Spent Left Speed 03:04:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 03:04:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:04:24 + + sudo teesudo /etc/docker/daemon.new jq 03:04:24 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:04:24 { 03:04:24 "registry-mirrors": [ 03:04:24 "https://nexus3.edgexfoundry.org:10001" 03:04:24 ], 03:04:24 "bip": "10.250.0.254/24", 03:04:24 "hosts": [ 03:04:24 "tcp://0.0.0.0:5555", 03:04:24 "unix:///var/run/docker.sock" 03:04:24 ], 03:04:24 "mtu": 1458, 03:04:24 "selinux-enabled": true, 03:04:24 "seccomp-profile": "/etc/docker/seccomp.json" 03:04:24 } [Pipeline] sh 03:04:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:04:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:04:43 provisioning config files... 03:04:43 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/37@tmp/config3527110878349470319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:44 ---> ****-login.sh 03:04:44 nexus3.edgexfoundry.org:10001 03:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:44 Configure a credential helper to remove this warning. See 03:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:44 03:04:44 Login Succeeded 03:04:44 nexus3.edgexfoundry.org:10002 03:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:45 Configure a credential helper to remove this warning. See 03:04:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:45 03:04:45 Login Succeeded 03:04:45 nexus3.edgexfoundry.org:10003 03:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:46 Configure a credential helper to remove this warning. See 03:04:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:46 03:04:46 Login Succeeded 03:04:46 nexus3.edgexfoundry.org:10004 03:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:46 Configure a credential helper to remove this warning. See 03:04:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:46 03:04:46 Login Succeeded 03:04:46 ****.io 03:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:46 Configure a credential helper to remove this warning. See 03:04:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:46 03:04:46 Login Succeeded 03:04:46 ---> ****-login.sh ends [Pipeline] } 03:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:04:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:04:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:04:47 ========================================================= 03:04:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:04:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:47 + 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 . 03:04:48 Sending build context to Docker daemon 12.84MB 03:04:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:04:48 Step 2/12 : FROM ${BASE} AS builder 03:04:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:04:48 c6b39de5b339: Pulling fs layer 03:04:48 a69c41024577: Pulling fs layer 03:04:48 d6de4b400683: Pulling fs layer 03:04:48 35cb2a7552d0: Pulling fs layer 03:04:48 4f4fb700ef54: Pulling fs layer 03:04:48 464afbd9ba4c: Pulling fs layer 03:04:48 00f215d4a9da: Pulling fs layer 03:04:48 d496ad576159: Pulling fs layer 03:04:48 464afbd9ba4c: Waiting 03:04:48 35cb2a7552d0: Waiting 03:04:48 4f4fb700ef54: Waiting 03:04:48 00f215d4a9da: Waiting 03:04:48 a69c41024577: Verifying Checksum 03:04:48 a69c41024577: Download complete 03:04:48 35cb2a7552d0: Verifying Checksum 03:04:48 35cb2a7552d0: Download complete 03:04:48 4f4fb700ef54: Verifying Checksum 03:04:48 4f4fb700ef54: Download complete 03:04:48 464afbd9ba4c: Verifying Checksum 03:04:48 464afbd9ba4c: Download complete 03:04:48 c6b39de5b339: Verifying Checksum 03:04:48 c6b39de5b339: Download complete 03:04:49 d496ad576159: Verifying Checksum 03:04:49 d496ad576159: Download complete 03:04:49 c6b39de5b339: Pull complete 03:04:50 a69c41024577: Pull complete 03:04:50 d6de4b400683: Verifying Checksum 03:04:50 d6de4b400683: Download complete 03:04:51 00f215d4a9da: Verifying Checksum 03:04:51 00f215d4a9da: Download complete 03:05:04 d6de4b400683: Pull complete 03:05:04 35cb2a7552d0: Pull complete 03:05:04 4f4fb700ef54: Pull complete 03:05:04 464afbd9ba4c: Pull complete 03:05:14 00f215d4a9da: Pull complete 03:05:15 d496ad576159: Pull complete 03:05:15 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:05:15 ---> f246e2811388 03:05:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:05:18 ---> Running in 0fcfd073a532 03:05:18 Removing intermediate container 0fcfd073a532 03:05:18 ---> c7b0e0f7555b 03:05:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:05:18 ---> Running in 1cc12a0226c9 03:05:19 Removing intermediate container 1cc12a0226c9 03:05:19 ---> d4b9cb53853e 03:05:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:05:19 ---> Running in e4e74cd653b2 03:05:20 Removing intermediate container e4e74cd653b2 03:05:20 ---> 165d98c5a701 03:05:20 Step 6/12 : WORKDIR /device-uart 03:05:21 ---> Running in 34c72a98b985 03:05:21 Removing intermediate container 34c72a98b985 03:05:21 ---> fa23d7bae788 03:05:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:05:21 ---> Running in 18d4e9f1ee19 03:05:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:05:24 (1/4) Installing openssh-keygen (9.3_p2-r2) 03:05:24 (2/4) Installing libedit (20221030.3.1-r1) 03:05:24 (3/4) Installing openssh-client-common (9.3_p2-r2) 03:05:24 (4/4) Installing openssh-client-default (9.3_p2-r2) 03:05:24 Executing busybox-1.36.1-r5.trigger 03:05:24 OK: 271 MiB in 56 packages 03:05:26 Removing intermediate container 18d4e9f1ee19 03:05:26 ---> 551b17139b80 03:05:26 Step 8/12 : COPY go.mod vendor* ./ 03:05:26 ---> 3a3ad278c785 03:05:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:05:26 ---> Running in 08fe1bf7757c 03:07:33 Removing intermediate container 08fe1bf7757c 03:07:33 ---> e7ca064f07aa 03:07:33 Step 10/12 : COPY . . 03:07:33 ---> ec09136819b5 03:07:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:07:33 ---> Running in 74a418eb268a 03:07:33 Removing intermediate container 74a418eb268a 03:07:33 ---> d281f3b6ae09 03:07:33 Step 12/12 : RUN ${MAKE} 03:07:33 ---> Running in 541b8299beca 03:07:33 noop 03:07:33 Removing intermediate container 541b8299beca 03:07:33 ---> feec198ddebd 03:07:33 Successfully built feec198ddebd 03:07:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:34 + docker inspect -f . ci-base-image-arm64 03:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:07:34 prd-ubuntu20.04-docker-arm64-4c-16g-9944 does not seem to be running inside a container 03:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/37 -v /w/workspace/device-uart/37:/w/workspace/device-uart/37:rw,z -v /w/workspace/device-uart/37@tmp:/w/workspace/device-uart/37@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 03:07:35 $ docker top e628c0138d470d5e4ec06d99620f17a65dc5d7aa5ba22d7c55f3af7cc869d115 -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:36 + go version 03:07:36 go version go1.21.9 linux/arm64 [Pipeline] } 03:07:36 $ docker stop --time=1 e628c0138d470d5e4ec06d99620f17a65dc5d7aa5ba22d7c55f3af7cc869d115 03:07:38 $ docker rm -f --volumes e628c0138d470d5e4ec06d99620f17a65dc5d7aa5ba22d7c55f3af7cc869d115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:39 + docker inspect -f . ci-base-image-arm64 03:07:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:07:39 prd-ubuntu20.04-docker-arm64-4c-16g-9944 does not seem to be running inside a container 03:07:39 $ 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/37 -v /w/workspace/device-uart/37:/w/workspace/device-uart/37:rw,z -v /w/workspace/device-uart/37@tmp:/w/workspace/device-uart/37@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 03:07:40 $ docker top 24e22cdd445aa0d3d5ba8137316945d9942e9557b5f7aeffe625c95ee5c13fd7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:41 + git config --global --add safe.directory /w/workspace/device-uart/37 [Pipeline] fileExists [Pipeline] sh 03:07:42 + make test 03:07:42 go test ./... -coverprofile=coverage.out 03:07:49 ? github.com/edgexfoundry/device-uart [no test files] 03:11:56 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:11:56 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:11:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:11:56 go vet ./... 03:12:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:12:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:12:43 ./bin/test-attribution-txt.sh 03:12:43 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:12:43 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:12:43 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:12:43 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:12:43 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:12:43 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:12:43 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:12:43 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:12:43 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:12:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:12:43 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:12:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:12:43 $ docker stop --time=1 24e22cdd445aa0d3d5ba8137316945d9942e9557b5f7aeffe625c95ee5c13fd7 03:12:45 $ docker rm -f --volumes 24e22cdd445aa0d3d5ba8137316945d9942e9557b5f7aeffe625c95ee5c13fd7 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:12:46 Warning: overwriting stash ‘coverage-report’ 03:12:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:48 + ls -al . 03:12:48 total 220 03:12:48 drwxrwxr-x 7 jenkins jenkins 4096 Sep 10 03:07 . 03:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 03:04 .. 03:12:48 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 03:04 .dockerignore 03:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:04 .git 03:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 .github 03:12:48 -rw-rw-r-- 1 jenkins jenkins 343 Sep 10 03:04 .gitignore 03:12:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 03:04 .golangci.yml 03:12:48 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 10 03:04 Attribution.txt 03:12:48 -rw-rw-r-- 1 jenkins jenkins 1908 Sep 10 03:04 CHANGELOG.md 03:12:48 -rw-rw-r-- 1 jenkins jenkins 1886 Sep 10 03:04 Dockerfile 03:12:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 03:04 GOVERNANCE.md 03:12:48 -rw-rw-r-- 1 jenkins jenkins 675 Sep 10 03:04 Jenkinsfile 03:12:48 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 03:04 LICENSE 03:12:48 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 10 03:04 Makefile 03:12:48 -rw-rw-r-- 1 jenkins jenkins 617 Sep 10 03:04 OWNERS.md 03:12:48 -rw-rw-r-- 1 jenkins jenkins 8892 Sep 10 03:04 README.md 03:12:48 -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:00 VERSION 03:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:04 bin 03:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 cmd 03:12:48 -rw-r--r-- 1 jenkins jenkins 10 Sep 10 03:07 coverage.out 03:12:48 -rw-rw-r-- 1 jenkins jenkins 6965 Sep 10 03:04 go.mod 03:12:48 -rw-rw-r-- 1 jenkins jenkins 101894 Sep 10 03:04 go.sum 03:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 internal 03:12:48 -rw-rw-r-- 1 jenkins jenkins 209 Sep 10 03:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:48 + 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=23327eef742656f25952fb3dd9c4e82b8abf1118 --label arch=arm64 --label version=3.0.1-dev.30 . 03:12:49 Sending build context to Docker daemon 12.84MB 03:12:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:12:49 Step 2/26 : FROM ${BASE} AS builder 03:12:49 ---> feec198ddebd 03:12:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:12:49 ---> Running in f5f61014ba4a 03:12:49 Removing intermediate container f5f61014ba4a 03:12:49 ---> 7d96a31173aa 03:12:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:12:49 ---> Running in e9774f0d4209 03:12:50 Removing intermediate container e9774f0d4209 03:12:50 ---> 6e81573dc814 03:12:50 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:12:50 ---> Running in ec14feafb94b 03:12:50 Removing intermediate container ec14feafb94b 03:12:50 ---> 85394719b7c5 03:12:50 Step 6/26 : WORKDIR /device-uart 03:12:50 ---> Running in b18779d71510 03:12:50 Removing intermediate container b18779d71510 03:12:50 ---> b707811b9599 03:12:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:51 ---> Running in 30677cf4d5fe 03:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:12:54 OK: 271 MiB in 56 packages 03:12:55 Removing intermediate container 30677cf4d5fe 03:12:55 ---> e9c33c79f7c8 03:12:55 Step 8/26 : COPY go.mod vendor* ./ 03:12:55 ---> f5b7cd4d4031 03:12:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:55 ---> Running in beced9a6b229 03:12:58 Removing intermediate container beced9a6b229 03:12:58 ---> b92d9ed257cc 03:12:58 Step 10/26 : COPY . . 03:12:59 ---> c94f79ce988f 03:12:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:12:59 ---> Running in d08e6fac3fe8 03:13:00 Removing intermediate container d08e6fac3fe8 03:13:00 ---> 7e55092560d1 03:13:00 Step 12/26 : RUN ${MAKE} 03:13:00 ---> Running in 11bdb2ba7002 03:13:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:17:08 Removing intermediate container 11bdb2ba7002 03:17:08 ---> 4399eb614106 03:17:08 Step 13/26 : FROM alpine:3.18 03:17:08 3.18: Pulling from library/alpine 03:17:08 720f3032cd11: Pulling fs layer 03:17:08 720f3032cd11: Verifying Checksum 03:17:08 720f3032cd11: Download complete 03:17:08 720f3032cd11: Pull complete 03:17:08 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 03:17:08 Status: Downloaded newer image for alpine:3.18 03:17:08 ---> 3e834921e367 03:17:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:17:08 ---> Running in 7371246107e1 03:17:08 Removing intermediate container 7371246107e1 03:17:08 ---> 59952d7d8c75 03:17:08 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:17:08 ---> Running in 39eaa303188b 03:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:08 (1/1) Installing dumb-init (1.2.5-r2) 03:17:08 Executing busybox-1.36.1-r7.trigger 03:17:08 OK: 8 MiB in 16 packages 03:17:08 Removing intermediate container 39eaa303188b 03:17:08 ---> 7b2a4cafd864 03:17:08 Step 16/26 : RUN apk --no-cache upgrade 03:17:08 ---> Running in 2f267cfafdf5 03:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:08 OK: 8 MiB in 16 packages 03:17:08 Removing intermediate container 2f267cfafdf5 03:17:08 ---> dae3cd1563ce 03:17:08 Step 17/26 : WORKDIR / 03:17:08 ---> Running in ead7e9078a69 03:17:08 Removing intermediate container ead7e9078a69 03:17:08 ---> a493ddbc3cdc 03:17:08 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 03:17:08 ---> 3811f2c5d087 03:17:08 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 03:17:08 ---> 6131554fd9f1 03:17:08 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 03:17:08 ---> 01494b48373b 03:17:08 Step 21/26 : EXPOSE 59995 03:17:08 ---> Running in d69bb10255f8 03:17:09 Removing intermediate container d69bb10255f8 03:17:09 ---> c89ae92d9936 03:17:09 Step 22/26 : ENTRYPOINT ["/device-uart"] 03:17:09 ---> Running in 5dce3c01b4f2 03:17:09 Removing intermediate container 5dce3c01b4f2 03:17:09 ---> e3004512d2f2 03:17:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:17:09 ---> Running in eecca71339be 03:17:09 Removing intermediate container eecca71339be 03:17:09 ---> 7ae82b26b9c6 03:17:09 Step 24/26 : LABEL arch=arm64 03:17:09 ---> Running in 4ed2e42c2a87 03:17:10 Removing intermediate container 4ed2e42c2a87 03:17:10 ---> 9d7112c4a52f 03:17:10 Step 25/26 : LABEL git_sha=23327eef742656f25952fb3dd9c4e82b8abf1118 03:17:10 ---> Running in f195d5d24600 03:17:10 Removing intermediate container f195d5d24600 03:17:10 ---> 73a3df161bb0 03:17:10 Step 26/26 : LABEL version=3.0.1-dev.30 03:17:10 ---> Running in 046c8cf266c7 03:17:11 Removing intermediate container 046c8cf266c7 03:17:11 ---> a31f847c181f 03:17:11 [Warning] One or more build-args [ARCH] were not consumed 03:17:11 Successfully built a31f847c181f 03:17:11 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:11 provisioning config files... 03:17:11 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/37@tmp/config4464860052189917784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:11 ---> ****-login.sh 03:17:11 nexus3.edgexfoundry.org:10001 03:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:12 Configure a credential helper to remove this warning. See 03:17:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:12 03:17:12 Login Succeeded 03:17:12 nexus3.edgexfoundry.org:10002 03:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:12 Configure a credential helper to remove this warning. See 03:17:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:12 03:17:12 Login Succeeded 03:17:12 nexus3.edgexfoundry.org:10003 03:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:12 Configure a credential helper to remove this warning. See 03:17:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:12 03:17:12 Login Succeeded 03:17:12 nexus3.edgexfoundry.org:10004 03:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:13 Configure a credential helper to remove this warning. See 03:17:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:13 03:17:13 Login Succeeded 03:17:13 ****.io 03:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:14 Configure a credential helper to remove this warning. See 03:17:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:14 03:17:14 Login Succeeded 03:17:14 ---> ****-login.sh ends [Pipeline] } 03:17:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:17:14 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 03:17:14 23327eef742656f25952fb3dd9c4e82b8abf1118 03:17:14 latest 03:17:14 3.0.1-dev.30 03:17:14 23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:17:14 main 03:17:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:14 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:14 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118 03:17:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:17:14 4b80d40c3dfd: Preparing 03:17:14 242b3e6e1106: Preparing 03:17:14 9eaa2a60ead7: Preparing 03:17:14 f6475b5458b2: Preparing 03:17:14 7c7efa64c5aa: Preparing 03:17:14 4aeaa0e7d41f: Preparing 03:17:14 4aeaa0e7d41f: Waiting 03:17:15 9eaa2a60ead7: Pushed 03:17:15 242b3e6e1106: Pushed 03:17:15 4aeaa0e7d41f: Layer already exists 03:17:15 f6475b5458b2: Pushed 03:17:15 7c7efa64c5aa: Pushed 03:17:25 4b80d40c3dfd: Pushed 03:17:25 23327eef742656f25952fb3dd9c4e82b8abf1118: digest: sha256:7520ae4515f84be0f1266aade7b0db086cd76c92c8c42bc7537523f10127b7a0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:17:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:17:25 4b80d40c3dfd: Preparing 03:17:25 242b3e6e1106: Preparing 03:17:25 9eaa2a60ead7: Preparing 03:17:25 f6475b5458b2: Preparing 03:17:25 7c7efa64c5aa: Preparing 03:17:25 4aeaa0e7d41f: Preparing 03:17:25 4aeaa0e7d41f: Waiting 03:17:25 4b80d40c3dfd: Layer already exists 03:17:25 7c7efa64c5aa: Layer already exists 03:17:25 9eaa2a60ead7: Layer already exists 03:17:25 f6475b5458b2: Layer already exists 03:17:25 242b3e6e1106: Layer already exists 03:17:25 4aeaa0e7d41f: Layer already exists 03:17:26 latest: digest: sha256:7520ae4515f84be0f1266aade7b0db086cd76c92c8c42bc7537523f10127b7a0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:26 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:26 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.30 03:17:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:17:26 4b80d40c3dfd: Preparing 03:17:26 242b3e6e1106: Preparing 03:17:26 9eaa2a60ead7: Preparing 03:17:26 f6475b5458b2: Preparing 03:17:26 7c7efa64c5aa: Preparing 03:17:26 4aeaa0e7d41f: Preparing 03:17:26 4aeaa0e7d41f: Waiting 03:17:26 4b80d40c3dfd: Layer already exists 03:17:26 f6475b5458b2: Layer already exists 03:17:26 242b3e6e1106: Layer already exists 03:17:26 7c7efa64c5aa: Layer already exists 03:17:27 9eaa2a60ead7: Layer already exists 03:17:27 4aeaa0e7d41f: Layer already exists 03:17:27 3.0.1-dev.30: digest: sha256:7520ae4515f84be0f1266aade7b0db086cd76c92c8c42bc7537523f10127b7a0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:27 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:27 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:17:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:17:27 4b80d40c3dfd: Preparing 03:17:27 242b3e6e1106: Preparing 03:17:27 9eaa2a60ead7: Preparing 03:17:27 f6475b5458b2: Preparing 03:17:27 7c7efa64c5aa: Preparing 03:17:27 4aeaa0e7d41f: Preparing 03:17:27 4aeaa0e7d41f: Waiting 03:17:27 7c7efa64c5aa: Layer already exists 03:17:27 f6475b5458b2: Layer already exists 03:17:27 242b3e6e1106: Layer already exists 03:17:27 9eaa2a60ead7: Layer already exists 03:17:27 4b80d40c3dfd: Layer already exists 03:17:27 4aeaa0e7d41f: Layer already exists 03:17:27 23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30: digest: sha256:7520ae4515f84be0f1266aade7b0db086cd76c92c8c42bc7537523f10127b7a0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:28 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:28 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 03:17:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:17:28 4b80d40c3dfd: Preparing 03:17:28 242b3e6e1106: Preparing 03:17:28 9eaa2a60ead7: Preparing 03:17:28 f6475b5458b2: Preparing 03:17:28 7c7efa64c5aa: Preparing 03:17:28 4aeaa0e7d41f: Preparing 03:17:28 4aeaa0e7d41f: Waiting 03:17:28 7c7efa64c5aa: Layer already exists 03:17:28 4b80d40c3dfd: Layer already exists 03:17:28 242b3e6e1106: Layer already exists 03:17:28 f6475b5458b2: Layer already exists 03:17:28 9eaa2a60ead7: Layer already exists 03:17:28 4aeaa0e7d41f: Layer already exists 03:17:28 main: digest: sha256:7520ae4515f84be0f1266aade7b0db086cd76c92c8c42bc7537523f10127b7a0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:29 ===================================================== [Pipeline] echo 03:17:29 taggedImages: 03:17:29 - nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118 03:17:29 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:17:29 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.30 03:17:29 - nexus3.edgexfoundry.org:10004/device-uart-arm64:23327eef742656f25952fb3dd9c4e82b8abf1118-3.0.1-dev.30 03:17:29 - 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 03:17:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:29 03:17:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:30 arm64: Pulling from edgex-lftools-log-publisher 03:17:30 8998bd30e6a1: Pulling fs layer 03:17:30 04944245beec: Pulling fs layer 03:17:30 699f458cf7ca: Pulling fs layer 03:17:30 765212b225bb: Pulling fs layer 03:17:30 f23df028b6ca: Pulling fs layer 03:17:30 d65c8cfc05b1: Pulling fs layer 03:17:30 2437ff75d9bd: Pulling fs layer 03:17:30 f23df028b6ca: Waiting 03:17:30 d65c8cfc05b1: Waiting 03:17:30 2437ff75d9bd: Waiting 03:17:30 765212b225bb: Waiting 03:17:30 04944245beec: Verifying Checksum 03:17:30 04944245beec: Download complete 03:17:30 765212b225bb: Verifying Checksum 03:17:30 765212b225bb: Download complete 03:17:30 f23df028b6ca: Download complete 03:17:30 d65c8cfc05b1: Verifying Checksum 03:17:30 d65c8cfc05b1: Download complete 03:17:30 699f458cf7ca: Verifying Checksum 03:17:30 699f458cf7ca: Download complete 03:17:30 8998bd30e6a1: Verifying Checksum 03:17:30 8998bd30e6a1: Download complete 03:17:33 2437ff75d9bd: Verifying Checksum 03:17:33 2437ff75d9bd: Download complete 03:17:35 8998bd30e6a1: Pull complete 03:17:36 04944245beec: Pull complete 03:17:38 699f458cf7ca: Pull complete 03:17:38 765212b225bb: Pull complete 03:17:39 f23df028b6ca: Pull complete 03:17:39 d65c8cfc05b1: Pull complete 03:17:57 2437ff75d9bd: Pull complete 03:17:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:57 prd-ubuntu20.04-docker-arm64-4c-16g-9944 does not seem to be running inside a container 03:17:57 $ 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/37 -v /w/workspace/device-uart/37:/w/workspace/device-uart/37:rw,z -v /w/workspace/device-uart/37@tmp:/w/workspace/device-uart/37@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 03:18:00 $ docker top 8576a4bfcedf0e7109fffc9527bcddcaa5b7d6e25168de2a52ac89be6ec23545 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:01 ---> job-cost.sh 03:18:01 lf-activate-venv: SKIPPING 03:18:01 INFO: No Stack... 03:18:02 INFO: Retrieving Pricing Info for: v3-standard-4 03:18:02 INFO: Archiving Costs [Pipeline] sh 03:18:03 + cat /w/workspace/device-uart/37/archives/cost.csv 03:18:03 + cut -d, -f6 [Pipeline] lock 03:18:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] 03:18:03 Resource [jenkins-edgexfoundry-device-uart-main-37-stack-cost] did not exist. Created. 03:18:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:18:04 /w/workspace/device-uart/37@tmp/durable-4ea91915/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:18:04 + echo total: 0.10999999940395355 [Pipeline] stash 03:18:04 Warning: overwriting stash ‘stack-cost’ 03:18:05 Stashed 1 file(s) [Pipeline] } 03:18:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 03:18:05 $ docker stop --time=1 8576a4bfcedf0e7109fffc9527bcddcaa5b7d6e25168de2a52ac89be6ec23545 03:18:06 $ docker rm -f --volumes 8576a4bfcedf0e7109fffc9527bcddcaa5b7d6e25168de2a52ac89be6ec23545 [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 03:18:07 provisioning config files... 03:18:07 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8506863503679093115tmp [Pipeline] { [Pipeline] sh 03:18:07 + set +x 03:18:07 + curl -s https://codecov.io/bash 03:18:07 + bash -s -- 03:18:07 03:18:07 _____ _ 03:18:07 / ____| | | 03:18:07 | | ___ __| | ___ ___ _____ __ 03:18:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:18:07 | |___| (_) | (_| | __/ (_| (_) \ V / 03:18:07 \_____\___/ \__,_|\___|\___\___/ \_/ 03:18:07 Bash-1.0.6 03:18:07 03:18:07 03:18:07 ==> git version 2.25.1 found 03:18:07 ==> 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 03:18:07 Release-Date: 2020-01-08 03:18:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:18:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:18:07 ==> Jenkins CI detected. 03:18:07 current dir:  /w/workspace/edgexfoundry_device-uart_main 03:18:07 project root: . 03:18:07 --> token set from env 03:18:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:18:07 ==> Running gcov in . (disable via -X gcov) 03:18:07 ==> Python coveragepy not found 03:18:07 ==> Searching for coverage reports in: 03:18:07 + . 03:18:07 -> Found 1 reports 03:18:07 ==> Detecting git/mercurial file structure 03:18:07 ==> Reading reports 03:18:07 + ./coverage.out bytes=10 03:18:07 ==> Appending adjustments 03:18:07 https://docs.codecov.io/docs/fixing-reports 03:18:07 + Found adjustments 03:18:07 ==> Gzipping contents 03:18:07 4.0K /tmp/codecov.mr3wuW.gz 03:18:07 ==> Uploading reports 03:18:07 url: https://codecov.io 03:18:07 query: branch=main&commit=23327eef742656f25952fb3dd9c4e82b8abf1118&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:18:07 -> Pinging Codecov 03:18:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=23327eef742656f25952fb3dd9c4e82b8abf1118&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:18:08 -> Uploading to 03:18:08 https://storage.googleapis.com/codecov/v4/raw/2024-09-10/B9AA6E0BBD74AE3A32605C7A7C664919/23327eef742656f25952fb3dd9c4e82b8abf1118/afd48bcb-adc2-4349-8b72-cb083a5b83da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240910%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240910T031808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5f5074f3bcf295a98f815d4f76b5cab41d009815f3a3df8f2e1aa293fe6f94a 03:18:08 % Total % Received % Xferd Average Speed Time Time Time Current 03:18:08 Dload Upload Total Spent Left Speed 03:18:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2461 --:--:-- --:--:-- --:--:-- 2471 03:18:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] } 03:18:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:18:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:18:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:09 03:18:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:09 latest: Pulling from edgex-devops/edgex-snyk-go 03:18:09 619be1103602: Already exists 03:18:09 f8ea3408117e: Pulling fs layer 03:18:09 91320369b822: Pulling fs layer 03:18:09 0406650e8295: Pulling fs layer 03:18:09 4f4fb700ef54: Pulling fs layer 03:18:09 96d80e3f36e1: Pulling fs layer 03:18:09 bcf3aedb951c: Pulling fs layer 03:18:09 96d80e3f36e1: Waiting 03:18:09 bcf3aedb951c: Waiting 03:18:09 4f4fb700ef54: Waiting 03:18:09 0406650e8295: Verifying Checksum 03:18:09 0406650e8295: Download complete 03:18:09 f8ea3408117e: Verifying Checksum 03:18:09 f8ea3408117e: Download complete 03:18:09 4f4fb700ef54: Verifying Checksum 03:18:09 4f4fb700ef54: Download complete 03:18:09 f8ea3408117e: Pull complete 03:18:09 96d80e3f36e1: Verifying Checksum 03:18:09 96d80e3f36e1: Download complete 03:18:09 91320369b822: Download complete 03:18:10 bcf3aedb951c: Verifying Checksum 03:18:10 bcf3aedb951c: Download complete 03:18:13 91320369b822: Pull complete 03:18:13 0406650e8295: Pull complete 03:18:13 4f4fb700ef54: Pull complete 03:18:13 96d80e3f36e1: Pull complete 03:18:16 bcf3aedb951c: Pull complete 03:18:16 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 03:18:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:16 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:18:16 $ 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 03:18:22 $ docker top 24867b709b13f0b69781e462fd3178d55b50b64719b1ce7bfa4e09770d9512d3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 03:18:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 03:18:22 + set -o pipefail 03:18:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 03:18:29 03:18:29 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 03:18:29 03:18:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/57a866b2-3168-461e-9f53-d6b7443c2562 03:18:29 03:18:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:18:29 03:18:29 03:18:29 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:18:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:18:29 $ docker stop --time=1 24867b709b13f0b69781e462fd3178d55b50b64719b1ce7bfa4e09770d9512d3 03:18:35 $ docker rm -f --volumes 24867b709b13f0b69781e462fd3178d55b50b64719b1ce7bfa4e09770d9512d3 [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 03:18:35 + git log --format=format:%s -1 23327eef742656f25952fb3dd9c4e82b8abf1118 [Pipeline] sh 03:18:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:36 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:18:36 $ 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 03:18:37 $ docker top bbcf612f0a457c7fe38b3533cb0a6f6ba94cec28046b54d05557d2b1b0ba2df3 -eo pid,comm 03:18:37 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). 03:18:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:37 [ssh-agent] Looking for ssh-agent implementation... 03:18:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:37 $ docker exec bbcf612f0a457c7fe38b3533cb0a6f6ba94cec28046b54d05557d2b1b0ba2df3 ssh-agent 03:18:37 SSH_AUTH_SOCK=/tmp/ssh-zyA8Cwf7IX22/agent.32 03:18:37 SSH_AGENT_PID=38 03:18:37 Running ssh-add (command line suppressed) 03:18:37 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_798700679896428300.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_798700679896428300.key) 03:18:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:37 + git semver tag 03:18:38 2024-09-10 03:18:37,944 [run_tag] DEBUG tag force:False 03:18:38 2024-09-10 03:18:37,944 [check_head_tag] DEBUG check head tag 03:18:38 2024-09-10 03:18:37,945 [execute] INFO git cat-file --batch-check 03:18:38 2024-09-10 03:18:37,945 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:18:38 2024-09-10 03:18:37,948 [execute] INFO git cat-file --batch 03:18:38 2024-09-10 03:18:37,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:18:38 2024-09-10 03:18:37,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:18:38 2024-09-10 03:18:37,963 [execute] INFO git tag -a v3.0.1-dev.30 -m v3.0.1-dev.30 03:18:38 2024-09-10 03:18:37,964 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.30', '-m', 'v3.0.1-dev.30'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 03:18:38 2024-09-10 03:18:37,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:18:38 3.0.1-dev.30 [Pipeline] } 03:18:38 $ docker exec --env ******** --env ******** bbcf612f0a457c7fe38b3533cb0a6f6ba94cec28046b54d05557d2b1b0ba2df3 ssh-agent -k 03:18:38 unset SSH_AUTH_SOCK; 03:18:38 unset SSH_AGENT_PID; 03:18:38 echo Agent pid 38 killed; 03:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:38 + git semver [Pipeline] } 03:18:38 $ docker stop --time=1 bbcf612f0a457c7fe38b3533cb0a6f6ba94cec28046b54d05557d2b1b0ba2df3 03:18:40 $ docker rm -f --volumes bbcf612f0a457c7fe38b3533cb0a6f6ba94cec28046b54d05557d2b1b0ba2df3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:18:40 03:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:18:40 0.23.1-centos7: Pulling from edgex-lftools 03:18:40 ab5ef0e58194: Pulling fs layer 03:18:40 9712f1f96733: Pulling fs layer 03:18:40 63f879dbbcfc: Pulling fs layer 03:18:40 0d9ebad4ef96: Pulling fs layer 03:18:40 e9a5061849ea: Pulling fs layer 03:18:40 d747dcd14b5f: Pulling fs layer 03:18:40 2de7ff778b66: Pulling fs layer 03:18:40 0d9ebad4ef96: Waiting 03:18:40 2de7ff778b66: Waiting 03:18:40 e9a5061849ea: Waiting 03:18:40 d747dcd14b5f: Waiting 03:18:40 9712f1f96733: Verifying Checksum 03:18:40 9712f1f96733: Download complete 03:18:41 63f879dbbcfc: Verifying Checksum 03:18:41 63f879dbbcfc: Download complete 03:18:41 e9a5061849ea: Verifying Checksum 03:18:41 e9a5061849ea: Download complete 03:18:41 d747dcd14b5f: Verifying Checksum 03:18:41 d747dcd14b5f: Download complete 03:18:41 0d9ebad4ef96: Verifying Checksum 03:18:41 0d9ebad4ef96: Download complete 03:18:41 ab5ef0e58194: Verifying Checksum 03:18:41 ab5ef0e58194: Download complete 03:18:41 2de7ff778b66: Verifying Checksum 03:18:41 2de7ff778b66: Download complete 03:18:44 ab5ef0e58194: Pull complete 03:18:44 9712f1f96733: Pull complete 03:18:44 63f879dbbcfc: Pull complete 03:18:48 0d9ebad4ef96: Pull complete 03:18:48 e9a5061849ea: Pull complete 03:18:48 d747dcd14b5f: Pull complete 03:18:49 2de7ff778b66: Pull complete 03:18:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:18:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:18:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:49 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:18:49 $ 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 03:18:56 $ docker top 1b0312d13d3071363a243e3627bcac40ff8e719079f82cbd2aeadff84a048804 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:18:56 provisioning config files... 03:18:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9886698468575329629tmp 03:18:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config895103559908108245tmp 03:18:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16791827214221883005tmp [Pipeline] { [Pipeline] echo 03:18:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:18:57 ---> sigul-configuration.sh 03:18:57 gpg: directory `/root/.gnupg' created 03:18:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:18:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:18:57 gpg: keyring `/root/.gnupg/secring.gpg' created 03:18:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:18:57 gpg: CAST5 encrypted data 03:18:57 gpg: encrypted with 1 passphrase 03:18:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:18:57 + mkdir /home/jenkins 03:18:57 + mkdir /home/jenkins/sigul [Pipeline] sh 03:18:57 + 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 03:18:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:18:58 ---> sigul-install.sh 03:18:58 Sigul already installed; skipping installation. [Pipeline] sh 03:18:58 + git tag --list 03:18:58 v0.0.0 03:18:58 v0.0.1-dev.1 03:18:58 v0.0.1-dev.2 03:18:58 v0.0.1-dev.3 03:18:58 v0.0.1-dev.4 03:18:58 v3.0.0 03:18:58 v3.0.1-dev.1 03:18:58 v3.0.1-dev.10 03:18:58 v3.0.1-dev.11 03:18:58 v3.0.1-dev.12 03:18:58 v3.0.1-dev.13 03:18:58 v3.0.1-dev.14 03:18:58 v3.0.1-dev.15 03:18:58 v3.0.1-dev.16 03:18:58 v3.0.1-dev.17 03:18:58 v3.0.1-dev.18 03:18:58 v3.0.1-dev.19 03:18:58 v3.0.1-dev.2 03:18:58 v3.0.1-dev.20 03:18:58 v3.0.1-dev.21 03:18:58 v3.0.1-dev.22 03:18:58 v3.0.1-dev.23 03:18:58 v3.0.1-dev.24 03:18:58 v3.0.1-dev.25 03:18:58 v3.0.1-dev.26 03:18:58 v3.0.1-dev.27 03:18:58 v3.0.1-dev.28 03:18:58 v3.0.1-dev.29 03:18:58 v3.0.1-dev.3 03:18:58 v3.0.1-dev.30 03:18:58 v3.0.1-dev.4 03:18:58 v3.0.1-dev.5 03:18:58 v3.0.1-dev.6 03:18:58 v3.0.1-dev.7 03:18:58 v3.0.1-dev.8 03:18:58 v3.0.1-dev.9 03:18:58 v3.1 03:18:58 v3.1.0 03:18:58 v3.1.1 03:18:58 v3.1.1-dev.1 [Pipeline] sh 03:18:58 + lftools sign git-tag v3.0.1-dev.30 03:18:59 Signing Git tag with Sigul... 03:18:59 Signing v3.0.1-dev.30 [Pipeline] echo 03:18:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:19:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:19:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:19:00 $ docker stop --time=1 1b0312d13d3071363a243e3627bcac40ff8e719079f82cbd2aeadff84a048804 03:19:01 $ docker rm -f --volumes 1b0312d13d3071363a243e3627bcac40ff8e719079f82cbd2aeadff84a048804 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:19:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:02 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:19:02 $ 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 03:19:02 $ docker top 88d0dd94d11fea5c3e5b0b4c4348b8d296f054527912c01c32c8b2eb75228319 -eo pid,comm 03:19:02 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). 03:19:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:02 [ssh-agent] Looking for ssh-agent implementation... 03:19:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:02 $ docker exec 88d0dd94d11fea5c3e5b0b4c4348b8d296f054527912c01c32c8b2eb75228319 ssh-agent 03:19:02 SSH_AUTH_SOCK=/tmp/ssh-nUmv7JIDXzv0/agent.32 03:19:02 SSH_AGENT_PID=38 03:19:02 Running ssh-add (command line suppressed) 03:19:03 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7280028138455553836.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7280028138455553836.key) 03:19:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:03 + git semver bump pre 03:19:03 2024-09-10 03:19:03,575 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:19:03 2024-09-10 03:19:03,575 [bump_version] DEBUG bumping version:3.0.1-dev.30 on axis:pre with prefix:dev 03:19:03 2024-09-10 03:19:03,575 [bump_version] DEBUG bumped version:3.0.1-dev.31 03:19:03 2024-09-10 03:19:03,575 [write_version] DEBUG write version:3.0.1-dev.31 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 03:19:03 2024-09-10 03:19:03,575 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:19:03 2024-09-10 03:19:03,575 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 03:19:03 2024-09-10 03:19:03,577 [execute] INFO git cat-file --batch-check 03:19:03 2024-09-10 03:19:03,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:03 2024-09-10 03:19:03,581 [execute] INFO git cat-file --batch 03:19:03 2024-09-10 03:19:03,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:03 2024-09-10 03:19:03,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:19:03 3.0.1-dev.31 [Pipeline] } 03:19:03 $ docker exec --env ******** --env ******** 88d0dd94d11fea5c3e5b0b4c4348b8d296f054527912c01c32c8b2eb75228319 ssh-agent -k 03:19:03 unset SSH_AUTH_SOCK; 03:19:03 unset SSH_AGENT_PID; 03:19:03 echo Agent pid 38 killed; 03:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:04 + git semver [Pipeline] } 03:19:04 $ docker stop --time=1 88d0dd94d11fea5c3e5b0b4c4348b8d296f054527912c01c32c8b2eb75228319 03:19:05 $ docker rm -f --volumes 88d0dd94d11fea5c3e5b0b4c4348b8d296f054527912c01c32c8b2eb75228319 [Pipeline] // withDockerContainer [Pipeline] sh 03:19:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:06 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:19:06 $ 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 03:19:06 $ docker top 04889f5210e25733108e53deb241e1c8737d88995df2f20786baf6818498e1ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:06 [ssh-agent] Looking for ssh-agent implementation... 03:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:07 $ docker exec 04889f5210e25733108e53deb241e1c8737d88995df2f20786baf6818498e1ae ssh-agent 03:19:07 SSH_AUTH_SOCK=/tmp/ssh-khEgmJZ3fcfq/agent.32 03:19:07 SSH_AGENT_PID=38 03:19:07 Running ssh-add (command line suppressed) 03:19:07 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13988021374846199207.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13988021374846199207.key) 03:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:07 + git semver push 03:19:07 2024-09-10 03:19:07,780 [run_push] DEBUG push 03:19:07 2024-09-10 03:19:07,781 [execute] INFO git cat-file --batch-check 03:19:07 2024-09-10 03:19:07,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:07 2024-09-10 03:19:07,786 [execute] INFO git rev-list e06fb784b3007eb08ce6f0d1b7f52202213b8d62 -- 03:19:07 2024-09-10 03:19:07,786 [execute] DEBUG Popen(['git', 'rev-list', 'e06fb784b3007eb08ce6f0d1b7f52202213b8d62', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:19:07 2024-09-10 03:19:07,793 [execute] INFO git fetch -v origin 03:19:07 2024-09-10 03:19:07,793 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 03:19:08 2024-09-10 03:19:08,251 [run_push] DEBUG no remote changes detected 03:19:08 2024-09-10 03:19:08,251 [execute] INFO git push origin semver 03:19:08 2024-09-10 03:19:08,252 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:19:08 2024-09-10 03:19:08,888 [run_push] DEBUG push all version tags 03:19:08 2024-09-10 03:19:08,889 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:19:08 2024-09-10 03:19:08,889 [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) 03:19:09 2024-09-10 03:19:09,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:19:09 3.0.1-dev.31 [Pipeline] } 03:19:09 $ docker exec --env ******** --env ******** 04889f5210e25733108e53deb241e1c8737d88995df2f20786baf6818498e1ae ssh-agent -k 03:19:09 unset SSH_AUTH_SOCK; 03:19:09 unset SSH_AGENT_PID; 03:19:09 echo Agent pid 38 killed; 03:19:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:10 + git semver [Pipeline] } 03:19:10 $ docker stop --time=1 04889f5210e25733108e53deb241e1c8737d88995df2f20786baf6818498e1ae 03:19:11 $ docker rm -f --volumes 04889f5210e25733108e53deb241e1c8737d88995df2f20786baf6818498e1ae [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 03:19:12 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 03:19:12 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:19:12 total 16 03:19:12 drwxr-xr-x 3 root root 4096 Sep 10 03:04 . 03:19:12 drwxrwxr-x 9 jenkins jenkins 4096 Sep 10 03:18 .. 03:19:12 drwxr-xr-x 2 root root 4096 Sep 10 03:04 cost 03:19:12 -rw-r--r-- 1 root root 82 Sep 10 03:04 cost.csv 03:19:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 03:19:12 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:19:12 total 16 03:19:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:04 . 03:19:12 drwxrwxr-x 9 jenkins jenkins 4096 Sep 10 03:18 .. 03:19:12 drwxr-xr-x 2 jenkins jenkins 4096 Sep 10 03:04 cost 03:19:12 -rw-r--r-- 1 jenkins jenkins 82 Sep 10 03:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:19:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:13 ---> package-listing.sh 03:19:13 ++ facter osfamily 03:19:13 ++ tr '[:upper:]' '[:lower:]' 03:19:13 + OS_FAMILY=debian 03:19:13 + workspace=/w/workspace/edgexfoundry_device-uart_main 03:19:13 + START_PACKAGES=/tmp/packages_start.txt 03:19:13 + END_PACKAGES=/tmp/packages_end.txt 03:19:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:13 + PACKAGES=/tmp/packages_start.txt 03:19:13 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:19:13 + PACKAGES=/tmp/packages_end.txt 03:19:13 + case "${OS_FAMILY}" in 03:19:13 + dpkg -l 03:19:13 + grep '^ii' 03:19:13 + '[' -f /tmp/packages_start.txt ']' 03:19:13 + '[' -f /tmp/packages_end.txt ']' 03:19:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:13 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:19:13 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 03:19:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 03:19:13 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 03:19:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:14 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 03:19:14 $ 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 03:19:15 $ docker top c010f75f68df49dc0a891b51bdd45fd2c3371f4e8d1834288809bbef1a920b46 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:15 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:15 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:16 + ls /var/log/sa-host 03:19:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:16 provisioning config files... 03:19:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6887152884804456287tmp [Pipeline] { [Pipeline] echo 03:19:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:19:16 ---> create-netrc.sh [Pipeline] } 03:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:19:16 ---> python-tools-install.sh [Pipeline] echo 03:19:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:19:17 ---> sudo-logs.sh 03:19:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:19:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:19:17 ---> job-cost.sh 03:19:17 lf-activate-venv: SKIPPING 03:19:17 DEBUG: total: 0.2199999988079071 03:19:17 INFO: Retrieving Stack Cost... 03:19:17 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:17 INFO: Archiving Costs [Pipeline] echo 03:19:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:19:18 ---> logs-deploy.sh 03:19:18 lf-activate-venv: SKIPPING 03:19:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/37 03:19:18 INFO: archiving workspace using pattern(s): 03:19:19 Archives upload complete. 03:19:19 INFO: archiving logs to Nexus