Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 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-ssh9201705074265781017.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh2433773789166706220.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh16989059528481248591.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh14717104043245781196.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-ssh2248885549198062994.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-35087’ Running on prd-ubuntu20.04-docker-8c-8g-35093 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 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb (main) Commit message: "Merge pull request #91 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" > git config core.sparsecheckout # timeout=10 > git checkout -f 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb # timeout=10 > git rev-list --no-walk efaacf79fe2c8c772cc520be6a1c090c7b77f91d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:14:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:04 ========================================================= 09:14:04 EdgeX Global Pipelines Version Info 09:14:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:05 ------------------- 09:14:05 stable info: 09:14:05 ------------------- 09:14:05 Commited By: Cherry Wang cherry@iotechsys.com 09:14:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:14:05 Message: update stable to v1.0.269 09:14:05 ------------------- 09:14:05 experimental info: 09:14:05 ------------------- 09:14:05 Commited By: **** collab-it+edgex@linuxfoundation.org 09:14:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:14:05 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:14:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ca2ee7 [Pipeline] echo 09:14:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:06 provisioning config files... 09:14:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15988103874728874084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:07 ---> ****-login.sh 09:14:07 nexus3.edgexfoundry.org:10001 09:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 nexus3.edgexfoundry.org:10002 09:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 nexus3.edgexfoundry.org:10003 09:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 nexus3.edgexfoundry.org:10004 09:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 ****.io 09:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 ---> ****-login.sh ends [Pipeline] } 09:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:14:08 + git rev-list -1 --merges 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb~1..6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] echo 09:14:08 -----------> git rev-list -1 --merges 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb~1..6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:14:08 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [false] [Pipeline] sh 09:14:08 + git log --format=format:%s -1 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] echo 09:14:08 ========================================================= 09:14:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:08 + git log --format=format:%s -1 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] echo 09:14:08 [semverPrep] GIT_COMMIT: 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb, Commit Message: Merge pull request #91 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11 [Pipeline] echo 09:14:08 [semverPrep] This is not a build commit. [Pipeline] sh 09:14:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:09 + grep -v github /etc/ssh/ssh_known_hosts 09:14:09 + [ -e /tmp/ssh_known_hosts ] 09:14:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:14:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:14:09 + sudo tee -a /etc/ssh/ssh_known_hosts 09:14:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:09 09:14:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:09 0.1.4: Pulling from edgex-devops/py-git-semver 09:14:09 b85a868b505f: Pulling fs layer 09:14:09 e2be974225ed: Pulling fs layer 09:14:09 339a4e72a1f5: Pulling fs layer 09:14:09 988bab9f4d93: Pulling fs layer 09:14:09 1469e6f7b9e6: Pulling fs layer 09:14:09 eaf3925da568: Pulling fs layer 09:14:09 bab4dde63d76: Pulling fs layer 09:14:09 bde34c3a00c8: Pulling fs layer 09:14:09 b352a97aabf1: Pulling fs layer 09:14:09 4872d77fe225: Pulling fs layer 09:14:09 5851b861e8e6: Pulling fs layer 09:14:09 bab4dde63d76: Waiting 09:14:09 bde34c3a00c8: Waiting 09:14:09 b352a97aabf1: Waiting 09:14:09 4872d77fe225: Waiting 09:14:09 5851b861e8e6: Waiting 09:14:09 988bab9f4d93: Waiting 09:14:09 1469e6f7b9e6: Waiting 09:14:09 eaf3925da568: Waiting 09:14:09 e2be974225ed: Verifying Checksum 09:14:09 e2be974225ed: Download complete 09:14:09 988bab9f4d93: Verifying Checksum 09:14:09 988bab9f4d93: Download complete 09:14:09 1469e6f7b9e6: Verifying Checksum 09:14:09 1469e6f7b9e6: Download complete 09:14:10 339a4e72a1f5: Verifying Checksum 09:14:10 339a4e72a1f5: Download complete 09:14:10 eaf3925da568: Verifying Checksum 09:14:10 eaf3925da568: Download complete 09:14:10 bde34c3a00c8: Verifying Checksum 09:14:10 bde34c3a00c8: Download complete 09:14:10 b352a97aabf1: Download complete 09:14:10 4872d77fe225: Verifying Checksum 09:14:10 4872d77fe225: Download complete 09:14:10 5851b861e8e6: Verifying Checksum 09:14:10 5851b861e8e6: Download complete 09:14:10 b85a868b505f: Verifying Checksum 09:14:10 b85a868b505f: Download complete 09:14:10 bab4dde63d76: Verifying Checksum 09:14:10 bab4dde63d76: Download complete 09:14:11 b85a868b505f: Pull complete 09:14:11 e2be974225ed: Pull complete 09:14:11 339a4e72a1f5: Pull complete 09:14:11 988bab9f4d93: Pull complete 09:14:12 1469e6f7b9e6: Pull complete 09:14:12 eaf3925da568: Pull complete 09:14:14 bab4dde63d76: Pull complete 09:14:14 bde34c3a00c8: Pull complete 09:14:14 b352a97aabf1: Pull complete 09:14:14 4872d77fe225: Pull complete 09:14:14 5851b861e8e6: Pull complete 09:14:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:14 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:14: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 09:14:18 $ docker top 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 -eo pid,comm 09:14: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). 09:14:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:18 [ssh-agent] Looking for ssh-agent implementation... 09:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:18 $ docker exec 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 ssh-agent 09:14:18 SSH_AUTH_SOCK=/tmp/ssh-2EskHsItFDhj/agent.31 09:14:18 SSH_AGENT_PID=37 09:14:18 Running ssh-add (command line suppressed) 09:14:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11411734692174381821.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11411734692174381821.key) 09:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:18 + git tag --points-at HEAD [Pipeline] } 09:14:18 $ docker exec --env ******** --env ******** 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 ssh-agent -k 09:14:18 unset SSH_AUTH_SOCK; 09:14:18 unset SSH_AGENT_PID; 09:14:18 echo Agent pid 37 killed; 09:14:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:19 [ssh-agent] Looking for ssh-agent implementation... 09:14:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:19 $ docker exec 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 ssh-agent 09:14:19 SSH_AUTH_SOCK=/tmp/ssh-owkuLiMnWKUh/agent.70 09:14:19 SSH_AGENT_PID=76 09:14:19 Running ssh-add (command line suppressed) 09:14:19 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9926558423647226888.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9926558423647226888.key) 09:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:19 + git semver init 09:14:19 2024-12-14 09:14:19,846 [run_init] DEBUG init version:0.0.0 force:False 09:14:19 2024-12-14 09:14:19,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 09:14:19 2024-12-14 09:14:19,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 09:14:19 2024-12-14 09:14:19,848 [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) 09:14:21 2024-12-14 09:14:20,980 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 09:14:21 2024-12-14 09:14:20,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 09:14:21 2024-12-14 09:14:20,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:14:21 2024-12-14 09:14:20,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:14:21 4.0.0-dev.6 [Pipeline] } 09:14:21 $ docker exec --env ******** --env ******** 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 ssh-agent -k 09:14:21 unset SSH_AUTH_SOCK; 09:14:21 unset SSH_AGENT_PID; 09:14:21 echo Agent pid 76 killed; 09:14:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:21 + git semver [Pipeline] } 09:14:22 $ docker stop --time=1 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 09:14:23 $ docker rm -f --volumes 116341e5beedc5fadb0a54bb140243f655148883d39c88b84cbc9749b4d296c5 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:23 Stashed 1 file(s) [Pipeline] echo 09:14:23 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [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 09:14:24 provisioning config files... 09:14:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2169269450921193588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:24 ---> ****-login.sh 09:14:24 nexus3.edgexfoundry.org:10001 09:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:24 Configure a credential helper to remove this warning. See 09:14:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:24 09:14:24 Login Succeeded 09:14:24 nexus3.edgexfoundry.org:10002 09:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:24 Configure a credential helper to remove this warning. See 09:14:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:24 09:14:24 Login Succeeded 09:14:24 nexus3.edgexfoundry.org:10003 09:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:24 Configure a credential helper to remove this warning. See 09:14:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:24 09:14:24 Login Succeeded 09:14:24 nexus3.edgexfoundry.org:10004 09:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:24 Configure a credential helper to remove this warning. See 09:14:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:24 09:14:24 Login Succeeded 09:14:24 ****.io 09:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:24 Configure a credential helper to remove this warning. See 09:14:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:24 09:14:24 Login Succeeded 09:14:24 ---> ****-login.sh ends [Pipeline] } 09:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:14:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:14:25 ========================================================= 09:14:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:14:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:14:25 Sending build context to Docker daemon 25.68MB 09:14:25 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:14:25 Step 2/12 : FROM ${BASE} AS builder 09:14:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:25 43c4264eed91: Pulling fs layer 09:14:25 4cc291be95ef: Pulling fs layer 09:14:25 2ac1f1163629: Pulling fs layer 09:14:25 5c3c966382ef: Pulling fs layer 09:14:25 4f4fb700ef54: Pulling fs layer 09:14:25 5d5c8e513c77: Pulling fs layer 09:14:25 9f66e0745190: Pulling fs layer 09:14:25 f49a43e4bbc0: Pulling fs layer 09:14:25 561ebcabdf7f: Pulling fs layer 09:14:25 5d5c8e513c77: Waiting 09:14:25 9f66e0745190: Waiting 09:14:25 561ebcabdf7f: Waiting 09:14:25 5c3c966382ef: Waiting 09:14:25 4cc291be95ef: Download complete 09:14:25 5c3c966382ef: Download complete 09:14:25 4f4fb700ef54: Verifying Checksum 09:14:25 4f4fb700ef54: Download complete 09:14:25 5d5c8e513c77: Verifying Checksum 09:14:25 5d5c8e513c77: Download complete 09:14:25 43c4264eed91: Verifying Checksum 09:14:25 43c4264eed91: Download complete 09:14:25 9f66e0745190: Verifying Checksum 09:14:25 9f66e0745190: Download complete 09:14:25 43c4264eed91: Pull complete 09:14:25 561ebcabdf7f: Verifying Checksum 09:14:25 561ebcabdf7f: Download complete 09:14:25 4cc291be95ef: Pull complete 09:14:26 2ac1f1163629: Verifying Checksum 09:14:26 2ac1f1163629: Download complete 09:14:26 f49a43e4bbc0: Verifying Checksum 09:14:26 f49a43e4bbc0: Download complete 09:14:29 2ac1f1163629: Pull complete 09:14:29 5c3c966382ef: Pull complete 09:14:29 4f4fb700ef54: Pull complete 09:14:29 5d5c8e513c77: Pull complete 09:14:29 9f66e0745190: Pull complete 09:14:32 f49a43e4bbc0: Pull complete 09:14:32 561ebcabdf7f: Pull complete 09:14:32 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:14:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:14:32 ---> 3a752c3f9dda 09:14:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:14:39 Still waiting to schedule task 09:14:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-35089’ 09:14:39 ---> Running in 7d860882d12b 09:14:39 Removing intermediate container 7d860882d12b 09:14:39 ---> 4e4569f37881 09:14:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:14:39 ---> Running in 1ffde31cfb45 09:14:39 Removing intermediate container 1ffde31cfb45 09:14:39 ---> 797cab13e500 09:14:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:14:39 ---> Running in 07912e129c99 09:14:39 Removing intermediate container 07912e129c99 09:14:39 ---> d3db36514960 09:14:39 Step 6/12 : WORKDIR /device-uart 09:14:39 ---> Running in 287bfb50106b 09:14:39 Removing intermediate container 287bfb50106b 09:14:39 ---> 1795ac84520a 09:14:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:14:39 ---> Running in 6bd698aff3b5 09:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:14:39 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:14:39 (2/4) Installing libedit (20240517.3.1-r0) 09:14:39 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:14:39 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:14:39 Executing busybox-1.36.1-r29.trigger 09:14:39 OK: 250 MiB in 58 packages 09:14:39 Removing intermediate container 6bd698aff3b5 09:14:39 ---> cae7be3306ab 09:14:39 Step 8/12 : COPY go.mod vendor* ./ 09:14:39 ---> d9a1bc3e0aec 09:14:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:39 ---> Running in 791af82ef6a2 09:15:36 Removing intermediate container 791af82ef6a2 09:15:36 ---> 5e17f4fda5ab 09:15:36 Step 10/12 : COPY . . 09:15:36 ---> 17de8b57e4c1 09:15:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:15:36 ---> Running in c3b105db9a81 09:15:36 Removing intermediate container c3b105db9a81 09:15:36 ---> 1017028ea353 09:15:36 Step 12/12 : RUN ${MAKE} 09:15:36 ---> Running in ad241eda5dfd 09:15:36 noop 09:15:36 Removing intermediate container ad241eda5dfd 09:15:36 ---> 39b03e70af06 09:15:36 Successfully built 39b03e70af06 09:15:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:36 + docker inspect -f . ci-base-image-x86_64 09:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:36 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:15:36 $ 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 09:15:36 $ docker top f96e813f82037790eb908e6872716636d44aca64c81fd9ed6de14707f83be401 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:37 + go version 09:15:37 go version go1.23.2 linux/amd64 [Pipeline] } 09:15:37 $ docker stop --time=1 f96e813f82037790eb908e6872716636d44aca64c81fd9ed6de14707f83be401 09:15:38 $ docker rm -f --volumes f96e813f82037790eb908e6872716636d44aca64c81fd9ed6de14707f83be401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:39 + docker inspect -f . ci-base-image-x86_64 09:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:39 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:15:39 $ 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 09:15:39 $ docker top b99957d3ca9d180438e30a8cd52092130611970d5b88db2e2b939bf23bb5e36a -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 09:15:40 + make test 09:15:40 go test ./... -coverprofile=coverage.out 09:15:42 ? github.com/edgexfoundry/device-uart [no test files] 09:16:00 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 09:16:00 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 09:16:08 go vet ./... 09:16:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:12 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:16:12 $ docker stop --time=1 b99957d3ca9d180438e30a8cd52092130611970d5b88db2e2b939bf23bb5e36a 09:16:17 $ docker rm -f --volumes b99957d3ca9d180438e30a8cd52092130611970d5b88db2e2b939bf23bb5e36a [Pipeline] // withDockerContainer [Pipeline] sh 09:16:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:16:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:18 + ls -al . 09:16:18 total 224 09:16:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:15 . 09:16:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 09:13 .. 09:16:18 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 09:14 .dockerignore 09:16:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:15 .git 09:16:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 .github 09:16:18 -rw-rw-r-- 1 jenkins jenkins 343 Dec 14 09:14 .gitignore 09:16:18 -rw-rw-r-- 1 jenkins jenkins 198 Dec 14 09:14 .golangci.yml 09:16:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 09:14 .semver 09:16:18 -rw-rw-r-- 1 jenkins jenkins 18662 Dec 14 09:14 Attribution.txt 09:16:18 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 14 09:14 CHANGELOG.md 09:16:18 -rw-rw-r-- 1 jenkins jenkins 1919 Dec 14 09:14 Dockerfile 09:16:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 09:14 GOVERNANCE.md 09:16:18 -rw-rw-r-- 1 jenkins jenkins 675 Dec 14 09:14 Jenkinsfile 09:16:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 09:14 LICENSE 09:16:18 -rw-rw-r-- 1 jenkins jenkins 2455 Dec 14 09:14 Makefile 09:16:18 -rw-rw-r-- 1 jenkins jenkins 617 Dec 14 09:14 OWNERS.md 09:16:18 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 14 09:14 README.md 09:16:18 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 09:14 VERSION 09:16:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:14 bin 09:16:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 cmd 09:16:18 -rw-r--r-- 1 jenkins jenkins 6770 Dec 14 09:15 coverage.out 09:16:18 -rw-rw-r-- 1 jenkins jenkins 6165 Dec 14 09:14 go.mod 09:16:18 -rw-rw-r-- 1 jenkins jenkins 87371 Dec 14 09:14 go.sum 09:16:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 internal 09:16:18 -rw-rw-r-- 1 jenkins jenkins 209 Dec 14 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:18 + 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=6ca2ee70ce4ca7eb62a161c3c20b5252611865fb --label arch=amd64 --label version=4.0.0-dev.6 . 09:16:18 Sending build context to Docker daemon 25.69MB 09:16:18 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:16:18 Step 2/26 : FROM ${BASE} AS builder 09:16:18 ---> 39b03e70af06 09:16:18 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:16:19 ---> Running in 31ae3c68d6b5 09:16:19 Removing intermediate container 31ae3c68d6b5 09:16:19 ---> 496e3adfb260 09:16:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:16:19 ---> Running in 9a01e4a34aa3 09:16:19 Removing intermediate container 9a01e4a34aa3 09:16:19 ---> e79543679861 09:16:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:16:19 ---> Running in 418145a7527b 09:16:19 Removing intermediate container 418145a7527b 09:16:19 ---> 274dea326dd0 09:16:19 Step 6/26 : WORKDIR /device-uart 09:16:19 ---> Running in 7a309ee9ca02 09:16:19 Removing intermediate container 7a309ee9ca02 09:16:19 ---> bd1f7b68456e 09:16:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:19 ---> Running in 0e160b92b427 09:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:20 OK: 250 MiB in 58 packages 09:16:20 Removing intermediate container 0e160b92b427 09:16:20 ---> c5c594d5297b 09:16:20 Step 8/26 : COPY go.mod vendor* ./ 09:16:20 ---> e73c6baaf178 09:16:20 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:20 ---> Running in e21f9b4c1f84 09:16:21 Removing intermediate container e21f9b4c1f84 09:16:21 ---> 0ff7ee52e73b 09:16:21 Step 10/26 : COPY . . 09:16:21 ---> 9a6337ecdb7e 09:16:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:16:22 ---> Running in 768e2c21f260 09:16:22 Removing intermediate container 768e2c21f260 09:16:22 ---> 8936492524f4 09:16:22 Step 12/26 : RUN ${MAKE} 09:16:22 ---> Running in e7da73ba8b25 09:16:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 09:16:54 Removing intermediate container e7da73ba8b25 09:16:54 ---> e862a1dc55cc 09:16:54 Step 13/26 : FROM alpine:3.20 09:16:54 3.20: Pulling from library/alpine 09:16:54 da9db072f522: Pulling fs layer 09:16:54 da9db072f522: Verifying Checksum 09:16:54 da9db072f522: Download complete 09:16:54 da9db072f522: Pull complete 09:16:54 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:16:54 Status: Downloaded newer image for alpine:3.20 09:16:54 ---> 63b790fccc90 09:16:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:16:54 ---> Running in dfee437ef9b4 09:16:54 Removing intermediate container dfee437ef9b4 09:16:54 ---> 9d04e8d5639e 09:16:54 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:16:54 ---> Running in e48db4b44b4c 09:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:54 (1/1) Installing dumb-init (1.2.5-r3) 09:16:54 Executing busybox-1.36.1-r29.trigger 09:16:54 OK: 8 MiB in 15 packages 09:16:55 Removing intermediate container e48db4b44b4c 09:16:55 ---> c3bfc987fe06 09:16:55 Step 16/26 : RUN apk --no-cache upgrade 09:16:55 ---> Running in 48d531a03373 09:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:55 Upgrading critical system libraries and apk-tools: 09:16:55 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:16:55 Executing busybox-1.36.1-r29.trigger 09:16:55 Continuing the upgrade transaction with new apk-tools: 09:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:56 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:16:56 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:16:56 OK: 8 MiB in 15 packages 09:16:56 Removing intermediate container 48d531a03373 09:16:56 ---> 3e29e315ad67 09:16:56 Step 17/26 : WORKDIR / 09:16:56 ---> Running in a7893a8be940 09:16:56 Removing intermediate container a7893a8be940 09:16:56 ---> 004b92ad777a 09:16:56 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 09:16:56 ---> 343cfc675325 09:16:56 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 09:16:57 ---> 796ebae21515 09:16:57 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 09:16:58 ---> 4939aa10dfec 09:16:58 Step 21/26 : EXPOSE 59995 09:16:58 ---> Running in 69b6faad9379 09:16:58 Removing intermediate container 69b6faad9379 09:16:58 ---> 0f3ffe190d6c 09:16:58 Step 22/26 : ENTRYPOINT ["/device-uart"] 09:16:58 ---> Running in 7a135c2f9d35 09:16:58 Removing intermediate container 7a135c2f9d35 09:16:58 ---> 1df632e1291e 09:16:58 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:16:58 ---> Running in d3d5e9c874e3 09:16:58 Removing intermediate container d3d5e9c874e3 09:16:58 ---> d8da22f6ff0c 09:16:58 Step 24/26 : LABEL arch=amd64 09:16:59 ---> Running in 56da8c2595ac 09:16:59 Removing intermediate container 56da8c2595ac 09:16:59 ---> bbcb46c4f734 09:16:59 Step 25/26 : LABEL git_sha=6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:16:59 ---> Running in 17f95542804c 09:16:59 Removing intermediate container 17f95542804c 09:16:59 ---> 89eaec1fe18e 09:16:59 Step 26/26 : LABEL version=4.0.0-dev.6 09:16:59 ---> Running in 32727365eab9 09:16:59 Removing intermediate container 32727365eab9 09:16:59 ---> 2b6322b0ccb9 09:16:59 [Warning] One or more build-args [ARCH] were not consumed 09:16:59 Successfully built 2b6322b0ccb9 09:16:59 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:59 provisioning config files... 09:16:59 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2626514246921777391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:59 ---> ****-login.sh 09:16:59 nexus3.edgexfoundry.org:10001 09:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:16:59 Configure a credential helper to remove this warning. See 09:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:16:59 09:16:59 Login Succeeded 09:16:59 nexus3.edgexfoundry.org:10002 09:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:16:59 Configure a credential helper to remove this warning. See 09:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:16:59 09:16:59 Login Succeeded 09:16:59 nexus3.edgexfoundry.org:10003 09:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:00 Configure a credential helper to remove this warning. See 09:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:00 09:17:00 Login Succeeded 09:17:00 nexus3.edgexfoundry.org:10004 09:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:00 Configure a credential helper to remove this warning. See 09:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:00 09:17:00 Login Succeeded 09:17:00 ****.io 09:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:00 Configure a credential helper to remove this warning. See 09:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:00 09:17:00 Login Succeeded 09:17:00 ---> ****-login.sh ends [Pipeline] } 09:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:00 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 09:17:00 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:17:00 latest 09:17:00 4.0.0-dev.6 09:17:00 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:17:00 main 09:17:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:17:01 fdde26997b7c: Preparing 09:17:01 e01a2241cb65: Preparing 09:17:01 eaabc1f9bfcd: Preparing 09:17:01 8ab31b39711a: Preparing 09:17:01 74b414563951: Preparing 09:17:01 75654b8eeebd: Preparing 09:17:01 75654b8eeebd: Waiting 09:17:01 e01a2241cb65: Pushed 09:17:01 74b414563951: Pushed 09:17:01 eaabc1f9bfcd: Pushed 09:17:01 75654b8eeebd: Layer already exists 09:17:01 8ab31b39711a: Pushed 09:17:05 fdde26997b7c: Pushed 09:17:05 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb: digest: sha256:809ff746f7e0ee89976821f3804239668f17c1d85f8fa58fb2291684f3731d0f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:06 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:06 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 09:17:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:17:06 fdde26997b7c: Preparing 09:17:06 e01a2241cb65: Preparing 09:17:06 eaabc1f9bfcd: Preparing 09:17:06 8ab31b39711a: Preparing 09:17:06 74b414563951: Preparing 09:17:06 75654b8eeebd: Preparing 09:17:06 75654b8eeebd: Waiting 09:17:06 fdde26997b7c: Layer already exists 09:17:06 eaabc1f9bfcd: Layer already exists 09:17:06 8ab31b39711a: Layer already exists 09:17:06 74b414563951: Layer already exists 09:17:06 e01a2241cb65: Layer already exists 09:17:06 75654b8eeebd: Layer already exists 09:17:06 latest: digest: sha256:809ff746f7e0ee89976821f3804239668f17c1d85f8fa58fb2291684f3731d0f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:06 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:07 + docker push nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.6 09:17:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:17:07 fdde26997b7c: Preparing 09:17:07 e01a2241cb65: Preparing 09:17:07 eaabc1f9bfcd: Preparing 09:17:07 8ab31b39711a: Preparing 09:17:07 74b414563951: Preparing 09:17:07 75654b8eeebd: Preparing 09:17:07 75654b8eeebd: Waiting 09:17:07 74b414563951: Layer already exists 09:17:07 e01a2241cb65: Layer already exists 09:17:07 eaabc1f9bfcd: Layer already exists 09:17:07 8ab31b39711a: Layer already exists 09:17:07 fdde26997b7c: Layer already exists 09:17:07 75654b8eeebd: Layer already exists 09:17:07 4.0.0-dev.6: digest: sha256:809ff746f7e0ee89976821f3804239668f17c1d85f8fa58fb2291684f3731d0f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:07 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:07 + docker push nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:17:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:17:07 fdde26997b7c: Preparing 09:17:07 e01a2241cb65: Preparing 09:17:07 eaabc1f9bfcd: Preparing 09:17:07 8ab31b39711a: Preparing 09:17:07 74b414563951: Preparing 09:17:07 75654b8eeebd: Preparing 09:17:07 75654b8eeebd: Waiting 09:17:07 eaabc1f9bfcd: Layer already exists 09:17:07 fdde26997b7c: Layer already exists 09:17:07 8ab31b39711a: Layer already exists 09:17:07 e01a2241cb65: Layer already exists 09:17:07 74b414563951: Layer already exists 09:17:07 75654b8eeebd: Layer already exists 09:17:07 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6: digest: sha256:809ff746f7e0ee89976821f3804239668f17c1d85f8fa58fb2291684f3731d0f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:08 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:08 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 09:17:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:17:08 fdde26997b7c: Preparing 09:17:08 e01a2241cb65: Preparing 09:17:08 eaabc1f9bfcd: Preparing 09:17:08 8ab31b39711a: Preparing 09:17:08 74b414563951: Preparing 09:17:08 75654b8eeebd: Preparing 09:17:08 75654b8eeebd: Waiting 09:17:08 fdde26997b7c: Layer already exists 09:17:08 e01a2241cb65: Layer already exists 09:17:08 8ab31b39711a: Layer already exists 09:17:08 eaabc1f9bfcd: Layer already exists 09:17:08 74b414563951: Layer already exists 09:17:08 75654b8eeebd: Layer already exists 09:17:08 main: digest: sha256:809ff746f7e0ee89976821f3804239668f17c1d85f8fa58fb2291684f3731d0f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:08 ===================================================== [Pipeline] echo 09:17:08 taggedImages: 09:17:08 - nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:17:08 - nexus3.edgexfoundry.org:10004/device-uart:latest 09:17:08 - nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.6 09:17:08 - nexus3.edgexfoundry.org:10004/device-uart:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:17:08 - 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 09:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:08 09:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:09 latest: Pulling from edgex-lftools-log-publisher 09:17:09 5eb5b503b376: Pulling fs layer 09:17:09 5c69ac0246d0: Pulling fs layer 09:17:09 ec43610c2a17: Pulling fs layer 09:17:09 3a2ae6a8a46f: Pulling fs layer 09:17:09 33b1e0a273af: Pulling fs layer 09:17:09 5d3b04190fa2: Pulling fs layer 09:17:09 2f39f015ded8: Pulling fs layer 09:17:09 3a2ae6a8a46f: Waiting 09:17:09 33b1e0a273af: Waiting 09:17:09 2f39f015ded8: Waiting 09:17:09 5d3b04190fa2: Waiting 09:17:09 5c69ac0246d0: Verifying Checksum 09:17:09 5c69ac0246d0: Download complete 09:17:09 3a2ae6a8a46f: Verifying Checksum 09:17:09 3a2ae6a8a46f: Download complete 09:17:09 33b1e0a273af: Verifying Checksum 09:17:09 33b1e0a273af: Download complete 09:17:09 5d3b04190fa2: Verifying Checksum 09:17:09 5d3b04190fa2: Download complete 09:17:09 ec43610c2a17: Verifying Checksum 09:17:09 ec43610c2a17: Download complete 09:17:09 5eb5b503b376: Verifying Checksum 09:17:09 5eb5b503b376: Download complete 09:17:10 2f39f015ded8: Download complete 09:17:10 5eb5b503b376: Pull complete 09:17:10 5c69ac0246d0: Pull complete 09:17:11 ec43610c2a17: Pull complete 09:17:11 3a2ae6a8a46f: Pull complete 09:17:11 33b1e0a273af: Pull complete 09:17:11 5d3b04190fa2: Pull complete 09:17:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-35097 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 09:17:14 Running in /w/workspace/device-uart/47 [Pipeline] { [Pipeline] checkout 09:17:15 2f39f015ded8: Pull complete 09:17:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 09:17:17 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:17 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:17:17 $ 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 09:17:22 $ docker top 71532e3300a9fff9e15fc09f84d521870cec99c6fcdb8251ba2a3e7ee358352e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:22 ---> job-cost.sh 09:17:22 lf-activate-venv: SKIPPING 09:17:22 INFO: No Stack... 09:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:23 INFO: Archiving Costs [Pipeline] sh 09:17:23 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 09:17:23 + cut -d, -f6 [Pipeline] lock 09:17:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] 09:17:23 Resource [jenkins-edgexfoundry-device-uart-main-47-stack-cost] did not exist. Created. 09:17:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:23 + echo total: 0.2199999988079071 [Pipeline] stash 09:17:24 Stashed 1 file(s) [Pipeline] } 09:17:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:24 $ docker stop --time=1 71532e3300a9fff9e15fc09f84d521870cec99c6fcdb8251ba2a3e7ee358352e 09:17:25 using credential edgex-jenkins-ssh 09:17:25 Cloning the remote Git repository 09:17:25 $ docker rm -f --volumes 71532e3300a9fff9e15fc09f84d521870cec99c6fcdb8251ba2a3e7ee358352e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:17:25 Cloning repository git@github.com:edgexfoundry/device-uart.git 09:17:25 > git init /w/workspace/device-uart/47 # timeout=10 09:17:25 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 09:17:25 > git --version # timeout=10 09:17:25 > git --version # 'git version 2.25.1' 09:17:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:28 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 09:17:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:29 Avoid second fetch 09:17:29 Checking out Revision 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb (main) 09:17:30 Commit message: "Merge pull request #91 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" 09:17:29 > git config core.sparsecheckout # timeout=10 09:17:29 > git checkout -f 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:17:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:35 Dload Upload Total Spent Left Speed 09:17:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 178k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh 09:17:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:17:36 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:17:36 sudo tee /etc/docker/daemon.new 09:17:36 { 09:17:36 "registry-mirrors": [ 09:17:36 "https://nexus3.edgexfoundry.org:10001" 09:17:36 ], 09:17:36 "bip": "10.250.0.254/24", 09:17:36 "hosts": [ 09:17:36 "tcp://0.0.0.0:5555", 09:17:36 "unix:///var/run/docker.sock" 09:17:36 ], 09:17:36 "mtu": 1458, 09:17:36 "selinux-enabled": true, 09:17:36 "seccomp-profile": "/etc/docker/seccomp.json" 09:17:36 } [Pipeline] sh 09:17:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:17:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:55 provisioning config files... 09:17:55 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/47@tmp/config15378063690121562894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:55 ---> ****-login.sh 09:17:55 nexus3.edgexfoundry.org:10001 09:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:56 Configure a credential helper to remove this warning. See 09:17:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:56 09:17:56 Login Succeeded 09:17:56 nexus3.edgexfoundry.org:10002 09:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:56 Configure a credential helper to remove this warning. See 09:17:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:56 09:17:56 Login Succeeded 09:17:56 nexus3.edgexfoundry.org:10003 09:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:56 Configure a credential helper to remove this warning. See 09:17:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:56 09:17:56 Login Succeeded 09:17:56 nexus3.edgexfoundry.org:10004 09:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:56 Configure a credential helper to remove this warning. See 09:17:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:56 09:17:56 Login Succeeded 09:17:56 ****.io 09:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:57 Configure a credential helper to remove this warning. See 09:17:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:57 09:17:57 Login Succeeded 09:17:57 ---> ****-login.sh ends [Pipeline] } 09:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:17:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:58 ========================================================= 09:17:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:17:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:17:59 #0 building with "default" instance using docker driver 09:17:59 09:17:59 #1 [internal] load build definition from Dockerfile 09:17:59 #1 transferring dockerfile: 30B 09:17:59 #1 transferring dockerfile: 1.96kB 0.0s done 09:17:59 #1 DONE 0.1s 09:17:59 09:17:59 #2 [internal] load .dockerignore 09:17:59 #2 transferring context: 182B 0.0s done 09:17:59 #2 DONE 0.1s 09:17:59 09:17:59 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:17:59 #3 DONE 0.1s 09:17:59 09:17:59 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:17:59 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 0.0s done 09:18:00 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 1.05MB / 4.09MB 0.1s 09:18:00 #4 sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 1.99kB / 1.99kB done 09:18:00 #4 sha256:be29e6b0f0d48c82f8b7b9eee484c4dc135732b9e314d3ddccdbbf7107de97ad 5.39kB / 5.39kB done 09:18:00 #4 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0B / 293.52kB 0.1s 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 0B / 70.64MB 0.1s 09:18:00 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s 09:18:00 #4 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 293.52kB / 293.52kB 0.1s done 09:18:00 #4 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s done 09:18:00 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s done 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 5.32MB / 70.64MB 0.3s 09:18:00 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 09:18:00 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 09:18:00 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s done 09:18:00 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 0B / 95.52MB 0.4s 09:18:00 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.05MB / 12.73MB 0.4s 09:18:00 #4 ... 09:18:00 09:18:00 #5 [internal] load build context 09:18:00 #5 transferring context: 12.82MB 0.5s done 09:18:00 #5 DONE 0.5s 09:18:00 09:18:00 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.53MB / 70.64MB 0.5s 09:18:00 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 4.98MB / 12.73MB 0.5s 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 15.73MB / 70.64MB 0.6s 09:18:00 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 6.29MB / 95.52MB 0.6s 09:18:00 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 8.39MB / 12.73MB 0.6s 09:18:00 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 0.6s done 09:18:00 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 11.53MB / 12.73MB 0.7s 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 27.26MB / 70.64MB 0.9s 09:18:00 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 18.87MB / 95.52MB 0.9s 09:18:00 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.8s done 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 32.51MB / 70.64MB 1.0s 09:18:00 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 24.12MB / 95.52MB 1.0s 09:18:00 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 37.57MB / 70.64MB 1.1s 09:18:00 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 29.36MB / 95.52MB 1.1s 09:18:00 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 41.94MB / 70.64MB 1.2s 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 47.19MB / 70.64MB 1.3s 09:18:01 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 37.75MB / 95.52MB 1.3s 09:18:01 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.3s done 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 55.57MB / 70.64MB 1.5s 09:18:01 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 47.19MB / 95.52MB 1.5s 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 59.77MB / 70.64MB 1.6s 09:18:01 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 53.17MB / 95.52MB 1.6s 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 65.01MB / 70.64MB 1.7s 09:18:01 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 58.72MB / 95.52MB 1.7s 09:18:01 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.8s 09:18:01 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 63.96MB / 95.52MB 1.8s 09:18:02 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.9s done 09:18:02 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 74.45MB / 95.52MB 2.0s 09:18:02 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 79.69MB / 95.52MB 2.1s 09:18:02 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 09:18:02 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 88.17MB / 95.52MB 2.3s 09:18:02 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.5s 09:18:02 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.6s done 09:18:09 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.4s 09:18:14 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.8s 09:18:18 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 16.8s 09:18:22 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 20.3s done 09:18:23 #4 extracting sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea done 09:18:24 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 09:18:24 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 09:18:24 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 done 09:18:24 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 09:18:29 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 5.2s 09:18:32 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 8.1s done 09:18:32 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 09:18:34 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 2.1s done 09:18:35 #4 DONE 35.4s 09:18:35 09:18:35 #6 [builder 2/7] WORKDIR /device-uart 09:18:37 #6 DONE 1.8s 09:18:37 09:18:37 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 09:18:37 #7 0.823 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:18:38 #7 1.231 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:18:39 #7 2.735 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:18:39 #7 2.760 (2/4) Installing libedit (20240517.3.1-r0) 09:18:39 #7 2.772 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:18:39 #7 2.838 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:18:40 #7 2.866 Executing busybox-1.36.1-r29.trigger 09:18:40 #7 2.912 OK: 242 MiB in 58 packages 09:18:40 #7 DONE 3.3s 09:18:40 09:18:40 #8 [builder 4/7] COPY go.mod vendor* ./ 09:18:40 #8 DONE 0.2s 09:18:40 09:18:40 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:19:12 #9 DONE 31.8s 09:19:12 09:19:12 #10 [builder 6/7] COPY . . 09:19:12 #10 DONE 0.3s 09:19:12 09:19:12 #11 [builder 7/7] RUN echo noop 09:19:13 #11 0.752 noop 09:19:13 #11 DONE 0.8s 09:19:13 09:19:13 #12 exporting to image 09:19:13 #12 exporting layers 09:19:52 #12 exporting layers 36.2s done 09:19:52 #12 writing image sha256:818f952339eb11a5714d9454af2552c91ec3bc075fe674b7c6c3c0beae7d7be9 0.0s done 09:19:52 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 09:19:52 #12 DONE 36.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:52 + docker inspect -f . ci-base-image-arm64 09:19:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:53 prd-ubuntu20.04-docker-arm64-4c-16g-35097 does not seem to be running inside a container 09:19:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/47 -v /w/workspace/device-uart/47:/w/workspace/device-uart/47:rw,z -v /w/workspace/device-uart/47@tmp:/w/workspace/device-uart/47@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 09:19:54 $ docker top ee5aae12f25f2ffa1200794f06257d9d11968fb1ca598695cd9c001ff906adc0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:55 + go version 09:19:55 go version go1.23.2 linux/arm64 [Pipeline] } 09:19:55 $ docker stop --time=1 ee5aae12f25f2ffa1200794f06257d9d11968fb1ca598695cd9c001ff906adc0 09:19:57 $ docker rm -f --volumes ee5aae12f25f2ffa1200794f06257d9d11968fb1ca598695cd9c001ff906adc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:57 + docker inspect -f . ci-base-image-arm64 09:19:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:57 prd-ubuntu20.04-docker-arm64-4c-16g-35097 does not seem to be running inside a container 09:19:57 $ 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/47 -v /w/workspace/device-uart/47:/w/workspace/device-uart/47:rw,z -v /w/workspace/device-uart/47@tmp:/w/workspace/device-uart/47@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 09:19:58 $ docker top b61b06505dc45d5b9097105346accafdf64c7153e8a15bfb857251147384b05a -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:59 + git config --global --add safe.directory /w/workspace/device-uart/47 [Pipeline] fileExists [Pipeline] sh 09:19:59 + make test 09:19:59 go test ./... -coverprofile=coverage.out 09:20:06 ? github.com/edgexfoundry/device-uart [no test files] 09:22:43 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 09:22:43 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 09:22:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:22:43 go vet ./... 09:23:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:16 ./bin/test-attribution-txt.sh [Pipeline] echo 09:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:23:16 $ docker stop --time=1 b61b06505dc45d5b9097105346accafdf64c7153e8a15bfb857251147384b05a 09:23:18 $ docker rm -f --volumes b61b06505dc45d5b9097105346accafdf64c7153e8a15bfb857251147384b05a [Pipeline] // withDockerContainer [Pipeline] sh 09:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:19 Warning: overwriting stash ‘coverage-report’ 09:23:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:21 + ls -al . 09:23:21 total 220 09:23:21 drwxrwxr-x 7 jenkins jenkins 4096 Dec 14 09:20 . 09:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 09:17 .. 09:23:21 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 09:17 .dockerignore 09:23:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:17 .git 09:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 .github 09:23:21 -rw-rw-r-- 1 jenkins jenkins 343 Dec 14 09:17 .gitignore 09:23:21 -rw-rw-r-- 1 jenkins jenkins 198 Dec 14 09:17 .golangci.yml 09:23:21 -rw-rw-r-- 1 jenkins jenkins 18662 Dec 14 09:17 Attribution.txt 09:23:21 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 14 09:17 CHANGELOG.md 09:23:21 -rw-rw-r-- 1 jenkins jenkins 1919 Dec 14 09:17 Dockerfile 09:23:21 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 09:17 GOVERNANCE.md 09:23:21 -rw-rw-r-- 1 jenkins jenkins 675 Dec 14 09:17 Jenkinsfile 09:23:21 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 09:17 LICENSE 09:23:21 -rw-rw-r-- 1 jenkins jenkins 2455 Dec 14 09:17 Makefile 09:23:21 -rw-rw-r-- 1 jenkins jenkins 617 Dec 14 09:17 OWNERS.md 09:23:21 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 14 09:17 README.md 09:23:21 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 09:14 VERSION 09:23:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:17 bin 09:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 cmd 09:23:21 -rw-r--r-- 1 jenkins jenkins 6770 Dec 14 09:22 coverage.out 09:23:21 -rw-rw-r-- 1 jenkins jenkins 6165 Dec 14 09:17 go.mod 09:23:21 -rw-rw-r-- 1 jenkins jenkins 87371 Dec 14 09:17 go.sum 09:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 internal 09:23:21 -rw-rw-r-- 1 jenkins jenkins 209 Dec 14 09:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:21 + 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=6ca2ee70ce4ca7eb62a161c3c20b5252611865fb --label arch=arm64 --label version=4.0.0-dev.6 . 09:23:22 #0 building with "default" instance using docker driver 09:23:22 09:23:22 #1 [internal] load build definition from Dockerfile 09:23:22 #1 transferring dockerfile: 1.96kB 0.0s done 09:23:22 #1 DONE 0.0s 09:23:22 09:23:22 #2 [internal] load .dockerignore 09:23:22 #2 transferring context: 182B 0.0s done 09:23:22 #2 DONE 0.1s 09:23:22 09:23:22 #3 [internal] load metadata for docker.io/library/alpine:3.20 09:23:22 #3 ... 09:23:22 09:23:22 #4 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:23:22 #4 DONE 0.0s 09:23:22 09:23:22 #3 [internal] load metadata for docker.io/library/alpine:3.20 09:23:22 #3 DONE 0.3s 09:23:23 09:23:23 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:23 #5 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done 09:23:23 #5 DONE 0.1s 09:23:23 09:23:23 #6 [internal] load build context 09:23:23 #6 transferring context: 12.31kB 0.1s done 09:23:23 #6 DONE 0.1s 09:23:23 09:23:23 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:23 #5 sha256:ea3c5a9671f7b3f7eb47eab06f73bc6591df978b0d5955689a9e6f943aa368c0 1.02kB / 1.02kB done 09:23:23 #5 sha256:511a44083d3a23416fadc62847c45d14c25cbace86e7a72b2b350436978a0450 616B / 616B done 09:23:23 #5 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 1.05MB / 4.09MB 0.1s 09:23:23 #5 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done 09:23:23 #5 ... 09:23:23 09:23:23 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:23:23 #7 DONE 0.3s 09:23:23 09:23:23 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:23 #5 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s 09:23:23 #5 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 09:23:23 #5 ... 09:23:23 09:23:23 #8 [builder 2/7] WORKDIR /device-uart 09:23:23 #8 DONE 0.1s 09:23:23 09:23:23 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:23 #5 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 09:23:23 #5 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 09:23:23 #5 DONE 1.1s 09:23:23 09:23:23 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 09:23:24 #9 0.874 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:24 #9 1.254 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:26 #9 2.982 OK: 242 MiB in 58 packages 09:23:26 #9 DONE 3.4s 09:23:26 09:23:26 #10 [builder 4/7] COPY go.mod vendor* ./ 09:23:26 #10 DONE 0.2s 09:23:26 09:23:26 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:27 #11 ... 09:23:27 09:23:27 #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 09:23:27 #12 0.716 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:27 #12 1.119 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:27 #12 3.131 (1/1) Installing dumb-init (1.2.5-r3) 09:23:27 #12 3.149 Executing busybox-1.36.1-r29.trigger 09:23:27 #12 3.186 OK: 9 MiB in 15 packages 09:23:27 #12 DONE 3.7s 09:23:27 09:23:27 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:23:28 #13 ... 09:23:28 09:23:28 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:28 #11 DONE 1.7s 09:23:28 09:23:28 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:23:28 #13 1.019 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:29 #13 ... 09:23:29 09:23:29 #14 [builder 6/7] COPY . . 09:23:29 #14 DONE 0.4s 09:23:29 09:23:29 #15 [builder 7/7] RUN make build 09:23:29 #15 0.828 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 09:23:34 #15 ... 09:23:34 09:23:34 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:23:34 #13 1.475 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:34 #13 3.107 Upgrading critical system libraries and apk-tools: 09:23:34 #13 3.107 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:23:34 #13 3.130 Executing busybox-1.36.1-r29.trigger 09:23:34 #13 3.442 Continuing the upgrade transaction with new apk-tools: 09:23:34 #13 3.466 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:34 #13 3.827 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:34 #13 5.867 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:23:34 #13 6.009 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:23:34 #13 6.049 OK: 9 MiB in 15 packages 09:23:34 #13 DONE 6.5s 09:23:34 09:23:34 #15 [builder 7/7] RUN make build 09:25:55 #15 DONE 146.7s 09:25:55 09:25:55 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 09:25:55 #16 DONE 0.1s 09:25:55 09:25:55 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 09:25:55 #17 DONE 0.1s 09:25:55 09:25:55 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 09:25:56 #18 DONE 0.4s 09:25:56 09:25:56 #19 exporting to image 09:25:56 #19 exporting layers 09:25:56 #19 exporting layers 0.5s done 09:25:56 #19 writing image sha256:10d3c5540fc54bedc09e1f5206e7aca90924544643df7691dfbde02d6fb34f53 done 09:25:56 #19 naming to docker.io/library/device-uart-arm64 0.0s done 09:25:56 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:56 provisioning config files... 09:25:56 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/47@tmp/config5463423573343700925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:57 ---> ****-login.sh 09:25:57 nexus3.edgexfoundry.org:10001 09:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:57 Configure a credential helper to remove this warning. See 09:25:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:57 09:25:57 Login Succeeded 09:25:57 nexus3.edgexfoundry.org:10002 09:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:57 Configure a credential helper to remove this warning. See 09:25:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:57 09:25:57 Login Succeeded 09:25:57 nexus3.edgexfoundry.org:10003 09:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:58 Configure a credential helper to remove this warning. See 09:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:58 09:25:58 Login Succeeded 09:25:58 nexus3.edgexfoundry.org:10004 09:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:58 Configure a credential helper to remove this warning. See 09:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:58 09:25:58 Login Succeeded 09:25:58 ****.io 09:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:58 Configure a credential helper to remove this warning. See 09:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:58 09:25:58 Login Succeeded 09:25:58 ---> ****-login.sh ends [Pipeline] } 09:25:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:25:58 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 09:25:58 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:25:58 latest 09:25:58 4.0.0-dev.6 09:25:58 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:25:58 main 09:25:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:59 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:59 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:25:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:25:59 425ae3298ffc: Preparing 09:25:59 7feb346ab606: Preparing 09:25:59 215e9a7aa364: Preparing 09:25:59 871d8de3dfa2: Preparing 09:25:59 d2934fda850f: Preparing 09:25:59 651d9022c234: Preparing 09:25:59 651d9022c234: Waiting 09:25:59 215e9a7aa364: Pushed 09:25:59 7feb346ab606: Pushed 09:25:59 d2934fda850f: Pushed 09:25:59 651d9022c234: Layer already exists 09:26:01 871d8de3dfa2: Pushed 09:26:09 425ae3298ffc: Pushed 09:26:09 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb: digest: sha256:25598d8c44fcbf2fab8f065ad5f9ee7dc35c59ffc5c996299123958ca101ae69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:09 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:10 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 09:26:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:26:10 425ae3298ffc: Preparing 09:26:10 7feb346ab606: Preparing 09:26:10 215e9a7aa364: Preparing 09:26:10 871d8de3dfa2: Preparing 09:26:10 d2934fda850f: Preparing 09:26:10 651d9022c234: Preparing 09:26:10 651d9022c234: Waiting 09:26:10 7feb346ab606: Layer already exists 09:26:10 871d8de3dfa2: Layer already exists 09:26:10 215e9a7aa364: Layer already exists 09:26:10 425ae3298ffc: Layer already exists 09:26:10 d2934fda850f: Layer already exists 09:26:10 651d9022c234: Layer already exists 09:26:10 latest: digest: sha256:25598d8c44fcbf2fab8f065ad5f9ee7dc35c59ffc5c996299123958ca101ae69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:10 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:11 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.6 09:26:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:26:11 425ae3298ffc: Preparing 09:26:11 7feb346ab606: Preparing 09:26:11 215e9a7aa364: Preparing 09:26:11 871d8de3dfa2: Preparing 09:26:11 d2934fda850f: Preparing 09:26:11 651d9022c234: Preparing 09:26:11 651d9022c234: Waiting 09:26:11 871d8de3dfa2: Layer already exists 09:26:11 7feb346ab606: Layer already exists 09:26:11 d2934fda850f: Layer already exists 09:26:11 425ae3298ffc: Layer already exists 09:26:11 215e9a7aa364: Layer already exists 09:26:11 651d9022c234: Layer already exists 09:26:11 4.0.0-dev.6: digest: sha256:25598d8c44fcbf2fab8f065ad5f9ee7dc35c59ffc5c996299123958ca101ae69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:11 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:12 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:26:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:26:12 425ae3298ffc: Preparing 09:26:12 7feb346ab606: Preparing 09:26:12 215e9a7aa364: Preparing 09:26:12 871d8de3dfa2: Preparing 09:26:12 d2934fda850f: Preparing 09:26:12 651d9022c234: Preparing 09:26:12 651d9022c234: Waiting 09:26:12 7feb346ab606: Layer already exists 09:26:12 425ae3298ffc: Layer already exists 09:26:12 d2934fda850f: Layer already exists 09:26:12 871d8de3dfa2: Layer already exists 09:26:12 215e9a7aa364: Layer already exists 09:26:12 651d9022c234: Layer already exists 09:26:12 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6: digest: sha256:25598d8c44fcbf2fab8f065ad5f9ee7dc35c59ffc5c996299123958ca101ae69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:12 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:13 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 09:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:26:13 425ae3298ffc: Preparing 09:26:13 7feb346ab606: Preparing 09:26:13 215e9a7aa364: Preparing 09:26:13 871d8de3dfa2: Preparing 09:26:13 d2934fda850f: Preparing 09:26:13 651d9022c234: Preparing 09:26:13 651d9022c234: Waiting 09:26:13 d2934fda850f: Layer already exists 09:26:13 871d8de3dfa2: Layer already exists 09:26:13 425ae3298ffc: Layer already exists 09:26:13 7feb346ab606: Layer already exists 09:26:13 215e9a7aa364: Layer already exists 09:26:13 651d9022c234: Layer already exists 09:26:13 main: digest: sha256:25598d8c44fcbf2fab8f065ad5f9ee7dc35c59ffc5c996299123958ca101ae69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:13 ===================================================== [Pipeline] echo 09:26:13 taggedImages: 09:26:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb 09:26:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 09:26:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.6 09:26:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:6ca2ee70ce4ca7eb62a161c3c20b5252611865fb-4.0.0-dev.6 09:26:13 - 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 09:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:14 09:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:14 arm64: Pulling from edgex-lftools-log-publisher 09:26:14 8998bd30e6a1: Pulling fs layer 09:26:14 04944245beec: Pulling fs layer 09:26:14 699f458cf7ca: Pulling fs layer 09:26:14 765212b225bb: Pulling fs layer 09:26:14 f23df028b6ca: Pulling fs layer 09:26:14 d65c8cfc05b1: Pulling fs layer 09:26:14 2437ff75d9bd: Pulling fs layer 09:26:14 765212b225bb: Waiting 09:26:14 f23df028b6ca: Waiting 09:26:14 d65c8cfc05b1: Waiting 09:26:14 2437ff75d9bd: Waiting 09:26:14 04944245beec: Verifying Checksum 09:26:14 04944245beec: Download complete 09:26:14 765212b225bb: Download complete 09:26:14 f23df028b6ca: Verifying Checksum 09:26:14 f23df028b6ca: Download complete 09:26:14 d65c8cfc05b1: Download complete 09:26:14 699f458cf7ca: Verifying Checksum 09:26:14 699f458cf7ca: Download complete 09:26:15 8998bd30e6a1: Verifying Checksum 09:26:15 8998bd30e6a1: Download complete 09:26:17 2437ff75d9bd: Verifying Checksum 09:26:17 2437ff75d9bd: Download complete 09:26:21 8998bd30e6a1: Pull complete 09:26:21 04944245beec: Pull complete 09:26:23 699f458cf7ca: Pull complete 09:26:23 765212b225bb: Pull complete 09:26:24 f23df028b6ca: Pull complete 09:26:24 d65c8cfc05b1: Pull complete 09:26:51 2437ff75d9bd: Pull complete 09:26:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:26:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:51 prd-ubuntu20.04-docker-arm64-4c-16g-35097 does not seem to be running inside a container 09:26:51 $ 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/47 -v /w/workspace/device-uart/47:/w/workspace/device-uart/47:rw,z -v /w/workspace/device-uart/47@tmp:/w/workspace/device-uart/47@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 09:26:53 $ docker top d1150a85c6d8cfc6fa8e2501af407efe9d3a85ec33dcf4c8bb8c4679fe684082 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:54 ---> job-cost.sh 09:26:54 lf-activate-venv: SKIPPING 09:26:54 INFO: No Stack... 09:26:54 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:55 INFO: Archiving Costs [Pipeline] sh 09:26:56 + cat /w/workspace/device-uart/47/archives/cost.csv 09:26:56 + cut -d, -f6 [Pipeline] lock 09:26:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] 09:26:56 Resource [jenkins-edgexfoundry-device-uart-main-47-stack-cost] did not exist. Created. 09:26:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:56 /w/workspace/device-uart/47@tmp/durable-786a5826/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:26:56 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:56 Warning: overwriting stash ‘stack-cost’ 09:26:57 Stashed 1 file(s) [Pipeline] } 09:26:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:57 $ docker stop --time=1 d1150a85c6d8cfc6fa8e2501af407efe9d3a85ec33dcf4c8bb8c4679fe684082 09:26:58 $ docker rm -f --volumes d1150a85c6d8cfc6fa8e2501af407efe9d3a85ec33dcf4c8bb8c4679fe684082 [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 09:26:58 provisioning config files... 09:26:58 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14985270679272996282tmp [Pipeline] { [Pipeline] sh 09:26:59 + set +x 09:26:59 + + curl -s https://codecov.io/bashbash 09:26:59 -s -- 09:26:59 09:26:59 _____ _ 09:26:59 / ____| | | 09:26:59 | | ___ __| | ___ ___ _____ __ 09:26:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:26:59 | |___| (_) | (_| | __/ (_| (_) \ V / 09:26:59 \_____\___/ \__,_|\___|\___\___/ \_/ 09:26:59 Bash-1.0.6 09:26:59 09:26:59 09:26:59 ==> git version 2.25.1 found 09:26:59 ==> 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 09:26:59 Release-Date: 2020-01-08 09:26:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:26:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:26:59 ==> Jenkins CI detected. 09:26:59 current dir:  /w/workspace/edgexfoundry_device-uart_main 09:26:59 project root: . 09:26:59 --> token set from env 09:26:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:26:59 ==> Running gcov in . (disable via -X gcov) 09:26:59 ==> Python coveragepy not found 09:26:59 ==> Searching for coverage reports in: 09:26:59 + . 09:26:59 -> Found 1 reports 09:26:59 ==> Detecting git/mercurial file structure 09:26:59 ==> Reading reports 09:26:59 + ./coverage.out bytes=6770 09:26:59 ==> Appending adjustments 09:26:59 https://docs.codecov.io/docs/fixing-reports 09:26:59 + Found adjustments 09:26:59 ==> Gzipping contents 09:26:59 4.0K /tmp/codecov.RRarEO.gz 09:26:59 ==> Uploading reports 09:26:59 url: https://codecov.io 09:26:59 query: branch=main&commit=6ca2ee70ce4ca7eb62a161c3c20b5252611865fb&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 09:26:59 -> Pinging Codecov 09:26:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6ca2ee70ce4ca7eb62a161c3c20b5252611865fb&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 09:26:59 -> Uploading to 09:26:59 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/6ca2ee70ce4ca7eb62a161c3c20b5252611865fb/f5c7ab79-f472-417a-9ecd-f13412e28eef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241214%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241214T092659Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=dc35bdb919956c7c3c702ea15447ac3cc95c181caff8e39dc10ecf606dcdf8bc 09:26:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:59 Dload Upload Total Spent Left Speed 09:26:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 4368 --:--:-- --:--:-- --:--:-- 4353 09:26:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] } 09:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:27:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:27:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:27:00 09:27:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:27:00 latest: Pulling from edgex-devops/edgex-snyk-go 09:27:00 43c4264eed91: Already exists 09:27:00 4cc291be95ef: Already exists 09:27:00 2ac1f1163629: Already exists 09:27:00 5c3c966382ef: Already exists 09:27:00 4f4fb700ef54: Already exists 09:27:00 d9c7d2e4e75e: Pulling fs layer 09:27:00 9c3e1370e548: Pulling fs layer 09:27:01 d9c7d2e4e75e: Verifying Checksum 09:27:01 d9c7d2e4e75e: Download complete 09:27:01 d9c7d2e4e75e: Pull complete 09:27:01 9c3e1370e548: Verifying Checksum 09:27:01 9c3e1370e548: Download complete 09:27:04 9c3e1370e548: Pull complete 09:27:04 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:27:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:27:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:04 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:04 $ 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 09:27:06 $ docker top fe0f06f717fb2680202e2905dbcb15f0d31b4080a4371b2c4555d2a95fd94339 -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 09:27:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 09:27:06 + set -o pipefail 09:27:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 09:27:13 09:27:13 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 09:27:13 09:27:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/b22bf28c-7459-44e2-8723-8d11a7ed02d7 09:27:13 09:27:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:27:13 09:27:13 09:27:13 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 09:27:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:27:13 $ docker stop --time=1 fe0f06f717fb2680202e2905dbcb15f0d31b4080a4371b2c4555d2a95fd94339 09:27:17 $ docker rm -f --volumes fe0f06f717fb2680202e2905dbcb15f0d31b4080a4371b2c4555d2a95fd94339 [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 09:27:18 + git log --format=format:%s -1 6ca2ee70ce4ca7eb62a161c3c20b5252611865fb [Pipeline] sh 09:27:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:19 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:19 $ 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 09:27:19 $ docker top f02ac87b8c1c74d7e2d2491ee10d256b3affd49a59ff20a0a8324c7eadc2d1f3 -eo pid,comm 09:27:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:27:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:19 [ssh-agent] Looking for ssh-agent implementation... 09:27:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:20 $ docker exec f02ac87b8c1c74d7e2d2491ee10d256b3affd49a59ff20a0a8324c7eadc2d1f3 ssh-agent 09:27:20 SSH_AUTH_SOCK=/tmp/ssh-yvnl1SWuxhsy/agent.32 09:27:20 SSH_AGENT_PID=38 09:27:20 Running ssh-add (command line suppressed) 09:27:20 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3029415027339103264.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3029415027339103264.key) 09:27:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:20 + git semver tag 09:27:20 2024-12-14 09:27:20,813 [run_tag] DEBUG tag force:False 09:27:20 2024-12-14 09:27:20,813 [check_head_tag] DEBUG check head tag 09:27:20 2024-12-14 09:27:20,814 [execute] INFO git cat-file --batch-check 09:27:20 2024-12-14 09:27:20,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 09:27:20 2024-12-14 09:27:20,818 [execute] INFO git cat-file --batch 09:27:20 2024-12-14 09:27:20,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 09:27:20 2024-12-14 09:27:20,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:20 2024-12-14 09:27:20,832 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 09:27:20 2024-12-14 09:27:20,832 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 09:27:20 2024-12-14 09:27:20,836 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:20 4.0.0-dev.6 [Pipeline] } 09:27:20 $ docker exec --env ******** --env ******** f02ac87b8c1c74d7e2d2491ee10d256b3affd49a59ff20a0a8324c7eadc2d1f3 ssh-agent -k 09:27:20 unset SSH_AUTH_SOCK; 09:27:20 unset SSH_AGENT_PID; 09:27:20 echo Agent pid 38 killed; 09:27:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:21 + git semver [Pipeline] } 09:27:21 $ docker stop --time=1 f02ac87b8c1c74d7e2d2491ee10d256b3affd49a59ff20a0a8324c7eadc2d1f3 09:27:22 $ docker rm -f --volumes f02ac87b8c1c74d7e2d2491ee10d256b3affd49a59ff20a0a8324c7eadc2d1f3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:23 09:27:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:23 0.23.1-centos7: Pulling from edgex-lftools 09:27:23 ab5ef0e58194: Pulling fs layer 09:27:23 9712f1f96733: Pulling fs layer 09:27:23 63f879dbbcfc: Pulling fs layer 09:27:23 0d9ebad4ef96: Pulling fs layer 09:27:23 e9a5061849ea: Pulling fs layer 09:27:23 d747dcd14b5f: Pulling fs layer 09:27:23 2de7ff778b66: Pulling fs layer 09:27:23 0d9ebad4ef96: Waiting 09:27:23 e9a5061849ea: Waiting 09:27:23 d747dcd14b5f: Waiting 09:27:23 2de7ff778b66: Waiting 09:27:23 9712f1f96733: Download complete 09:27:23 63f879dbbcfc: Verifying Checksum 09:27:23 63f879dbbcfc: Download complete 09:27:24 e9a5061849ea: Verifying Checksum 09:27:24 e9a5061849ea: Download complete 09:27:24 d747dcd14b5f: Verifying Checksum 09:27:24 d747dcd14b5f: Download complete 09:27:24 0d9ebad4ef96: Verifying Checksum 09:27:24 0d9ebad4ef96: Download complete 09:27:24 ab5ef0e58194: Verifying Checksum 09:27:24 ab5ef0e58194: Download complete 09:27:24 2de7ff778b66: Verifying Checksum 09:27:24 2de7ff778b66: Download complete 09:27:26 ab5ef0e58194: Pull complete 09:27:26 9712f1f96733: Pull complete 09:27:27 63f879dbbcfc: Pull complete 09:27:30 0d9ebad4ef96: Pull complete 09:27:31 e9a5061849ea: Pull complete 09:27:31 d747dcd14b5f: Pull complete 09:27:32 2de7ff778b66: Pull complete 09:27:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:27:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:32 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:32 $ 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 09:27:37 $ docker top 96d07fec8d47073417e2215e4882181664024c53205fd29f2d4a1211670a9941 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:27:37 provisioning config files... 09:27:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16201559122985205186tmp 09:27:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5434526902682969715tmp 09:27:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3125158808601823344tmp [Pipeline] { [Pipeline] echo 09:27:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:27:37 ---> sigul-configuration.sh 09:27:37 gpg: directory `/root/.gnupg' created 09:27:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:27:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:27:37 gpg: keyring `/root/.gnupg/secring.gpg' created 09:27:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:27:37 gpg: CAST5 encrypted data 09:27:37 gpg: encrypted with 1 passphrase 09:27:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:27:37 + mkdir /home/jenkins 09:27:37 + mkdir /home/jenkins/sigul [Pipeline] sh 09:27:38 + 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 09:27:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:27:38 ---> sigul-install.sh 09:27:38 Sigul already installed; skipping installation. [Pipeline] sh 09:27:38 + git tag --list 09:27:38 v0.0.0 09:27:38 v0.0.1-dev.1 09:27:38 v0.0.1-dev.2 09:27:38 v0.0.1-dev.3 09:27:38 v0.0.1-dev.4 09:27:38 v3.0.0 09:27:38 v3.0.1-dev.1 09:27:38 v3.0.1-dev.10 09:27:38 v3.0.1-dev.11 09:27:38 v3.0.1-dev.12 09:27:38 v3.0.1-dev.13 09:27:38 v3.0.1-dev.14 09:27:38 v3.0.1-dev.15 09:27:38 v3.0.1-dev.16 09:27:38 v3.0.1-dev.17 09:27:38 v3.0.1-dev.18 09:27:38 v3.0.1-dev.19 09:27:38 v3.0.1-dev.2 09:27:38 v3.0.1-dev.20 09:27:38 v3.0.1-dev.21 09:27:38 v3.0.1-dev.22 09:27:38 v3.0.1-dev.23 09:27:38 v3.0.1-dev.24 09:27:38 v3.0.1-dev.25 09:27:38 v3.0.1-dev.26 09:27:38 v3.0.1-dev.27 09:27:38 v3.0.1-dev.28 09:27:38 v3.0.1-dev.29 09:27:38 v3.0.1-dev.3 09:27:38 v3.0.1-dev.30 09:27:38 v3.0.1-dev.31 09:27:38 v3.0.1-dev.32 09:27:38 v3.0.1-dev.33 09:27:38 v3.0.1-dev.34 09:27:38 v3.0.1-dev.4 09:27:38 v3.0.1-dev.5 09:27:38 v3.0.1-dev.6 09:27:38 v3.0.1-dev.7 09:27:38 v3.0.1-dev.8 09:27:38 v3.0.1-dev.9 09:27:38 v3.1 09:27:38 v3.1.0 09:27:38 v3.1.1 09:27:38 v3.1.1-dev.1 09:27:38 v4.0.0-dev.1 09:27:38 v4.0.0-dev.2 09:27:38 v4.0.0-dev.3 09:27:38 v4.0.0-dev.4 09:27:38 v4.0.0-dev.5 09:27:38 v4.0.0-dev.6 [Pipeline] sh 09:27:39 + lftools sign git-tag v4.0.0-dev.6 09:27:39 Signing Git tag with Sigul... 09:27:39 Signing v4.0.0-dev.6 [Pipeline] echo 09:27:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:27:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:27:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:27:40 $ docker stop --time=1 96d07fec8d47073417e2215e4882181664024c53205fd29f2d4a1211670a9941 09:27:41 $ docker rm -f --volumes 96d07fec8d47073417e2215e4882181664024c53205fd29f2d4a1211670a9941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:27:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:42 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:42 $ 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 09:27:42 $ docker top 89288c24df89e8f55d09489d40459db765a9949efd7d581a6528bbd91d760b54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:43 [ssh-agent] Looking for ssh-agent implementation... 09:27:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:43 $ docker exec 89288c24df89e8f55d09489d40459db765a9949efd7d581a6528bbd91d760b54 ssh-agent 09:27:43 SSH_AUTH_SOCK=/tmp/ssh-sRrl5tJodGNQ/agent.30 09:27:43 SSH_AGENT_PID=36 09:27:43 Running ssh-add (command line suppressed) 09:27:43 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16927075848696269553.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16927075848696269553.key) 09:27:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:43 + git semver bump pre 09:27:43 2024-12-14 09:27:43,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:43 2024-12-14 09:27:43,813 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 09:27:43 2024-12-14 09:27:43,813 [bump_version] DEBUG bumped version:4.0.0-dev.7 09:27:43 2024-12-14 09:27:43,813 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 09:27:43 2024-12-14 09:27:43,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:43 2024-12-14 09:27:43,813 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:43 2024-12-14 09:27:43,815 [execute] INFO git cat-file --batch-check 09:27:43 2024-12-14 09:27:43,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:43 2024-12-14 09:27:43,821 [execute] INFO git cat-file --batch 09:27:43 2024-12-14 09:27:43,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:43 2024-12-14 09:27:43,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:43 4.0.0-dev.7 [Pipeline] } 09:27:43 $ docker exec --env ******** --env ******** 89288c24df89e8f55d09489d40459db765a9949efd7d581a6528bbd91d760b54 ssh-agent -k 09:27:44 unset SSH_AUTH_SOCK; 09:27:44 unset SSH_AGENT_PID; 09:27:44 echo Agent pid 36 killed; 09:27:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:44 + git semver [Pipeline] } 09:27:44 $ docker stop --time=1 89288c24df89e8f55d09489d40459db765a9949efd7d581a6528bbd91d760b54 09:27:45 $ docker rm -f --volumes 89288c24df89e8f55d09489d40459db765a9949efd7d581a6528bbd91d760b54 [Pipeline] // withDockerContainer [Pipeline] sh 09:27:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:46 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:46 $ 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 09:27:46 $ docker top 87c85c77c02253c051b5c127d48aa163b6e0f3f76ffe0194e0e0ee012d2966f3 -eo pid,comm 09:27:47 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). 09:27:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:47 [ssh-agent] Looking for ssh-agent implementation... 09:27:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:47 $ docker exec 87c85c77c02253c051b5c127d48aa163b6e0f3f76ffe0194e0e0ee012d2966f3 ssh-agent 09:27:47 SSH_AUTH_SOCK=/tmp/ssh-woUvn2qa8dIi/agent.32 09:27:47 SSH_AGENT_PID=38 09:27:47 Running ssh-add (command line suppressed) 09:27:47 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17451428026804952362.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17451428026804952362.key) 09:27:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:47 + git semver push 09:27:47 2024-12-14 09:27:47,900 [run_push] DEBUG push 09:27:47 2024-12-14 09:27:47,901 [execute] INFO git cat-file --batch-check 09:27:47 2024-12-14 09:27:47,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:47 2024-12-14 09:27:47,904 [execute] INFO git rev-list 1808317c716a1ac8fef09938be9830684c193db2 -- 09:27:47 2024-12-14 09:27:47,905 [execute] DEBUG Popen(['git', 'rev-list', '1808317c716a1ac8fef09938be9830684c193db2', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:27:47 2024-12-14 09:27:47,910 [execute] INFO git fetch -v origin 09:27:47 2024-12-14 09:27:47,910 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 09:27:48 2024-12-14 09:27:48,364 [run_push] DEBUG no remote changes detected 09:27:48 2024-12-14 09:27:48,364 [execute] INFO git push origin semver 09:27:48 2024-12-14 09:27:48,365 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:27:49 2024-12-14 09:27:48,987 [run_push] DEBUG push all version tags 09:27:49 2024-12-14 09:27:48,987 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:27:49 2024-12-14 09:27:48,988 [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) 09:27:49 2024-12-14 09:27:49,557 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:27:49 4.0.0-dev.7 [Pipeline] } 09:27:49 $ docker exec --env ******** --env ******** 87c85c77c02253c051b5c127d48aa163b6e0f3f76ffe0194e0e0ee012d2966f3 ssh-agent -k 09:27:49 unset SSH_AUTH_SOCK; 09:27:49 unset SSH_AGENT_PID; 09:27:49 echo Agent pid 38 killed; 09:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:50 + git semver [Pipeline] } 09:27:50 $ docker stop --time=1 87c85c77c02253c051b5c127d48aa163b6e0f3f76ffe0194e0e0ee012d2966f3 09:27:51 $ docker rm -f --volumes 87c85c77c02253c051b5c127d48aa163b6e0f3f76ffe0194e0e0ee012d2966f3 [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 09:27:52 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 09:27:52 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:27:52 total 16 09:27:52 drwxr-xr-x 3 root root 4096 Dec 14 09:17 . 09:27:52 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 09:27 .. 09:27:52 drwxr-xr-x 2 root root 4096 Dec 14 09:17 cost 09:27:52 -rw-r--r-- 1 root root 82 Dec 14 09:17 cost.csv 09:27:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 09:27:52 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:27:52 total 16 09:27:52 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 09:17 . 09:27:52 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 09:27 .. 09:27:52 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 09:17 cost 09:27:52 -rw-r--r-- 1 jenkins jenkins 82 Dec 14 09:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:27:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:27:53 ---> package-listing.sh 09:27:53 ++ facter osfamily 09:27:53 ++ tr '[:upper:]' '[:lower:]' 09:27:53 + OS_FAMILY=debian 09:27:53 + workspace=/w/workspace/edgexfoundry_device-uart_main 09:27:53 + START_PACKAGES=/tmp/packages_start.txt 09:27:53 + END_PACKAGES=/tmp/packages_end.txt 09:27:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:27:53 + PACKAGES=/tmp/packages_start.txt 09:27:53 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:27:53 + PACKAGES=/tmp/packages_end.txt 09:27:53 + case "${OS_FAMILY}" in 09:27:53 + dpkg -l 09:27:53 + grep '^ii' 09:27:53 + '[' -f /tmp/packages_start.txt ']' 09:27:53 + '[' -f /tmp/packages_end.txt ']' 09:27:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:27:53 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:27:53 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 09:27:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 09:27:53 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 09:27:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:54 prd-ubuntu20.04-docker-8c-8g-35093 does not seem to be running inside a container 09:27:54 $ 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 09:27:54 $ docker top ba6e307a8585def097cb1ea108fa3b0dcffe4748c2939752684a3a98b84637af -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:55 + touch /tmp/pre-build-complete [Pipeline] sh 09:27:55 + mkdir -p /var/log/sysstat [Pipeline] sh 09:27:55 + ls /var/log/sa-host 09:27:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:55 provisioning config files... 09:27:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8612916085979102259tmp [Pipeline] { [Pipeline] echo 09:27:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> create-netrc.sh [Pipeline] } 09:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> python-tools-install.sh [Pipeline] echo 09:27:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> sudo-logs.sh 09:27:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:27:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:27:57 ---> job-cost.sh 09:27:57 lf-activate-venv: SKIPPING 09:27:57 DEBUG: total: 0.2199999988079071 09:27:57 INFO: Retrieving Stack Cost... 09:27:57 INFO: Retrieving Pricing Info for: v3-standard-8 09:27:57 INFO: Archiving Costs [Pipeline] echo 09:27:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:27:58 ---> logs-deploy.sh 09:27:58 lf-activate-venv: SKIPPING 09:27:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/47 09:27:58 INFO: archiving workspace using pattern(s): 09:27:59 Archives upload complete. 09:27:59 INFO: archiving logs to Nexus