Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dec02cb029fa6ce79400670f54c9fa46c31fe080 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-ssh11873513612010176561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4264916691419267465.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10041746006442289639.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh14165123593814230461.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12113085045816934451.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-17248’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17541’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17565 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dec02cb029fa6ce79400670f54c9fa46c31fe080 (main) Commit message: "Merge pull request #34 from lenny-intel/cve" > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 > git rev-list --no-walk 1a01da418f6c0eeb546af65ccbff94987839aa03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:51:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:51:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:51:52 ========================================================= 21:51:52 EdgeX Global Pipelines Version Info 21:51:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:51:53 ------------------- 21:51:53 stable info: 21:51:53 ------------------- 21:51:53 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:51:53 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:51:53 Message: update stable to v1.0.257 21:51:54 ------------------- 21:51:54 experimental info: 21:51:54 ------------------- 21:51:54 Commited By: **** collab-it+edgex@linuxfoundation.org 21:51:54 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:51:54 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dec02cb [Pipeline] echo 21:51:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:54 provisioning config files... 21:51:54 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7382415724472357434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:55 ---> docker-login.sh 21:51:55 nexus3.edgexfoundry.org:10001 21:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:55 Configure a credential helper to remove this warning. See 21:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:55 21:51:55 Login Succeeded 21:51:55 nexus3.edgexfoundry.org:10002 21:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:55 Configure a credential helper to remove this warning. See 21:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:55 21:51:55 Login Succeeded 21:51:55 nexus3.edgexfoundry.org:10003 21:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:55 Configure a credential helper to remove this warning. See 21:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:55 21:51:55 Login Succeeded 21:51:55 nexus3.edgexfoundry.org:10004 21:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:55 Configure a credential helper to remove this warning. See 21:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:55 21:51:55 Login Succeeded 21:51:55 docker.io 21:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:56 Configure a credential helper to remove this warning. See 21:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:56 21:51:56 Login Succeeded 21:51:56 ---> docker-login.sh ends [Pipeline] } 21:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:56 + git rev-list -1 --merges dec02cb029fa6ce79400670f54c9fa46c31fe080~1..dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] echo 21:51:56 -----------> git rev-list -1 --merges dec02cb029fa6ce79400670f54c9fa46c31fe080~1..dec02cb029fa6ce79400670f54c9fa46c31fe080 dec02cb029fa6ce79400670f54c9fa46c31fe080 21:51:56 dec02cb029fa6ce79400670f54c9fa46c31fe080 [false] [Pipeline] sh 21:51:56 + git log --format=format:%s -1 dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] echo 21:51:56 ========================================================= 21:51:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:57 + git log --format=format:%s -1 dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] echo 21:51:57 [semverPrep] GIT_COMMIT: dec02cb029fa6ce79400670f54c9fa46c31fe080, Commit Message: Merge pull request #34 from lenny-intel/cve [Pipeline] echo 21:51:57 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:57 + grep -v github /etc/ssh/ssh_known_hosts 21:51:57 + [ -e /tmp/ssh_known_hosts ] 21:51:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:57 + sudo tee -a /etc/ssh/ssh_known_hosts 21:51:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:57 21:51:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:58 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:58 b85a868b505f: Pulling fs layer 21:51:58 e2be974225ed: Pulling fs layer 21:51:58 339a4e72a1f5: Pulling fs layer 21:51:58 988bab9f4d93: Pulling fs layer 21:51:58 1469e6f7b9e6: Pulling fs layer 21:51:58 eaf3925da568: Pulling fs layer 21:51:58 bab4dde63d76: Pulling fs layer 21:51:58 bde34c3a00c8: Pulling fs layer 21:51:58 b352a97aabf1: Pulling fs layer 21:51:58 4872d77fe225: Pulling fs layer 21:51:58 5851b861e8e6: Pulling fs layer 21:51:58 bab4dde63d76: Waiting 21:51:58 bde34c3a00c8: Waiting 21:51:58 b352a97aabf1: Waiting 21:51:58 4872d77fe225: Waiting 21:51:58 eaf3925da568: Waiting 21:51:58 1469e6f7b9e6: Waiting 21:51:58 5851b861e8e6: Waiting 21:51:58 988bab9f4d93: Waiting 21:51:58 e2be974225ed: Download complete 21:51:58 988bab9f4d93: Verifying Checksum 21:51:58 988bab9f4d93: Download complete 21:51:58 1469e6f7b9e6: Verifying Checksum 21:51:58 1469e6f7b9e6: Download complete 21:51:58 eaf3925da568: Verifying Checksum 21:51:58 eaf3925da568: Download complete 21:51:58 339a4e72a1f5: Verifying Checksum 21:51:58 339a4e72a1f5: Download complete 21:51:58 bde34c3a00c8: Download complete 21:51:58 b352a97aabf1: Download complete 21:51:58 4872d77fe225: Download complete 21:51:58 b85a868b505f: Verifying Checksum 21:51:58 b85a868b505f: Download complete 21:51:58 5851b861e8e6: Verifying Checksum 21:51:58 5851b861e8e6: Download complete 21:51:58 bab4dde63d76: Verifying Checksum 21:51:58 bab4dde63d76: Download complete 21:51:59 b85a868b505f: Pull complete 21:51:59 e2be974225ed: Pull complete 21:52:00 339a4e72a1f5: Pull complete 21:52:00 988bab9f4d93: Pull complete 21:52:00 1469e6f7b9e6: Pull complete 21:52:00 eaf3925da568: Pull complete 21:52:01 bab4dde63d76: Pull complete 21:52:01 bde34c3a00c8: Pull complete 21:52:02 b352a97aabf1: Pull complete 21:52:02 4872d77fe225: Pull complete 21:52:02 5851b861e8e6: Pull complete 21:52:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:02 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 21:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:52:06 $ docker top 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 -eo pid,comm 21:52:06 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). 21:52:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:52:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:06 [ssh-agent] Looking for ssh-agent implementation... 21:52:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:06 $ docker exec 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 ssh-agent 21:52:06 SSH_AUTH_SOCK=/tmp/ssh-XnapwT5w6paa/agent.32 21:52:06 SSH_AGENT_PID=38 21:52:06 Running ssh-add (command line suppressed) 21:52:06 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11108040929688409528.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11108040929688409528.key) 21:52:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:07 + git tag --points-at HEAD [Pipeline] } 21:52:07 $ docker exec --env ******** --env ******** 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 ssh-agent -k 21:52:07 unset SSH_AUTH_SOCK; 21:52:07 unset SSH_AGENT_PID; 21:52:07 echo Agent pid 38 killed; 21:52:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:52:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:07 [ssh-agent] Looking for ssh-agent implementation... 21:52:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:07 $ docker exec 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 ssh-agent 21:52:07 SSH_AUTH_SOCK=/tmp/ssh-wSgPtlkK8XId/agent.70 21:52:07 SSH_AGENT_PID=76 21:52:07 Running ssh-add (command line suppressed) 21:52:07 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9966675865886406330.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9966675865886406330.key) 21:52:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:07 + git semver init 21:52:08 2023-11-14 21:52:08,015 [run_init] DEBUG init version:0.0.0 force:False 21:52:08 2023-11-14 21:52:08,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 21:52:08 2023-11-14 21:52:08,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 21:52:08 2023-11-14 21:52:08,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 21:52:09 2023-11-14 21:52:08,930 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 21:52:09 2023-11-14 21:52:08,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 21:52:09 2023-11-14 21:52:08,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 21:52:09 2023-11-14 21:52:08,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 21:52:09 3.0.1-dev.12 [Pipeline] } 21:52:09 $ docker exec --env ******** --env ******** 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 ssh-agent -k 21:52:09 unset SSH_AUTH_SOCK; 21:52:09 unset SSH_AGENT_PID; 21:52:09 echo Agent pid 76 killed; 21:52:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:52:09 + git semver [Pipeline] } 21:52:09 $ docker stop --time=1 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 21:52:11 $ docker rm -f --volumes 3f4679e7fda235599c4c1e4a56740f63109c026a97111f227218a7ba1cebad92 [Pipeline] // withDockerContainer [Pipeline] sh 21:52:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:52:11 Stashed 1 file(s) [Pipeline] echo 21:52:11 [edgeXSemver]: initialized semver on version 3.0.1-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:11 provisioning config files... 21:52:11 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8753862103124522701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:12 ---> docker-login.sh 21:52:12 nexus3.edgexfoundry.org:10001 21:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:12 Configure a credential helper to remove this warning. See 21:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:12 21:52:12 Login Succeeded 21:52:12 nexus3.edgexfoundry.org:10002 21:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:12 Configure a credential helper to remove this warning. See 21:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:12 21:52:12 Login Succeeded 21:52:12 nexus3.edgexfoundry.org:10003 21:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:12 Configure a credential helper to remove this warning. See 21:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:12 21:52:12 Login Succeeded 21:52:12 nexus3.edgexfoundry.org:10004 21:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:12 Configure a credential helper to remove this warning. See 21:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:12 21:52:12 Login Succeeded 21:52:12 docker.io 21:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:12 Configure a credential helper to remove this warning. See 21:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:12 21:52:12 Login Succeeded 21:52:12 ---> docker-login.sh ends [Pipeline] } 21:52:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:52:12 ========================================================= 21:52:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:52:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:52:12 Sending build context to Docker daemon 11.21MB 21:52:12 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:52:12 Step 2/12 : FROM ${BASE} AS builder 21:52:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:52:12 7264a8db6415: Pulling fs layer 21:52:12 c4d48a809fc2: Pulling fs layer 21:52:12 4f1c88b9dad5: Pulling fs layer 21:52:12 ad3a456e5733: Pulling fs layer 21:52:12 69c7f0334f64: Pulling fs layer 21:52:12 1f1c1a5573a3: Pulling fs layer 21:52:12 ce7588e14bc9: Pulling fs layer 21:52:12 b5e4710f87ac: Pulling fs layer 21:52:12 ad3a456e5733: Waiting 21:52:12 1f1c1a5573a3: Waiting 21:52:12 ce7588e14bc9: Waiting 21:52:12 69c7f0334f64: Waiting 21:52:12 b5e4710f87ac: Waiting 21:52:12 c4d48a809fc2: Download complete 21:52:12 ad3a456e5733: Verifying Checksum 21:52:12 ad3a456e5733: Download complete 21:52:12 69c7f0334f64: Verifying Checksum 21:52:12 69c7f0334f64: Download complete 21:52:13 7264a8db6415: Verifying Checksum 21:52:13 7264a8db6415: Download complete 21:52:13 1f1c1a5573a3: Verifying Checksum 21:52:13 1f1c1a5573a3: Download complete 21:52:13 7264a8db6415: Pull complete 21:52:13 b5e4710f87ac: Verifying Checksum 21:52:13 b5e4710f87ac: Download complete 21:52:13 c4d48a809fc2: Pull complete 21:52:13 4f1c88b9dad5: Verifying Checksum 21:52:13 4f1c88b9dad5: Download complete 21:52:14 ce7588e14bc9: Verifying Checksum 21:52:14 ce7588e14bc9: Download complete 21:52:16 4f1c88b9dad5: Pull complete 21:52:16 ad3a456e5733: Pull complete 21:52:16 69c7f0334f64: Pull complete 21:52:16 1f1c1a5573a3: Pull complete 21:52:18 ce7588e14bc9: Pull complete 21:52:19 b5e4710f87ac: Pull complete 21:52:19 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:52:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:52:19 ---> 88b5674ff536 21:52:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:52:26 Still waiting to schedule task 21:52:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:52:27 ---> Running in e13989b1feb2 21:52:27 Removing intermediate container e13989b1feb2 21:52:27 ---> f14602f25061 21:52:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:52:27 ---> Running in f4826f6c9140 21:52:27 Removing intermediate container f4826f6c9140 21:52:27 ---> 822f36246bc0 21:52:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:52:27 ---> Running in 479dd3f3fffb 21:52:27 Removing intermediate container 479dd3f3fffb 21:52:27 ---> de0d5226f6a6 21:52:27 Step 6/12 : WORKDIR /device-uart 21:52:27 ---> Running in f725f618731a 21:52:27 Removing intermediate container f725f618731a 21:52:27 ---> 1cc18231c406 21:52:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:27 ---> Running in a5b07ea46ae7 21:52:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:52:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:52:27 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:52:27 (2/4) Installing libedit (20221030.3.1-r1) 21:52:27 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:52:27 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:52:27 Executing busybox-1.36.1-r5.trigger 21:52:27 OK: 268 MiB in 56 packages 21:52:28 Removing intermediate container a5b07ea46ae7 21:52:28 ---> 547b4c60b38f 21:52:28 Step 8/12 : COPY go.mod vendor* ./ 21:52:28 ---> db6af768f9d4 21:52:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:28 ---> Running in 4c4f00097c89 21:53:14 Removing intermediate container 4c4f00097c89 21:53:14 ---> a3dfcdfc100c 21:53:14 Step 10/12 : COPY . . 21:53:14 ---> 138ae9d0ed03 21:53:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:14 ---> Running in 3f3c44751233 21:53:14 Removing intermediate container 3f3c44751233 21:53:14 ---> 077dc4303868 21:53:14 Step 12/12 : RUN ${MAKE} 21:53:14 ---> Running in dfa9f531e2d2 21:53:14 noop 21:53:14 Removing intermediate container dfa9f531e2d2 21:53:14 ---> e41c48457e27 21:53:14 Successfully built e41c48457e27 21:53:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:15 + docker inspect -f . ci-base-image-x86_64 21:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:15 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 21:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:15 $ docker top 7209fde4acfc974afe54262f297a73ff3a291c0c9400e8ebd1150728451e388c -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:15 + go version 21:53:15 go version go1.21.0 linux/amd64 [Pipeline] } 21:53:16 $ docker stop --time=1 7209fde4acfc974afe54262f297a73ff3a291c0c9400e8ebd1150728451e388c 21:53:17 $ docker rm -f --volumes 7209fde4acfc974afe54262f297a73ff3a291c0c9400e8ebd1150728451e388c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:17 + docker inspect -f . ci-base-image-x86_64 21:53:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:17 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 21:53:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:18 $ docker top c65ae080922be445f412c359a6ec23a411eeb21b152ffb90615cb6bda7fe0f33 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 21:53:18 + make test 21:53:18 go test ./... -coverprofile=coverage.out 21:53:20 ? github.com/edgexfoundry/device-uart [no test files] 21:53:30 ? github.com/edgexfoundry/device-uart/cmd [no test files] 21:53:30 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 21:53:34 go vet ./... 21:53:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:53:37 $ docker stop --time=1 c65ae080922be445f412c359a6ec23a411eeb21b152ffb90615cb6bda7fe0f33 21:53:40 $ docker rm -f --volumes c65ae080922be445f412c359a6ec23a411eeb21b152ffb90615cb6bda7fe0f33 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:53:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:42 + ls -al . 21:53:42 total 156 21:53:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 . 21:53:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:51 .. 21:53:42 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 21:51 .dockerignore 21:53:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 .git 21:53:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 .github 21:53:42 -rw-rw-r-- 1 jenkins jenkins 343 Nov 14 21:51 .gitignore 21:53:42 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:51 .golangci.yml 21:53:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:52 .semver 21:53:42 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 14 21:51 Attribution.txt 21:53:42 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 14 21:51 CHANGELOG.md 21:53:42 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 14 21:51 Dockerfile 21:53:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:51 GOVERNANCE.md 21:53:42 -rw-rw-r-- 1 jenkins jenkins 675 Nov 14 21:51 Jenkinsfile 21:53:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:51 LICENSE 21:53:42 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 14 21:51 Makefile 21:53:42 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 21:51 OWNERS.md 21:53:42 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 14 21:51 README.md 21:53:42 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:52 VERSION 21:53:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:51 bin 21:53:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 cmd 21:53:42 -rw-r--r-- 1 jenkins jenkins 10 Nov 14 21:53 coverage.out 21:53:42 -rw-rw-r-- 1 jenkins jenkins 3674 Nov 14 21:51 go.mod 21:53:42 -rw-rw-r-- 1 jenkins jenkins 35219 Nov 14 21:51 go.sum 21:53:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 internal 21:53:42 -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:42 + 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=dec02cb029fa6ce79400670f54c9fa46c31fe080 --label arch=amd64 --label version=3.0.1-dev.12 . 21:53:42 Sending build context to Docker daemon 11.21MB 21:53:42 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:53:42 Step 2/26 : FROM ${BASE} AS builder 21:53:42 ---> e41c48457e27 21:53:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:53:42 ---> Running in 2522db1a65d1 21:53:42 Removing intermediate container 2522db1a65d1 21:53:42 ---> 27fb436cbf39 21:53:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:53:42 ---> Running in 29a409bf3bc8 21:53:42 Removing intermediate container 29a409bf3bc8 21:53:42 ---> 755eb268fed4 21:53:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:53:43 ---> Running in e61c0e978588 21:53:43 Removing intermediate container e61c0e978588 21:53:43 ---> 420185cd0455 21:53:43 Step 6/26 : WORKDIR /device-uart 21:53:43 ---> Running in ee97c49e81b8 21:53:43 Removing intermediate container ee97c49e81b8 21:53:43 ---> 471e5a2faa1e 21:53:43 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:43 ---> Running in 7a19b75df7b9 21:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:53:43 OK: 268 MiB in 56 packages 21:53:44 Removing intermediate container 7a19b75df7b9 21:53:44 ---> 2144fd63ea18 21:53:44 Step 8/26 : COPY go.mod vendor* ./ 21:53:44 ---> 3dee2b0daff5 21:53:44 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:44 ---> Running in 0e42bc44a445 21:53:44 Removing intermediate container 0e42bc44a445 21:53:44 ---> 2bd1798eb5b2 21:53:44 Step 10/26 : COPY . . 21:53:45 ---> b199fc86ebe6 21:53:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:45 ---> Running in 722b246e2655 21:53:45 Removing intermediate container 722b246e2655 21:53:45 ---> 94e6f470ce12 21:53:45 Step 12/26 : RUN ${MAKE} 21:53:45 ---> Running in 3684a8972651 21:53:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 21:54:07 Removing intermediate container 3684a8972651 21:54:07 ---> cd4c810cb75c 21:54:07 Step 13/26 : FROM alpine:3.18 21:54:07 3.18: Pulling from library/alpine 21:54:07 96526aa774ef: Pulling fs layer 21:54:07 96526aa774ef: Verifying Checksum 21:54:07 96526aa774ef: Download complete 21:54:07 96526aa774ef: Pull complete 21:54:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:54:07 Status: Downloaded newer image for alpine:3.18 21:54:07 ---> 8ca4688f4f35 21:54:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:54:07 ---> Running in cab32616da76 21:54:07 Removing intermediate container cab32616da76 21:54:07 ---> cac1c98e80de 21:54:07 Step 15/26 : RUN apk add --update --no-cache dumb-init 21:54:07 ---> Running in 5c5c7c89cbf4 21:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:07 (1/1) Installing dumb-init (1.2.5-r2) 21:54:07 Executing busybox-1.36.1-r2.trigger 21:54:07 OK: 7 MiB in 16 packages 21:54:08 Removing intermediate container 5c5c7c89cbf4 21:54:08 ---> 15471cc2af3e 21:54:08 Step 16/26 : RUN apk --no-cache upgrade 21:54:08 ---> Running in fa5c014d7b05 21:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:08 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:54:08 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:54:08 Executing busybox-1.36.1-r5.post-upgrade 21:54:08 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:54:08 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:54:09 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:54:09 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:54:09 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:54:09 Executing busybox-1.36.1-r5.trigger 21:54:09 OK: 7 MiB in 16 packages 21:54:09 Removing intermediate container fa5c014d7b05 21:54:09 ---> a6559a99555c 21:54:09 Step 17/26 : WORKDIR / 21:54:09 ---> Running in caa3236a15a0 21:54:09 Removing intermediate container caa3236a15a0 21:54:09 ---> 1be11c608d19 21:54:09 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 21:54:09 ---> 079982a4369f 21:54:09 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 21:54:09 ---> 609d10d5958b 21:54:09 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 21:54:10 ---> 00136d56c5b0 21:54:10 Step 21/26 : EXPOSE 59995 21:54:10 ---> Running in 5de4aedcbc08 21:54:10 Removing intermediate container 5de4aedcbc08 21:54:10 ---> cb29baf417a8 21:54:10 Step 22/26 : ENTRYPOINT ["/device-uart"] 21:54:10 ---> Running in 7506aa2c76c5 21:54:10 Removing intermediate container 7506aa2c76c5 21:54:10 ---> 199ed1cc350a 21:54:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:54:10 ---> Running in 8d367ede533a 21:54:10 Removing intermediate container 8d367ede533a 21:54:10 ---> 59597dbd4905 21:54:10 Step 24/26 : LABEL arch=amd64 21:54:10 ---> Running in 412da6bc0ba0 21:54:11 Removing intermediate container 412da6bc0ba0 21:54:11 ---> d6e5495bb209 21:54:11 Step 25/26 : LABEL git_sha=dec02cb029fa6ce79400670f54c9fa46c31fe080 21:54:11 ---> Running in f044cb7a077d 21:54:11 Removing intermediate container f044cb7a077d 21:54:11 ---> c1ad1335c2e4 21:54:11 Step 26/26 : LABEL version=3.0.1-dev.12 21:54:11 ---> Running in c6db97820208 21:54:11 Removing intermediate container c6db97820208 21:54:11 ---> fb8d52952584 21:54:11 [Warning] One or more build-args [ARCH] were not consumed 21:54:11 Successfully built fb8d52952584 21:54:11 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:11 provisioning config files... 21:54:11 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6741521967551544548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:11 ---> docker-login.sh 21:54:11 nexus3.edgexfoundry.org:10001 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10002 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10003 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10004 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 docker.io 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 ---> docker-login.sh ends [Pipeline] } 21:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:54:12 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 21:54:12 dec02cb029fa6ce79400670f54c9fa46c31fe080 21:54:12 latest 21:54:12 3.0.1-dev.12 21:54:12 dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 21:54:12 main 21:54:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080 21:54:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 21:54:12 41616505f651: Preparing 21:54:12 988dac1e1f7d: Preparing 21:54:12 a79f7af06cfa: Preparing 21:54:12 223cb1f6c634: Preparing 21:54:12 9ca897116e6a: Preparing 21:54:12 cc2447e1835a: Preparing 21:54:12 cc2447e1835a: Waiting 21:54:12 988dac1e1f7d: Pushed 21:54:12 cc2447e1835a: Layer already exists 21:54:12 a79f7af06cfa: Pushed 21:54:12 9ca897116e6a: Pushed 21:54:13 223cb1f6c634: Pushed 21:54:15 41616505f651: Pushed 21:54:15 dec02cb029fa6ce79400670f54c9fa46c31fe080: digest: sha256:6e58237bfdc5c4e1d09e4b1b667a80c14d32edfdd779ee6976b301faa722bf3b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:15 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 21:54:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 21:54:16 41616505f651: Preparing 21:54:16 988dac1e1f7d: Preparing 21:54:16 a79f7af06cfa: Preparing 21:54:16 223cb1f6c634: Preparing 21:54:16 9ca897116e6a: Preparing 21:54:16 cc2447e1835a: Preparing 21:54:16 cc2447e1835a: Waiting 21:54:16 988dac1e1f7d: Layer already exists 21:54:16 9ca897116e6a: Layer already exists 21:54:16 223cb1f6c634: Layer already exists 21:54:16 41616505f651: Layer already exists 21:54:16 a79f7af06cfa: Layer already exists 21:54:16 cc2447e1835a: Layer already exists 21:54:16 latest: digest: sha256:6e58237bfdc5c4e1d09e4b1b667a80c14d32edfdd779ee6976b301faa722bf3b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.12 21:54:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 21:54:16 41616505f651: Preparing 21:54:16 988dac1e1f7d: Preparing 21:54:16 a79f7af06cfa: Preparing 21:54:16 223cb1f6c634: Preparing 21:54:16 9ca897116e6a: Preparing 21:54:16 cc2447e1835a: Preparing 21:54:16 cc2447e1835a: Waiting 21:54:16 41616505f651: Layer already exists 21:54:16 988dac1e1f7d: Layer already exists 21:54:16 223cb1f6c634: Layer already exists 21:54:16 a79f7af06cfa: Layer already exists 21:54:16 9ca897116e6a: Layer already exists 21:54:16 cc2447e1835a: Layer already exists 21:54:16 3.0.1-dev.12: digest: sha256:6e58237bfdc5c4e1d09e4b1b667a80c14d32edfdd779ee6976b301faa722bf3b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 21:54:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 21:54:17 41616505f651: Preparing 21:54:17 988dac1e1f7d: Preparing 21:54:17 a79f7af06cfa: Preparing 21:54:17 223cb1f6c634: Preparing 21:54:17 9ca897116e6a: Preparing 21:54:17 cc2447e1835a: Preparing 21:54:17 cc2447e1835a: Waiting 21:54:17 223cb1f6c634: Layer already exists 21:54:17 a79f7af06cfa: Layer already exists 21:54:17 9ca897116e6a: Layer already exists 21:54:17 41616505f651: Layer already exists 21:54:17 988dac1e1f7d: Layer already exists 21:54:17 cc2447e1835a: Layer already exists 21:54:17 dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12: digest: sha256:6e58237bfdc5c4e1d09e4b1b667a80c14d32edfdd779ee6976b301faa722bf3b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:17 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 21:54:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 21:54:17 41616505f651: Preparing 21:54:17 988dac1e1f7d: Preparing 21:54:17 a79f7af06cfa: Preparing 21:54:17 223cb1f6c634: Preparing 21:54:17 9ca897116e6a: Preparing 21:54:17 cc2447e1835a: Preparing 21:54:17 cc2447e1835a: Waiting 21:54:17 223cb1f6c634: Layer already exists 21:54:17 41616505f651: Layer already exists 21:54:17 988dac1e1f7d: Layer already exists 21:54:17 9ca897116e6a: Layer already exists 21:54:17 a79f7af06cfa: Layer already exists 21:54:17 cc2447e1835a: Layer already exists 21:54:17 main: digest: sha256:6e58237bfdc5c4e1d09e4b1b667a80c14d32edfdd779ee6976b301faa722bf3b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:17 ===================================================== [Pipeline] echo 21:54:17 taggedImages: 21:54:17 - nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080 21:54:17 - nexus3.edgexfoundry.org:10004/device-uart:latest 21:54:17 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.12 21:54:17 - nexus3.edgexfoundry.org:10004/device-uart:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 21:54:17 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:18 21:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:18 latest: Pulling from edgex-lftools-log-publisher 21:54:18 5eb5b503b376: Pulling fs layer 21:54:18 5c69ac0246d0: Pulling fs layer 21:54:18 ec43610c2a17: Pulling fs layer 21:54:18 3a2ae6a8a46f: Pulling fs layer 21:54:18 33b1e0a273af: Pulling fs layer 21:54:18 5d3b04190fa2: Pulling fs layer 21:54:18 2f39f015ded8: Pulling fs layer 21:54:18 33b1e0a273af: Waiting 21:54:18 2f39f015ded8: Waiting 21:54:18 3a2ae6a8a46f: Waiting 21:54:18 5c69ac0246d0: Download complete 21:54:18 3a2ae6a8a46f: Verifying Checksum 21:54:18 3a2ae6a8a46f: Download complete 21:54:18 33b1e0a273af: Verifying Checksum 21:54:18 33b1e0a273af: Download complete 21:54:18 5d3b04190fa2: Download complete 21:54:18 ec43610c2a17: Verifying Checksum 21:54:18 ec43610c2a17: Download complete 21:54:18 5eb5b503b376: Verifying Checksum 21:54:18 5eb5b503b376: Download complete 21:54:19 2f39f015ded8: Verifying Checksum 21:54:19 2f39f015ded8: Download complete 21:54:20 5eb5b503b376: Pull complete 21:54:20 5c69ac0246d0: Pull complete 21:54:20 ec43610c2a17: Pull complete 21:54:20 3a2ae6a8a46f: Pull complete 21:54:20 33b1e0a273af: Pull complete 21:54:20 5d3b04190fa2: Pull complete 21:54:25 2f39f015ded8: Pull complete 21:54:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:25 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 21:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:31 $ docker top 172fa79e83255863b07b13f0bc3713e1d1eab16240c53371cc9e7dfafe707ac5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:31 ---> job-cost.sh 21:54:31 lf-activate-venv: SKIPPING 21:54:31 INFO: No Stack... 21:54:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:32 INFO: Archiving Costs [Pipeline] sh 21:54:32 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 21:54:32 + cut -d, -f6 [Pipeline] lock 21:54:32 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-18-stack-cost] 21:54:32 Resource [jenkins-edgexfoundry-device-uart-main-18-stack-cost] did not exist. Created. 21:54:32 Lock acquired on [jenkins-edgexfoundry-device-uart-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:33 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:33 Stashed 1 file(s) [Pipeline] } 21:54:33 Lock released on resource [jenkins-edgexfoundry-device-uart-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:33 $ docker stop --time=1 172fa79e83255863b07b13f0bc3713e1d1eab16240c53371cc9e7dfafe707ac5 21:54:34 $ docker rm -f --volumes 172fa79e83255863b07b13f0bc3713e1d1eab16240c53371cc9e7dfafe707ac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:08:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18003 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 22:08:19 Running in /w/workspace/device-uart/18 [Pipeline] { [Pipeline] checkout 22:08:19 The recommended git tool is: git 22:08:26 using credential edgex-jenkins-ssh 22:08:26 Cloning the remote Git repository 22:08:26 Cloning repository git@github.com:edgexfoundry/device-uart.git 22:08:26 > git init /w/workspace/device-uart/18 # timeout=10 22:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 22:08:27 > git --version # timeout=10 22:08:27 > git --version # 'git version 2.25.1' 22:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:28 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 22:08:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:29 Avoid second fetch 22:08:29 Checking out Revision dec02cb029fa6ce79400670f54c9fa46c31fe080 (main) 22:08:30 Commit message: "Merge pull request #34 from lenny-intel/cve" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:29 > git config core.sparsecheckout # timeout=10 22:08:30 > git checkout -f dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 22:08:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:08:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:31 Dload Upload Total Spent Left Speed 22:08:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 22:08:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:08:32 + sudo tee /etc/docker/daemon.new 22:08:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:08:32 { 22:08:32 "registry-mirrors": [ 22:08:32 "https://nexus3.edgexfoundry.org:10001" 22:08:32 ], 22:08:32 "bip": "10.250.0.254/24", 22:08:32 "hosts": [ 22:08:32 "tcp://0.0.0.0:5555", 22:08:32 "unix:///var/run/docker.sock" 22:08:32 ], 22:08:32 "mtu": 1458, 22:08:32 "selinux-enabled": true, 22:08:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:08:32 } [Pipeline] sh 22:08:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:08:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:51 provisioning config files... 22:08:51 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/18@tmp/config1537725655159637475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:51 ---> docker-login.sh 22:08:51 nexus3.edgexfoundry.org:10001 22:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:52 Configure a credential helper to remove this warning. See 22:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:52 22:08:52 Login Succeeded 22:08:52 nexus3.edgexfoundry.org:10002 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 nexus3.edgexfoundry.org:10003 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 nexus3.edgexfoundry.org:10004 22:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:54 Configure a credential helper to remove this warning. See 22:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:54 22:08:54 Login Succeeded 22:08:54 docker.io 22:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:54 Configure a credential helper to remove this warning. See 22:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:54 22:08:54 Login Succeeded 22:08:54 ---> docker-login.sh ends [Pipeline] } 22:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:54 ========================================================= 22:08:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:08:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:08:55 Sending build context to Docker daemon 5.659MB 22:08:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:08:55 Step 2/12 : FROM ${BASE} AS builder 22:08:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:55 9fda8d8052c6: Pulling fs layer 22:08:55 5d54e960e981: Pulling fs layer 22:08:55 c4a7e357bf2a: Pulling fs layer 22:08:55 f0e02332f6b5: Pulling fs layer 22:08:55 872ee5b61b7b: Pulling fs layer 22:08:55 0c6a40ed1a82: Pulling fs layer 22:08:55 94ae7d8d031c: Pulling fs layer 22:08:55 f0e02332f6b5: Waiting 22:08:55 872ee5b61b7b: Waiting 22:08:55 0c6a40ed1a82: Waiting 22:08:55 94ae7d8d031c: Waiting 22:08:55 5d54e960e981: Verifying Checksum 22:08:55 5d54e960e981: Download complete 22:08:55 f0e02332f6b5: Verifying Checksum 22:08:55 f0e02332f6b5: Download complete 22:08:56 872ee5b61b7b: Download complete 22:08:56 9fda8d8052c6: Verifying Checksum 22:08:56 9fda8d8052c6: Download complete 22:08:57 94ae7d8d031c: Verifying Checksum 22:08:57 94ae7d8d031c: Download complete 22:08:57 9fda8d8052c6: Pull complete 22:08:58 5d54e960e981: Pull complete 22:09:00 c4a7e357bf2a: Verifying Checksum 22:09:00 c4a7e357bf2a: Download complete 22:09:00 0c6a40ed1a82: Verifying Checksum 22:09:00 0c6a40ed1a82: Download complete 22:09:13 c4a7e357bf2a: Pull complete 22:09:13 f0e02332f6b5: Pull complete 22:09:13 872ee5b61b7b: Pull complete 22:09:26 0c6a40ed1a82: Pull complete 22:09:28 94ae7d8d031c: Pull complete 22:09:28 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 22:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:09:28 ---> 86de565de09d 22:09:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:09:30 ---> Running in 5059f6633244 22:09:30 Removing intermediate container 5059f6633244 22:09:30 ---> b586589017cc 22:09:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:09:30 ---> Running in f4e72e8694e9 22:09:30 Removing intermediate container f4e72e8694e9 22:09:30 ---> b0dd0d10f8ec 22:09:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:09:30 ---> Running in 7ec1f234b668 22:09:31 Removing intermediate container 7ec1f234b668 22:09:31 ---> 1b7e86a8b0c4 22:09:31 Step 6/12 : WORKDIR /device-uart 22:09:31 ---> Running in 308899815bda 22:09:31 Removing intermediate container 308899815bda 22:09:31 ---> 665abb413ada 22:09:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:32 ---> Running in a5e58c2d44d5 22:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:09:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:09:35 (2/4) Installing libedit (20221030.3.1-r1) 22:09:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:09:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:09:35 Executing busybox-1.36.1-r5.trigger 22:09:35 OK: 271 MiB in 56 packages 22:09:36 Removing intermediate container a5e58c2d44d5 22:09:36 ---> 56874acea798 22:09:36 Step 8/12 : COPY go.mod vendor* ./ 22:09:37 ---> 8e3d7e6fcab3 22:09:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:37 ---> Running in 8f2420412bb9 22:11:13 Removing intermediate container 8f2420412bb9 22:11:13 ---> fa90347ba4ce 22:11:13 Step 10/12 : COPY . . 22:11:13 ---> 59efc1a1405a 22:11:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:13 ---> Running in 76e945ace40c 22:11:13 Removing intermediate container 76e945ace40c 22:11:13 ---> 420c8abbcae6 22:11:13 Step 12/12 : RUN ${MAKE} 22:11:13 ---> Running in 0a639627bf9c 22:11:13 noop 22:11:13 Removing intermediate container 0a639627bf9c 22:11:13 ---> 15904e226411 22:11:13 Successfully built 15904e226411 22:11:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:14 + docker inspect -f . ci-base-image-arm64 22:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-18003 does not seem to be running inside a container 22:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/18 -v /w/workspace/device-uart/18:/w/workspace/device-uart/18:rw,z -v /w/workspace/device-uart/18@tmp:/w/workspace/device-uart/18@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:11:16 $ docker top 1ce9a12ea9d8761c5c2d9e6a29a71b236caa665b85fac227920c96cae661aaca -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:16 + go version 22:11:16 go version go1.21.0 linux/arm64 [Pipeline] } 22:11:16 $ docker stop --time=1 1ce9a12ea9d8761c5c2d9e6a29a71b236caa665b85fac227920c96cae661aaca 22:11:18 $ docker rm -f --volumes 1ce9a12ea9d8761c5c2d9e6a29a71b236caa665b85fac227920c96cae661aaca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:19 + docker inspect -f . ci-base-image-arm64 22:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:19 prd-ubuntu20.04-docker-arm64-4c-16g-18003 does not seem to be running inside a container 22:11:19 $ 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/18 -v /w/workspace/device-uart/18:/w/workspace/device-uart/18:rw,z -v /w/workspace/device-uart/18@tmp:/w/workspace/device-uart/18@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:11:20 $ docker top 1a7eaa6c3c04b0c9fd3710a114f48c748488771b41c1aa18e2048d42b1dfd4f4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:21 + git config --global --add safe.directory /w/workspace/device-uart/18 [Pipeline] fileExists [Pipeline] sh 22:11:22 + make test 22:11:22 go test ./... -coverprofile=coverage.out 22:11:27 ? github.com/edgexfoundry/device-uart [no test files] 22:13:49 ? github.com/edgexfoundry/device-uart/cmd [no test files] 22:13:49 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 22:13:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:13:49 go vet ./... 22:14:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:28 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:14:28 $ docker stop --time=1 1a7eaa6c3c04b0c9fd3710a114f48c748488771b41c1aa18e2048d42b1dfd4f4 22:14:30 $ docker rm -f --volumes 1a7eaa6c3c04b0c9fd3710a114f48c748488771b41c1aa18e2048d42b1dfd4f4 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:32 Warning: overwriting stash ‘coverage-report’ 22:14:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:33 + ls -al . 22:14:33 total 152 22:14:33 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 22:11 . 22:14:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:08 .. 22:14:33 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 22:08 .dockerignore 22:14:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:08 .git 22:14:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 .github 22:14:33 -rw-rw-r-- 1 jenkins jenkins 343 Nov 14 22:08 .gitignore 22:14:33 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 22:08 .golangci.yml 22:14:33 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 14 22:08 Attribution.txt 22:14:33 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 14 22:08 CHANGELOG.md 22:14:33 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 14 22:08 Dockerfile 22:14:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:08 GOVERNANCE.md 22:14:33 -rw-rw-r-- 1 jenkins jenkins 675 Nov 14 22:08 Jenkinsfile 22:14:33 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 22:08 LICENSE 22:14:33 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 14 22:08 Makefile 22:14:33 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 22:08 OWNERS.md 22:14:33 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 14 22:08 README.md 22:14:33 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:52 VERSION 22:14:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:08 bin 22:14:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 cmd 22:14:33 -rw-r--r-- 1 jenkins jenkins 10 Nov 14 22:11 coverage.out 22:14:33 -rw-rw-r-- 1 jenkins jenkins 3674 Nov 14 22:08 go.mod 22:14:33 -rw-rw-r-- 1 jenkins jenkins 35219 Nov 14 22:08 go.sum 22:14:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 internal 22:14:33 -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 22:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:33 + 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=dec02cb029fa6ce79400670f54c9fa46c31fe080 --label arch=arm64 --label version=3.0.1-dev.12 . 22:14:34 Sending build context to Docker daemon 5.66MB 22:14:34 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:14:34 Step 2/26 : FROM ${BASE} AS builder 22:14:34 ---> 15904e226411 22:14:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:14:34 ---> Running in 0438a0bba692 22:14:34 Removing intermediate container 0438a0bba692 22:14:34 ---> 5506ba06af7d 22:14:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:14:35 ---> Running in be73b021405f 22:14:35 Removing intermediate container be73b021405f 22:14:35 ---> 0192ee313c7d 22:14:35 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:14:35 ---> Running in 06b9341bb105 22:14:35 Removing intermediate container 06b9341bb105 22:14:35 ---> a9f531449778 22:14:35 Step 6/26 : WORKDIR /device-uart 22:14:35 ---> Running in b1c3abce3215 22:14:36 Removing intermediate container b1c3abce3215 22:14:36 ---> 2b58ca36fa8d 22:14:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:36 ---> Running in eaf3afaea0a4 22:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:39 OK: 271 MiB in 56 packages 22:14:40 Removing intermediate container eaf3afaea0a4 22:14:40 ---> 6ffde0295674 22:14:40 Step 8/26 : COPY go.mod vendor* ./ 22:14:41 ---> e734dc137ed2 22:14:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:41 ---> Running in 568da53b2332 22:14:44 Removing intermediate container 568da53b2332 22:14:44 ---> f4b62d7e6960 22:14:44 Step 10/26 : COPY . . 22:14:44 ---> 0205c7230b0f 22:14:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:44 ---> Running in 3dc7be0b2e95 22:14:45 Removing intermediate container 3dc7be0b2e95 22:14:45 ---> d88472a5e85e 22:14:45 Step 12/26 : RUN ${MAKE} 22:14:45 ---> Running in b1cdbe71bb65 22:14:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 22:17:11 Removing intermediate container b1cdbe71bb65 22:17:11 ---> 7ec134411b29 22:17:11 Step 13/26 : FROM alpine:3.18 22:17:11 3.18: Pulling from library/alpine 22:17:11 579b34f0a95b: Pulling fs layer 22:17:11 579b34f0a95b: Verifying Checksum 22:17:11 579b34f0a95b: Download complete 22:17:11 579b34f0a95b: Pull complete 22:17:11 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:17:11 Status: Downloaded newer image for alpine:3.18 22:17:11 ---> 3cc203321400 22:17:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:17:11 ---> Running in 35bd2aab313d 22:17:11 Removing intermediate container 35bd2aab313d 22:17:11 ---> b0c33e346dc8 22:17:11 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:17:11 ---> Running in 3cdfe8f2adf7 22:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:17:11 (1/1) Installing dumb-init (1.2.5-r2) 22:17:11 Executing busybox-1.36.1-r2.trigger 22:17:11 OK: 8 MiB in 16 packages 22:17:11 Removing intermediate container 3cdfe8f2adf7 22:17:11 ---> dc0c20390bca 22:17:11 Step 16/26 : RUN apk --no-cache upgrade 22:17:11 ---> Running in dfe38de4adf4 22:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:17:12 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:17:12 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:17:12 Executing busybox-1.36.1-r5.post-upgrade 22:17:12 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:17:12 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:17:12 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:17:12 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:17:12 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:17:12 Executing busybox-1.36.1-r5.trigger 22:17:12 OK: 8 MiB in 16 packages 22:17:13 Removing intermediate container dfe38de4adf4 22:17:13 ---> f4017d18b52a 22:17:13 Step 17/26 : WORKDIR / 22:17:13 ---> Running in 6cf289a6dd59 22:17:13 Removing intermediate container 6cf289a6dd59 22:17:13 ---> fbc618b4d094 22:17:13 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 22:17:14 ---> d8176724aa09 22:17:14 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 22:17:15 ---> ffb080c6ae10 22:17:15 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 22:17:16 ---> 440a69f29e20 22:17:16 Step 21/26 : EXPOSE 59995 22:17:16 ---> Running in fb72674f2d84 22:17:16 Removing intermediate container fb72674f2d84 22:17:16 ---> 2f0f9b05f8c9 22:17:16 Step 22/26 : ENTRYPOINT ["/device-uart"] 22:17:16 ---> Running in a8f3958bfac1 22:17:17 Removing intermediate container a8f3958bfac1 22:17:17 ---> db7fa4277257 22:17:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:17:17 ---> Running in 278fa4f971de 22:17:17 Removing intermediate container 278fa4f971de 22:17:17 ---> 698ebee04ff0 22:17:17 Step 24/26 : LABEL arch=arm64 22:17:17 ---> Running in 58265c7f3f7b 22:17:18 Removing intermediate container 58265c7f3f7b 22:17:18 ---> 406c8111ee74 22:17:18 Step 25/26 : LABEL git_sha=dec02cb029fa6ce79400670f54c9fa46c31fe080 22:17:18 ---> Running in fd8ac6f3e5f1 22:17:18 Removing intermediate container fd8ac6f3e5f1 22:17:18 ---> aee12f477b2d 22:17:18 Step 26/26 : LABEL version=3.0.1-dev.12 22:17:18 ---> Running in 0e44d0ed9d8e 22:17:18 Removing intermediate container 0e44d0ed9d8e 22:17:18 ---> f25643f4c942 22:17:18 [Warning] One or more build-args [ARCH] were not consumed 22:17:19 Successfully built f25643f4c942 22:17:19 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:17:19 provisioning config files... 22:17:19 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/18@tmp/config11465094306748671087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:19 ---> docker-login.sh 22:17:19 nexus3.edgexfoundry.org:10001 22:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:19 Configure a credential helper to remove this warning. See 22:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:19 22:17:19 Login Succeeded 22:17:19 nexus3.edgexfoundry.org:10002 22:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:20 Configure a credential helper to remove this warning. See 22:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:20 22:17:20 Login Succeeded 22:17:20 nexus3.edgexfoundry.org:10003 22:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:20 Configure a credential helper to remove this warning. See 22:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:20 22:17:20 Login Succeeded 22:17:20 nexus3.edgexfoundry.org:10004 22:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:21 Configure a credential helper to remove this warning. See 22:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:21 22:17:21 Login Succeeded 22:17:21 docker.io 22:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:21 Configure a credential helper to remove this warning. See 22:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:21 22:17:21 Login Succeeded 22:17:21 ---> docker-login.sh ends [Pipeline] } 22:17:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:17:22 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 22:17:22 dec02cb029fa6ce79400670f54c9fa46c31fe080 22:17:22 latest 22:17:22 3.0.1-dev.12 22:17:22 dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 22:17:22 main 22:17:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:22 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:22 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080 22:17:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:17:22 40d650fc44a9: Preparing 22:17:22 f6b76cb18b25: Preparing 22:17:22 1623ff55fe45: Preparing 22:17:22 016894e92bce: Preparing 22:17:22 d214140c2948: Preparing 22:17:22 5f4d9fc4d98d: Preparing 22:17:22 5f4d9fc4d98d: Waiting 22:17:23 f6b76cb18b25: Pushed 22:17:23 5f4d9fc4d98d: Layer already exists 22:17:23 1623ff55fe45: Pushed 22:17:23 d214140c2948: Pushed 22:17:25 016894e92bce: Pushed 22:17:28 40d650fc44a9: Pushed 22:17:28 dec02cb029fa6ce79400670f54c9fa46c31fe080: digest: sha256:4225091439cb15e8c6546dc416b15ff50651241e63e97521d0355f8a0104889f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:29 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:29 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 22:17:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:17:29 40d650fc44a9: Preparing 22:17:29 f6b76cb18b25: Preparing 22:17:29 1623ff55fe45: Preparing 22:17:29 016894e92bce: Preparing 22:17:29 d214140c2948: Preparing 22:17:29 5f4d9fc4d98d: Preparing 22:17:29 5f4d9fc4d98d: Waiting 22:17:29 f6b76cb18b25: Layer already exists 22:17:29 40d650fc44a9: Layer already exists 22:17:29 d214140c2948: Layer already exists 22:17:29 1623ff55fe45: Layer already exists 22:17:29 016894e92bce: Layer already exists 22:17:29 5f4d9fc4d98d: Layer already exists 22:17:29 latest: digest: sha256:4225091439cb15e8c6546dc416b15ff50651241e63e97521d0355f8a0104889f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:30 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:30 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.12 22:17:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:17:30 40d650fc44a9: Preparing 22:17:30 f6b76cb18b25: Preparing 22:17:30 1623ff55fe45: Preparing 22:17:30 016894e92bce: Preparing 22:17:30 d214140c2948: Preparing 22:17:30 5f4d9fc4d98d: Preparing 22:17:30 40d650fc44a9: Layer already exists 22:17:30 f6b76cb18b25: Layer already exists 22:17:30 1623ff55fe45: Layer already exists 22:17:30 d214140c2948: Layer already exists 22:17:30 016894e92bce: Layer already exists 22:17:30 5f4d9fc4d98d: Layer already exists 22:17:30 3.0.1-dev.12: digest: sha256:4225091439cb15e8c6546dc416b15ff50651241e63e97521d0355f8a0104889f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:31 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:31 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 22:17:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:17:31 40d650fc44a9: Preparing 22:17:31 f6b76cb18b25: Preparing 22:17:31 1623ff55fe45: Preparing 22:17:31 016894e92bce: Preparing 22:17:31 d214140c2948: Preparing 22:17:31 5f4d9fc4d98d: Preparing 22:17:31 5f4d9fc4d98d: Waiting 22:17:31 1623ff55fe45: Layer already exists 22:17:31 d214140c2948: Layer already exists 22:17:31 40d650fc44a9: Layer already exists 22:17:31 016894e92bce: Layer already exists 22:17:31 f6b76cb18b25: Layer already exists 22:17:31 5f4d9fc4d98d: Layer already exists 22:17:31 dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12: digest: sha256:4225091439cb15e8c6546dc416b15ff50651241e63e97521d0355f8a0104889f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:32 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:32 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 22:17:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 22:17:32 40d650fc44a9: Preparing 22:17:32 f6b76cb18b25: Preparing 22:17:32 1623ff55fe45: Preparing 22:17:32 016894e92bce: Preparing 22:17:32 d214140c2948: Preparing 22:17:32 5f4d9fc4d98d: Preparing 22:17:32 5f4d9fc4d98d: Waiting 22:17:32 1623ff55fe45: Layer already exists 22:17:32 d214140c2948: Layer already exists 22:17:32 f6b76cb18b25: Layer already exists 22:17:32 40d650fc44a9: Layer already exists 22:17:32 016894e92bce: Layer already exists 22:17:32 5f4d9fc4d98d: Layer already exists 22:17:32 main: digest: sha256:4225091439cb15e8c6546dc416b15ff50651241e63e97521d0355f8a0104889f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:32 ===================================================== [Pipeline] echo 22:17:32 taggedImages: 22:17:32 - nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080 22:17:32 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 22:17:32 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.12 22:17:32 - nexus3.edgexfoundry.org:10004/device-uart-arm64:dec02cb029fa6ce79400670f54c9fa46c31fe080-3.0.1-dev.12 22:17:32 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:33 22:17:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:33 arm64: Pulling from edgex-lftools-log-publisher 22:17:33 8998bd30e6a1: Pulling fs layer 22:17:33 04944245beec: Pulling fs layer 22:17:33 699f458cf7ca: Pulling fs layer 22:17:33 765212b225bb: Pulling fs layer 22:17:33 f23df028b6ca: Pulling fs layer 22:17:33 d65c8cfc05b1: Pulling fs layer 22:17:33 2437ff75d9bd: Pulling fs layer 22:17:33 765212b225bb: Waiting 22:17:33 d65c8cfc05b1: Waiting 22:17:33 2437ff75d9bd: Waiting 22:17:33 f23df028b6ca: Waiting 22:17:33 04944245beec: Verifying Checksum 22:17:33 04944245beec: Download complete 22:17:34 765212b225bb: Verifying Checksum 22:17:34 765212b225bb: Download complete 22:17:34 f23df028b6ca: Verifying Checksum 22:17:34 f23df028b6ca: Download complete 22:17:34 d65c8cfc05b1: Verifying Checksum 22:17:34 d65c8cfc05b1: Download complete 22:17:34 699f458cf7ca: Verifying Checksum 22:17:34 699f458cf7ca: Download complete 22:17:34 8998bd30e6a1: Verifying Checksum 22:17:34 8998bd30e6a1: Download complete 22:17:37 2437ff75d9bd: Verifying Checksum 22:17:37 2437ff75d9bd: Download complete 22:17:39 8998bd30e6a1: Pull complete 22:17:40 04944245beec: Pull complete 22:17:42 699f458cf7ca: Pull complete 22:17:42 765212b225bb: Pull complete 22:17:43 f23df028b6ca: Pull complete 22:17:43 d65c8cfc05b1: Pull complete 22:18:01 2437ff75d9bd: Pull complete 22:18:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:18:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:01 prd-ubuntu20.04-docker-arm64-4c-16g-18003 does not seem to be running inside a container 22:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/18 -v /w/workspace/device-uart/18:/w/workspace/device-uart/18:rw,z -v /w/workspace/device-uart/18@tmp:/w/workspace/device-uart/18@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:18:04 $ docker top 41a25e65ad498e9eec0675118aac19f8c2c9654bd43149d9d268e46aee97b3d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:05 ---> job-cost.sh 22:18:05 lf-activate-venv: SKIPPING 22:18:05 INFO: No Stack... 22:18:06 INFO: Retrieving Pricing Info for: v3-standard-4 22:18:07 INFO: Archiving Costs [Pipeline] sh 22:18:07 + cut -d, -f6 22:18:07 + cat /w/workspace/device-uart/18/archives/cost.csv [Pipeline] lock 22:18:07 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-18-stack-cost] 22:18:07 Resource [jenkins-edgexfoundry-device-uart-main-18-stack-cost] did not exist. Created. 22:18:07 Lock acquired on [jenkins-edgexfoundry-device-uart-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:18:08 /w/workspace/device-uart/18@tmp/durable-ab42539c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:18:09 + echo total: 0.10999999940395355 [Pipeline] stash 22:18:09 Warning: overwriting stash ‘stack-cost’ 22:18:09 Stashed 1 file(s) [Pipeline] } 22:18:09 Lock released on resource [jenkins-edgexfoundry-device-uart-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 22:18:09 $ docker stop --time=1 41a25e65ad498e9eec0675118aac19f8c2c9654bd43149d9d268e46aee97b3d6 22:18:10 $ docker rm -f --volumes 41a25e65ad498e9eec0675118aac19f8c2c9654bd43149d9d268e46aee97b3d6 [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:18:11 provisioning config files... 22:18:11 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8129736920786679526tmp [Pipeline] { [Pipeline] sh 22:18:11 + set +x 22:18:11 + curl -s https://codecov.io/bash 22:18:11 + bash -s -- 22:18:11 22:18:11 _____ _ 22:18:11 / ____| | | 22:18:11 | | ___ __| | ___ ___ _____ __ 22:18:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:18:11 | |___| (_) | (_| | __/ (_| (_) \ V / 22:18:11 \_____\___/ \__,_|\___|\___\___/ \_/ 22:18:11 Bash-1.0.6 22:18:11 22:18:11 22:18:11 ==> git version 2.25.1 found 22:18:11 ==> 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:18:11 Release-Date: 2020-01-08 22:18:11 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:18:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:18:11 ==> Jenkins CI detected. 22:18:11 current dir:  /w/workspace/edgexfoundry_device-uart_main 22:18:11 project root: . 22:18:11 --> token set from env 22:18:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:18:11 ==> Running gcov in . (disable via -X gcov) 22:18:11 ==> Python coveragepy not found 22:18:11 ==> Searching for coverage reports in: 22:18:11 + . 22:18:11 -> Found 1 reports 22:18:11 ==> Detecting git/mercurial file structure 22:18:11 ==> Reading reports 22:18:11 + ./coverage.out bytes=10 22:18:11 ==> Appending adjustments 22:18:11 https://docs.codecov.io/docs/fixing-reports 22:18:11 + Found adjustments 22:18:11 ==> Gzipping contents 22:18:11 4.0K /tmp/codecov.gnYdp0.gz 22:18:11 ==> Uploading reports 22:18:11 url: https://codecov.io 22:18:11 query: branch=main&commit=dec02cb029fa6ce79400670f54c9fa46c31fe080&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:11 -> Pinging Codecov 22:18:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=dec02cb029fa6ce79400670f54c9fa46c31fe080&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:11 -> Uploading to 22:18:11 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/B9AA6E0BBD74AE3A32605C7A7C664919/dec02cb029fa6ce79400670f54c9fa46c31fe080/f2da4d61-4a7e-4851-b0ba-f17d181857f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T221811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efc2cab644a226ff57f5c239ef24392b6c89f5b8bb2cf94569ec6e1c474baeea 22:18:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:18:11 Dload Upload Total Spent Left Speed 22:18:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2412 --:--:-- --:--:-- --:--:-- 2412 22:18:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] } 22:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:18:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:18:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:12 22:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:18:12 df9b9388f04a: Pulling fs layer 22:18:12 52dc419b0ee2: Pulling fs layer 22:18:12 25bc292e5bac: Pulling fs layer 22:18:12 114826534d7a: Pulling fs layer 22:18:12 4657fd5d0bcf: Pulling fs layer 22:18:12 6ad1cebc031e: Pulling fs layer 22:18:12 8a3aa393b2d8: Pulling fs layer 22:18:12 114826534d7a: Waiting 22:18:12 4657fd5d0bcf: Waiting 22:18:12 8a3aa393b2d8: Waiting 22:18:12 6ad1cebc031e: Waiting 22:18:12 25bc292e5bac: Verifying Checksum 22:18:12 25bc292e5bac: Download complete 22:18:12 52dc419b0ee2: Verifying Checksum 22:18:12 52dc419b0ee2: Download complete 22:18:12 4657fd5d0bcf: Verifying Checksum 22:18:12 4657fd5d0bcf: Download complete 22:18:12 df9b9388f04a: Verifying Checksum 22:18:12 df9b9388f04a: Download complete 22:18:12 df9b9388f04a: Pull complete 22:18:12 52dc419b0ee2: Pull complete 22:18:13 6ad1cebc031e: Verifying Checksum 22:18:13 6ad1cebc031e: Download complete 22:18:13 25bc292e5bac: Pull complete 22:18:14 8a3aa393b2d8: Verifying Checksum 22:18:14 8a3aa393b2d8: Download complete 22:18:14 114826534d7a: Verifying Checksum 22:18:14 114826534d7a: Download complete 22:18:17 114826534d7a: Pull complete 22:18:17 4657fd5d0bcf: Pull complete 22:18:17 6ad1cebc031e: Pull complete 22:18:20 8a3aa393b2d8: Pull complete 22:18:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:20 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:18:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:18:26 $ docker top bc5fb0f8c4019c893459e79fa3ab5ee4ab2a56283e845b03fcfd71c6d3467bbc -eo pid,comm [Pipeline] { [Pipeline] echo 22:18:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 22:18:26 + set -o pipefail 22:18:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 22:18:30 22:18:30 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 22:18:30 22:18:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/f53714fb-596e-4278-aa30-69ccc915929c 22:18:30 22:18:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:18:30 22:18:30 22:18:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:18:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:18:30 More details here: https://snyk.co/ue1NS 22:18:30 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:18:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:18:30 $ docker stop --time=1 bc5fb0f8c4019c893459e79fa3ab5ee4ab2a56283e845b03fcfd71c6d3467bbc 22:18:35 $ docker rm -f --volumes bc5fb0f8c4019c893459e79fa3ab5ee4ab2a56283e845b03fcfd71c6d3467bbc [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:18:36 + git log --format=format:%s -1 dec02cb029fa6ce79400670f54c9fa46c31fe080 [Pipeline] sh 22:18:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:18:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:37 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:18:37 $ docker top ffc5337c44d9c8c96b0c47d737722e13ac5eda0556444d397115b5fc35397f83 -eo pid,comm 22:18:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:18:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:37 [ssh-agent] Looking for ssh-agent implementation... 22:18:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:37 $ docker exec ffc5337c44d9c8c96b0c47d737722e13ac5eda0556444d397115b5fc35397f83 ssh-agent 22:18:37 SSH_AUTH_SOCK=/tmp/ssh-VOkksbQ8IYkO/agent.31 22:18:37 SSH_AGENT_PID=37 22:18:37 Running ssh-add (command line suppressed) 22:18:37 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9305565218546719261.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9305565218546719261.key) 22:18:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:38 + git semver tag 22:18:38 2023-11-14 22:18:38,461 [run_tag] DEBUG tag force:False 22:18:38 2023-11-14 22:18:38,461 [check_head_tag] DEBUG check head tag 22:18:38 2023-11-14 22:18:38,461 [execute] INFO git cat-file --batch-check 22:18:38 2023-11-14 22:18:38,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 22:18:38 2023-11-14 22:18:38,465 [execute] INFO git cat-file --batch 22:18:38 2023-11-14 22:18:38,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 22:18:38 2023-11-14 22:18:38,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:18:38 2023-11-14 22:18:38,474 [execute] INFO git tag -a v3.0.1-dev.12 -m v3.0.1-dev.12 22:18:38 2023-11-14 22:18:38,474 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.12', '-m', 'v3.0.1-dev.12'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 22:18:38 2023-11-14 22:18:38,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:18:38 3.0.1-dev.12 [Pipeline] } 22:18:38 $ docker exec --env ******** --env ******** ffc5337c44d9c8c96b0c47d737722e13ac5eda0556444d397115b5fc35397f83 ssh-agent -k 22:18:38 unset SSH_AUTH_SOCK; 22:18:38 unset SSH_AGENT_PID; 22:18:38 echo Agent pid 37 killed; 22:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:38 + git semver [Pipeline] } 22:18:39 $ docker stop --time=1 ffc5337c44d9c8c96b0c47d737722e13ac5eda0556444d397115b5fc35397f83 22:18:40 $ docker rm -f --volumes ffc5337c44d9c8c96b0c47d737722e13ac5eda0556444d397115b5fc35397f83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:40 22:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:41 0.23.1-centos7: Pulling from edgex-lftools 22:18:41 ab5ef0e58194: Pulling fs layer 22:18:41 9712f1f96733: Pulling fs layer 22:18:41 63f879dbbcfc: Pulling fs layer 22:18:41 0d9ebad4ef96: Pulling fs layer 22:18:41 e9a5061849ea: Pulling fs layer 22:18:41 d747dcd14b5f: Pulling fs layer 22:18:41 2de7ff778b66: Pulling fs layer 22:18:41 0d9ebad4ef96: Waiting 22:18:41 e9a5061849ea: Waiting 22:18:41 d747dcd14b5f: Waiting 22:18:41 2de7ff778b66: Waiting 22:18:41 9712f1f96733: Verifying Checksum 22:18:41 9712f1f96733: Download complete 22:18:41 63f879dbbcfc: Verifying Checksum 22:18:41 63f879dbbcfc: Download complete 22:18:41 e9a5061849ea: Verifying Checksum 22:18:41 e9a5061849ea: Download complete 22:18:41 d747dcd14b5f: Download complete 22:18:41 0d9ebad4ef96: Verifying Checksum 22:18:41 ab5ef0e58194: Verifying Checksum 22:18:41 ab5ef0e58194: Download complete 22:18:42 2de7ff778b66: Verifying Checksum 22:18:42 2de7ff778b66: Download complete 22:18:44 ab5ef0e58194: Pull complete 22:18:44 9712f1f96733: Pull complete 22:18:45 63f879dbbcfc: Pull complete 22:18:48 0d9ebad4ef96: Pull complete 22:18:48 e9a5061849ea: Pull complete 22:18:48 d747dcd14b5f: Pull complete 22:18:49 2de7ff778b66: Pull complete 22:18:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:18:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:49 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:18:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:18:55 $ docker top cc484ff87dcc25de9d3716b19978882c23d9543a699a30379c15d7e9e92a0cf5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:18:55 provisioning config files... 22:18:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3734643106145923253tmp 22:18:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6048606196419936436tmp 22:18:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7887711069149776083tmp [Pipeline] { [Pipeline] echo 22:18:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:18:55 ---> sigul-configuration.sh 22:18:55 gpg: directory `/root/.gnupg' created 22:18:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:18:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:18:55 gpg: keyring `/root/.gnupg/secring.gpg' created 22:18:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:18:55 gpg: CAST5 encrypted data 22:18:55 gpg: encrypted with 1 passphrase 22:18:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:18:56 + mkdir /home/jenkins 22:18:56 + mkdir /home/jenkins/sigul [Pipeline] sh 22:18:56 + 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:18:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:18:56 ---> sigul-install.sh 22:18:56 Sigul already installed; skipping installation. [Pipeline] sh 22:18:57 + git tag --list 22:18:57 v0.0.0 22:18:57 v0.0.1-dev.1 22:18:57 v0.0.1-dev.2 22:18:57 v0.0.1-dev.3 22:18:57 v0.0.1-dev.4 22:18:57 v3.0.0 22:18:57 v3.0.1-dev.1 22:18:57 v3.0.1-dev.10 22:18:57 v3.0.1-dev.11 22:18:57 v3.0.1-dev.12 22:18:57 v3.0.1-dev.2 22:18:57 v3.0.1-dev.3 22:18:57 v3.0.1-dev.4 22:18:57 v3.0.1-dev.5 22:18:57 v3.0.1-dev.6 22:18:57 v3.0.1-dev.7 22:18:57 v3.0.1-dev.8 22:18:57 v3.0.1-dev.9 [Pipeline] sh 22:18:57 + lftools sign git-tag v3.0.1-dev.12 22:18:57 Signing Git tag with Sigul... 22:18:57 Signing v3.0.1-dev.12 [Pipeline] echo 22:18:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:18:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:18:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:18:58 $ docker stop --time=1 cc484ff87dcc25de9d3716b19978882c23d9543a699a30379c15d7e9e92a0cf5 22:18:59 $ docker rm -f --volumes cc484ff87dcc25de9d3716b19978882c23d9543a699a30379c15d7e9e92a0cf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:19:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:00 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:19:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:01 $ docker top dffaa7c6238f272dc06b9ae15db653886643e3f371a2147020001e9aad1296a2 -eo pid,comm 22:19:01 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:19:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:01 [ssh-agent] Looking for ssh-agent implementation... 22:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:01 $ docker exec dffaa7c6238f272dc06b9ae15db653886643e3f371a2147020001e9aad1296a2 ssh-agent 22:19:01 SSH_AUTH_SOCK=/tmp/ssh-pZK1QJybYMxM/agent.33 22:19:01 SSH_AGENT_PID=39 22:19:01 Running ssh-add (command line suppressed) 22:19:01 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17645184538862719314.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17645184538862719314.key) 22:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:01 + git semver bump pre 22:19:02 2023-11-14 22:19:01,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:19:02 2023-11-14 22:19:01,985 [bump_version] DEBUG bumping version:3.0.1-dev.12 on axis:pre with prefix:dev 22:19:02 2023-11-14 22:19:01,985 [bump_version] DEBUG bumped version:3.0.1-dev.13 22:19:02 2023-11-14 22:19:01,985 [write_version] DEBUG write version:3.0.1-dev.13 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 22:19:02 2023-11-14 22:19:01,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:19:02 2023-11-14 22:19:01,985 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 22:19:02 2023-11-14 22:19:01,987 [execute] INFO git cat-file --batch-check 22:19:02 2023-11-14 22:19:01,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 22:19:02 2023-11-14 22:19:01,992 [execute] INFO git cat-file --batch 22:19:02 2023-11-14 22:19:01,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 22:19:02 2023-11-14 22:19:01,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:19:02 3.0.1-dev.13 [Pipeline] } 22:19:02 $ docker exec --env ******** --env ******** dffaa7c6238f272dc06b9ae15db653886643e3f371a2147020001e9aad1296a2 ssh-agent -k 22:19:02 unset SSH_AUTH_SOCK; 22:19:02 unset SSH_AGENT_PID; 22:19:02 echo Agent pid 39 killed; 22:19:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:02 + git semver [Pipeline] } 22:19:02 $ docker stop --time=1 dffaa7c6238f272dc06b9ae15db653886643e3f371a2147020001e9aad1296a2 22:19:04 $ docker rm -f --volumes dffaa7c6238f272dc06b9ae15db653886643e3f371a2147020001e9aad1296a2 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:04 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:05 $ docker top d05621f057a09938f230a61f10b23ef1730810b4999ef76e7b90adbda4599dd7 -eo pid,comm 22:19:05 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:19:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:05 [ssh-agent] Looking for ssh-agent implementation... 22:19:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:05 $ docker exec d05621f057a09938f230a61f10b23ef1730810b4999ef76e7b90adbda4599dd7 ssh-agent 22:19:05 SSH_AUTH_SOCK=/tmp/ssh-UQ0baITQwa58/agent.33 22:19:05 SSH_AGENT_PID=39 22:19:05 Running ssh-add (command line suppressed) 22:19:05 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16132506266622200729.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16132506266622200729.key) 22:19:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:05 + git semver push 22:19:06 2023-11-14 22:19:06,056 [run_push] DEBUG push 22:19:06 2023-11-14 22:19:06,056 [execute] INFO git cat-file --batch-check 22:19:06 2023-11-14 22:19:06,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 22:19:06 2023-11-14 22:19:06,060 [execute] INFO git rev-list 9f84c90415d9fd82269cb9b48267c726e079a56e -- 22:19:06 2023-11-14 22:19:06,061 [execute] DEBUG Popen(['git', 'rev-list', '9f84c90415d9fd82269cb9b48267c726e079a56e', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 22:19:06 2023-11-14 22:19:06,067 [execute] INFO git fetch -v origin 22:19:06 2023-11-14 22:19:06,067 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 22:19:06 2023-11-14 22:19:06,585 [run_push] DEBUG no remote changes detected 22:19:06 2023-11-14 22:19:06,585 [execute] INFO git push origin semver 22:19:06 2023-11-14 22:19:06,586 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 22:19:07 2023-11-14 22:19:07,418 [run_push] DEBUG push all version tags 22:19:07 2023-11-14 22:19:07,418 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:19:07 2023-11-14 22:19:07,419 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 22:19:08 2023-11-14 22:19:08,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 22:19:08 3.0.1-dev.13 [Pipeline] } 22:19:08 $ docker exec --env ******** --env ******** d05621f057a09938f230a61f10b23ef1730810b4999ef76e7b90adbda4599dd7 ssh-agent -k 22:19:08 unset SSH_AUTH_SOCK; 22:19:08 unset SSH_AGENT_PID; 22:19:08 echo Agent pid 39 killed; 22:19:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:09 + git semver [Pipeline] } 22:19:09 $ docker stop --time=1 d05621f057a09938f230a61f10b23ef1730810b4999ef76e7b90adbda4599dd7 22:19:10 $ docker rm -f --volumes d05621f057a09938f230a61f10b23ef1730810b4999ef76e7b90adbda4599dd7 [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:19:11 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 22:19:11 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 22:19:11 total 16 22:19:11 drwxr-xr-x 3 root root 4096 Nov 14 21:54 . 22:19:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:18 .. 22:19:11 drwxr-xr-x 2 root root 4096 Nov 14 21:54 cost 22:19:11 -rw-r--r-- 1 root root 82 Nov 14 21:54 cost.csv 22:19:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 22:19:11 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 22:19:11 total 16 22:19:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:54 . 22:19:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:18 .. 22:19:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:54 cost 22:19:11 -rw-r--r-- 1 jenkins jenkins 82 Nov 14 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:19:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:19:12 ---> package-listing.sh 22:19:12 ++ facter osfamily 22:19:12 ++ tr '[:upper:]' '[:lower:]' 22:19:12 + OS_FAMILY=debian 22:19:12 + workspace=/w/workspace/edgexfoundry_device-uart_main 22:19:12 + START_PACKAGES=/tmp/packages_start.txt 22:19:12 + END_PACKAGES=/tmp/packages_end.txt 22:19:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:19:12 + PACKAGES=/tmp/packages_start.txt 22:19:12 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 22:19:12 + PACKAGES=/tmp/packages_end.txt 22:19:12 + case "${OS_FAMILY}" in 22:19:12 + dpkg -l 22:19:12 + grep '^ii' 22:19:12 + '[' -f /tmp/packages_start.txt ']' 22:19:12 + '[' -f /tmp/packages_end.txt ']' 22:19:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:19:12 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 22:19:12 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 22:19:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 22:19:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:19:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:13 prd-ubuntu20.04-docker-8c-8g-17565 does not seem to be running inside a container 22:19:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:19:13 $ docker top 7ce8c301a21ce3501a8382e3c500dc1849e2af5a65abf34b7afff625fea77dc2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:14 + touch /tmp/pre-build-complete [Pipeline] sh 22:19:14 + mkdir -p /var/log/sysstat [Pipeline] sh 22:19:14 + ls /var/log/sa-host 22:19:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:14 provisioning config files... 22:19:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5167831811297625173tmp [Pipeline] { [Pipeline] echo 22:19:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:15 ---> create-netrc.sh [Pipeline] } 22:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:19:15 ---> python-tools-install.sh [Pipeline] echo 22:19:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:19:15 ---> sudo-logs.sh 22:19:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:19:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:19:15 ---> job-cost.sh 22:19:15 lf-activate-venv: SKIPPING 22:19:15 DEBUG: total: 0.2199999988079071 22:19:15 INFO: Retrieving Stack Cost... 22:19:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:19:17 INFO: Archiving Costs [Pipeline] echo 22:19:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:19:17 ---> logs-deploy.sh 22:19:17 lf-activate-venv: SKIPPING 22:19:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/18 22:19:17 INFO: archiving workspace using pattern(s): 22:19:18 Archives upload complete. 22:19:18 INFO: archiving logs to Nexus