Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08fb917c2f38b4ae53e716333c1e5812fb96cea3 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-ssh17487256229439368436.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4437231910500666284.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/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-ssh18021358170651751131.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh409611682811354728.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-ssh14506302800442782875.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-ubuntu20.04-docker-8c-8g-167’ is offline Running on prd-ubuntu20.04-docker-8c-8g-174 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 08fb917c2f38b4ae53e716333c1e5812fb96cea3 (main) Commit message: "Merge pull request #49 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" > git config core.sparsecheckout # timeout=10 > git checkout -f 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 > git rev-list --no-walk 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:22:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:22:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:22:38 ========================================================= 03:22:38 EdgeX Global Pipelines Version Info 03:22:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:39 ------------------- 03:22:39 stable info: 03:22:39 ------------------- 03:22:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:39 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:39 Message: update stable to v1.0.258 03:22:40 ------------------- 03:22:40 experimental info: 03:22:40 ------------------- 03:22:40 Commited By: **** collab-it+edgex@linuxfoundation.org 03:22:40 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:40 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08fb917 [Pipeline] echo 03:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:41 provisioning config files... 03:22:41 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16276547906362341929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:41 ---> ****-login.sh 03:22:41 nexus3.edgexfoundry.org:10001 03:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:41 Configure a credential helper to remove this warning. See 03:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:41 03:22:41 Login Succeeded 03:22:41 nexus3.edgexfoundry.org:10002 03:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:41 Configure a credential helper to remove this warning. See 03:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:41 03:22:41 Login Succeeded 03:22:41 nexus3.edgexfoundry.org:10003 03:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:41 Configure a credential helper to remove this warning. See 03:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:41 03:22:41 Login Succeeded 03:22:41 nexus3.edgexfoundry.org:10004 03:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:41 Configure a credential helper to remove this warning. See 03:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:41 03:22:41 Login Succeeded 03:22:41 ****.io 03:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:42 Configure a credential helper to remove this warning. See 03:22:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:42 03:22:42 Login Succeeded 03:22:42 ---> ****-login.sh ends [Pipeline] } 03:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:22:42 + git rev-list -1 --merges 08fb917c2f38b4ae53e716333c1e5812fb96cea3~1..08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] echo 03:22:42 -----------> git rev-list -1 --merges 08fb917c2f38b4ae53e716333c1e5812fb96cea3~1..08fb917c2f38b4ae53e716333c1e5812fb96cea3 08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:22:42 08fb917c2f38b4ae53e716333c1e5812fb96cea3 [false] [Pipeline] sh 03:22:43 + git log --format=format:%s -1 08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] echo 03:22:43 ========================================================= 03:22:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:22:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:43 + git log --format=format:%s -1 08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] echo 03:22:43 [semverPrep] GIT_COMMIT: 08fb917c2f38b4ae53e716333c1e5812fb96cea3, Commit Message: Merge pull request #49 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11 [Pipeline] echo 03:22:43 [semverPrep] This is not a build commit. [Pipeline] sh 03:22:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:22:43 + grep -v github /etc/ssh/ssh_known_hosts 03:22:43 + [ -e /tmp/ssh_known_hosts ] 03:22:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:22:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:22:43 + sudo tee -a /etc/ssh/ssh_known_hosts 03:22:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:44 03:22:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:44 0.1.4: Pulling from edgex-devops/py-git-semver 03:22:44 b85a868b505f: Pulling fs layer 03:22:44 e2be974225ed: Pulling fs layer 03:22:44 339a4e72a1f5: Pulling fs layer 03:22:44 988bab9f4d93: Pulling fs layer 03:22:44 1469e6f7b9e6: Pulling fs layer 03:22:44 eaf3925da568: Pulling fs layer 03:22:44 bab4dde63d76: Pulling fs layer 03:22:44 bde34c3a00c8: Pulling fs layer 03:22:44 b352a97aabf1: Pulling fs layer 03:22:44 4872d77fe225: Pulling fs layer 03:22:44 5851b861e8e6: Pulling fs layer 03:22:44 988bab9f4d93: Waiting 03:22:44 1469e6f7b9e6: Waiting 03:22:44 b352a97aabf1: Waiting 03:22:44 eaf3925da568: Waiting 03:22:44 4872d77fe225: Waiting 03:22:44 5851b861e8e6: Waiting 03:22:44 bde34c3a00c8: Waiting 03:22:44 bab4dde63d76: Waiting 03:22:44 e2be974225ed: Verifying Checksum 03:22:44 e2be974225ed: Download complete 03:22:44 988bab9f4d93: Verifying Checksum 03:22:44 988bab9f4d93: Download complete 03:22:45 339a4e72a1f5: Verifying Checksum 03:22:45 339a4e72a1f5: Download complete 03:22:45 1469e6f7b9e6: Verifying Checksum 03:22:45 1469e6f7b9e6: Download complete 03:22:45 eaf3925da568: Verifying Checksum 03:22:45 eaf3925da568: Download complete 03:22:45 bde34c3a00c8: Download complete 03:22:45 b352a97aabf1: Download complete 03:22:45 4872d77fe225: Download complete 03:22:45 5851b861e8e6: Verifying Checksum 03:22:45 5851b861e8e6: Download complete 03:22:45 b85a868b505f: Verifying Checksum 03:22:45 b85a868b505f: Download complete 03:22:45 bab4dde63d76: Verifying Checksum 03:22:45 bab4dde63d76: Download complete 03:22:46 b85a868b505f: Pull complete 03:22:47 e2be974225ed: Pull complete 03:22:47 339a4e72a1f5: Pull complete 03:22:47 988bab9f4d93: Pull complete 03:22:48 1469e6f7b9e6: Pull complete 03:22:48 eaf3925da568: Pull complete 03:22:49 bab4dde63d76: Pull complete 03:22:49 bde34c3a00c8: Pull complete 03:22:49 b352a97aabf1: Pull complete 03:22:49 4872d77fe225: Pull complete 03:22:49 5851b861e8e6: Pull complete 03:22:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:50 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:22:54 $ docker top d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 -eo pid,comm 03:22:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:22:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:54 [ssh-agent] Looking for ssh-agent implementation... 03:22:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:54 $ docker exec d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 ssh-agent 03:22:54 SSH_AUTH_SOCK=/tmp/ssh-LUNBNWJOXHbr/agent.32 03:22:54 SSH_AGENT_PID=38 03:22:54 Running ssh-add (command line suppressed) 03:22:54 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11896105713062097562.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11896105713062097562.key) 03:22:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:54 + git tag --points-at HEAD [Pipeline] } 03:22:54 $ docker exec --env ******** --env ******** d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 ssh-agent -k 03:22:55 unset SSH_AUTH_SOCK; 03:22:55 unset SSH_AGENT_PID; 03:22:55 echo Agent pid 38 killed; 03:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:22:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:55 [ssh-agent] Looking for ssh-agent implementation... 03:22:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:55 $ docker exec d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 ssh-agent 03:22:55 SSH_AUTH_SOCK=/tmp/ssh-XYhakrWsAMHv/agent.70 03:22:55 SSH_AGENT_PID=76 03:22:55 Running ssh-add (command line suppressed) 03:22:55 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11166048522342287181.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11166048522342287181.key) 03:22:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:55 + git semver init 03:22:55 2024-03-17 03:22:55,938 [run_init] DEBUG init version:0.0.0 force:False 03:22:55 2024-03-17 03:22:55,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 03:22:55 2024-03-17 03:22:55,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 03:22:55 2024-03-17 03:22:55,940 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 03:22:57 2024-03-17 03:22:57,141 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 03:22:57 2024-03-17 03:22:57,141 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 03:22:57 2024-03-17 03:22:57,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:22:57 2024-03-17 03:22:57,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:22:57 3.0.1-dev.21 [Pipeline] } 03:22:57 $ docker exec --env ******** --env ******** d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 ssh-agent -k 03:22:57 unset SSH_AUTH_SOCK; 03:22:57 unset SSH_AGENT_PID; 03:22:57 echo Agent pid 76 killed; 03:22:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:22:57 + git semver [Pipeline] } 03:22:58 $ docker stop --time=1 d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 03:22:59 $ docker rm -f --volumes d5e83d34fe1863362cd494c10de32edc488b58379f78819c6f4f73c960ed72c6 [Pipeline] // withDockerContainer [Pipeline] sh 03:22:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:22:59 Stashed 1 file(s) [Pipeline] echo 03:22:59 [edgeXSemver]: initialized semver on version 3.0.1-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:00 provisioning config files... 03:23:00 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11263625072287140787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:00 ---> ****-login.sh 03:23:00 nexus3.edgexfoundry.org:10001 03:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:00 Configure a credential helper to remove this warning. See 03:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:00 03:23:00 Login Succeeded 03:23:00 nexus3.edgexfoundry.org:10002 03:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:00 Configure a credential helper to remove this warning. See 03:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:00 03:23:00 Login Succeeded 03:23:00 nexus3.edgexfoundry.org:10003 03:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:00 Configure a credential helper to remove this warning. See 03:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:00 03:23:00 Login Succeeded 03:23:00 nexus3.edgexfoundry.org:10004 03:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:00 Configure a credential helper to remove this warning. See 03:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:00 03:23:00 Login Succeeded 03:23:00 ****.io 03:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:00 Configure a credential helper to remove this warning. See 03:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:00 03:23:00 Login Succeeded 03:23:00 ---> ****-login.sh ends [Pipeline] } 03:23:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:23:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:23:01 ========================================================= 03:23:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:23:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:23:01 Sending build context to Docker daemon 23.06MB 03:23:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:23:01 Step 2/12 : FROM ${BASE} AS builder 03:23:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:23:01 7264a8db6415: Pulling fs layer 03:23:01 c4d48a809fc2: Pulling fs layer 03:23:01 4f1c88b9dad5: Pulling fs layer 03:23:01 ad3a456e5733: Pulling fs layer 03:23:01 69c7f0334f64: Pulling fs layer 03:23:01 1f1c1a5573a3: Pulling fs layer 03:23:01 ce7588e14bc9: Pulling fs layer 03:23:01 b5e4710f87ac: Pulling fs layer 03:23:01 69c7f0334f64: Waiting 03:23:01 1f1c1a5573a3: Waiting 03:23:01 ad3a456e5733: Waiting 03:23:01 ce7588e14bc9: Waiting 03:23:01 c4d48a809fc2: Verifying Checksum 03:23:01 c4d48a809fc2: Download complete 03:23:01 ad3a456e5733: Verifying Checksum 03:23:01 ad3a456e5733: Download complete 03:23:01 69c7f0334f64: Verifying Checksum 03:23:01 69c7f0334f64: Download complete 03:23:01 7264a8db6415: Verifying Checksum 03:23:01 7264a8db6415: Download complete 03:23:01 1f1c1a5573a3: Verifying Checksum 03:23:01 1f1c1a5573a3: Download complete 03:23:01 7264a8db6415: Pull complete 03:23:01 b5e4710f87ac: Verifying Checksum 03:23:01 b5e4710f87ac: Download complete 03:23:01 c4d48a809fc2: Pull complete 03:23:01 4f1c88b9dad5: Verifying Checksum 03:23:01 4f1c88b9dad5: Download complete 03:23:02 ce7588e14bc9: Verifying Checksum 03:23:02 ce7588e14bc9: Download complete 03:23:05 4f1c88b9dad5: Pull complete 03:23:05 ad3a456e5733: Pull complete 03:23:05 69c7f0334f64: Pull complete 03:23:06 1f1c1a5573a3: Pull complete 03:23:08 ce7588e14bc9: Pull complete 03:23:09 b5e4710f87ac: Pull complete 03:23:09 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:23:09 ---> 88b5674ff536 03:23:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:23:14 ---> Running in 6686bbd706c8 03:23:14 Removing intermediate container 6686bbd706c8 03:23:14 ---> 626d57e68999 03:23:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:23:14 ---> Running in 4a4c0a0a6905 03:23:14 Removing intermediate container 4a4c0a0a6905 03:23:14 ---> 3ab59ace0cb9 03:23:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:23:14 ---> Running in 3afc10102688 03:23:14 Removing intermediate container 3afc10102688 03:23:14 ---> af7f91385999 03:23:14 Step 6/12 : WORKDIR /device-uart 03:23:14 ---> Running in 7ac0dd305c0d 03:23:14 Removing intermediate container 7ac0dd305c0d 03:23:14 ---> d72aa1c276c0 03:23:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:14 ---> Running in d423a6c4ada9 03:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:23:14 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:23:14 (2/4) Installing libedit (20221030.3.1-r1) 03:23:14 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:23:14 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:23:14 Executing busybox-1.36.1-r5.trigger 03:23:15 Still waiting to schedule task 03:23:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-172’ 03:23:15 OK: 268 MiB in 56 packages 03:23:15 Removing intermediate container d423a6c4ada9 03:23:15 ---> 9c40ff2aa428 03:23:15 Step 8/12 : COPY go.mod vendor* ./ 03:23:15 ---> 62720006ee9c 03:23:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:15 ---> Running in 8532b69b1d80 03:23:54 Removing intermediate container 8532b69b1d80 03:23:54 ---> a68ea7aec7b3 03:23:54 Step 10/12 : COPY . . 03:23:54 ---> 28908aaa8785 03:23:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:54 ---> Running in e9ffd263cb0b 03:23:54 Removing intermediate container e9ffd263cb0b 03:23:54 ---> 4ae6bb2109f7 03:23:54 Step 12/12 : RUN ${MAKE} 03:23:54 ---> Running in 96a5be1be266 03:23:54 noop 03:23:54 Removing intermediate container 96a5be1be266 03:23:54 ---> 2299a83601f6 03:23:54 Successfully built 2299a83601f6 03:23:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:54 + docker inspect -f . ci-base-image-x86_64 03:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:54 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:23:55 $ docker top 2154391893bbf30338566f82d525a933243b207dfa9c87b9c33650c5fa4693da -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:55 + go version 03:23:55 go version go1.21.0 linux/amd64 [Pipeline] } 03:23:55 $ docker stop --time=1 2154391893bbf30338566f82d525a933243b207dfa9c87b9c33650c5fa4693da 03:23:56 $ docker rm -f --volumes 2154391893bbf30338566f82d525a933243b207dfa9c87b9c33650c5fa4693da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:57 + docker inspect -f . ci-base-image-x86_64 03:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:57 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:23:57 $ docker top 87d8aba201206c915cd1fce6628d9189b956ea781fa12e9c070d15b62060b876 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 03:23:58 + make test 03:23:58 go test ./... -coverprofile=coverage.out 03:23:59 ? github.com/edgexfoundry/device-uart [no test files] 03:24:09 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:24:09 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:24:15 go vet ./... 03:24:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:17 ./bin/test-attribution-txt.sh 03:24:17 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:24:17 $ docker stop --time=1 87d8aba201206c915cd1fce6628d9189b956ea781fa12e9c070d15b62060b876 03:24:21 $ docker rm -f --volumes 87d8aba201206c915cd1fce6628d9189b956ea781fa12e9c070d15b62060b876 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:24:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:24:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:22 + ls -al . 03:24:22 total 156 03:24:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:23 . 03:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:22 .. 03:24:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 03:22 .dockerignore 03:24:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:24 .git 03:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 .github 03:24:22 -rw-rw-r-- 1 jenkins jenkins 343 Mar 17 03:22 .gitignore 03:24:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:22 .golangci.yml 03:24:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:22 .semver 03:24:22 -rw-rw-r-- 1 jenkins jenkins 9941 Mar 17 03:22 Attribution.txt 03:24:22 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 17 03:22 CHANGELOG.md 03:24:22 -rw-rw-r-- 1 jenkins jenkins 1886 Mar 17 03:22 Dockerfile 03:24:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:22 GOVERNANCE.md 03:24:22 -rw-rw-r-- 1 jenkins jenkins 675 Mar 17 03:22 Jenkinsfile 03:24:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:22 LICENSE 03:24:22 -rw-rw-r-- 1 jenkins jenkins 1872 Mar 17 03:22 Makefile 03:24:22 -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 03:22 OWNERS.md 03:24:22 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 17 03:22 README.md 03:24:22 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:22 VERSION 03:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:22 bin 03:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 cmd 03:24:22 -rw-r--r-- 1 jenkins jenkins 10 Mar 17 03:23 coverage.out 03:24:22 -rw-rw-r-- 1 jenkins jenkins 3766 Mar 17 03:22 go.mod 03:24:22 -rw-rw-r-- 1 jenkins jenkins 36435 Mar 17 03:22 go.sum 03:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 internal 03:24:22 -rw-rw-r-- 1 jenkins jenkins 209 Mar 17 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:23 + 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=08fb917c2f38b4ae53e716333c1e5812fb96cea3 --label arch=amd64 --label version=3.0.1-dev.21 . 03:24:23 Sending build context to Docker daemon 23.07MB 03:24:23 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:24:23 Step 2/26 : FROM ${BASE} AS builder 03:24:23 ---> 2299a83601f6 03:24:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:24:23 ---> Running in e8438517c089 03:24:23 Removing intermediate container e8438517c089 03:24:23 ---> 0a02062b4e90 03:24:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:24:24 ---> Running in 3277856b2782 03:24:24 Removing intermediate container 3277856b2782 03:24:24 ---> e55f9c161187 03:24:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:24:24 ---> Running in 0ffd836a3e38 03:24:25 Removing intermediate container 0ffd836a3e38 03:24:25 ---> bc604f5decd0 03:24:25 Step 6/26 : WORKDIR /device-uart 03:24:25 ---> Running in a01e935f5812 03:24:25 Removing intermediate container a01e935f5812 03:24:25 ---> 3b7f6a5b2dde 03:24:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:25 ---> Running in 6d536873ea31 03:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:26 OK: 268 MiB in 56 packages 03:24:26 Removing intermediate container 6d536873ea31 03:24:26 ---> 725544beeab2 03:24:26 Step 8/26 : COPY go.mod vendor* ./ 03:24:26 ---> 9a334b2c9b4f 03:24:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:27 ---> Running in dd8ea002a05c 03:24:28 Removing intermediate container dd8ea002a05c 03:24:28 ---> 0892d69f6a5a 03:24:28 Step 10/26 : COPY . . 03:24:29 ---> 9730f9e6e9da 03:24:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:24:29 ---> Running in df9b9728b9a7 03:24:29 Removing intermediate container df9b9728b9a7 03:24:29 ---> e6557a549c85 03:24:29 Step 12/26 : RUN ${MAKE} 03:24:29 ---> Running in 085ef556bb22 03:24:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:24:51 Removing intermediate container 085ef556bb22 03:24:51 ---> ad90dcecf762 03:24:51 Step 13/26 : FROM alpine:3.18 03:24:51 3.18: Pulling from library/alpine 03:24:51 619be1103602: Pulling fs layer 03:24:51 619be1103602: Download complete 03:24:51 619be1103602: Pull complete 03:24:51 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:24:51 Status: Downloaded newer image for alpine:3.18 03:24:51 ---> d3782b16ccc9 03:24:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:24:51 ---> Running in 9329d178710b 03:24:51 Removing intermediate container 9329d178710b 03:24:51 ---> 4a2267d1382d 03:24:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:24:51 ---> Running in 2b2ef51cd05f 03:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:52 (1/1) Installing dumb-init (1.2.5-r2) 03:24:52 Executing busybox-1.36.1-r5.trigger 03:24:52 OK: 7 MiB in 16 packages 03:24:52 Removing intermediate container 2b2ef51cd05f 03:24:52 ---> c524b96309a3 03:24:52 Step 16/26 : RUN apk --no-cache upgrade 03:24:52 ---> Running in 737d7dd05bed 03:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:53 OK: 7 MiB in 16 packages 03:24:53 Removing intermediate container 737d7dd05bed 03:24:53 ---> 17bd4e43c347 03:24:53 Step 17/26 : WORKDIR / 03:24:53 ---> Running in 8b3a45031f2b 03:24:53 Removing intermediate container 8b3a45031f2b 03:24:53 ---> 595916a3dd04 03:24:53 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 03:24:53 ---> e321b5797450 03:24:53 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 03:24:53 ---> c7d23a65a1ce 03:24:53 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 03:24:54 ---> b903136bb8dd 03:24:54 Step 21/26 : EXPOSE 59995 03:24:54 ---> Running in 4a62baee31e8 03:24:54 Removing intermediate container 4a62baee31e8 03:24:54 ---> 44fa1c771604 03:24:54 Step 22/26 : ENTRYPOINT ["/device-uart"] 03:24:54 ---> Running in 4854f7e8acba 03:24:55 Removing intermediate container 4854f7e8acba 03:24:55 ---> 648eb4420963 03:24:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:24:55 ---> Running in 787973e3155f 03:24:55 Removing intermediate container 787973e3155f 03:24:55 ---> 0a6e6935e645 03:24:55 Step 24/26 : LABEL arch=amd64 03:24:55 ---> Running in 605ae9e0c02c 03:24:55 Removing intermediate container 605ae9e0c02c 03:24:55 ---> 36483490a5b3 03:24:55 Step 25/26 : LABEL git_sha=08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:24:55 ---> Running in bdabd9c74c66 03:24:55 Removing intermediate container bdabd9c74c66 03:24:55 ---> d2839096d4b1 03:24:55 Step 26/26 : LABEL version=3.0.1-dev.21 03:24:55 ---> Running in 739202dd962e 03:24:55 Removing intermediate container 739202dd962e 03:24:55 ---> cc6e455749d4 03:24:55 [Warning] One or more build-args [ARCH] were not consumed 03:24:55 Successfully built cc6e455749d4 03:24:55 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:55 provisioning config files... 03:24:55 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3834585061673891751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:55 ---> ****-login.sh 03:24:55 nexus3.edgexfoundry.org:10001 03:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:55 Configure a credential helper to remove this warning. See 03:24:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:55 03:24:55 Login Succeeded 03:24:55 nexus3.edgexfoundry.org:10002 03:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:55 Configure a credential helper to remove this warning. See 03:24:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:55 03:24:55 Login Succeeded 03:24:55 nexus3.edgexfoundry.org:10003 03:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:56 Configure a credential helper to remove this warning. See 03:24:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:56 03:24:56 Login Succeeded 03:24:56 nexus3.edgexfoundry.org:10004 03:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:56 Configure a credential helper to remove this warning. See 03:24:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:56 03:24:56 Login Succeeded 03:24:56 ****.io 03:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:56 Configure a credential helper to remove this warning. See 03:24:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:56 03:24:56 Login Succeeded 03:24:56 ---> ****-login.sh ends [Pipeline] } 03:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:24:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:56 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 03:24:56 08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:24:56 latest 03:24:56 3.0.1-dev.21 03:24:56 08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:24:56 main 03:24:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:56 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:57 + docker push nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:24:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:24:57 f89d9c1ed80d: Preparing 03:24:57 ca43834c8f03: Preparing 03:24:57 30f3166294ec: Preparing 03:24:57 2a33150a51ca: Preparing 03:24:57 5cbe131a8ae1: Preparing 03:24:57 aedc3bda2944: Preparing 03:24:57 aedc3bda2944: Waiting 03:24:57 2a33150a51ca: Pushed 03:24:57 ca43834c8f03: Pushed 03:24:57 5cbe131a8ae1: Pushed 03:24:57 aedc3bda2944: Layer already exists 03:24:57 30f3166294ec: Pushed 03:24:59 f89d9c1ed80d: Pushed 03:24:59 08fb917c2f38b4ae53e716333c1e5812fb96cea3: digest: sha256:6d25b6437b7e9e7f3170b21b0934e706d004adb54d43296e696a620a703fd827 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 03:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:25:00 f89d9c1ed80d: Preparing 03:25:00 ca43834c8f03: Preparing 03:25:00 30f3166294ec: Preparing 03:25:00 2a33150a51ca: Preparing 03:25:00 5cbe131a8ae1: Preparing 03:25:00 aedc3bda2944: Preparing 03:25:00 aedc3bda2944: Waiting 03:25:00 30f3166294ec: Layer already exists 03:25:00 f89d9c1ed80d: Layer already exists 03:25:00 ca43834c8f03: Layer already exists 03:25:00 2a33150a51ca: Layer already exists 03:25:00 5cbe131a8ae1: Layer already exists 03:25:00 aedc3bda2944: Layer already exists 03:25:00 latest: digest: sha256:6d25b6437b7e9e7f3170b21b0934e706d004adb54d43296e696a620a703fd827 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.21 03:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:25:01 f89d9c1ed80d: Preparing 03:25:01 ca43834c8f03: Preparing 03:25:01 30f3166294ec: Preparing 03:25:01 2a33150a51ca: Preparing 03:25:01 5cbe131a8ae1: Preparing 03:25:01 aedc3bda2944: Preparing 03:25:01 aedc3bda2944: Waiting 03:25:01 ca43834c8f03: Layer already exists 03:25:01 5cbe131a8ae1: Layer already exists 03:25:01 f89d9c1ed80d: Layer already exists 03:25:01 2a33150a51ca: Layer already exists 03:25:01 30f3166294ec: Layer already exists 03:25:01 aedc3bda2944: Layer already exists 03:25:01 3.0.1-dev.21: digest: sha256:6d25b6437b7e9e7f3170b21b0934e706d004adb54d43296e696a620a703fd827 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:25:01 f89d9c1ed80d: Preparing 03:25:01 ca43834c8f03: Preparing 03:25:01 30f3166294ec: Preparing 03:25:01 2a33150a51ca: Preparing 03:25:01 5cbe131a8ae1: Preparing 03:25:01 aedc3bda2944: Preparing 03:25:01 aedc3bda2944: Waiting 03:25:01 f89d9c1ed80d: Layer already exists 03:25:01 2a33150a51ca: Layer already exists 03:25:01 5cbe131a8ae1: Layer already exists 03:25:01 30f3166294ec: Layer already exists 03:25:01 ca43834c8f03: Layer already exists 03:25:01 aedc3bda2944: Layer already exists 03:25:01 08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21: digest: sha256:6d25b6437b7e9e7f3170b21b0934e706d004adb54d43296e696a620a703fd827 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 03:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:25:02 f89d9c1ed80d: Preparing 03:25:02 ca43834c8f03: Preparing 03:25:02 30f3166294ec: Preparing 03:25:02 2a33150a51ca: Preparing 03:25:02 5cbe131a8ae1: Preparing 03:25:02 aedc3bda2944: Preparing 03:25:02 aedc3bda2944: Waiting 03:25:02 5cbe131a8ae1: Layer already exists 03:25:02 f89d9c1ed80d: Layer already exists 03:25:02 30f3166294ec: Layer already exists 03:25:02 ca43834c8f03: Layer already exists 03:25:02 2a33150a51ca: Layer already exists 03:25:02 aedc3bda2944: Layer already exists 03:25:02 main: digest: sha256:6d25b6437b7e9e7f3170b21b0934e706d004adb54d43296e696a620a703fd827 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:02 ===================================================== [Pipeline] echo 03:25:02 taggedImages: 03:25:02 - nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:25:02 - nexus3.edgexfoundry.org:10004/device-uart:latest 03:25:02 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.21 03:25:02 - nexus3.edgexfoundry.org:10004/device-uart:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:25:02 - 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 03:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:02 03:25:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:03 latest: Pulling from edgex-lftools-log-publisher 03:25:03 5eb5b503b376: Pulling fs layer 03:25:03 5c69ac0246d0: Pulling fs layer 03:25:03 ec43610c2a17: Pulling fs layer 03:25:03 3a2ae6a8a46f: Pulling fs layer 03:25:03 33b1e0a273af: Pulling fs layer 03:25:03 5d3b04190fa2: Pulling fs layer 03:25:03 2f39f015ded8: Pulling fs layer 03:25:03 33b1e0a273af: Waiting 03:25:03 5d3b04190fa2: Waiting 03:25:03 2f39f015ded8: Waiting 03:25:03 3a2ae6a8a46f: Waiting 03:25:03 5c69ac0246d0: Download complete 03:25:03 3a2ae6a8a46f: Download complete 03:25:03 33b1e0a273af: Verifying Checksum 03:25:03 33b1e0a273af: Download complete 03:25:03 5d3b04190fa2: Download complete 03:25:03 ec43610c2a17: Verifying Checksum 03:25:03 ec43610c2a17: Download complete 03:25:03 5eb5b503b376: Verifying Checksum 03:25:03 5eb5b503b376: Download complete 03:25:04 2f39f015ded8: Download complete 03:25:04 5eb5b503b376: Pull complete 03:25:04 5c69ac0246d0: Pull complete 03:25:05 ec43610c2a17: Pull complete 03:25:05 3a2ae6a8a46f: Pull complete 03:25:05 33b1e0a273af: Pull complete 03:25:05 5d3b04190fa2: Pull complete 03:25:09 2f39f015ded8: Pull complete 03:25:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:09 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:25:20 $ docker top 362e93c4edeed6157a6e013f56247381feadf8c0a79c3786c61eadf7f118b346 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:21 ---> job-cost.sh 03:25:21 lf-activate-venv: SKIPPING 03:25:21 INFO: No Stack... 03:25:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:22 INFO: Archiving Costs [Pipeline] sh 03:25:22 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 03:25:22 + cut -d, -f6 [Pipeline] lock 03:25:22 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-28-stack-cost] 03:25:22 Resource [jenkins-edgexfoundry-device-uart-main-28-stack-cost] did not exist. Created. 03:25:22 Lock acquired on [jenkins-edgexfoundry-device-uart-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:22 + echo total: 0.2199999988079071 [Pipeline] stash 03:25:22 Stashed 1 file(s) [Pipeline] } 03:25:22 Lock released on resource [jenkins-edgexfoundry-device-uart-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:22 $ docker stop --time=1 362e93c4edeed6157a6e013f56247381feadf8c0a79c3786c61eadf7f118b346 03:25:23 $ docker rm -f --volumes 362e93c4edeed6157a6e013f56247381feadf8c0a79c3786c61eadf7f118b346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:26:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-179 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 03:26:30 Running in /w/workspace/device-uart/28 [Pipeline] { [Pipeline] checkout 03:26:34 The recommended git tool is: git 03:26:40 using credential edgex-jenkins-ssh 03:26:44 Cloning the remote Git repository 03:26:44 Cloning repository git@github.com:edgexfoundry/device-uart.git 03:26:44 > git init /w/workspace/device-uart/28 # timeout=10 03:26:44 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 03:26:44 > git --version # timeout=10 03:26:44 > git --version # 'git version 2.25.1' 03:26:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:47 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 03:26:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:49 Avoid second fetch 03:26:49 Checking out Revision 08fb917c2f38b4ae53e716333c1e5812fb96cea3 (main) 03:26:49 > git config core.sparsecheckout # timeout=10 03:26:49 Commit message: "Merge pull request #49 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" 03:26:49 > git checkout -f 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:26:55 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:55 Dload Upload Total Spent Left Speed 03:26:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 03:26:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:26:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:26:55 + sudo tee /etc/docker/daemon.new 03:26:55 { 03:26:55 "registry-mirrors": [ 03:26:55 "https://nexus3.edgexfoundry.org:10001" 03:26:55 ], 03:26:55 "bip": "10.250.0.254/24", 03:26:55 "hosts": [ 03:26:55 "tcp://0.0.0.0:5555", 03:26:55 "unix:///var/run/docker.sock" 03:26:55 ], 03:26:55 "mtu": 1458, 03:26:55 "selinux-enabled": true, 03:26:55 "seccomp-profile": "/etc/docker/seccomp.json" 03:26:55 } [Pipeline] sh 03:26:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:26:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:14 provisioning config files... 03:27:14 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/28@tmp/config17899653411796990119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:15 ---> ****-login.sh 03:27:15 nexus3.edgexfoundry.org:10001 03:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:15 Configure a credential helper to remove this warning. See 03:27:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:15 03:27:15 Login Succeeded 03:27:15 nexus3.edgexfoundry.org:10002 03:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:16 Configure a credential helper to remove this warning. See 03:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:16 03:27:16 Login Succeeded 03:27:16 nexus3.edgexfoundry.org:10003 03:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:16 Configure a credential helper to remove this warning. See 03:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:16 03:27:16 Login Succeeded 03:27:16 nexus3.edgexfoundry.org:10004 03:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:17 Configure a credential helper to remove this warning. See 03:27:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:17 03:27:17 Login Succeeded 03:27:17 ****.io 03:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:17 Configure a credential helper to remove this warning. See 03:27:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:17 03:27:17 Login Succeeded 03:27:17 ---> ****-login.sh ends [Pipeline] } 03:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:27:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:27:18 ========================================================= 03:27:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:27:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:27:18 Sending build context to Docker daemon 11.59MB 03:27:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:27:18 Step 2/12 : FROM ${BASE} AS builder 03:27:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:27:18 9fda8d8052c6: Pulling fs layer 03:27:18 5d54e960e981: Pulling fs layer 03:27:18 c4a7e357bf2a: Pulling fs layer 03:27:18 f0e02332f6b5: Pulling fs layer 03:27:18 872ee5b61b7b: Pulling fs layer 03:27:18 f0e02332f6b5: Waiting 03:27:18 872ee5b61b7b: Waiting 03:27:18 0c6a40ed1a82: Pulling fs layer 03:27:18 0c6a40ed1a82: Waiting 03:27:18 94ae7d8d031c: Pulling fs layer 03:27:18 5d54e960e981: Download complete 03:27:19 f0e02332f6b5: Verifying Checksum 03:27:19 f0e02332f6b5: Download complete 03:27:19 872ee5b61b7b: Verifying Checksum 03:27:19 872ee5b61b7b: Download complete 03:27:19 9fda8d8052c6: Verifying Checksum 03:27:19 9fda8d8052c6: Download complete 03:27:19 94ae7d8d031c: Verifying Checksum 03:27:19 94ae7d8d031c: Download complete 03:27:20 9fda8d8052c6: Pull complete 03:27:21 5d54e960e981: Pull complete 03:27:21 c4a7e357bf2a: Verifying Checksum 03:27:21 c4a7e357bf2a: Download complete 03:27:22 0c6a40ed1a82: Verifying Checksum 03:27:22 0c6a40ed1a82: Download complete 03:27:34 c4a7e357bf2a: Pull complete 03:27:34 f0e02332f6b5: Pull complete 03:27:35 872ee5b61b7b: Pull complete 03:27:45 0c6a40ed1a82: Pull complete 03:27:45 94ae7d8d031c: Pull complete 03:27:45 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:27:45 ---> 86de565de09d 03:27:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:27:46 ---> Running in 25936ddade3c 03:27:47 Removing intermediate container 25936ddade3c 03:27:47 ---> ecd11265d38e 03:27:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:27:47 ---> Running in b6a09a2d726f 03:27:47 Removing intermediate container b6a09a2d726f 03:27:47 ---> ad584449d36c 03:27:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:27:47 ---> Running in c74f8cec17f3 03:27:48 Removing intermediate container c74f8cec17f3 03:27:48 ---> f3ba4f89fc87 03:27:48 Step 6/12 : WORKDIR /device-uart 03:27:48 ---> Running in 97ba49efdd33 03:27:48 Removing intermediate container 97ba49efdd33 03:27:48 ---> acc2aa658713 03:27:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:27:48 ---> Running in 364349e84fc0 03:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:27:52 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:27:52 (2/4) Installing libedit (20221030.3.1-r1) 03:27:52 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:27:52 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:27:52 Executing busybox-1.36.1-r5.trigger 03:27:52 OK: 271 MiB in 56 packages 03:27:53 Removing intermediate container 364349e84fc0 03:27:53 ---> 37d03de90317 03:27:53 Step 8/12 : COPY go.mod vendor* ./ 03:27:54 ---> c71c64e8f395 03:27:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:27:54 ---> Running in 60a7c32c54dd 03:29:02 Removing intermediate container 60a7c32c54dd 03:29:02 ---> 02059593c703 03:29:02 Step 10/12 : COPY . . 03:29:02 ---> 549cd64e626c 03:29:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:29:02 ---> Running in 052ce69d02e4 03:29:02 Removing intermediate container 052ce69d02e4 03:29:02 ---> 12b4fdb8bc0c 03:29:02 Step 12/12 : RUN ${MAKE} 03:29:02 ---> Running in 827be7db1fa4 03:29:02 noop 03:29:02 Removing intermediate container 827be7db1fa4 03:29:02 ---> 8605cc8bcda6 03:29:02 Successfully built 8605cc8bcda6 03:29:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:02 + docker inspect -f . ci-base-image-arm64 03:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:02 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 03:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/28 -v /w/workspace/device-uart/28:/w/workspace/device-uart/28:rw,z -v /w/workspace/device-uart/28@tmp:/w/workspace/device-uart/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:04 $ docker top 29f442ae0bdcf220960735a18bee5b528b442adca170e7b019253f6fd9f80218 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:05 + go version 03:29:05 go version go1.21.0 linux/arm64 [Pipeline] } 03:29:05 $ docker stop --time=1 29f442ae0bdcf220960735a18bee5b528b442adca170e7b019253f6fd9f80218 03:29:07 $ docker rm -f --volumes 29f442ae0bdcf220960735a18bee5b528b442adca170e7b019253f6fd9f80218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:07 + docker inspect -f . ci-base-image-arm64 03:29:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:08 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 03:29:08 $ 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/28 -v /w/workspace/device-uart/28:/w/workspace/device-uart/28:rw,z -v /w/workspace/device-uart/28@tmp:/w/workspace/device-uart/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:09 $ docker top f89a0388aab1e2c10e265705f7b97cd1a7136fb8db5198e352f9d053d47fbe19 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:10 + git config --global --add safe.directory /w/workspace/device-uart/28 [Pipeline] fileExists [Pipeline] sh 03:29:11 + make test 03:29:11 go test ./... -coverprofile=coverage.out 03:29:15 ? github.com/edgexfoundry/device-uart [no test files] 03:31:07 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:31:07 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:31:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:31:07 go vet ./... 03:31:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:31:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:31:29 ./bin/test-attribution-txt.sh 03:31:29 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:31:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:31:29 $ docker stop --time=1 f89a0388aab1e2c10e265705f7b97cd1a7136fb8db5198e352f9d053d47fbe19 03:31:31 $ docker rm -f --volumes f89a0388aab1e2c10e265705f7b97cd1a7136fb8db5198e352f9d053d47fbe19 [Pipeline] // withDockerContainer [Pipeline] sh 03:31:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:31:32 Warning: overwriting stash ‘coverage-report’ 03:31:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:31:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:31:34 + ls -al . 03:31:34 total 152 03:31:34 drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 03:29 . 03:31:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:26 .. 03:31:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 03:26 .dockerignore 03:31:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:26 .git 03:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 .github 03:31:34 -rw-rw-r-- 1 jenkins jenkins 343 Mar 17 03:26 .gitignore 03:31:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:26 .golangci.yml 03:31:34 -rw-rw-r-- 1 jenkins jenkins 9941 Mar 17 03:26 Attribution.txt 03:31:34 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 17 03:26 CHANGELOG.md 03:31:34 -rw-rw-r-- 1 jenkins jenkins 1886 Mar 17 03:26 Dockerfile 03:31:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:26 GOVERNANCE.md 03:31:34 -rw-rw-r-- 1 jenkins jenkins 675 Mar 17 03:26 Jenkinsfile 03:31:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:26 LICENSE 03:31:34 -rw-rw-r-- 1 jenkins jenkins 1872 Mar 17 03:26 Makefile 03:31:34 -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 03:26 OWNERS.md 03:31:34 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 17 03:26 README.md 03:31:34 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:22 VERSION 03:31:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:26 bin 03:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 cmd 03:31:34 -rw-r--r-- 1 jenkins jenkins 10 Mar 17 03:29 coverage.out 03:31:34 -rw-rw-r-- 1 jenkins jenkins 3766 Mar 17 03:26 go.mod 03:31:34 -rw-rw-r-- 1 jenkins jenkins 36435 Mar 17 03:26 go.sum 03:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 internal 03:31:34 -rw-rw-r-- 1 jenkins jenkins 209 Mar 17 03:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:34 + 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=08fb917c2f38b4ae53e716333c1e5812fb96cea3 --label arch=arm64 --label version=3.0.1-dev.21 . 03:31:35 Sending build context to Docker daemon 11.59MB 03:31:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:31:35 Step 2/26 : FROM ${BASE} AS builder 03:31:35 ---> 8605cc8bcda6 03:31:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:31:35 ---> Running in df3f40a2dbff 03:31:35 Removing intermediate container df3f40a2dbff 03:31:35 ---> 594999fc3a28 03:31:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:31:35 ---> Running in 829b9d1a0c37 03:31:35 Removing intermediate container 829b9d1a0c37 03:31:35 ---> 069be212b113 03:31:35 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:31:36 ---> Running in df30f5deead3 03:31:36 Removing intermediate container df30f5deead3 03:31:36 ---> 6ad2a7e2a3a7 03:31:36 Step 6/26 : WORKDIR /device-uart 03:31:36 ---> Running in db37db378123 03:31:37 Removing intermediate container db37db378123 03:31:37 ---> 32b05e7ed4cc 03:31:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:37 ---> Running in 6d3623e56031 03:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:31:40 OK: 271 MiB in 56 packages 03:31:41 Removing intermediate container 6d3623e56031 03:31:41 ---> c8031f3a6b65 03:31:41 Step 8/26 : COPY go.mod vendor* ./ 03:31:41 ---> 5828160458da 03:31:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:41 ---> Running in 10f38b9c1cdf 03:31:44 Removing intermediate container 10f38b9c1cdf 03:31:44 ---> 8d70698ac219 03:31:44 Step 10/26 : COPY . . 03:31:45 ---> 38a7e30c2d55 03:31:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:45 ---> Running in a76c29667992 03:31:45 Removing intermediate container a76c29667992 03:31:45 ---> 209165f39d1b 03:31:45 Step 12/26 : RUN ${MAKE} 03:31:46 ---> Running in 0adc79ec0c1f 03:31:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:34:09 Removing intermediate container 0adc79ec0c1f 03:34:09 ---> d15a5c05c919 03:34:09 Step 13/26 : FROM alpine:3.18 03:34:09 3.18: Pulling from library/alpine 03:34:09 c6b39de5b339: Pulling fs layer 03:34:09 c6b39de5b339: Verifying Checksum 03:34:09 c6b39de5b339: Download complete 03:34:09 c6b39de5b339: Pull complete 03:34:09 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:34:09 Status: Downloaded newer image for alpine:3.18 03:34:09 ---> 33abbf032149 03:34:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:34:09 ---> Running in 6a75054dc356 03:34:09 Removing intermediate container 6a75054dc356 03:34:09 ---> 1f83d466604f 03:34:09 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:34:09 ---> Running in 3dac82b60d5f 03:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:34:09 (1/1) Installing dumb-init (1.2.5-r2) 03:34:09 Executing busybox-1.36.1-r5.trigger 03:34:09 OK: 8 MiB in 16 packages 03:34:09 Removing intermediate container 3dac82b60d5f 03:34:09 ---> 64389729ce3f 03:34:09 Step 16/26 : RUN apk --no-cache upgrade 03:34:09 ---> Running in 84cfff5f0268 03:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:34:09 OK: 8 MiB in 16 packages 03:34:09 Removing intermediate container 84cfff5f0268 03:34:09 ---> 413ee557fe65 03:34:09 Step 17/26 : WORKDIR / 03:34:09 ---> Running in 0fee9be18d5f 03:34:09 Removing intermediate container 0fee9be18d5f 03:34:09 ---> 25623b3af477 03:34:09 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 03:34:10 ---> c256e62488f7 03:34:10 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 03:34:10 ---> 8d08f6449626 03:34:10 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 03:34:12 ---> 391f46d3e49f 03:34:12 Step 21/26 : EXPOSE 59995 03:34:12 ---> Running in 4d56637b69c8 03:34:13 Removing intermediate container 4d56637b69c8 03:34:13 ---> adf619b06a72 03:34:13 Step 22/26 : ENTRYPOINT ["/device-uart"] 03:34:13 ---> Running in 8d9308e673d9 03:34:13 Removing intermediate container 8d9308e673d9 03:34:13 ---> c407b9434c72 03:34:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:34:13 ---> Running in 99acdbdc8cbf 03:34:14 Removing intermediate container 99acdbdc8cbf 03:34:14 ---> a1482a99d575 03:34:14 Step 24/26 : LABEL arch=arm64 03:34:14 ---> Running in d94d9d9d8409 03:34:14 Removing intermediate container d94d9d9d8409 03:34:14 ---> 39a2ba1bfa77 03:34:14 Step 25/26 : LABEL git_sha=08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:34:14 ---> Running in c7fee2318bae 03:34:14 Removing intermediate container c7fee2318bae 03:34:14 ---> ec9ed5f08956 03:34:14 Step 26/26 : LABEL version=3.0.1-dev.21 03:34:15 ---> Running in 57d2bd67aa06 03:34:15 Removing intermediate container 57d2bd67aa06 03:34:15 ---> aca9e99e7905 03:34:15 [Warning] One or more build-args [ARCH] were not consumed 03:34:15 Successfully built aca9e99e7905 03:34:15 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:15 provisioning config files... 03:34:15 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/28@tmp/config1878032052864791258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:15 ---> ****-login.sh 03:34:15 nexus3.edgexfoundry.org:10001 03:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:16 Configure a credential helper to remove this warning. See 03:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:16 03:34:16 Login Succeeded 03:34:16 nexus3.edgexfoundry.org:10002 03:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:16 Configure a credential helper to remove this warning. See 03:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:16 03:34:16 Login Succeeded 03:34:16 nexus3.edgexfoundry.org:10003 03:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:16 Configure a credential helper to remove this warning. See 03:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:16 03:34:16 Login Succeeded 03:34:16 nexus3.edgexfoundry.org:10004 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:17 Configure a credential helper to remove this warning. See 03:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:17 03:34:17 Login Succeeded 03:34:17 ****.io 03:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:18 Configure a credential helper to remove this warning. See 03:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:18 03:34:18 Login Succeeded 03:34:18 ---> ****-login.sh ends [Pipeline] } 03:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:34:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:34:18 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 03:34:18 08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:34:18 latest 03:34:18 3.0.1-dev.21 03:34:18 08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:34:18 main 03:34:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:18 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:18 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:34:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:34:18 0fe3d8168dfe: Preparing 03:34:18 c9837ff3f213: Preparing 03:34:18 7b0b5bda682d: Preparing 03:34:18 adb4e7b5de70: Preparing 03:34:18 5744ede8ce86: Preparing 03:34:18 7c504f21be85: Preparing 03:34:18 7c504f21be85: Waiting 03:34:19 7b0b5bda682d: Pushed 03:34:19 adb4e7b5de70: Pushed 03:34:19 c9837ff3f213: Pushed 03:34:19 5744ede8ce86: Pushed 03:34:19 7c504f21be85: Layer already exists 03:34:24 0fe3d8168dfe: Pushed 03:34:24 08fb917c2f38b4ae53e716333c1e5812fb96cea3: digest: sha256:8ed040c90b207208b76e37006c32d5ed10eaedd534105a5b96a8cd00613abed2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:24 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:34:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:34:25 0fe3d8168dfe: Preparing 03:34:25 c9837ff3f213: Preparing 03:34:25 7b0b5bda682d: Preparing 03:34:25 adb4e7b5de70: Preparing 03:34:25 5744ede8ce86: Preparing 03:34:25 7c504f21be85: Preparing 03:34:25 adb4e7b5de70: Layer already exists 03:34:25 0fe3d8168dfe: Layer already exists 03:34:25 c9837ff3f213: Layer already exists 03:34:25 5744ede8ce86: Layer already exists 03:34:25 7b0b5bda682d: Layer already exists 03:34:25 7c504f21be85: Layer already exists 03:34:25 latest: digest: sha256:8ed040c90b207208b76e37006c32d5ed10eaedd534105a5b96a8cd00613abed2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:26 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.21 03:34:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:34:26 0fe3d8168dfe: Preparing 03:34:26 c9837ff3f213: Preparing 03:34:26 7b0b5bda682d: Preparing 03:34:26 adb4e7b5de70: Preparing 03:34:26 5744ede8ce86: Preparing 03:34:26 7c504f21be85: Preparing 03:34:26 7c504f21be85: Waiting 03:34:26 adb4e7b5de70: Layer already exists 03:34:26 c9837ff3f213: Layer already exists 03:34:26 7b0b5bda682d: Layer already exists 03:34:26 5744ede8ce86: Layer already exists 03:34:26 0fe3d8168dfe: Layer already exists 03:34:26 7c504f21be85: Layer already exists 03:34:26 3.0.1-dev.21: digest: sha256:8ed040c90b207208b76e37006c32d5ed10eaedd534105a5b96a8cd00613abed2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:26 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:27 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:34:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:34:27 0fe3d8168dfe: Preparing 03:34:27 c9837ff3f213: Preparing 03:34:27 7b0b5bda682d: Preparing 03:34:27 adb4e7b5de70: Preparing 03:34:27 5744ede8ce86: Preparing 03:34:27 7c504f21be85: Preparing 03:34:27 7c504f21be85: Waiting 03:34:27 0fe3d8168dfe: Layer already exists 03:34:27 c9837ff3f213: Layer already exists 03:34:27 adb4e7b5de70: Layer already exists 03:34:27 7b0b5bda682d: Layer already exists 03:34:27 5744ede8ce86: Layer already exists 03:34:27 7c504f21be85: Layer already exists 03:34:27 08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21: digest: sha256:8ed040c90b207208b76e37006c32d5ed10eaedd534105a5b96a8cd00613abed2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:28 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:28 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 03:34:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:34:28 0fe3d8168dfe: Preparing 03:34:28 c9837ff3f213: Preparing 03:34:28 7b0b5bda682d: Preparing 03:34:28 adb4e7b5de70: Preparing 03:34:28 5744ede8ce86: Preparing 03:34:28 7c504f21be85: Preparing 03:34:28 7c504f21be85: Waiting 03:34:28 adb4e7b5de70: Layer already exists 03:34:28 c9837ff3f213: Layer already exists 03:34:28 7b0b5bda682d: Layer already exists 03:34:28 0fe3d8168dfe: Layer already exists 03:34:28 5744ede8ce86: Layer already exists 03:34:28 7c504f21be85: Layer already exists 03:34:28 main: digest: sha256:8ed040c90b207208b76e37006c32d5ed10eaedd534105a5b96a8cd00613abed2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:34:28 ===================================================== [Pipeline] echo 03:34:28 taggedImages: 03:34:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3 03:34:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:34:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.21 03:34:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:08fb917c2f38b4ae53e716333c1e5812fb96cea3-3.0.1-dev.21 03:34:28 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:29 03:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:29 arm64: Pulling from edgex-lftools-log-publisher 03:34:29 8998bd30e6a1: Pulling fs layer 03:34:29 04944245beec: Pulling fs layer 03:34:29 699f458cf7ca: Pulling fs layer 03:34:29 765212b225bb: Pulling fs layer 03:34:29 f23df028b6ca: Pulling fs layer 03:34:29 d65c8cfc05b1: Pulling fs layer 03:34:29 2437ff75d9bd: Pulling fs layer 03:34:29 765212b225bb: Waiting 03:34:29 f23df028b6ca: Waiting 03:34:29 d65c8cfc05b1: Waiting 03:34:29 2437ff75d9bd: Waiting 03:34:29 04944245beec: Verifying Checksum 03:34:29 04944245beec: Download complete 03:34:29 765212b225bb: Verifying Checksum 03:34:29 765212b225bb: Download complete 03:34:29 f23df028b6ca: Verifying Checksum 03:34:29 f23df028b6ca: Download complete 03:34:29 d65c8cfc05b1: Download complete 03:34:30 699f458cf7ca: Verifying Checksum 03:34:30 699f458cf7ca: Download complete 03:34:30 8998bd30e6a1: Download complete 03:34:32 2437ff75d9bd: Verifying Checksum 03:34:32 2437ff75d9bd: Download complete 03:34:35 8998bd30e6a1: Pull complete 03:34:35 04944245beec: Pull complete 03:34:37 699f458cf7ca: Pull complete 03:34:37 765212b225bb: Pull complete 03:34:38 f23df028b6ca: Pull complete 03:34:38 d65c8cfc05b1: Pull complete 03:34:56 2437ff75d9bd: Pull complete 03:34:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:57 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 03:34:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/28 -v /w/workspace/device-uart/28:/w/workspace/device-uart/28:rw,z -v /w/workspace/device-uart/28@tmp:/w/workspace/device-uart/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:35:00 $ docker top 9d85a0eae1f016d57dbf441e5417ccc199c37d1782c1a8353e1d925720c3535e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:01 ---> job-cost.sh 03:35:01 lf-activate-venv: SKIPPING 03:35:01 INFO: No Stack... 03:35:01 INFO: Retrieving Pricing Info for: v3-standard-4 03:35:02 INFO: Archiving Costs [Pipeline] sh 03:35:03 + cat /w/workspace/device-uart/28/archives/cost.csv 03:35:03 + cut -d, -f6 [Pipeline] lock 03:35:03 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-28-stack-cost] 03:35:03 Resource [jenkins-edgexfoundry-device-uart-main-28-stack-cost] did not exist. Created. 03:35:03 Lock acquired on [jenkins-edgexfoundry-device-uart-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:03 /w/workspace/device-uart/28@tmp/durable-4e8e5c85/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:35:04 + echo total: 0.10999999940395355 [Pipeline] stash 03:35:04 Warning: overwriting stash ‘stack-cost’ 03:35:04 Stashed 1 file(s) [Pipeline] } 03:35:04 Lock released on resource [jenkins-edgexfoundry-device-uart-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:04 $ docker stop --time=1 9d85a0eae1f016d57dbf441e5417ccc199c37d1782c1a8353e1d925720c3535e 03:35:06 $ docker rm -f --volumes 9d85a0eae1f016d57dbf441e5417ccc199c37d1782c1a8353e1d925720c3535e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:35:06 provisioning config files... 03:35:06 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3595041742092302683tmp [Pipeline] { [Pipeline] sh 03:35:06 + set +x 03:35:06 + curl -s https://codecov.io/bash 03:35:06 + bash -s -- 03:35:06 03:35:06 _____ _ 03:35:06 / ____| | | 03:35:06 | | ___ __| | ___ ___ _____ __ 03:35:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:35:06 | |___| (_) | (_| | __/ (_| (_) \ V / 03:35:06 \_____\___/ \__,_|\___|\___\___/ \_/ 03:35:06 Bash-1.0.6 03:35:06 03:35:06 03:35:06 ==> git version 2.25.1 found 03:35:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:35:06 Release-Date: 2020-01-08 03:35:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:35:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:35:06 ==> Jenkins CI detected. 03:35:06 current dir:  /w/workspace/edgexfoundry_device-uart_main 03:35:06 project root: . 03:35:06 --> token set from env 03:35:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:35:07 ==> Running gcov in . (disable via -X gcov) 03:35:07 ==> Python coveragepy not found 03:35:07 ==> Searching for coverage reports in: 03:35:07 + . 03:35:07 -> Found 1 reports 03:35:07 ==> Detecting git/mercurial file structure 03:35:07 ==> Reading reports 03:35:07 + ./coverage.out bytes=10 03:35:07 ==> Appending adjustments 03:35:07 https://docs.codecov.io/docs/fixing-reports 03:35:07 + Found adjustments 03:35:07 ==> Gzipping contents 03:35:07 4.0K /tmp/codecov.7TuF6q.gz 03:35:07 ==> Uploading reports 03:35:07 url: https://codecov.io 03:35:07 query: branch=main&commit=08fb917c2f38b4ae53e716333c1e5812fb96cea3&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:07 -> Pinging Codecov 03:35:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=08fb917c2f38b4ae53e716333c1e5812fb96cea3&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:07 -> Uploading to 03:35:07 https://storage.googleapis.com/codecov/v4/raw/2024-03-17/B9AA6E0BBD74AE3A32605C7A7C664919/08fb917c2f38b4ae53e716333c1e5812fb96cea3/a5ed8845-e38c-4eb9-8f1a-615b4e0d41b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240317T033507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b4ecebfc5e87c88ee7e31c754fabbbc8cc81d569111b617b336c4df9af3d1af 03:35:07 % Total % Received % Xferd Average Speed Time Time Time Current 03:35:07 Dload Upload Total Spent Left Speed 03:35:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2065 --:--:-- --:--:-- --:--:-- 2072 03:35:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] } 03:35:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:35:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:35:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:08 03:35:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:35:08 df9b9388f04a: Pulling fs layer 03:35:08 52dc419b0ee2: Pulling fs layer 03:35:08 25bc292e5bac: Pulling fs layer 03:35:08 114826534d7a: Pulling fs layer 03:35:08 4657fd5d0bcf: Pulling fs layer 03:35:08 6ad1cebc031e: Pulling fs layer 03:35:08 8a3aa393b2d8: Pulling fs layer 03:35:08 114826534d7a: Waiting 03:35:08 4657fd5d0bcf: Waiting 03:35:08 6ad1cebc031e: Waiting 03:35:08 25bc292e5bac: Verifying Checksum 03:35:08 25bc292e5bac: Download complete 03:35:08 52dc419b0ee2: Download complete 03:35:08 4657fd5d0bcf: Verifying Checksum 03:35:08 4657fd5d0bcf: Download complete 03:35:08 df9b9388f04a: Verifying Checksum 03:35:08 df9b9388f04a: Download complete 03:35:09 6ad1cebc031e: Verifying Checksum 03:35:09 6ad1cebc031e: Download complete 03:35:09 df9b9388f04a: Pull complete 03:35:09 52dc419b0ee2: Pull complete 03:35:09 25bc292e5bac: Pull complete 03:35:09 114826534d7a: Verifying Checksum 03:35:09 114826534d7a: Download complete 03:35:09 8a3aa393b2d8: Verifying Checksum 03:35:09 8a3aa393b2d8: Download complete 03:35:13 114826534d7a: Pull complete 03:35:13 4657fd5d0bcf: Pull complete 03:35:13 6ad1cebc031e: Pull complete 03:35:16 8a3aa393b2d8: Pull complete 03:35:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:35:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:16 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:35:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:35:19 $ docker top 4fb5f5b9fddd65109af036efdd431ac30910117041332015efacae09fc151d59 -eo pid,comm [Pipeline] { [Pipeline] echo 03:35:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 03:35:19 + set -o pipefail 03:35:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 03:35:25 03:35:25 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 03:35:25 03:35:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/4ef7d772-7070-40df-8250-1d088c73f118 03:35:25 03:35:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:35:25 03:35:25 03:35:25 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:35:25 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:35:25 More details here: https://snyk.co/ue1NS [Pipeline] } 03:35:25 $ docker stop --time=1 4fb5f5b9fddd65109af036efdd431ac30910117041332015efacae09fc151d59 03:35:27 $ docker rm -f --volumes 4fb5f5b9fddd65109af036efdd431ac30910117041332015efacae09fc151d59 [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 03:35:28 + git log --format=format:%s -1 08fb917c2f38b4ae53e716333c1e5812fb96cea3 [Pipeline] sh 03:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:29 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:29 $ docker top 33b33394af5da6611bb8791be2332a875580ad2d2d49e04eb7222c57369892cb -eo pid,comm 03:35:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:35:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:29 [ssh-agent] Looking for ssh-agent implementation... 03:35:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:29 $ docker exec 33b33394af5da6611bb8791be2332a875580ad2d2d49e04eb7222c57369892cb ssh-agent 03:35:30 SSH_AUTH_SOCK=/tmp/ssh-XnqyeIkIZtGz/agent.31 03:35:30 SSH_AGENT_PID=37 03:35:30 Running ssh-add (command line suppressed) 03:35:30 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7699683767506147545.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7699683767506147545.key) 03:35:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:30 + git semver tag 03:35:30 2024-03-17 03:35:30,610 [run_tag] DEBUG tag force:False 03:35:30 2024-03-17 03:35:30,610 [check_head_tag] DEBUG check head tag 03:35:30 2024-03-17 03:35:30,610 [execute] INFO git cat-file --batch-check 03:35:30 2024-03-17 03:35:30,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:35:30 2024-03-17 03:35:30,615 [execute] INFO git cat-file --batch 03:35:30 2024-03-17 03:35:30,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:35:30 2024-03-17 03:35:30,626 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:30 2024-03-17 03:35:30,626 [execute] INFO git tag -a v3.0.1-dev.21 -m v3.0.1-dev.21 03:35:30 2024-03-17 03:35:30,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.21', '-m', 'v3.0.1-dev.21'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 03:35:30 2024-03-17 03:35:30,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:30 3.0.1-dev.21 [Pipeline] } 03:35:30 $ docker exec --env ******** --env ******** 33b33394af5da6611bb8791be2332a875580ad2d2d49e04eb7222c57369892cb ssh-agent -k 03:35:30 unset SSH_AUTH_SOCK; 03:35:30 unset SSH_AGENT_PID; 03:35:30 echo Agent pid 37 killed; 03:35:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:31 + git semver [Pipeline] } 03:35:31 $ docker stop --time=1 33b33394af5da6611bb8791be2332a875580ad2d2d49e04eb7222c57369892cb 03:35:32 $ docker rm -f --volumes 33b33394af5da6611bb8791be2332a875580ad2d2d49e04eb7222c57369892cb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:33 03:35:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:33 0.23.1-centos7: Pulling from edgex-lftools 03:35:33 ab5ef0e58194: Pulling fs layer 03:35:33 9712f1f96733: Pulling fs layer 03:35:33 63f879dbbcfc: Pulling fs layer 03:35:33 0d9ebad4ef96: Pulling fs layer 03:35:33 e9a5061849ea: Pulling fs layer 03:35:33 d747dcd14b5f: Pulling fs layer 03:35:33 2de7ff778b66: Pulling fs layer 03:35:33 0d9ebad4ef96: Waiting 03:35:33 e9a5061849ea: Waiting 03:35:33 2de7ff778b66: Waiting 03:35:33 d747dcd14b5f: Waiting 03:35:33 9712f1f96733: Verifying Checksum 03:35:33 9712f1f96733: Download complete 03:35:33 63f879dbbcfc: Verifying Checksum 03:35:33 63f879dbbcfc: Download complete 03:35:33 e9a5061849ea: Verifying Checksum 03:35:33 e9a5061849ea: Download complete 03:35:33 d747dcd14b5f: Verifying Checksum 03:35:33 d747dcd14b5f: Download complete 03:35:33 0d9ebad4ef96: Verifying Checksum 03:35:33 0d9ebad4ef96: Download complete 03:35:33 ab5ef0e58194: Verifying Checksum 03:35:33 ab5ef0e58194: Download complete 03:35:33 2de7ff778b66: Verifying Checksum 03:35:33 2de7ff778b66: Download complete 03:35:36 ab5ef0e58194: Pull complete 03:35:36 9712f1f96733: Pull complete 03:35:37 63f879dbbcfc: Pull complete 03:35:41 0d9ebad4ef96: Pull complete 03:35:41 e9a5061849ea: Pull complete 03:35:41 d747dcd14b5f: Pull complete 03:35:42 2de7ff778b66: Pull complete 03:35:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:35:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:42 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:35:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:35:45 $ docker top 807bd44277a9bc6a2207c8e6816844a17d62cc80f1504d64ef8b50d4563080de -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:35:45 provisioning config files... 03:35:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12069049231665131049tmp 03:35:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16441775600639218601tmp 03:35:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3104686617018705446tmp [Pipeline] { [Pipeline] echo 03:35:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:35:45 ---> sigul-configuration.sh 03:35:45 gpg: directory `/root/.gnupg' created 03:35:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:35:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:35:45 gpg: keyring `/root/.gnupg/secring.gpg' created 03:35:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:35:45 gpg: CAST5 encrypted data 03:35:45 gpg: encrypted with 1 passphrase 03:35:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:35:46 + mkdir /home/jenkins 03:35:46 + mkdir /home/jenkins/sigul [Pipeline] sh 03:35:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:35:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:35:46 ---> sigul-install.sh 03:35:46 Sigul already installed; skipping installation. [Pipeline] sh 03:35:47 + git tag --list 03:35:47 v0.0.0 03:35:47 v0.0.1-dev.1 03:35:47 v0.0.1-dev.2 03:35:47 v0.0.1-dev.3 03:35:47 v0.0.1-dev.4 03:35:47 v3.0.0 03:35:47 v3.0.1-dev.1 03:35:47 v3.0.1-dev.10 03:35:47 v3.0.1-dev.11 03:35:47 v3.0.1-dev.12 03:35:47 v3.0.1-dev.13 03:35:47 v3.0.1-dev.14 03:35:47 v3.0.1-dev.15 03:35:47 v3.0.1-dev.16 03:35:47 v3.0.1-dev.17 03:35:47 v3.0.1-dev.18 03:35:47 v3.0.1-dev.19 03:35:47 v3.0.1-dev.2 03:35:47 v3.0.1-dev.20 03:35:47 v3.0.1-dev.21 03:35:47 v3.0.1-dev.3 03:35:47 v3.0.1-dev.4 03:35:47 v3.0.1-dev.5 03:35:47 v3.0.1-dev.6 03:35:47 v3.0.1-dev.7 03:35:47 v3.0.1-dev.8 03:35:47 v3.0.1-dev.9 03:35:47 v3.1 03:35:47 v3.1.0 [Pipeline] sh 03:35:47 + lftools sign git-tag v3.0.1-dev.21 03:35:47 Signing Git tag with Sigul... 03:35:47 Signing v3.0.1-dev.21 [Pipeline] echo 03:35:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:35:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:35:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:35:48 $ docker stop --time=1 807bd44277a9bc6a2207c8e6816844a17d62cc80f1504d64ef8b50d4563080de 03:35:50 $ docker rm -f --volumes 807bd44277a9bc6a2207c8e6816844a17d62cc80f1504d64ef8b50d4563080de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:35:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:50 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:51 $ docker top cd201d8f8b88fcc4370f929d3665128a7b88b7fd1622c9e83fa0f33e9222c8c0 -eo pid,comm 03:35:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:35:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:51 [ssh-agent] Looking for ssh-agent implementation... 03:35:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:51 $ docker exec cd201d8f8b88fcc4370f929d3665128a7b88b7fd1622c9e83fa0f33e9222c8c0 ssh-agent 03:35:51 SSH_AUTH_SOCK=/tmp/ssh-Wt2w3TDgmDgb/agent.32 03:35:51 SSH_AGENT_PID=38 03:35:51 Running ssh-add (command line suppressed) 03:35:51 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10548422476601267716.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10548422476601267716.key) 03:35:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:52 + git semver bump pre 03:35:52 2024-03-17 03:35:52,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:52 2024-03-17 03:35:52,255 [bump_version] DEBUG bumping version:3.0.1-dev.21 on axis:pre with prefix:dev 03:35:52 2024-03-17 03:35:52,256 [bump_version] DEBUG bumped version:3.0.1-dev.22 03:35:52 2024-03-17 03:35:52,256 [write_version] DEBUG write version:3.0.1-dev.22 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 03:35:52 2024-03-17 03:35:52,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:52 2024-03-17 03:35:52,256 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:52 2024-03-17 03:35:52,258 [execute] INFO git cat-file --batch-check 03:35:52 2024-03-17 03:35:52,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:52 2024-03-17 03:35:52,264 [execute] INFO git cat-file --batch 03:35:52 2024-03-17 03:35:52,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:52 2024-03-17 03:35:52,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:52 3.0.1-dev.22 [Pipeline] } 03:35:52 $ docker exec --env ******** --env ******** cd201d8f8b88fcc4370f929d3665128a7b88b7fd1622c9e83fa0f33e9222c8c0 ssh-agent -k 03:35:52 unset SSH_AUTH_SOCK; 03:35:52 unset SSH_AGENT_PID; 03:35:52 echo Agent pid 38 killed; 03:35:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:52 + git semver [Pipeline] } 03:35:53 $ docker stop --time=1 cd201d8f8b88fcc4370f929d3665128a7b88b7fd1622c9e83fa0f33e9222c8c0 03:35:54 $ docker rm -f --volumes cd201d8f8b88fcc4370f929d3665128a7b88b7fd1622c9e83fa0f33e9222c8c0 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:55 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:35:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:55 $ docker top 7dc27c8c8aeabae86be591b6caaea055e952762c0321ab81607d04e52ab38458 -eo pid,comm 03:35:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:35:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:55 [ssh-agent] Looking for ssh-agent implementation... 03:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:55 $ docker exec 7dc27c8c8aeabae86be591b6caaea055e952762c0321ab81607d04e52ab38458 ssh-agent 03:35:55 SSH_AUTH_SOCK=/tmp/ssh-D6L9iSr2fBjc/agent.32 03:35:55 SSH_AGENT_PID=38 03:35:55 Running ssh-add (command line suppressed) 03:35:55 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4238839794189286265.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4238839794189286265.key) 03:35:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:56 + git semver push 03:35:56 2024-03-17 03:35:56,314 [run_push] DEBUG push 03:35:56 2024-03-17 03:35:56,315 [execute] INFO git cat-file --batch-check 03:35:56 2024-03-17 03:35:56,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:56 2024-03-17 03:35:56,319 [execute] INFO git rev-list 94647eaf575933dbf5781d681046bc01a72d7c42 -- 03:35:56 2024-03-17 03:35:56,319 [execute] DEBUG Popen(['git', 'rev-list', '94647eaf575933dbf5781d681046bc01a72d7c42', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:35:56 2024-03-17 03:35:56,325 [execute] INFO git fetch -v origin 03:35:56 2024-03-17 03:35:56,325 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 03:35:56 2024-03-17 03:35:56,853 [run_push] DEBUG no remote changes detected 03:35:56 2024-03-17 03:35:56,854 [execute] INFO git push origin semver 03:35:56 2024-03-17 03:35:56,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:35:57 2024-03-17 03:35:57,522 [run_push] DEBUG push all version tags 03:35:57 2024-03-17 03:35:57,523 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:35:57 2024-03-17 03:35:57,523 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 03:35:58 2024-03-17 03:35:58,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:35:58 3.0.1-dev.22 [Pipeline] } 03:35:58 $ docker exec --env ******** --env ******** 7dc27c8c8aeabae86be591b6caaea055e952762c0321ab81607d04e52ab38458 ssh-agent -k 03:35:58 unset SSH_AUTH_SOCK; 03:35:58 unset SSH_AGENT_PID; 03:35:58 echo Agent pid 38 killed; 03:35:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:58 + git semver [Pipeline] } 03:35:59 $ docker stop --time=1 7dc27c8c8aeabae86be591b6caaea055e952762c0321ab81607d04e52ab38458 03:36:00 $ docker rm -f --volumes 7dc27c8c8aeabae86be591b6caaea055e952762c0321ab81607d04e52ab38458 [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 03:36:01 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 03:36:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:36:01 total 16 03:36:01 drwxr-xr-x 3 root root 4096 Mar 17 03:25 . 03:36:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 03:35 .. 03:36:01 drwxr-xr-x 2 root root 4096 Mar 17 03:25 cost 03:36:01 -rw-r--r-- 1 root root 82 Mar 17 03:25 cost.csv 03:36:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 03:36:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:36:01 total 16 03:36:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:25 . 03:36:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 03:35 .. 03:36:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 03:25 cost 03:36:01 -rw-r--r-- 1 jenkins jenkins 82 Mar 17 03:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:36:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:36:02 ---> package-listing.sh 03:36:02 ++ facter osfamily 03:36:02 ++ tr '[:upper:]' '[:lower:]' 03:36:02 + OS_FAMILY=debian 03:36:02 + workspace=/w/workspace/edgexfoundry_device-uart_main 03:36:02 + START_PACKAGES=/tmp/packages_start.txt 03:36:02 + END_PACKAGES=/tmp/packages_end.txt 03:36:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:36:02 + PACKAGES=/tmp/packages_start.txt 03:36:02 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:36:02 + PACKAGES=/tmp/packages_end.txt 03:36:02 + case "${OS_FAMILY}" in 03:36:02 + dpkg -l 03:36:02 + grep '^ii' 03:36:02 + '[' -f /tmp/packages_start.txt ']' 03:36:02 + '[' -f /tmp/packages_end.txt ']' 03:36:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:36:02 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:36:02 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 03:36:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 03:36:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:36:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:03 prd-ubuntu20.04-docker-8c-8g-174 does not seem to be running inside a container 03:36:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:36:03 $ docker top 90677c529892eced1bfc70c480cd3e6632394f42293c9a83c37f8b1b209818fc -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:03 + touch /tmp/pre-build-complete [Pipeline] sh 03:36:04 + mkdir -p /var/log/sysstat [Pipeline] sh 03:36:04 + ls /var/log/sa-host 03:36:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:04 provisioning config files... 03:36:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11998739678210691609tmp [Pipeline] { [Pipeline] echo 03:36:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:36:04 ---> create-netrc.sh [Pipeline] } 03:36:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:36:05 ---> python-tools-install.sh [Pipeline] echo 03:36:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:36:05 ---> sudo-logs.sh 03:36:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:36:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:36:05 ---> job-cost.sh 03:36:05 lf-activate-venv: SKIPPING 03:36:05 DEBUG: total: 0.2199999988079071 03:36:05 INFO: Retrieving Stack Cost... 03:36:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:06 INFO: Archiving Costs [Pipeline] echo 03:36:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:36:06 ---> logs-deploy.sh 03:36:06 lf-activate-venv: SKIPPING 03:36:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/28 03:36:06 INFO: archiving workspace using pattern(s): 03:36:07 Archives upload complete. 03:36:07 INFO: archiving logs to Nexus