Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d0925bfba9be57c91a88507a1350afd17db6efb3 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-ssh7398045581565133575.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13939029822881713927.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7682542249610959463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11735536630727436748.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16454891289425325085.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18187 in /w/workspace/edgexfoundry_device-uart_napa [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_napa # 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 d0925bfba9be57c91a88507a1350afd17db6efb3 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @dec02cb" > git config core.sparsecheckout # timeout=10 > git checkout -f d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 > git rev-list --no-walk d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:16:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:16:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:16:27 ========================================================= 22:16:27 EdgeX Global Pipelines Version Info 22:16:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:16:28 ------------------- 22:16:28 stable info: 22:16:28 ------------------- 22:16:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:16:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:28 Message: update stable to v1.0.258 22:16:29 ------------------- 22:16:29 experimental info: 22:16:29 ------------------- 22:16:29 Commited By: **** collab-it+edgex@linuxfoundation.org 22:16:29 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:29 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0925bf [Pipeline] echo 22:16:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:29 provisioning config files... 22:16:29 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config15838140051692845015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:30 ---> docker-login.sh 22:16:30 nexus3.edgexfoundry.org:10001 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 nexus3.edgexfoundry.org:10002 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 nexus3.edgexfoundry.org:10003 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 nexus3.edgexfoundry.org:10004 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 docker.io 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:31 Configure a credential helper to remove this warning. See 22:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:31 22:16:31 Login Succeeded 22:16:31 ---> docker-login.sh ends [Pipeline] } 22:16:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:16:31 + git rev-list -1 --merges d0925bfba9be57c91a88507a1350afd17db6efb3~1..d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] echo 22:16:31 -----------> git rev-list -1 --merges d0925bfba9be57c91a88507a1350afd17db6efb3~1..d0925bfba9be57c91a88507a1350afd17db6efb3 d0925bfba9be57c91a88507a1350afd17db6efb3 [false] [Pipeline] sh 22:16:32 + git log --format=format:%s -1 d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] echo 22:16:32 ========================================================= 22:16:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:16:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:32 + git log --format=format:%s -1 d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] echo 22:16:32 [semverPrep] GIT_COMMIT: d0925bfba9be57c91a88507a1350afd17db6efb3, Commit Message: ci(lts-release): LTS release v3.1.0 @dec02cb [Pipeline] echo 22:16:32 [semverPrep] This is not a build commit. [Pipeline] sh 22:16:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:32 + grep -v github /etc/ssh/ssh_known_hosts 22:16:32 + [ -e /tmp/ssh_known_hosts ] 22:16:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:16:32 + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 22:16:32 22:16:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:33 22:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:33 0.1.4: Pulling from edgex-devops/py-git-semver 22:16:33 b85a868b505f: Pulling fs layer 22:16:33 e2be974225ed: Pulling fs layer 22:16:33 339a4e72a1f5: Pulling fs layer 22:16:33 988bab9f4d93: Pulling fs layer 22:16:33 1469e6f7b9e6: Pulling fs layer 22:16:33 eaf3925da568: Pulling fs layer 22:16:33 bab4dde63d76: Pulling fs layer 22:16:33 bde34c3a00c8: Pulling fs layer 22:16:33 b352a97aabf1: Pulling fs layer 22:16:33 4872d77fe225: Pulling fs layer 22:16:33 5851b861e8e6: Pulling fs layer 22:16:33 988bab9f4d93: Waiting 22:16:33 1469e6f7b9e6: Waiting 22:16:33 eaf3925da568: Waiting 22:16:33 bab4dde63d76: Waiting 22:16:33 bde34c3a00c8: Waiting 22:16:33 b352a97aabf1: Waiting 22:16:33 4872d77fe225: Waiting 22:16:33 5851b861e8e6: Waiting 22:16:33 e2be974225ed: Verifying Checksum 22:16:33 e2be974225ed: Download complete 22:16:33 988bab9f4d93: Verifying Checksum 22:16:33 988bab9f4d93: Download complete 22:16:33 339a4e72a1f5: Verifying Checksum 22:16:33 339a4e72a1f5: Download complete 22:16:33 eaf3925da568: Download complete 22:16:33 1469e6f7b9e6: Verifying Checksum 22:16:33 1469e6f7b9e6: Download complete 22:16:33 bde34c3a00c8: Verifying Checksum 22:16:33 bde34c3a00c8: Download complete 22:16:33 b352a97aabf1: Verifying Checksum 22:16:33 b352a97aabf1: Download complete 22:16:33 4872d77fe225: Download complete 22:16:33 5851b861e8e6: Verifying Checksum 22:16:33 5851b861e8e6: Download complete 22:16:33 b85a868b505f: Verifying Checksum 22:16:33 b85a868b505f: Download complete 22:16:33 bab4dde63d76: Verifying Checksum 22:16:33 bab4dde63d76: Download complete 22:16:34 b85a868b505f: Pull complete 22:16:35 e2be974225ed: Pull complete 22:16:35 339a4e72a1f5: Pull complete 22:16:35 988bab9f4d93: Pull complete 22:16:35 1469e6f7b9e6: Pull complete 22:16:36 eaf3925da568: Pull complete 22:16:39 bab4dde63d76: Pull complete 22:16:39 bde34c3a00c8: Pull complete 22:16:40 b352a97aabf1: Pull complete 22:16:41 4872d77fe225: Pull complete 22:16:42 5851b861e8e6: Pull complete 22:16:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:16:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:43 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:16:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:16:52 $ docker top 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e -eo pid,comm 22:16:52 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). 22:16:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:52 [ssh-agent] Looking for ssh-agent implementation... 22:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:52 $ docker exec 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e ssh-agent 22:16:52 SSH_AUTH_SOCK=/tmp/ssh-iWfhZGZOX25N/agent.32 22:16:52 SSH_AGENT_PID=38 22:16:52 Running ssh-add (command line suppressed) 22:16:52 Identity added: /w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_10200283197893864725.key (/w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_10200283197893864725.key) 22:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:52 + git tag --points-at d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] } 22:16:52 $ docker exec --env ******** --env ******** 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e ssh-agent -k 22:16:53 unset SSH_AUTH_SOCK; 22:16:53 unset SSH_AGENT_PID; 22:16:53 echo Agent pid 38 killed; 22:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:16:53 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:16:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:53 [ssh-agent] Looking for ssh-agent implementation... 22:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:53 $ docker exec 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e ssh-agent 22:16:53 SSH_AUTH_SOCK=/tmp/ssh-0m7lGqIMmZdF/agent.70 22:16:53 SSH_AGENT_PID=76 22:16:53 Running ssh-add (command line suppressed) 22:16:53 Identity added: /w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_2486794108323501470.key (/w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_2486794108323501470.key) 22:16:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:53 + git semver init 22:16:53 2023-11-15 22:16:53,883 [run_init] DEBUG init version:0.0.0 force:False 22:16:53 2023-11-15 22:16:53,883 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_napa/.semver 22:16:53 2023-11-15 22:16:53,884 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_napa/.semver 22:16:53 2023-11-15 22:16:53,884 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_napa, universal_newlines=False, shell=None, istream=None) 22:16:55 2023-11-15 22:16:55,223 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_napa/.git/info/exclude 22:16:55 2023-11-15 22:16:55,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_napa/.semver/napa with force:False 22:16:55 2023-11-15 22:16:55,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_napa/.semver/napa 22:16:55 2023-11-15 22:16:55,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_napa/.semver/napa 22:16:55 3.1.0 [Pipeline] } 22:16:55 $ docker exec --env ******** --env ******** 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e ssh-agent -k 22:16:55 unset SSH_AUTH_SOCK; 22:16:55 unset SSH_AGENT_PID; 22:16:55 echo Agent pid 76 killed; 22:16:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:55 + git semver [Pipeline] } 22:16:56 $ docker stop --time=1 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e 22:16:57 $ docker rm -f --volumes 2d7fb54ce83cd8f51fd43c6256f9f07b1f5f5869ec1832f2ba11a6b61839243e [Pipeline] // withDockerContainer [Pipeline] sh 22:16:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:57 Stashed 1 file(s) [Pipeline] echo 22:16:57 [edgeXSemver]: initialized semver on version 3.1.0 [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] sh 22:16:58 + git checkout d0925bfba9be57c91a88507a1350afd17db6efb3 22:16:58 HEAD is now at d0925bf ci(lts-release): LTS release v3.1.0 @dec02cb [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:58 provisioning config files... 22:16:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config16953684896652590115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:58 ---> docker-login.sh 22:16:58 nexus3.edgexfoundry.org:10001 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10002 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10003 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10004 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 docker.io 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:59 Configure a credential helper to remove this warning. See 22:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:59 22:16:59 Login Succeeded 22:16:59 ---> docker-login.sh ends [Pipeline] } 22:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:16:59 + grep ^go [0-9].[0-9]* go.mod 22:16:59 + cut -d -f 2 [Pipeline] echo 22:16:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:16:59 ========================================================= 22:16:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:16:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:17:00 Sending build context to Docker daemon 49.8MB 22:17:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:17:00 Step 2/12 : FROM ${BASE} AS builder 22:17:00 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:17:00 7264a8db6415: Pulling fs layer 22:17:00 c4d48a809fc2: Pulling fs layer 22:17:00 4f1c88b9dad5: Pulling fs layer 22:17:00 ad3a456e5733: Pulling fs layer 22:17:00 f0163c21ed6d: Pulling fs layer 22:17:00 04c35c34e31e: Pulling fs layer 22:17:00 0c7b0fd20c02: Pulling fs layer 22:17:00 d22eed83c68c: Pulling fs layer 22:17:00 04c35c34e31e: Waiting 22:17:00 ad3a456e5733: Waiting 22:17:00 0c7b0fd20c02: Waiting 22:17:00 d22eed83c68c: Waiting 22:17:00 f0163c21ed6d: Waiting 22:17:00 c4d48a809fc2: Download complete 22:17:00 ad3a456e5733: Download complete 22:17:00 f0163c21ed6d: Verifying Checksum 22:17:00 f0163c21ed6d: Download complete 22:17:00 7264a8db6415: Verifying Checksum 22:17:00 7264a8db6415: Download complete 22:17:00 04c35c34e31e: Verifying Checksum 22:17:00 04c35c34e31e: Download complete 22:17:01 7264a8db6415: Pull complete 22:17:01 c4d48a809fc2: Pull complete 22:17:01 d22eed83c68c: Download complete 22:17:01 4f1c88b9dad5: Verifying Checksum 22:17:01 4f1c88b9dad5: Download complete 22:17:02 0c7b0fd20c02: Verifying Checksum 22:17:02 0c7b0fd20c02: Download complete 22:17:04 4f1c88b9dad5: Pull complete 22:17:05 ad3a456e5733: Pull complete 22:17:05 f0163c21ed6d: Pull complete 22:17:05 04c35c34e31e: Pull complete 22:17:08 0c7b0fd20c02: Pull complete 22:17:09 d22eed83c68c: Pull complete 22:17:09 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:17:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:17:09 ---> 8a661f5c53af 22:17:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:13 Still waiting to schedule task 22:17:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:17:31 ---> Running in c9b083a7f455 22:17:31 Removing intermediate container c9b083a7f455 22:17:31 ---> e945051cd433 22:17:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:17:31 ---> Running in 1c03acd0f682 22:17:31 Removing intermediate container 1c03acd0f682 22:17:31 ---> cebf05a13c54 22:17:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:17:31 ---> Running in dede2288c498 22:17:31 Removing intermediate container dede2288c498 22:17:31 ---> f29cd06acaef 22:17:31 Step 6/12 : WORKDIR /device-uart 22:17:31 ---> Running in 24a8d8b684b8 22:17:31 Removing intermediate container 24a8d8b684b8 22:17:31 ---> 342ec00727d9 22:17:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:31 ---> Running in 16bb8ee7cdcb 22:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:17:31 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:17:31 (2/4) Installing libedit (20221030.3.1-r1) 22:17:31 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:17:31 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:17:31 Executing busybox-1.36.1-r5.trigger 22:17:31 OK: 268 MiB in 56 packages 22:17:32 Removing intermediate container 16bb8ee7cdcb 22:17:32 ---> 1965d555cd3e 22:17:32 Step 8/12 : COPY go.mod vendor* ./ 22:17:34 ---> b7fc62ce7d09 22:17:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:35 ---> Running in 386b79896043 22:18:56 Removing intermediate container 386b79896043 22:18:56 ---> 599a3c66d36d 22:18:56 Step 10/12 : COPY . . 22:18:56 ---> 65c0504038fc 22:18:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:56 ---> Running in 8c79ea0421a7 22:18:56 Removing intermediate container 8c79ea0421a7 22:18:56 ---> c30a54cdb75e 22:18:56 Step 12/12 : RUN ${MAKE} 22:18:56 ---> Running in 00ca77e1fd73 22:18:56 noop 22:18:56 Removing intermediate container 00ca77e1fd73 22:18:56 ---> 36ffb1f2e3ef 22:18:56 Successfully built 36ffb1f2e3ef 22:18:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:57 + docker inspect -f . ci-base-image-x86_64 22:18:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:57 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:18:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:18:58 $ docker top 94dee08ae026000dc70298889527bd48ddc1f0ef64d0d132858d82dbc2b848ed -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:58 + go version 22:18:58 go version go1.21.0 linux/amd64 [Pipeline] } 22:18:58 $ docker stop --time=1 94dee08ae026000dc70298889527bd48ddc1f0ef64d0d132858d82dbc2b848ed 22:18:59 $ docker rm -f --volumes 94dee08ae026000dc70298889527bd48ddc1f0ef64d0d132858d82dbc2b848ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:00 + docker inspect -f . ci-base-image-x86_64 22:19:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:00 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:19:00 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:00 $ docker top 80335104d81bffc8cf21ba4a375ce47afd410de23a1aa137f17e5d595d201f9a -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_napa [Pipeline] fileExists [Pipeline] sh 22:19:01 + make test 22:19:01 go test ./... -coverprofile=coverage.out 22:19:03 ? github.com/edgexfoundry/device-uart [no test files] 22:19:13 ? github.com/edgexfoundry/device-uart/cmd [no test files] 22:19:13 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 22:19:21 go vet ./... 22:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:24 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:24 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:19:24 + go mod tidy [Pipeline] } 22:19:25 $ docker stop --time=1 80335104d81bffc8cf21ba4a375ce47afd410de23a1aa137f17e5d595d201f9a 22:19:33 $ docker rm -f --volumes 80335104d81bffc8cf21ba4a375ce47afd410de23a1aa137f17e5d595d201f9a [Pipeline] // withDockerContainer [Pipeline] sh 22:19:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:19:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:35 + ls -al . 22:19:35 total 160 22:19:35 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:19 . 22:19:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 .. 22:19:35 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:16 .dockerignore 22:19:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git 22:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github 22:19:35 -rw-rw-r-- 1 jenkins jenkins 335 Nov 15 22:16 .gitignore 22:19:35 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:16 .golangci.yml 22:19:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:16 .semver 22:19:35 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 15 22:16 Attribution.txt 22:19:35 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 15 22:16 CHANGELOG.md 22:19:35 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 15 22:16 Dockerfile 22:19:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md 22:19:35 -rw-rw-r-- 1 jenkins jenkins 675 Nov 15 22:16 Jenkinsfile 22:19:35 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:16 LICENSE 22:19:35 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 15 22:16 Makefile 22:19:35 -rw-rw-r-- 1 jenkins jenkins 617 Nov 15 22:16 OWNERS.md 22:19:35 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 15 22:16 README.md 22:19:35 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:19:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin 22:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd 22:19:35 -rw-r--r-- 1 jenkins jenkins 10 Nov 15 22:19 coverage.out 22:19:35 -rw-rw-r-- 1 jenkins jenkins 3674 Nov 15 22:16 go.mod 22:19:35 -rw-rw-r-- 1 jenkins jenkins 35219 Nov 15 22:16 go.sum 22:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 internal 22:19:35 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor 22:19:35 -rw-rw-r-- 1 jenkins jenkins 209 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:35 + 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=d0925bfba9be57c91a88507a1350afd17db6efb3 --label arch=amd64 --label version=3.1.0 . 22:19:36 Sending build context to Docker daemon 49.8MB 22:19:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:19:36 Step 2/26 : FROM ${BASE} AS builder 22:19:36 ---> 36ffb1f2e3ef 22:19:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:19:39 ---> Running in 8401ee252a4d 22:19:40 Removing intermediate container 8401ee252a4d 22:19:40 ---> 6300e01c19f1 22:19:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:19:40 ---> Running in af6a1cb715be 22:19:40 Removing intermediate container af6a1cb715be 22:19:40 ---> f67fc9e9d0ba 22:19:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:19:40 ---> Running in f50d331ac23b 22:19:40 Removing intermediate container f50d331ac23b 22:19:40 ---> 6890af16bd82 22:19:40 Step 6/26 : WORKDIR /device-uart 22:19:40 ---> Running in af68d0403727 22:19:40 Removing intermediate container af68d0403727 22:19:40 ---> d21a47e42bc9 22:19:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:40 ---> Running in 8be9ec2480ee 22:19:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:19:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:19:41 OK: 268 MiB in 56 packages 22:19:41 Removing intermediate container 8be9ec2480ee 22:19:41 ---> ad84fb4e4c76 22:19:41 Step 8/26 : COPY go.mod vendor* ./ 22:19:47 ---> eeddedb1d896 22:19:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:47 ---> Running in ba15ee74cef4 22:19:47 skipping... 22:19:47 Removing intermediate container ba15ee74cef4 22:19:47 ---> 9bfcf8b1ab98 22:19:47 Step 10/26 : COPY . . 22:19:52 ---> b310a929b82c 22:19:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:52 ---> Running in 7a3a36647e26 22:19:52 Removing intermediate container 7a3a36647e26 22:19:52 ---> 967a46489ea5 22:19:52 Step 12/26 : RUN ${MAKE} 22:19:52 ---> Running in 45e2875ae64d 22:19:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 22:20:24 Removing intermediate container 45e2875ae64d 22:20:24 ---> 090c8c6ac419 22:20:24 Step 13/26 : FROM alpine:3.18 22:20:25 3.18: Pulling from library/alpine 22:20:26 96526aa774ef: Pulling fs layer 22:20:26 96526aa774ef: Download complete 22:20:26 96526aa774ef: Pull complete 22:20:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:20:26 Status: Downloaded newer image for alpine:3.18 22:20:26 ---> 8ca4688f4f35 22:20:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:20:27 ---> Running in d448ea142ac3 22:20:27 Removing intermediate container d448ea142ac3 22:20:27 ---> 99d63168a754 22:20:27 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:20:28 ---> Running in 6137356f1876 22:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:28 (1/1) Installing dumb-init (1.2.5-r2) 22:20:28 Executing busybox-1.36.1-r2.trigger 22:20:28 OK: 7 MiB in 16 packages 22:20:33 Removing intermediate container 6137356f1876 22:20:33 ---> 2a5f974ca570 22:20:33 Step 16/26 : RUN apk --no-cache upgrade 22:20:33 ---> Running in 5e4125d89a25 22:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:34 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:20:34 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:20:34 Executing busybox-1.36.1-r5.post-upgrade 22:20:34 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:20:34 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:20:34 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:20:34 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:20:34 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:20:34 Executing busybox-1.36.1-r5.trigger 22:20:34 OK: 7 MiB in 16 packages 22:20:36 Removing intermediate container 5e4125d89a25 22:20:36 ---> eb15ed81ca79 22:20:36 Step 17/26 : WORKDIR / 22:20:36 ---> Running in 956d63c942ba 22:20:38 Removing intermediate container 956d63c942ba 22:20:38 ---> c70f6a2e3342 22:20:38 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 22:20:38 ---> c13fa7587ffd 22:20:38 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 22:20:38 ---> 67319400772a 22:20:38 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 22:20:40 ---> 217da2e4369b 22:20:40 Step 21/26 : EXPOSE 59995 22:20:40 ---> Running in 08765759cf01 22:20:40 Removing intermediate container 08765759cf01 22:20:40 ---> 8ec358d459a5 22:20:40 Step 22/26 : ENTRYPOINT ["/device-uart"] 22:20:40 ---> Running in 9fecf73400d9 22:20:41 Removing intermediate container 9fecf73400d9 22:20:41 ---> f71571a7cc25 22:20:41 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:41 ---> Running in 6d19bdc5ac8e 22:20:41 Removing intermediate container 6d19bdc5ac8e 22:20:41 ---> d195c8eef58d 22:20:41 Step 24/26 : LABEL arch=amd64 22:20:41 ---> Running in 78aa09dccc04 22:20:41 Removing intermediate container 78aa09dccc04 22:20:41 ---> 7b3900768daa 22:20:41 Step 25/26 : LABEL git_sha=d0925bfba9be57c91a88507a1350afd17db6efb3 22:20:41 ---> Running in 2004d8412a82 22:20:41 Removing intermediate container 2004d8412a82 22:20:41 ---> 9e1a22edf317 22:20:41 Step 26/26 : LABEL version=3.1.0 22:20:41 ---> Running in f07d362a8734 22:20:42 Removing intermediate container f07d362a8734 22:20:42 ---> fc0bc60016b6 22:20:42 [Warning] One or more build-args [ARCH] were not consumed 22:20:42 Successfully built fc0bc60016b6 22:20:42 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:42 provisioning config files... 22:20:42 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config2242531794188729329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:42 ---> docker-login.sh 22:20:42 nexus3.edgexfoundry.org:10001 22:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:42 Configure a credential helper to remove this warning. See 22:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:42 22:20:42 Login Succeeded 22:20:42 nexus3.edgexfoundry.org:10002 22:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:42 Configure a credential helper to remove this warning. See 22:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:42 22:20:42 Login Succeeded 22:20:42 nexus3.edgexfoundry.org:10003 22:20:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:43 Configure a credential helper to remove this warning. See 22:20:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:43 22:20:43 Login Succeeded 22:20:43 nexus3.edgexfoundry.org:10004 22:20:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:43 Configure a credential helper to remove this warning. See 22:20:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:43 22:20:43 Login Succeeded 22:20:43 docker.io 22:20:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:43 Configure a credential helper to remove this warning. See 22:20:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:43 22:20:43 Login Succeeded 22:20:43 ---> docker-login.sh ends [Pipeline] } 22:20:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:20:43 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 22:20:43 d0925bfba9be57c91a88507a1350afd17db6efb3 22:20:43 3.1.0 22:20:43 d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:20:43 napa 22:20:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:43 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:43 + docker push nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3 22:20:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 22:20:43 131dd85f7e70: Preparing 22:20:43 cb66b194aa3c: Preparing 22:20:43 d1305edfaa35: Preparing 22:20:43 78406365ef8e: Preparing 22:20:43 d84c31b357d4: Preparing 22:20:43 cc2447e1835a: Preparing 22:20:43 cc2447e1835a: Waiting 22:20:43 d84c31b357d4: Pushed 22:20:43 d1305edfaa35: Pushed 22:20:43 cb66b194aa3c: Pushed 22:20:43 cc2447e1835a: Layer already exists 22:20:44 78406365ef8e: Pushed 22:20:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18203 in /w/workspace/edgexfoundry_device-uart_napa [Pipeline] { [Pipeline] ws 22:20:45 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 22:20:45 The recommended git tool is: git 22:20:47 131dd85f7e70: Pushed 22:20:47 d0925bfba9be57c91a88507a1350afd17db6efb3: digest: sha256:33273b9c7773fdbc85824ab9b2314d63f993ca437222fb00c7575d1af27d546f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:47 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:47 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.1.0 22:20:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 22:20:47 131dd85f7e70: Preparing 22:20:47 cb66b194aa3c: Preparing 22:20:47 d1305edfaa35: Preparing 22:20:47 78406365ef8e: Preparing 22:20:47 d84c31b357d4: Preparing 22:20:47 cc2447e1835a: Preparing 22:20:47 cc2447e1835a: Waiting 22:20:47 131dd85f7e70: Layer already exists 22:20:47 78406365ef8e: Layer already exists 22:20:47 cb66b194aa3c: Layer already exists 22:20:47 d1305edfaa35: Layer already exists 22:20:47 d84c31b357d4: Layer already exists 22:20:47 cc2447e1835a: Layer already exists 22:20:47 3.1.0: digest: sha256:33273b9c7773fdbc85824ab9b2314d63f993ca437222fb00c7575d1af27d546f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + docker push nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:20:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 22:20:48 131dd85f7e70: Preparing 22:20:48 cb66b194aa3c: Preparing 22:20:48 d1305edfaa35: Preparing 22:20:48 78406365ef8e: Preparing 22:20:48 d84c31b357d4: Preparing 22:20:48 cc2447e1835a: Preparing 22:20:48 78406365ef8e: Layer already exists 22:20:48 131dd85f7e70: Layer already exists 22:20:48 d1305edfaa35: Layer already exists 22:20:48 d84c31b357d4: Layer already exists 22:20:48 cb66b194aa3c: Layer already exists 22:20:48 cc2447e1835a: Layer already exists 22:20:48 d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0: digest: sha256:33273b9c7773fdbc85824ab9b2314d63f993ca437222fb00c7575d1af27d546f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:50 + docker push nexus3.edgexfoundry.org:10004/device-uart:napa 22:20:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 22:20:50 131dd85f7e70: Preparing 22:20:50 cb66b194aa3c: Preparing 22:20:50 d1305edfaa35: Preparing 22:20:50 78406365ef8e: Preparing 22:20:50 d84c31b357d4: Preparing 22:20:50 cc2447e1835a: Preparing 22:20:50 cc2447e1835a: Waiting 22:20:50 cb66b194aa3c: Layer already exists 22:20:50 d1305edfaa35: Layer already exists 22:20:50 d84c31b357d4: Layer already exists 22:20:50 78406365ef8e: Layer already exists 22:20:50 131dd85f7e70: Layer already exists 22:20:50 cc2447e1835a: Layer already exists 22:20:50 napa: digest: sha256:33273b9c7773fdbc85824ab9b2314d63f993ca437222fb00c7575d1af27d546f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:50 ===================================================== [Pipeline] echo 22:20:50 taggedImages: 22:20:50 - nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3 22:20:50 - nexus3.edgexfoundry.org:10004/device-uart:3.1.0 22:20:50 - nexus3.edgexfoundry.org:10004/device-uart:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:20:50 - nexus3.edgexfoundry.org:10004/device-uart:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:50 22:20:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:52 latest: Pulling from edgex-lftools-log-publisher 22:20:52 5eb5b503b376: Pulling fs layer 22:20:52 5c69ac0246d0: Pulling fs layer 22:20:52 ec43610c2a17: Pulling fs layer 22:20:52 3a2ae6a8a46f: Pulling fs layer 22:20:52 33b1e0a273af: Pulling fs layer 22:20:52 5d3b04190fa2: Pulling fs layer 22:20:52 2f39f015ded8: Pulling fs layer 22:20:52 3a2ae6a8a46f: Waiting 22:20:52 33b1e0a273af: Waiting 22:20:52 5d3b04190fa2: Waiting 22:20:52 2f39f015ded8: Waiting 22:20:52 5c69ac0246d0: Download complete 22:20:52 3a2ae6a8a46f: Verifying Checksum 22:20:52 3a2ae6a8a46f: Download complete 22:20:52 33b1e0a273af: Verifying Checksum 22:20:52 33b1e0a273af: Download complete 22:20:52 ec43610c2a17: Verifying Checksum 22:20:52 ec43610c2a17: Download complete 22:20:52 5d3b04190fa2: Verifying Checksum 22:20:52 5d3b04190fa2: Download complete 22:20:52 5eb5b503b376: Download complete 22:20:53 2f39f015ded8: Download complete 22:20:53 using credential edgex-jenkins-ssh 22:20:53 Cloning the remote Git repository 22:20:54 5eb5b503b376: Pull complete 22:20:54 5c69ac0246d0: Pull complete 22:20:53 Cloning repository git@github.com:edgexfoundry/device-uart.git 22:20:54 > git init /w/workspace/device-uart/2 # timeout=10 22:20:54 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 22:20:54 > git --version # timeout=10 22:20:54 > git --version # 'git version 2.25.1' 22:20:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:20:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 22:20:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:20:58 Avoid second fetch 22:20:58 Checking out Revision d0925bfba9be57c91a88507a1350afd17db6efb3 (napa) 22:20:58 > git config core.sparsecheckout # timeout=10 22:20:58 > git checkout -f d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 22:21:02 Commit message: "ci(lts-release): LTS release v3.1.0 @dec02cb" 22:21:03 22:21:03 GitHub has been notified of this commit’s build result 22:21:03 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:03 ec43610c2a17: Pull complete 22:21:03 3a2ae6a8a46f: Pull complete 22:21:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:21:03 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:03 Dload Upload Total Spent Left Speed 22:21:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 172k 0 --:--:-- --:--:-- --:--:-- 169k 22:21:03 33b1e0a273af: Pull complete 22:21:04 5d3b04190fa2: Pull complete [Pipeline] sh 22:21:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:21:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:21:04 + sudo tee /etc/docker/daemon.new 22:21:04 { 22:21:04 "registry-mirrors": [ 22:21:04 "https://nexus3.edgexfoundry.org:10001" 22:21:04 ], 22:21:04 "bip": "10.250.0.254/24", 22:21:04 "hosts": [ 22:21:04 "tcp://0.0.0.0:5555", 22:21:04 "unix:///var/run/docker.sock" 22:21:04 ], 22:21:04 "mtu": 1458, 22:21:04 "selinux-enabled": true, 22:21:04 "seccomp-profile": "/etc/docker/seccomp.json" 22:21:04 } [Pipeline] sh 22:21:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:21:05 + sudo service docker restart 22:21:10 2f39f015ded8: Pull complete 22:21:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:10 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:21:10 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 22:21:16 $ docker top 676655b21b1fcec190be48583e9d2759505fdc2897376f5a98033cc4fb215325 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> job-cost.sh 22:21:17 lf-activate-venv: SKIPPING 22:21:17 INFO: No Stack... 22:21:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:17 INFO: Archiving Costs [Pipeline] sh 22:21:18 + cat /w/workspace/edgexfoundry_device-uart_napa/archives/cost.csv 22:21:18 + cut -d, -f6 [Pipeline] lock 22:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] 22:21:18 Resource [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] did not exist. Created. 22:21:18 Lock acquired on [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:18 + echo total: 0.2199999988079071 [Pipeline] stash 22:21:18 Stashed 1 file(s) [Pipeline] } 22:21:18 Lock released on resource [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:18 $ docker stop --time=1 676655b21b1fcec190be48583e9d2759505fdc2897376f5a98033cc4fb215325 22:21:19 $ docker rm -f --volumes 676655b21b1fcec190be48583e9d2759505fdc2897376f5a98033cc4fb215325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 22:21:24 + git checkout d0925bfba9be57c91a88507a1350afd17db6efb3 22:21:24 HEAD is now at d0925bf ci(lts-release): LTS release v3.1.0 @dec02cb [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:24 provisioning config files... 22:21:24 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config898047872640767981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:25 ---> docker-login.sh 22:21:25 nexus3.edgexfoundry.org:10001 22:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:26 Configure a credential helper to remove this warning. See 22:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:26 22:21:26 Login Succeeded 22:21:26 nexus3.edgexfoundry.org:10002 22:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:26 Configure a credential helper to remove this warning. See 22:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:26 22:21:26 Login Succeeded 22:21:26 nexus3.edgexfoundry.org:10003 22:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:28 Configure a credential helper to remove this warning. See 22:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:28 22:21:28 Login Succeeded 22:21:28 nexus3.edgexfoundry.org:10004 22:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:28 Configure a credential helper to remove this warning. See 22:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:28 22:21:28 Login Succeeded 22:21:28 docker.io 22:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:28 Configure a credential helper to remove this warning. See 22:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:28 22:21:28 Login Succeeded 22:21:28 ---> docker-login.sh ends [Pipeline] } 22:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:29 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:21:29 + cut -d -f 2 22:21:29 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 22:21:29 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:21:29 ========================================================= 22:21:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:21:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:21:32 Sending build context to Docker daemon 38.36MB 22:21:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:21:32 Step 2/12 : FROM ${BASE} AS builder 22:21:32 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:21:32 9fda8d8052c6: Pulling fs layer 22:21:32 5d54e960e981: Pulling fs layer 22:21:32 c4a7e357bf2a: Pulling fs layer 22:21:32 f0e02332f6b5: Pulling fs layer 22:21:32 57b776a6bec4: Pulling fs layer 22:21:32 8b19151f9e34: Pulling fs layer 22:21:32 eb6a9f2d7ee3: Pulling fs layer 22:21:32 57b776a6bec4: Waiting 22:21:32 eb6a9f2d7ee3: Waiting 22:21:32 8b19151f9e34: Waiting 22:21:32 f0e02332f6b5: Waiting 22:21:33 5d54e960e981: Verifying Checksum 22:21:33 5d54e960e981: Download complete 22:21:33 f0e02332f6b5: Verifying Checksum 22:21:33 f0e02332f6b5: Download complete 22:21:33 57b776a6bec4: Verifying Checksum 22:21:33 57b776a6bec4: Download complete 22:21:33 9fda8d8052c6: Download complete 22:21:33 eb6a9f2d7ee3: Verifying Checksum 22:21:33 eb6a9f2d7ee3: Download complete 22:21:34 9fda8d8052c6: Pull complete 22:21:35 c4a7e357bf2a: Verifying Checksum 22:21:35 c4a7e357bf2a: Download complete 22:21:35 5d54e960e981: Pull complete 22:21:37 8b19151f9e34: Verifying Checksum 22:21:37 8b19151f9e34: Download complete 22:21:52 c4a7e357bf2a: Pull complete 22:21:52 f0e02332f6b5: Pull complete 22:21:52 57b776a6bec4: Pull complete 22:22:00 8b19151f9e34: Pull complete 22:22:02 eb6a9f2d7ee3: Pull complete 22:22:02 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:22:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:22:02 ---> ca1e05e92614 22:22:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:22:05 ---> Running in 458f0bbba031 22:22:05 Removing intermediate container 458f0bbba031 22:22:05 ---> a13a46dbebe5 22:22:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:22:05 ---> Running in 918640f38a60 22:22:06 Removing intermediate container 918640f38a60 22:22:06 ---> e8a0ba4153ae 22:22:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:22:06 ---> Running in 2e92044ba1d6 22:22:06 Removing intermediate container 2e92044ba1d6 22:22:06 ---> 486974d1e477 22:22:06 Step 6/12 : WORKDIR /device-uart 22:22:06 ---> Running in 580cec17a5b2 22:22:07 Removing intermediate container 580cec17a5b2 22:22:07 ---> 4164de363228 22:22:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:07 ---> Running in 7cf4df032f15 22:22:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:22:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:22:10 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:22:10 (2/4) Installing libedit (20221030.3.1-r1) 22:22:10 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:22:10 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:22:10 Executing busybox-1.36.1-r5.trigger 22:22:10 OK: 271 MiB in 56 packages 22:22:12 Removing intermediate container 7cf4df032f15 22:22:12 ---> 1b7be8f1e00c 22:22:12 Step 8/12 : COPY go.mod vendor* ./ 22:22:20 ---> d02b3b5b257d 22:22:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:20 ---> Running in c599b3220137 22:23:57 Removing intermediate container c599b3220137 22:23:57 ---> 93edf1f5fceb 22:23:57 Step 10/12 : COPY . . 22:23:57 ---> 50ecdc83219d 22:23:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:57 ---> Running in 2887acc6c0f4 22:23:57 Removing intermediate container 2887acc6c0f4 22:23:57 ---> 80148f4ad83f 22:23:57 Step 12/12 : RUN ${MAKE} 22:23:57 ---> Running in 45b3e5172140 22:23:57 noop 22:23:57 Removing intermediate container 45b3e5172140 22:23:57 ---> ebaf2dd66815 22:23:57 Successfully built ebaf2dd66815 22:23:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:57 + docker inspect -f . ci-base-image-arm64 22:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:57 prd-ubuntu20.04-docker-arm64-4c-16g-18203 does not seem to be running inside a container 22:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 22:23:59 $ docker top c8de4812f544884636de72e5f053dfb963e2a67541b0284a97725bae8c702f56 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:00 + go version 22:24:00 go version go1.21.0 linux/arm64 [Pipeline] } 22:24:00 $ docker stop --time=1 c8de4812f544884636de72e5f053dfb963e2a67541b0284a97725bae8c702f56 22:24:02 $ docker rm -f --volumes c8de4812f544884636de72e5f053dfb963e2a67541b0284a97725bae8c702f56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:03 + docker inspect -f . ci-base-image-arm64 22:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:03 prd-ubuntu20.04-docker-arm64-4c-16g-18203 does not seem to be running inside a container 22:24:03 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 22:24:04 $ docker top 12794086fa01f05f0b42ac7fba3cb2459f251c6e783ced05c5e077b13f94691b -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:05 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 22:24:06 + make test 22:24:06 go test ./... -coverprofile=coverage.out 22:24:09 ? github.com/edgexfoundry/device-uart [no test files] 22:27:01 ? github.com/edgexfoundry/device-uart/cmd [no test files] 22:27:01 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 22:27:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:27:01 go vet ./... 22:27:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:23 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:23 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:27:24 + go mod tidy [Pipeline] } 22:27:28 $ docker stop --time=1 12794086fa01f05f0b42ac7fba3cb2459f251c6e783ced05c5e077b13f94691b 22:27:31 $ docker rm -f --volumes 12794086fa01f05f0b42ac7fba3cb2459f251c6e783ced05c5e077b13f94691b [Pipeline] // withDockerContainer [Pipeline] sh 22:27:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:32 Warning: overwriting stash ‘coverage-report’ 22:27:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:34 + ls -al . 22:27:34 total 156 22:27:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:24 . 22:27:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:20 .. 22:27:34 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:20 .dockerignore 22:27:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:21 .git 22:27:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:20 .github 22:27:34 -rw-rw-r-- 1 jenkins jenkins 335 Nov 15 22:20 .gitignore 22:27:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:20 .golangci.yml 22:27:34 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 15 22:20 Attribution.txt 22:27:34 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 15 22:20 CHANGELOG.md 22:27:34 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 15 22:20 Dockerfile 22:27:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:20 GOVERNANCE.md 22:27:34 -rw-rw-r-- 1 jenkins jenkins 675 Nov 15 22:20 Jenkinsfile 22:27:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:20 LICENSE 22:27:34 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 15 22:20 Makefile 22:27:34 -rw-rw-r-- 1 jenkins jenkins 617 Nov 15 22:20 OWNERS.md 22:27:34 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 15 22:20 README.md 22:27:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:27:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:20 bin 22:27:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:20 cmd 22:27:34 -rw-r--r-- 1 jenkins jenkins 10 Nov 15 22:24 coverage.out 22:27:34 -rw-rw-r-- 1 jenkins jenkins 3674 Nov 15 22:20 go.mod 22:27:34 -rw-rw-r-- 1 jenkins jenkins 35219 Nov 15 22:20 go.sum 22:27:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:20 internal 22:27:34 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:20 vendor 22:27:34 -rw-rw-r-- 1 jenkins jenkins 209 Nov 15 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:35 + 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=d0925bfba9be57c91a88507a1350afd17db6efb3 --label arch=arm64 --label version=3.1.0 . 22:27:37 Sending build context to Docker daemon 38.37MB 22:27:37 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:27:37 Step 2/26 : FROM ${BASE} AS builder 22:27:37 ---> ebaf2dd66815 22:27:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:27:38 ---> Running in 41efb3864258 22:27:38 Removing intermediate container 41efb3864258 22:27:38 ---> 6e0840ba6b97 22:27:38 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:27:38 ---> Running in 05ebe41ea74e 22:27:38 Removing intermediate container 05ebe41ea74e 22:27:38 ---> 31a3e3ba4f98 22:27:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:27:39 ---> Running in 884630c836e9 22:27:39 Removing intermediate container 884630c836e9 22:27:39 ---> 77379f6b3b00 22:27:39 Step 6/26 : WORKDIR /device-uart 22:27:39 ---> Running in 27467b8d2803 22:27:40 Removing intermediate container 27467b8d2803 22:27:40 ---> e3bb75b400af 22:27:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:40 ---> Running in def6abfce51d 22:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:27:43 OK: 271 MiB in 56 packages 22:27:44 Removing intermediate container def6abfce51d 22:27:44 ---> f7881ca2a1f4 22:27:44 Step 8/26 : COPY go.mod vendor* ./ 22:27:54 ---> 0a8818d3ebe7 22:27:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:54 ---> Running in 2d73e116fb2b 22:27:54 skipping... 22:27:54 Removing intermediate container 2d73e116fb2b 22:27:54 ---> 2a7db93a81b8 22:27:54 Step 10/26 : COPY . . 22:28:02 ---> bba710b1dba7 22:28:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:28:02 ---> Running in a1ab9e70ff9b 22:28:02 Removing intermediate container a1ab9e70ff9b 22:28:02 ---> 0cb5fc4caa02 22:28:02 Step 12/26 : RUN ${MAKE} 22:28:02 ---> Running in da813bcc6b31 22:28:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 22:30:26 Removing intermediate container da813bcc6b31 22:30:26 ---> 75ef7bcd888f 22:30:26 Step 13/26 : FROM alpine:3.18 22:30:26 3.18: Pulling from library/alpine 22:30:26 579b34f0a95b: Pulling fs layer 22:30:26 579b34f0a95b: Verifying Checksum 22:30:26 579b34f0a95b: Download complete 22:30:26 579b34f0a95b: Pull complete 22:30:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:30:26 Status: Downloaded newer image for alpine:3.18 22:30:26 ---> 3cc203321400 22:30:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:30:26 ---> Running in 4358781d76f7 22:30:26 Removing intermediate container 4358781d76f7 22:30:26 ---> cfa8179f9740 22:30:26 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:30:26 ---> Running in 7c11ccf5ebda 22:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:30:26 (1/1) Installing dumb-init (1.2.5-r2) 22:30:26 Executing busybox-1.36.1-r2.trigger 22:30:26 OK: 8 MiB in 16 packages 22:30:26 Removing intermediate container 7c11ccf5ebda 22:30:26 ---> b9c312f074fc 22:30:26 Step 16/26 : RUN apk --no-cache upgrade 22:30:26 ---> Running in 2f82f742c1d3 22:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:30:26 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:30:26 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:30:26 Executing busybox-1.36.1-r5.post-upgrade 22:30:26 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:30:26 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:30:26 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:30:26 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:30:26 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:30:26 Executing busybox-1.36.1-r5.trigger 22:30:26 OK: 8 MiB in 16 packages 22:30:26 Removing intermediate container 2f82f742c1d3 22:30:26 ---> 41e8713bbdd2 22:30:26 Step 17/26 : WORKDIR / 22:30:26 ---> Running in bb5db6885689 22:30:26 Removing intermediate container bb5db6885689 22:30:26 ---> 7ed487e7b41b 22:30:26 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 22:30:27 ---> 5d0625ba8259 22:30:27 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 22:30:28 ---> e977e04b7927 22:30:28 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 22:30:29 ---> c379d953dd59 22:30:29 Step 21/26 : EXPOSE 59995 22:30:29 ---> Running in c240061540ba 22:30:29 Removing intermediate container c240061540ba 22:30:29 ---> cb477bd095f6 22:30:29 Step 22/26 : ENTRYPOINT ["/device-uart"] 22:30:29 ---> Running in d2ecd255c50c 22:30:30 Removing intermediate container d2ecd255c50c 22:30:30 ---> 505651bb60c1 22:30:30 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:30:30 ---> Running in ca5e77c7e8a9 22:30:30 Removing intermediate container ca5e77c7e8a9 22:30:30 ---> 99a95a17f1b2 22:30:30 Step 24/26 : LABEL arch=arm64 22:30:30 ---> Running in e8775c74c8c7 22:30:31 Removing intermediate container e8775c74c8c7 22:30:31 ---> 6bdce79f378d 22:30:31 Step 25/26 : LABEL git_sha=d0925bfba9be57c91a88507a1350afd17db6efb3 22:30:31 ---> Running in 77bc1fbf4229 22:30:31 Removing intermediate container 77bc1fbf4229 22:30:31 ---> 0b4793f9d347 22:30:31 Step 26/26 : LABEL version=3.1.0 22:30:31 ---> Running in 2a9787bd27b4 22:30:31 Removing intermediate container 2a9787bd27b4 22:30:31 ---> c7ecee57e946 22:30:31 [Warning] One or more build-args [ARCH] were not consumed 22:30:32 Successfully built c7ecee57e946 22:30:32 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:32 provisioning config files... 22:30:32 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config6937830143982846094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:33 ---> docker-login.sh 22:30:33 nexus3.edgexfoundry.org:10001 22:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:33 Configure a credential helper to remove this warning. See 22:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:33 22:30:33 Login Succeeded 22:30:33 nexus3.edgexfoundry.org:10002 22:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:33 Configure a credential helper to remove this warning. See 22:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:33 22:30:33 Login Succeeded 22:30:33 nexus3.edgexfoundry.org:10003 22:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:34 Configure a credential helper to remove this warning. See 22:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:34 22:30:34 Login Succeeded 22:30:34 nexus3.edgexfoundry.org:10004 22:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:34 Configure a credential helper to remove this warning. See 22:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:34 22:30:34 Login Succeeded 22:30:34 docker.io 22:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:34 Configure a credential helper to remove this warning. See 22:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:34 22:30:34 Login Succeeded 22:30:34 ---> docker-login.sh ends [Pipeline] } 22:30:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:34 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:30:34 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 22:30:34 d0925bfba9be57c91a88507a1350afd17db6efb3 22:30:34 3.1.0 22:30:34 d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:30:34 napa 22:30:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:35 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:35 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3 22:30:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:30:35 4d65608ae7f8: Preparing 22:30:35 57a9427db565: Preparing 22:30:35 5372e18e5cca: Preparing 22:30:35 e7bdeec819f1: Preparing 22:30:35 41d13a234d5f: Preparing 22:30:35 5f4d9fc4d98d: Preparing 22:30:35 5f4d9fc4d98d: Waiting 22:30:35 5372e18e5cca: Pushed 22:30:35 57a9427db565: Pushed 22:30:35 41d13a234d5f: Pushed 22:30:35 5f4d9fc4d98d: Layer already exists 22:30:37 e7bdeec819f1: Pushed 22:30:41 4d65608ae7f8: Pushed 22:30:41 d0925bfba9be57c91a88507a1350afd17db6efb3: digest: sha256:52d61542033f0aa46a7a07b71ee0979a47067d04f7710cc447255f55dd0db4e3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:41 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:42 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.0 22:30:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:30:42 4d65608ae7f8: Preparing 22:30:42 57a9427db565: Preparing 22:30:42 5372e18e5cca: Preparing 22:30:42 e7bdeec819f1: Preparing 22:30:42 41d13a234d5f: Preparing 22:30:42 5f4d9fc4d98d: Preparing 22:30:42 5f4d9fc4d98d: Waiting 22:30:42 e7bdeec819f1: Layer already exists 22:30:42 41d13a234d5f: Layer already exists 22:30:42 5372e18e5cca: Layer already exists 22:30:42 4d65608ae7f8: Layer already exists 22:30:42 57a9427db565: Layer already exists 22:30:42 5f4d9fc4d98d: Layer already exists 22:30:42 3.1.0: digest: sha256:52d61542033f0aa46a7a07b71ee0979a47067d04f7710cc447255f55dd0db4e3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:42 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:43 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:30:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:30:43 4d65608ae7f8: Preparing 22:30:43 57a9427db565: Preparing 22:30:43 5372e18e5cca: Preparing 22:30:43 e7bdeec819f1: Preparing 22:30:43 41d13a234d5f: Preparing 22:30:43 5f4d9fc4d98d: Preparing 22:30:43 5f4d9fc4d98d: Waiting 22:30:43 41d13a234d5f: Layer already exists 22:30:43 4d65608ae7f8: Layer already exists 22:30:43 5372e18e5cca: Layer already exists 22:30:43 57a9427db565: Layer already exists 22:30:43 e7bdeec819f1: Layer already exists 22:30:43 5f4d9fc4d98d: Layer already exists 22:30:43 d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0: digest: sha256:52d61542033f0aa46a7a07b71ee0979a47067d04f7710cc447255f55dd0db4e3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:43 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:44 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:napa 22:30:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:30:44 4d65608ae7f8: Preparing 22:30:44 57a9427db565: Preparing 22:30:44 5372e18e5cca: Preparing 22:30:44 e7bdeec819f1: Preparing 22:30:44 41d13a234d5f: Preparing 22:30:44 5f4d9fc4d98d: Preparing 22:30:44 5f4d9fc4d98d: Waiting 22:30:44 41d13a234d5f: Layer already exists 22:30:44 5372e18e5cca: Layer already exists 22:30:44 57a9427db565: Layer already exists 22:30:44 e7bdeec819f1: Layer already exists 22:30:44 4d65608ae7f8: Layer already exists 22:30:44 5f4d9fc4d98d: Layer already exists 22:30:44 napa: digest: sha256:52d61542033f0aa46a7a07b71ee0979a47067d04f7710cc447255f55dd0db4e3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:44 ===================================================== [Pipeline] echo 22:30:44 taggedImages: 22:30:44 - nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3 22:30:44 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.0 22:30:44 - nexus3.edgexfoundry.org:10004/device-uart-arm64:d0925bfba9be57c91a88507a1350afd17db6efb3-3.1.0 22:30:44 - nexus3.edgexfoundry.org:10004/device-uart-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:45 22:30:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:45 arm64: Pulling from edgex-lftools-log-publisher 22:30:45 8998bd30e6a1: Pulling fs layer 22:30:45 04944245beec: Pulling fs layer 22:30:45 699f458cf7ca: Pulling fs layer 22:30:45 765212b225bb: Pulling fs layer 22:30:45 f23df028b6ca: Pulling fs layer 22:30:45 d65c8cfc05b1: Pulling fs layer 22:30:45 2437ff75d9bd: Pulling fs layer 22:30:45 f23df028b6ca: Waiting 22:30:45 d65c8cfc05b1: Waiting 22:30:45 2437ff75d9bd: Waiting 22:30:45 765212b225bb: Waiting 22:30:45 04944245beec: Verifying Checksum 22:30:45 04944245beec: Download complete 22:30:45 765212b225bb: Download complete 22:30:45 f23df028b6ca: Verifying Checksum 22:30:45 f23df028b6ca: Download complete 22:30:45 d65c8cfc05b1: Verifying Checksum 22:30:45 d65c8cfc05b1: Download complete 22:30:45 699f458cf7ca: Verifying Checksum 22:30:45 699f458cf7ca: Download complete 22:30:46 8998bd30e6a1: Verifying Checksum 22:30:46 8998bd30e6a1: Download complete 22:30:50 2437ff75d9bd: Verifying Checksum 22:30:50 2437ff75d9bd: Download complete 22:30:50 8998bd30e6a1: Pull complete 22:30:51 04944245beec: Pull complete 22:30:53 699f458cf7ca: Pull complete 22:30:53 765212b225bb: Pull complete 22:30:54 f23df028b6ca: Pull complete 22:30:54 d65c8cfc05b1: Pull complete 22:31:12 2437ff75d9bd: Pull complete 22:31:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:13 prd-ubuntu20.04-docker-arm64-4c-16g-18203 does not seem to be running inside a container 22:31:13 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 22:31:16 $ docker top 20ce51ce8f359cb5991f8051971463c05d4f900364fd10e99529a556319362c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:17 ---> job-cost.sh 22:31:17 lf-activate-venv: SKIPPING 22:31:17 INFO: No Stack... 22:31:18 INFO: Retrieving Pricing Info for: v3-standard-4 22:31:18 INFO: Archiving Costs [Pipeline] sh 22:31:19 + cat /w/workspace/device-uart/2/archives/cost.csv 22:31:19 + cut -d, -f6 [Pipeline] lock 22:31:19 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] 22:31:19 Resource [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] did not exist. Created. 22:31:19 Lock acquired on [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:20 /w/workspace/device-uart/2@tmp/durable-c8e1bfb8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:31:20 + echo total: 0.10999999940395355 [Pipeline] stash 22:31:20 Warning: overwriting stash ‘stack-cost’ 22:31:21 Stashed 1 file(s) [Pipeline] } 22:31:21 Lock released on resource [jenkins-edgexfoundry-device-uart-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:21 $ docker stop --time=1 20ce51ce8f359cb5991f8051971463c05d4f900364fd10e99529a556319362c2 22:31:22 $ docker rm -f --volumes 20ce51ce8f359cb5991f8051971463c05d4f900364fd10e99529a556319362c2 [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 22:31:23 provisioning config files... 22:31:23 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config3896381132983546202tmp [Pipeline] { [Pipeline] sh 22:31:23 + set +x 22:31:23 + + bashcurl -s -s -- https://codecov.io/bash 22:31:23 22:31:23 22:31:23 _____ _ 22:31:23 / ____| | | 22:31:23 | | ___ __| | ___ ___ _____ __ 22:31:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:31:23 | |___| (_) | (_| | __/ (_| (_) \ V / 22:31:23 \_____\___/ \__,_|\___|\___\___/ \_/ 22:31:23 Bash-1.0.6 22:31:23 22:31:23 22:31:23 ==> git version 2.25.1 found 22:31:23 ==> 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 22:31:23 Release-Date: 2020-01-08 22:31:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:31:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:31:23 ==> Jenkins CI detected. 22:31:23 current dir:  /w/workspace/edgexfoundry_device-uart_napa 22:31:23 project root: . 22:31:23 --> token set from env 22:31:23 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:31:23 ==> Running gcov in . (disable via -X gcov) 22:31:23 ==> Python coveragepy not found 22:31:23 ==> Searching for coverage reports in: 22:31:23 + . 22:31:23 -> Found 1 reports 22:31:23 ==> Detecting git/mercurial file structure 22:31:23 ==> Reading reports 22:31:23 + ./coverage.out bytes=10 22:31:23 ==> Appending adjustments 22:31:23 https://docs.codecov.io/docs/fixing-reports 22:31:23 + Found adjustments 22:31:23 ==> Gzipping contents 22:31:23 12K /tmp/codecov.SPpOIx.gz 22:31:23 ==> Uploading reports 22:31:23 url: https://codecov.io 22:31:23 query: branch=napa&commit=d0925bfba9be57c91a88507a1350afd17db6efb3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:23 -> Pinging Codecov 22:31:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=napa&commit=d0925bfba9be57c91a88507a1350afd17db6efb3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:24 -> Uploading to 22:31:24 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/B9AA6E0BBD74AE3A32605C7A7C664919/d0925bfba9be57c91a88507a1350afd17db6efb3/7ceb54b9-ea84-40a1-89df-56e2170e9354.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T223123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75d0e22f5f5a663d56d495cf3b27f49f824f88fb5cf3eeaa9a24bdd41947fd3a 22:31:24 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:24 Dload Upload Total Spent Left Speed 22:31:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11948 0 0 100 11948 0 44416 --:--:-- --:--:-- --:--:-- 44416 22:31:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] } 22:31:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:31:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:31:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:24 22:31:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:31:25 df9b9388f04a: Pulling fs layer 22:31:25 52dc419b0ee2: Pulling fs layer 22:31:25 25bc292e5bac: Pulling fs layer 22:31:25 114826534d7a: Pulling fs layer 22:31:25 4657fd5d0bcf: Pulling fs layer 22:31:25 6ad1cebc031e: Pulling fs layer 22:31:25 8a3aa393b2d8: Pulling fs layer 22:31:25 4657fd5d0bcf: Waiting 22:31:25 114826534d7a: Waiting 22:31:25 6ad1cebc031e: Waiting 22:31:25 8a3aa393b2d8: Waiting 22:31:25 25bc292e5bac: Download complete 22:31:25 52dc419b0ee2: Verifying Checksum 22:31:25 52dc419b0ee2: Download complete 22:31:25 4657fd5d0bcf: Download complete 22:31:25 df9b9388f04a: Download complete 22:31:25 6ad1cebc031e: Verifying Checksum 22:31:25 6ad1cebc031e: Download complete 22:31:25 df9b9388f04a: Pull complete 22:31:25 52dc419b0ee2: Pull complete 22:31:25 25bc292e5bac: Pull complete 22:31:25 114826534d7a: Verifying Checksum 22:31:25 114826534d7a: Download complete 22:31:25 8a3aa393b2d8: Verifying Checksum 22:31:25 8a3aa393b2d8: Download complete 22:31:30 114826534d7a: Pull complete 22:31:30 4657fd5d0bcf: Pull complete 22:31:31 6ad1cebc031e: Pull complete 22:31:34 8a3aa393b2d8: Pull complete 22:31:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:34 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:31:34 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:31:39 $ docker top 358dea4b22c04a900be957195f18cc9c9e70eca693bdb7f3853e21a2ac33a1ce -eo pid,comm [Pipeline] { [Pipeline] echo 22:31:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:napa' [Pipeline] sh 22:31:39 + set -o pipefail 22:31:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:napa' 22:31:42 22:31:42 Monitoring /w/workspace/edgexfoundry_device-uart_napa (github.com/edgexfoundry/device-uart)... 22:31:42 22:31:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c02e800c-fc3e-4757-864c-aea7bb26e331/history/cf7741ac-52d6-47e6-9f2b-24c1a90b643e 22:31:42 22:31:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:31:42 22:31:42 22:31:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:31:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:31:42 More details here: https://snyk.co/ue1NS [Pipeline] } 22:31:42 $ docker stop --time=1 358dea4b22c04a900be957195f18cc9c9e70eca693bdb7f3853e21a2ac33a1ce 22:31:44 $ docker rm -f --volumes 358dea4b22c04a900be957195f18cc9c9e70eca693bdb7f3853e21a2ac33a1ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:44 + git log --format=format:%s -1 d0925bfba9be57c91a88507a1350afd17db6efb3 [Pipeline] sh 22:31:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:45 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:31:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:31:45 $ docker top 0aa39f8d33e263d8735a89fcd70c37b1ccc1207efe2bffa6a4b13c5ee75dc28b -eo pid,comm 22:31:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:31:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:31:45 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:45 + git semver [Pipeline] } 22:31:46 $ docker stop --time=1 0aa39f8d33e263d8735a89fcd70c37b1ccc1207efe2bffa6a4b13c5ee75dc28b 22:31:47 $ docker rm -f --volumes 0aa39f8d33e263d8735a89fcd70c37b1ccc1207efe2bffa6a4b13c5ee75dc28b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:47 22:31:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:48 0.23.1-centos7: Pulling from edgex-lftools 22:31:48 ab5ef0e58194: Pulling fs layer 22:31:48 9712f1f96733: Pulling fs layer 22:31:48 63f879dbbcfc: Pulling fs layer 22:31:48 0d9ebad4ef96: Pulling fs layer 22:31:48 e9a5061849ea: Pulling fs layer 22:31:48 d747dcd14b5f: Pulling fs layer 22:31:48 2de7ff778b66: Pulling fs layer 22:31:48 d747dcd14b5f: Waiting 22:31:48 0d9ebad4ef96: Waiting 22:31:48 e9a5061849ea: Waiting 22:31:48 2de7ff778b66: Waiting 22:31:48 9712f1f96733: Verifying Checksum 22:31:48 9712f1f96733: Download complete 22:31:48 63f879dbbcfc: Verifying Checksum 22:31:48 63f879dbbcfc: Download complete 22:31:48 e9a5061849ea: Verifying Checksum 22:31:48 e9a5061849ea: Download complete 22:31:48 0d9ebad4ef96: Verifying Checksum 22:31:48 0d9ebad4ef96: Download complete 22:31:48 d747dcd14b5f: Download complete 22:31:48 ab5ef0e58194: Verifying Checksum 22:31:48 ab5ef0e58194: Download complete 22:31:48 2de7ff778b66: Verifying Checksum 22:31:48 2de7ff778b66: Download complete 22:31:52 ab5ef0e58194: Pull complete 22:31:52 9712f1f96733: Pull complete 22:31:52 63f879dbbcfc: Pull complete 22:31:56 0d9ebad4ef96: Pull complete 22:31:56 e9a5061849ea: Pull complete 22:31:57 d747dcd14b5f: Pull complete 22:31:58 2de7ff778b66: Pull complete 22:31:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:58 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:31:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:32:06 $ docker top 139c5cd815d7059d0b2f4c76b45671a9f9e126cb4fbd6f8305f52bcade300470 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:32:06 provisioning config files... 22:32:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config1266783665403124191tmp 22:32:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config2999573485555432624tmp 22:32:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config7769473035659543371tmp [Pipeline] { [Pipeline] echo 22:32:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:32:07 ---> sigul-configuration.sh 22:32:07 gpg: directory `/root/.gnupg' created 22:32:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:32:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:32:07 gpg: keyring `/root/.gnupg/secring.gpg' created 22:32:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:32:07 gpg: CAST5 encrypted data 22:32:07 gpg: encrypted with 1 passphrase 22:32:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:32:07 + mkdir /home/jenkins 22:32:07 + mkdir /home/jenkins/sigul [Pipeline] sh 22:32:07 + 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 22:32:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:32:08 ---> sigul-install.sh 22:32:08 Sigul already installed; skipping installation. [Pipeline] sh 22:32:08 + git tag --list 22:32:08 v0.0.0 22:32:08 v0.0.1-dev.1 22:32:08 v0.0.1-dev.2 22:32:08 v0.0.1-dev.3 22:32:08 v0.0.1-dev.4 22:32:08 v3.0.0 22:32:08 v3.0.1-dev.1 22:32:08 v3.0.1-dev.10 22:32:08 v3.0.1-dev.11 22:32:08 v3.0.1-dev.12 22:32:08 v3.0.1-dev.2 22:32:08 v3.0.1-dev.3 22:32:08 v3.0.1-dev.4 22:32:08 v3.0.1-dev.5 22:32:08 v3.0.1-dev.6 22:32:08 v3.0.1-dev.7 22:32:08 v3.0.1-dev.8 22:32:08 v3.0.1-dev.9 22:32:08 v3.1.0 [Pipeline] sh 22:32:08 + lftools sign git-tag v3.1.0 22:32:09 Signing Git tag with Sigul... 22:32:09 Signing v3.1.0 [Pipeline] echo 22:32:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:32:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:32:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:32:10 $ docker stop --time=1 139c5cd815d7059d0b2f4c76b45671a9f9e126cb4fbd6f8305f52bcade300470 22:32:12 $ docker rm -f --volumes 139c5cd815d7059d0b2f4c76b45671a9f9e126cb4fbd6f8305f52bcade300470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:32:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:13 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:32:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:32:14 $ docker top 654cbf398db1f74742b57bbb68f47fdf10bc299e490e2843df54e1bfb07f135b -eo pid,comm 22:32:14 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). 22:32:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:14 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:14 + git semver [Pipeline] } 22:32:15 $ docker stop --time=1 654cbf398db1f74742b57bbb68f47fdf10bc299e490e2843df54e1bfb07f135b 22:32:16 $ docker rm -f --volumes 654cbf398db1f74742b57bbb68f47fdf10bc299e490e2843df54e1bfb07f135b [Pipeline] // withDockerContainer [Pipeline] sh 22:32:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:17 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:32:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:32:17 $ docker top 092d796abe1cd398d61a9bfa0b4ff7bdefdaabd1d1527e329043cc46ad62cc95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:17 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:18 + git semver [Pipeline] } 22:32:18 $ docker stop --time=1 092d796abe1cd398d61a9bfa0b4ff7bdefdaabd1d1527e329043cc46ad62cc95 22:32:19 $ docker rm -f --volumes 092d796abe1cd398d61a9bfa0b4ff7bdefdaabd1d1527e329043cc46ad62cc95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:32:20 + [ -d /w/workspace/edgexfoundry_device-uart_napa/archives ] 22:32:20 + ls -al /w/workspace/edgexfoundry_device-uart_napa/archives 22:32:20 total 16 22:32:20 drwxr-xr-x 3 root root 4096 Nov 15 22:21 . 22:32:20 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:32 .. 22:32:20 drwxr-xr-x 2 root root 4096 Nov 15 22:21 cost 22:32:20 -rw-r--r-- 1 root root 81 Nov 15 22:21 cost.csv 22:32:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_napa/archives 22:32:20 + ls -al /w/workspace/edgexfoundry_device-uart_napa/archives 22:32:20 total 16 22:32:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:21 . 22:32:20 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:32 .. 22:32:20 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:21 cost 22:32:20 -rw-r--r-- 1 jenkins jenkins 81 Nov 15 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:32:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:32:21 ---> package-listing.sh 22:32:21 ++ facter osfamily 22:32:21 ++ tr '[:upper:]' '[:lower:]' 22:32:21 + OS_FAMILY=debian 22:32:21 + workspace=/w/workspace/edgexfoundry_device-uart_napa 22:32:21 + START_PACKAGES=/tmp/packages_start.txt 22:32:21 + END_PACKAGES=/tmp/packages_end.txt 22:32:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:32:21 + PACKAGES=/tmp/packages_start.txt 22:32:21 + '[' /w/workspace/edgexfoundry_device-uart_napa ']' 22:32:21 + PACKAGES=/tmp/packages_end.txt 22:32:21 + case "${OS_FAMILY}" in 22:32:21 + dpkg -l 22:32:21 + grep '^ii' 22:32:21 + '[' -f /tmp/packages_start.txt ']' 22:32:21 + '[' -f /tmp/packages_end.txt ']' 22:32:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:32:21 + '[' /w/workspace/edgexfoundry_device-uart_napa ']' 22:32:21 + mkdir -p /w/workspace/edgexfoundry_device-uart_napa/archives/ 22:32:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_napa/archives/ [Pipeline] echo 22:32:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:32:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:22 prd-ubuntu20.04-docker-8c-8g-18187 does not seem to be running inside a container 22:32:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_napa/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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:32:22 $ docker top d94b9d5e6c61389ff43d473bf5b1337fb5175ff5c916e05bd3f47eadf11b04e2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:23 + touch /tmp/pre-build-complete [Pipeline] sh 22:32:23 + mkdir -p /var/log/sysstat [Pipeline] sh 22:32:23 + ls /var/log/sa-host 22:32:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:23 provisioning config files... 22:32:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config923622758805017445tmp [Pipeline] { [Pipeline] echo 22:32:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:32:23 ---> create-netrc.sh [Pipeline] } 22:32:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:32:24 ---> python-tools-install.sh [Pipeline] echo 22:32:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:32:24 ---> sudo-logs.sh 22:32:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:32:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:32:24 ---> job-cost.sh 22:32:24 lf-activate-venv: SKIPPING 22:32:24 DEBUG: total: 0.2199999988079071 22:32:24 INFO: Retrieving Stack Cost... 22:32:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:32:25 INFO: Archiving Costs [Pipeline] echo 22:32:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:32:26 ---> logs-deploy.sh 22:32:26 lf-activate-venv: SKIPPING 22:32:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/napa/2 22:32:26 INFO: archiving workspace using pattern(s): 22:32:26 Archives upload complete. 22:32:26 INFO: archiving logs to Nexus