Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f79754343d8b1121fd7b40f656006f62376f5905 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-ssh14412200043056489107.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6505046613770896678.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16566326260829959275.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6445043938568650720.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-ssh4929852819014999490.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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1483 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f79754343d8b1121fd7b40f656006f62376f5905 (main) Commit message: "feat: Add integer read and write support (#20)" > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 > git rev-list --no-walk a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:27:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:27:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:27:15 ========================================================= 01:27:15 EdgeX Global Pipelines Version Info 01:27:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:27:16 ------------------- 01:27:16 stable info: 01:27:16 ------------------- 01:27:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:27:16 Message: update stable to v1.0.250 01:27:16 ------------------- 01:27:16 experimental info: 01:27:16 ------------------- 01:27:16 Commited By: **** collab-it+edgex@linuxfoundation.org 01:27:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:27:16 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 01:27:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f797543 [Pipeline] echo 01:27:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:17 provisioning config files... 01:27:17 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config289910121231505495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:17 ---> docker-login.sh 01:27:17 nexus3.edgexfoundry.org:10001 01:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:18 Configure a credential helper to remove this warning. See 01:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:18 01:27:18 Login Succeeded 01:27:18 nexus3.edgexfoundry.org:10002 01:27:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:18 Configure a credential helper to remove this warning. See 01:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:18 01:27:18 Login Succeeded 01:27:18 nexus3.edgexfoundry.org:10003 01:27:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:18 Configure a credential helper to remove this warning. See 01:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:18 01:27:18 Login Succeeded 01:27:18 nexus3.edgexfoundry.org:10004 01:27:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:18 Configure a credential helper to remove this warning. See 01:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:18 01:27:18 Login Succeeded 01:27:18 docker.io 01:27:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:19 Configure a credential helper to remove this warning. See 01:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:19 01:27:19 Login Succeeded 01:27:19 ---> docker-login.sh ends [Pipeline] } 01:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:27:19 + git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 01:27:19 -----------> git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 f79754343d8b1121fd7b40f656006f62376f5905 [false] [Pipeline] sh 01:27:19 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 01:27:19 ========================================================= 01:27:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:27:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:20 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 01:27:20 [semverPrep] GIT_COMMIT: f79754343d8b1121fd7b40f656006f62376f5905, Commit Message: feat: Add integer read and write support (#20) [Pipeline] echo 01:27:20 [semverPrep] This is not a build commit. [Pipeline] sh 01:27:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:20 + grep -v github /etc/ssh/ssh_known_hosts 01:27:20 + [ -e /tmp/ssh_known_hosts ] 01:27:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:27:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:27:20 + sudo tee -a /etc/ssh/ssh_known_hosts 01:27:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:20 01:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:21 0.1.4: Pulling from edgex-devops/py-git-semver 01:27:21 b85a868b505f: Pulling fs layer 01:27:21 e2be974225ed: Pulling fs layer 01:27:21 339a4e72a1f5: Pulling fs layer 01:27:21 988bab9f4d93: Pulling fs layer 01:27:21 1469e6f7b9e6: Pulling fs layer 01:27:21 eaf3925da568: Pulling fs layer 01:27:21 bab4dde63d76: Pulling fs layer 01:27:21 bde34c3a00c8: Pulling fs layer 01:27:21 b352a97aabf1: Pulling fs layer 01:27:21 4872d77fe225: Pulling fs layer 01:27:21 5851b861e8e6: Pulling fs layer 01:27:21 bde34c3a00c8: Waiting 01:27:21 988bab9f4d93: Waiting 01:27:21 4872d77fe225: Waiting 01:27:21 b352a97aabf1: Waiting 01:27:21 bab4dde63d76: Waiting 01:27:21 5851b861e8e6: Waiting 01:27:21 1469e6f7b9e6: Waiting 01:27:21 e2be974225ed: Verifying Checksum 01:27:21 e2be974225ed: Download complete 01:27:21 988bab9f4d93: Download complete 01:27:21 1469e6f7b9e6: Verifying Checksum 01:27:21 1469e6f7b9e6: Download complete 01:27:21 339a4e72a1f5: Verifying Checksum 01:27:21 339a4e72a1f5: Download complete 01:27:21 eaf3925da568: Verifying Checksum 01:27:21 eaf3925da568: Download complete 01:27:21 bde34c3a00c8: Verifying Checksum 01:27:21 bde34c3a00c8: Download complete 01:27:21 b352a97aabf1: Verifying Checksum 01:27:21 b352a97aabf1: Download complete 01:27:21 4872d77fe225: Download complete 01:27:21 5851b861e8e6: Verifying Checksum 01:27:21 5851b861e8e6: Download complete 01:27:21 b85a868b505f: Verifying Checksum 01:27:21 b85a868b505f: Download complete 01:27:21 bab4dde63d76: Verifying Checksum 01:27:21 bab4dde63d76: Download complete 01:27:22 b85a868b505f: Pull complete 01:27:22 e2be974225ed: Pull complete 01:27:23 339a4e72a1f5: Pull complete 01:27:23 988bab9f4d93: Pull complete 01:27:23 1469e6f7b9e6: Pull complete 01:27:23 eaf3925da568: Pull complete 01:27:25 bab4dde63d76: Pull complete 01:27:25 bde34c3a00c8: Pull complete 01:27:25 b352a97aabf1: Pull complete 01:27:25 4872d77fe225: Pull complete 01:27:25 5851b861e8e6: Pull complete 01:27:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:27:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:25 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:27:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:27:26 $ docker top bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d -eo pid,comm 01:27:26 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). 01:27:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:27 [ssh-agent] Looking for ssh-agent implementation... 01:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:27 $ docker exec bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent 01:27:27 SSH_AUTH_SOCK=/tmp/ssh-NHMGJh6rz1Ft/agent.30 01:27:27 SSH_AGENT_PID=36 01:27:27 Running ssh-add (command line suppressed) 01:27:27 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6968016160713354249.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6968016160713354249.key) 01:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:27 + git tag --points-at HEAD [Pipeline] } 01:27:27 $ docker exec --env ******** --env ******** bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent -k 01:27:27 unset SSH_AUTH_SOCK; 01:27:27 unset SSH_AGENT_PID; 01:27:27 echo Agent pid 36 killed; 01:27:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:27 [ssh-agent] Looking for ssh-agent implementation... 01:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:27 $ docker exec bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent 01:27:28 SSH_AUTH_SOCK=/tmp/ssh-QaAai2BZSm9W/agent.68 01:27:28 SSH_AGENT_PID=74 01:27:28 Running ssh-add (command line suppressed) 01:27:28 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10518744405112518680.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10518744405112518680.key) 01:27:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:28 + git semver init 01:27:28 2023-07-19 01:27:28,647 [run_init] DEBUG init version:0.0.0 force:False 01:27:28 2023-07-19 01:27:28,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 01:27:28 2023-07-19 01:27:28,648 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 01:27:28 2023-07-19 01:27:28,649 [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) 01:27:29 2023-07-19 01:27:29,376 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 01:27:29 2023-07-19 01:27:29,377 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 01:27:29 2023-07-19 01:27:29,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:27:29 2023-07-19 01:27:29,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:27:29 0.0.1-dev.4 [Pipeline] } 01:27:29 $ docker exec --env ******** --env ******** bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent -k 01:27:29 unset SSH_AUTH_SOCK; 01:27:29 unset SSH_AGENT_PID; 01:27:29 echo Agent pid 74 killed; 01:27:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:30 + git semver [Pipeline] } 01:27:30 $ docker stop --time=1 bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d 01:27:31 $ docker rm -f --volumes bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d [Pipeline] // withDockerContainer [Pipeline] sh 01:27:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:27:32 Stashed 1 file(s) [Pipeline] echo 01:27:32 [edgeXSemver]: initialized semver on version 0.0.1-dev.4 [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 01:27:32 provisioning config files... 01:27:32 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7888481574424775532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:32 ---> docker-login.sh 01:27:32 nexus3.edgexfoundry.org:10001 01:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:32 Configure a credential helper to remove this warning. See 01:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:32 01:27:32 Login Succeeded 01:27:32 nexus3.edgexfoundry.org:10002 01:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:32 Configure a credential helper to remove this warning. See 01:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:32 01:27:32 Login Succeeded 01:27:32 nexus3.edgexfoundry.org:10003 01:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:32 Configure a credential helper to remove this warning. See 01:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:32 01:27:32 Login Succeeded 01:27:32 nexus3.edgexfoundry.org:10004 01:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:32 Configure a credential helper to remove this warning. See 01:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:32 01:27:32 Login Succeeded 01:27:32 docker.io 01:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:33 Configure a credential helper to remove this warning. See 01:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:33 01:27:33 Login Succeeded 01:27:33 ---> docker-login.sh ends [Pipeline] } 01:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:33 ========================================================= 01:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:27:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:27:33 Sending build context to Docker daemon 11.08MB 01:27:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:27:33 Step 2/12 : FROM ${BASE} AS builder 01:27:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:27:33 4db1b89c0bd1: Pulling fs layer 01:27:33 6911f1a30b25: Pulling fs layer 01:27:33 e194b8c5c2a9: Pulling fs layer 01:27:33 6863d3e3a2b1: Pulling fs layer 01:27:33 ec0bb842ea78: Pulling fs layer 01:27:33 40a00589a448: Pulling fs layer 01:27:33 6c08303d61cc: Pulling fs layer 01:27:33 798269fcf238: Pulling fs layer 01:27:33 6863d3e3a2b1: Waiting 01:27:33 ec0bb842ea78: Waiting 01:27:33 40a00589a448: Waiting 01:27:33 6c08303d61cc: Waiting 01:27:33 798269fcf238: Waiting 01:27:33 6911f1a30b25: Verifying Checksum 01:27:33 6911f1a30b25: Download complete 01:27:33 6863d3e3a2b1: Verifying Checksum 01:27:33 6863d3e3a2b1: Download complete 01:27:33 ec0bb842ea78: Verifying Checksum 01:27:33 ec0bb842ea78: Download complete 01:27:33 4db1b89c0bd1: Verifying Checksum 01:27:33 4db1b89c0bd1: Download complete 01:27:33 40a00589a448: Verifying Checksum 01:27:33 40a00589a448: Download complete 01:27:33 4db1b89c0bd1: Pull complete 01:27:34 6911f1a30b25: Pull complete 01:27:34 798269fcf238: Verifying Checksum 01:27:34 798269fcf238: Download complete 01:27:34 e194b8c5c2a9: Verifying Checksum 01:27:34 e194b8c5c2a9: Download complete 01:27:34 6c08303d61cc: Verifying Checksum 01:27:34 6c08303d61cc: Download complete 01:27:37 e194b8c5c2a9: Pull complete 01:27:37 6863d3e3a2b1: Pull complete 01:27:37 ec0bb842ea78: Pull complete 01:27:37 40a00589a448: Pull complete 01:27:39 6c08303d61cc: Pull complete 01:27:40 798269fcf238: Pull complete 01:27:40 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:27:40 ---> ec979cd7f677 01:27:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:42 ---> Running in cad52e06867a 01:27:42 Removing intermediate container cad52e06867a 01:27:42 ---> 84d1fe475bb4 01:27:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:27:42 ---> Running in 0784f3949035 01:27:42 Removing intermediate container 0784f3949035 01:27:42 ---> 05de3f203346 01:27:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:27:42 ---> Running in b2d12e74190c 01:27:42 Removing intermediate container b2d12e74190c 01:27:42 ---> 6b93aeff4d9e 01:27:42 Step 6/12 : WORKDIR /device-uart 01:27:42 ---> Running in 16d58dd6e2ef 01:27:42 Removing intermediate container 16d58dd6e2ef 01:27:42 ---> 3d8cfe863f57 01:27:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:42 ---> Running in b367035463f5 01:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:27:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:27:43 (2/4) Installing libedit (20221030.3.1-r0) 01:27:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:27:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:27:43 Executing busybox-1.35.0-r29.trigger 01:27:43 OK: 269 MiB in 57 packages 01:27:44 Removing intermediate container b367035463f5 01:27:44 ---> 23708fdba91d 01:27:44 Step 8/12 : COPY go.mod vendor* ./ 01:27:44 ---> d0ef8a4cb315 01:27:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:44 ---> Running in 5192eaf901d2 01:27:47 Still waiting to schedule task 01:27:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1484’ is offline 01:28:30 Removing intermediate container 5192eaf901d2 01:28:30 ---> bc87f8deddb7 01:28:30 Step 10/12 : COPY . . 01:28:30 ---> e1906b10d2a2 01:28:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:30 ---> Running in 974530d4b3f8 01:28:30 Removing intermediate container 974530d4b3f8 01:28:30 ---> 2b563710f1b5 01:28:30 Step 12/12 : RUN ${MAKE} 01:28:30 ---> Running in 121255553a4b 01:28:30 noop 01:28:30 Removing intermediate container 121255553a4b 01:28:30 ---> 41c6e5e4c3c0 01:28:30 Successfully built 41c6e5e4c3c0 01:28:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:31 + docker inspect -f . ci-base-image-x86_64 01:28:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:31 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:28:31 $ 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 ******** ci-base-image-x86_64 cat 01:28:31 $ docker top f49c502156e5810df38cab91da4042ff451dddb02de8cd71c9b9f754afcef2be -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:32 + go version 01:28:32 go version go1.20.6 linux/amd64 [Pipeline] } 01:28:32 $ docker stop --time=1 f49c502156e5810df38cab91da4042ff451dddb02de8cd71c9b9f754afcef2be 01:28:33 $ docker rm -f --volumes f49c502156e5810df38cab91da4042ff451dddb02de8cd71c9b9f754afcef2be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:33 + docker inspect -f . ci-base-image-x86_64 01:28:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:33 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:28:33 $ 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 ******** ci-base-image-x86_64 cat 01:28:34 $ docker top d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 01:28:34 + make test 01:28:34 go test ./... -coverprofile=coverage.out 01:28:39 ? github.com/edgexfoundry/device-uart [no test files] 01:28:48 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:28:48 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:28:53 go vet ./... 01:28:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:56 ./bin/test-attribution-txt.sh [Pipeline] echo 01:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:56 $ docker stop --time=1 d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 01:28:58 $ docker rm -f --volumes d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:59 + ls -al . 01:28:59 total 140 01:28:59 drwxrwxr-x 7 jenkins jenkins 4096 Jul 19 01:28 . 01:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:27 .. 01:28:59 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:27 .dockerignore 01:28:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:27 .git 01:28:59 -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 01:27 .gitignore 01:28:59 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 01:27 .golangci.yml 01:28:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:27 .semver 01:28:59 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 19 01:27 Attribution.txt 01:28:59 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 19 01:27 Dockerfile 01:28:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:27 GOVERNANCE.md 01:28:59 -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 01:27 Jenkinsfile 01:28:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 01:27 LICENSE 01:28:59 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 19 01:27 Makefile 01:28:59 -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 01:27 OWNERS.md 01:28:59 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 19 01:27 README.md 01:28:59 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 01:27 VERSION 01:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:27 bin 01:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:27 cmd 01:28:59 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 01:28 coverage.out 01:28:59 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 19 01:27 go.mod 01:28:59 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 19 01:27 go.sum 01:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:27 internal 01:28:59 -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:00 + 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=f79754343d8b1121fd7b40f656006f62376f5905 --label arch=amd64 --label version=0.0.1-dev.4 . 01:29:00 Sending build context to Docker daemon 11.08MB 01:29:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:29:00 Step 2/25 : FROM ${BASE} AS builder 01:29:00 ---> 41c6e5e4c3c0 01:29:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:29:00 ---> Running in 6da9a52e4014 01:29:00 Removing intermediate container 6da9a52e4014 01:29:00 ---> 1d616a4380b7 01:29:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:29:00 ---> Running in 4b3a8e237951 01:29:00 Removing intermediate container 4b3a8e237951 01:29:00 ---> 18ad2006eac6 01:29:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:29:00 ---> Running in a7cb2911cf50 01:29:00 Removing intermediate container a7cb2911cf50 01:29:00 ---> 6d37f5da7fc4 01:29:00 Step 6/25 : WORKDIR /device-uart 01:29:00 ---> Running in bb5433ccbfca 01:29:00 Removing intermediate container bb5433ccbfca 01:29:00 ---> af087f1a8544 01:29:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:00 ---> Running in 420279f27937 01:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:29:01 OK: 269 MiB in 57 packages 01:29:01 Removing intermediate container 420279f27937 01:29:01 ---> 96971f8ff0c1 01:29:01 Step 8/25 : COPY go.mod vendor* ./ 01:29:01 ---> c529d6cc964b 01:29:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:01 ---> Running in 1bfe2337c80f 01:29:02 Removing intermediate container 1bfe2337c80f 01:29:02 ---> e5aeb5936591 01:29:02 Step 10/25 : COPY . . 01:29:02 ---> e4145aede783 01:29:02 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:02 ---> Running in 099d075c5e84 01:29:02 Removing intermediate container 099d075c5e84 01:29:02 ---> d2180ecb4c73 01:29:02 Step 12/25 : RUN ${MAKE} 01:29:02 ---> Running in 9ccbd67a5ed8 01:29:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.4" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:29:18 Removing intermediate container 9ccbd67a5ed8 01:29:18 ---> c844d95e8719 01:29:18 Step 13/25 : FROM alpine:3.17 01:29:18 3.17: Pulling from library/alpine 01:29:18 4db1b89c0bd1: Already exists 01:29:18 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:29:18 Status: Downloaded newer image for alpine:3.17 01:29:18 ---> 1f73a9d63274 01:29:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:29:18 ---> Running in fb139c379703 01:29:18 Removing intermediate container fb139c379703 01:29:18 ---> cf2e1c309eb7 01:29:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:29:18 ---> Running in d846736aec03 01:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:29:19 (1/1) Installing dumb-init (1.2.5-r2) 01:29:19 Executing busybox-1.35.0-r29.trigger 01:29:19 OK: 7 MiB in 16 packages 01:29:20 Removing intermediate container d846736aec03 01:29:20 ---> 496fb7347373 01:29:20 Step 16/25 : WORKDIR / 01:29:20 ---> Running in 8f5441f3750e 01:29:20 Removing intermediate container 8f5441f3750e 01:29:20 ---> 727a1085fca0 01:29:20 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:29:20 ---> 50723a64c9b9 01:29:20 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:29:20 ---> c7246675573a 01:29:20 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:29:20 ---> eb516df71c3b 01:29:20 Step 20/25 : EXPOSE 59995 01:29:20 ---> Running in 92ede624013d 01:29:20 Removing intermediate container 92ede624013d 01:29:20 ---> ec7aa965714f 01:29:20 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:29:20 ---> Running in 62bb526c5b54 01:29:20 Removing intermediate container 62bb526c5b54 01:29:20 ---> 894921432f8f 01:29:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:29:20 ---> Running in df93f9dae7f2 01:29:20 Removing intermediate container df93f9dae7f2 01:29:20 ---> 1de18adc98d4 01:29:20 Step 23/25 : LABEL arch=amd64 01:29:20 ---> Running in 783e0969ba03 01:29:21 Removing intermediate container 783e0969ba03 01:29:21 ---> d3d3545c0599 01:29:21 Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 01:29:21 ---> Running in 29fbbc4bace5 01:29:21 Removing intermediate container 29fbbc4bace5 01:29:21 ---> 872e79141100 01:29:21 Step 25/25 : LABEL version=0.0.1-dev.4 01:29:21 ---> Running in 65757e5a094b 01:29:21 Removing intermediate container 65757e5a094b 01:29:21 ---> 4647466d5e3d 01:29:21 [Warning] One or more build-args [ARCH] were not consumed 01:29:21 Successfully built 4647466d5e3d 01:29:21 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:21 provisioning config files... 01:29:21 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2590690538825353648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:21 ---> docker-login.sh 01:29:21 nexus3.edgexfoundry.org:10001 01:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:21 Configure a credential helper to remove this warning. See 01:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:21 01:29:21 Login Succeeded 01:29:21 nexus3.edgexfoundry.org:10002 01:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:21 Configure a credential helper to remove this warning. See 01:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:21 01:29:21 Login Succeeded 01:29:21 nexus3.edgexfoundry.org:10003 01:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:21 Configure a credential helper to remove this warning. See 01:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:21 01:29:21 Login Succeeded 01:29:21 nexus3.edgexfoundry.org:10004 01:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:21 Configure a credential helper to remove this warning. See 01:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:21 01:29:21 Login Succeeded 01:29:21 docker.io 01:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:21 Configure a credential helper to remove this warning. See 01:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:21 01:29:21 Login Succeeded 01:29:21 ---> docker-login.sh ends [Pipeline] } 01:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:29:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:22 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 01:29:22 f79754343d8b1121fd7b40f656006f62376f5905 01:29:22 latest 01:29:22 0.0.1-dev.4 01:29:22 f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:29:22 main 01:29:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:22 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:22 + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 01:29:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:22 9a0557c2e5d2: Preparing 01:29:22 d75bba2975ae: Preparing 01:29:22 d27feb1cbd71: Preparing 01:29:22 f014fcf92740: Preparing 01:29:22 3dab9f8bf2d2: Preparing 01:29:22 3dab9f8bf2d2: Layer already exists 01:29:22 d75bba2975ae: Pushed 01:29:22 f014fcf92740: Pushed 01:29:22 d27feb1cbd71: Pushed 01:29:25 9a0557c2e5d2: Pushed 01:29:25 f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:25 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:25 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 01:29:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:25 9a0557c2e5d2: Preparing 01:29:25 d75bba2975ae: Preparing 01:29:25 d27feb1cbd71: Preparing 01:29:25 f014fcf92740: Preparing 01:29:25 3dab9f8bf2d2: Preparing 01:29:25 3dab9f8bf2d2: Layer already exists 01:29:25 9a0557c2e5d2: Layer already exists 01:29:25 d75bba2975ae: Layer already exists 01:29:25 d27feb1cbd71: Layer already exists 01:29:25 f014fcf92740: Layer already exists 01:29:25 latest: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:26 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:26 + docker push nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.4 01:29:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:26 9a0557c2e5d2: Preparing 01:29:26 d75bba2975ae: Preparing 01:29:26 d27feb1cbd71: Preparing 01:29:26 f014fcf92740: Preparing 01:29:26 3dab9f8bf2d2: Preparing 01:29:26 3dab9f8bf2d2: Layer already exists 01:29:26 d75bba2975ae: Layer already exists 01:29:26 d27feb1cbd71: Layer already exists 01:29:26 9a0557c2e5d2: Layer already exists 01:29:26 f014fcf92740: Layer already exists 01:29:26 0.0.1-dev.4: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:26 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:27 + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:29:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:27 9a0557c2e5d2: Preparing 01:29:27 d75bba2975ae: Preparing 01:29:27 d27feb1cbd71: Preparing 01:29:27 f014fcf92740: Preparing 01:29:27 3dab9f8bf2d2: Preparing 01:29:27 d27feb1cbd71: Layer already exists 01:29:27 9a0557c2e5d2: Layer already exists 01:29:27 f014fcf92740: Layer already exists 01:29:27 d75bba2975ae: Layer already exists 01:29:27 3dab9f8bf2d2: Layer already exists 01:29:27 f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:27 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:27 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 01:29:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 01:29:27 9a0557c2e5d2: Preparing 01:29:27 d75bba2975ae: Preparing 01:29:27 d27feb1cbd71: Preparing 01:29:27 f014fcf92740: Preparing 01:29:27 3dab9f8bf2d2: Preparing 01:29:27 3dab9f8bf2d2: Layer already exists 01:29:27 d27feb1cbd71: Layer already exists 01:29:27 9a0557c2e5d2: Layer already exists 01:29:27 d75bba2975ae: Layer already exists 01:29:27 f014fcf92740: Layer already exists 01:29:27 main: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:29:27 ===================================================== [Pipeline] echo 01:29:27 taggedImages: 01:29:27 - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 01:29:27 - nexus3.edgexfoundry.org:10004/device-uart:latest 01:29:27 - nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.4 01:29:27 - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:29:27 - 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 01:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:28 01:29:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:28 latest: Pulling from edgex-lftools-log-publisher 01:29:28 5eb5b503b376: Pulling fs layer 01:29:28 5c69ac0246d0: Pulling fs layer 01:29:28 ec43610c2a17: Pulling fs layer 01:29:28 3a2ae6a8a46f: Pulling fs layer 01:29:28 33b1e0a273af: Pulling fs layer 01:29:28 5d3b04190fa2: Pulling fs layer 01:29:28 2f39f015ded8: Pulling fs layer 01:29:28 33b1e0a273af: Waiting 01:29:28 5d3b04190fa2: Waiting 01:29:28 2f39f015ded8: Waiting 01:29:28 3a2ae6a8a46f: Waiting 01:29:28 5c69ac0246d0: Verifying Checksum 01:29:28 5c69ac0246d0: Download complete 01:29:28 3a2ae6a8a46f: Verifying Checksum 01:29:28 3a2ae6a8a46f: Download complete 01:29:28 33b1e0a273af: Verifying Checksum 01:29:28 33b1e0a273af: Download complete 01:29:28 5d3b04190fa2: Download complete 01:29:28 ec43610c2a17: Verifying Checksum 01:29:28 ec43610c2a17: Download complete 01:29:28 5eb5b503b376: Verifying Checksum 01:29:28 5eb5b503b376: Download complete 01:29:29 2f39f015ded8: Download complete 01:29:29 5eb5b503b376: Pull complete 01:29:29 5c69ac0246d0: Pull complete 01:29:30 ec43610c2a17: Pull complete 01:29:30 3a2ae6a8a46f: Pull complete 01:29:30 33b1e0a273af: Pull complete 01:29:30 5d3b04190fa2: Pull complete 01:29:34 2f39f015ded8: Pull complete 01:29:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:34 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:29:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:35 $ docker top 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:35 ---> job-cost.sh 01:29:35 lf-activate-venv: SKIPPING 01:29:35 INFO: No Stack... 01:29:36 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:36 INFO: Archiving Costs [Pipeline] sh 01:29:36 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 01:29:36 + cut -d, -f6 [Pipeline] lock 01:29:36 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] 01:29:36 Resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] did not exist. Created. 01:29:36 Lock acquired on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:36 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:37 Stashed 1 file(s) [Pipeline] } 01:29:37 Lock released on resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:37 $ docker stop --time=1 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 01:29:38 $ docker rm -f --volumes 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:30:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1487 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 01:30:07 Running in /w/workspace/device-uart/5 [Pipeline] { [Pipeline] checkout 01:30:07 The recommended git tool is: git 01:30:13 using credential edgex-jenkins-ssh 01:30:13 Cloning the remote Git repository 01:30:13 Cloning repository git@github.com:edgexfoundry/device-uart.git 01:30:13 > git init /w/workspace/device-uart/5 # timeout=10 01:30:13 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 01:30:13 > git --version # timeout=10 01:30:14 > git --version # 'git version 2.25.1' 01:30:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:15 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 01:30:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:16 Avoid second fetch 01:30:16 Checking out Revision f79754343d8b1121fd7b40f656006f62376f5905 (main) 01:30:16 Commit message: "feat: Add integer read and write support (#20)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 01:30:16 > git config core.sparsecheckout # timeout=10 01:30:16 > git checkout -f f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:30:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:17 Dload Upload Total Spent Left Speed 01:30:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 01:30:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:30:18 + sudo tee /etc/docker/daemon.new 01:30:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:30:18 { 01:30:18 "registry-mirrors": [ 01:30:18 "https://nexus3.edgexfoundry.org:10001" 01:30:18 ], 01:30:18 "bip": "10.250.0.254/24", 01:30:18 "hosts": [ 01:30:18 "tcp://0.0.0.0:5555", 01:30:18 "unix:///var/run/docker.sock" 01:30:18 ], 01:30:18 "mtu": 1458, 01:30:18 "selinux-enabled": true, 01:30:18 "seccomp-profile": "/etc/docker/seccomp.json" 01:30:18 } [Pipeline] sh 01:30:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:30:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:37 provisioning config files... 01:30:37 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config7447271717504193718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:37 ---> docker-login.sh 01:30:37 nexus3.edgexfoundry.org:10001 01:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:38 Configure a credential helper to remove this warning. See 01:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:38 01:30:38 Login Succeeded 01:30:38 nexus3.edgexfoundry.org:10002 01:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:39 Configure a credential helper to remove this warning. See 01:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:39 01:30:39 Login Succeeded 01:30:39 nexus3.edgexfoundry.org:10003 01:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:39 Configure a credential helper to remove this warning. See 01:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:39 01:30:39 Login Succeeded 01:30:39 nexus3.edgexfoundry.org:10004 01:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:40 Configure a credential helper to remove this warning. See 01:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:40 01:30:40 Login Succeeded 01:30:40 docker.io 01:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:40 Configure a credential helper to remove this warning. See 01:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:40 01:30:40 Login Succeeded 01:30:40 ---> docker-login.sh ends [Pipeline] } 01:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:40 ========================================================= 01:30:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:30:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:30:41 Sending build context to Docker daemon 5.576MB 01:30:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:30:41 Step 2/12 : FROM ${BASE} AS builder 01:30:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:30:41 edb6bdbacee9: Pulling fs layer 01:30:41 5f9638ab2659: Pulling fs layer 01:30:41 8d51d6327a98: Pulling fs layer 01:30:41 8b374f2dd631: Pulling fs layer 01:30:41 ec14aa9079de: Pulling fs layer 01:30:41 2f466654f4bb: Pulling fs layer 01:30:41 554e91adad29: Pulling fs layer 01:30:41 ec14aa9079de: Waiting 01:30:41 2f466654f4bb: Waiting 01:30:41 554e91adad29: Waiting 01:30:41 8b374f2dd631: Waiting 01:30:41 5f9638ab2659: Download complete 01:30:41 8b374f2dd631: Download complete 01:30:41 ec14aa9079de: Verifying Checksum 01:30:41 ec14aa9079de: Download complete 01:30:41 edb6bdbacee9: Verifying Checksum 01:30:41 edb6bdbacee9: Download complete 01:30:42 edb6bdbacee9: Pull complete 01:30:43 554e91adad29: Verifying Checksum 01:30:43 554e91adad29: Download complete 01:30:43 5f9638ab2659: Pull complete 01:30:44 8d51d6327a98: Download complete 01:30:44 2f466654f4bb: Verifying Checksum 01:30:44 2f466654f4bb: Download complete 01:30:56 8d51d6327a98: Pull complete 01:30:56 8b374f2dd631: Pull complete 01:30:56 ec14aa9079de: Pull complete 01:31:02 2f466654f4bb: Pull complete 01:31:06 554e91adad29: Pull complete 01:31:06 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:31:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:31:06 ---> 1e15ea492957 01:31:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:31:08 ---> Running in 8f4557111d9a 01:31:08 Removing intermediate container 8f4557111d9a 01:31:08 ---> 616ae53a705f 01:31:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:31:08 ---> Running in e771acc79b36 01:31:08 Removing intermediate container e771acc79b36 01:31:08 ---> a10309877612 01:31:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:31:08 ---> Running in 839654e5817c 01:31:09 Removing intermediate container 839654e5817c 01:31:09 ---> 88fdbbbb4785 01:31:09 Step 6/12 : WORKDIR /device-uart 01:31:09 ---> Running in eca6c319aad5 01:31:09 Removing intermediate container eca6c319aad5 01:31:09 ---> 4cdd66d3d620 01:31:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:09 ---> Running in cdd815a4c579 01:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:31:12 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:31:12 (2/4) Installing libedit (20221030.3.1-r0) 01:31:12 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:31:12 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:31:12 Executing busybox-1.35.0-r29.trigger 01:31:12 OK: 268 MiB in 57 packages 01:31:13 Removing intermediate container cdd815a4c579 01:31:13 ---> b468f98a772e 01:31:13 Step 8/12 : COPY go.mod vendor* ./ 01:31:13 ---> 3d78f82ccbf8 01:31:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:14 ---> Running in fd5f4e4ddc9f 01:32:22 Removing intermediate container fd5f4e4ddc9f 01:32:22 ---> d83187c6ee58 01:32:22 Step 10/12 : COPY . . 01:32:22 ---> 0a8141e5ca86 01:32:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:22 ---> Running in 59bf334e6a8c 01:32:22 Removing intermediate container 59bf334e6a8c 01:32:22 ---> b7b563c00f5f 01:32:22 Step 12/12 : RUN ${MAKE} 01:32:22 ---> Running in ad737751f436 01:32:22 noop 01:32:22 Removing intermediate container ad737751f436 01:32:22 ---> 84dc7853140f 01:32:22 Successfully built 84dc7853140f 01:32:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:22 + docker inspect -f . ci-base-image-arm64 01:32:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:22 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 01:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 01:32:23 $ docker top 6c6036ae3c138db77bf77ee825f0cfcef5cacbe5cd1c846a178bcf95d0b52bce -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:24 + go version 01:32:24 go version go1.20.6 linux/arm64 [Pipeline] } 01:32:24 $ docker stop --time=1 6c6036ae3c138db77bf77ee825f0cfcef5cacbe5cd1c846a178bcf95d0b52bce 01:32:26 $ docker rm -f --volumes 6c6036ae3c138db77bf77ee825f0cfcef5cacbe5cd1c846a178bcf95d0b52bce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:27 + docker inspect -f . ci-base-image-arm64 01:32:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:27 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 01:32:27 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 01:32:28 $ docker top c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:29 + git config --global --add safe.directory /w/workspace/device-uart/5 [Pipeline] fileExists [Pipeline] sh 01:32:29 + make test 01:32:30 go test ./... -coverprofile=coverage.out 01:33:08 ? github.com/edgexfoundry/device-uart [no test files] 01:35:00 ? github.com/edgexfoundry/device-uart/cmd [no test files] 01:35:00 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 01:35:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:35:00 go vet ./... 01:35:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:32 ./bin/test-attribution-txt.sh [Pipeline] echo 01:35:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:35:32 $ docker stop --time=1 c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 01:35:36 $ docker rm -f --volumes c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 [Pipeline] // withDockerContainer [Pipeline] sh 01:35:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:38 Warning: overwriting stash ‘coverage-report’ 01:35:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:39 + ls -al . 01:35:39 total 136 01:35:39 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 01:32 . 01:35:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:30 .. 01:35:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:30 .dockerignore 01:35:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:30 .git 01:35:39 -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 01:30 .gitignore 01:35:39 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 01:30 .golangci.yml 01:35:39 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 19 01:30 Attribution.txt 01:35:39 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 19 01:30 Dockerfile 01:35:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:30 GOVERNANCE.md 01:35:39 -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 01:30 Jenkinsfile 01:35:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 01:30 LICENSE 01:35:39 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 19 01:30 Makefile 01:35:39 -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 01:30 OWNERS.md 01:35:39 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 19 01:30 README.md 01:35:39 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 01:27 VERSION 01:35:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:30 bin 01:35:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:30 cmd 01:35:39 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 01:32 coverage.out 01:35:39 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 19 01:30 go.mod 01:35:39 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 19 01:30 go.sum 01:35:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:30 internal 01:35:39 -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:39 + 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=f79754343d8b1121fd7b40f656006f62376f5905 --label arch=arm64 --label version=0.0.1-dev.4 . 01:35:40 Sending build context to Docker daemon 5.577MB 01:35:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:35:40 Step 2/25 : FROM ${BASE} AS builder 01:35:40 ---> 84dc7853140f 01:35:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:40 ---> Running in cf7def1b7702 01:35:41 Removing intermediate container cf7def1b7702 01:35:41 ---> eed2dadc8d40 01:35:41 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:35:41 ---> Running in 6cc9621a8d04 01:35:42 Removing intermediate container 6cc9621a8d04 01:35:42 ---> d8d392ea2c28 01:35:42 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:35:42 ---> Running in aa3d9d432c51 01:35:42 Removing intermediate container aa3d9d432c51 01:35:42 ---> 7dce8752b9bf 01:35:42 Step 6/25 : WORKDIR /device-uart 01:35:42 ---> Running in 5476aeed11e7 01:35:44 Removing intermediate container 5476aeed11e7 01:35:44 ---> 5afcb9fd5adf 01:35:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:44 ---> Running in bf2df0d078e4 01:35:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:35:47 OK: 268 MiB in 57 packages 01:35:48 Removing intermediate container bf2df0d078e4 01:35:48 ---> 05b25a594738 01:35:48 Step 8/25 : COPY go.mod vendor* ./ 01:35:48 ---> be880096a4dd 01:35:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:48 ---> Running in b91beeb2489c 01:35:50 Removing intermediate container b91beeb2489c 01:35:50 ---> 39d2caa74479 01:35:50 Step 10/25 : COPY . . 01:35:51 ---> a4ddddb7ce73 01:35:51 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:51 ---> Running in 3d25c6d49418 01:35:52 Removing intermediate container 3d25c6d49418 01:35:52 ---> 952526d7bbc5 01:35:52 Step 12/25 : RUN ${MAKE} 01:35:52 ---> Running in 78586a454938 01:35:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.4" -trimpath -mod=readonly -o cmd/device-uart ./cmd 01:38:15 Removing intermediate container 78586a454938 01:38:15 ---> 65999cdf6005 01:38:15 Step 13/25 : FROM alpine:3.17 01:38:15 3.17: Pulling from library/alpine 01:38:15 edb6bdbacee9: Already exists 01:38:15 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:38:15 Status: Downloaded newer image for alpine:3.17 01:38:15 ---> 779605e5fbc0 01:38:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:38:15 ---> Running in 2a5e1d4895ad 01:38:15 Removing intermediate container 2a5e1d4895ad 01:38:15 ---> f0df57f183b2 01:38:15 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:38:15 ---> Running in 542d3754473f 01:38:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:38:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:38:15 (1/1) Installing dumb-init (1.2.5-r2) 01:38:15 Executing busybox-1.35.0-r29.trigger 01:38:15 OK: 8 MiB in 16 packages 01:38:15 Removing intermediate container 542d3754473f 01:38:15 ---> 7f4f36dfba27 01:38:15 Step 16/25 : WORKDIR / 01:38:15 ---> Running in c1ba2428e1cc 01:38:15 Removing intermediate container c1ba2428e1cc 01:38:15 ---> 48817a540eee 01:38:15 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 01:38:15 ---> 05d1188a98cb 01:38:15 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 01:38:15 ---> 0db43bf1be2e 01:38:15 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 01:38:15 ---> 00bc06f254aa 01:38:15 Step 20/25 : EXPOSE 59995 01:38:15 ---> Running in 28666ad87ced 01:38:15 Removing intermediate container 28666ad87ced 01:38:15 ---> bf0f7c9ecdd5 01:38:15 Step 21/25 : ENTRYPOINT ["/device-uart"] 01:38:15 ---> Running in 8360b730f8be 01:38:15 Removing intermediate container 8360b730f8be 01:38:15 ---> c13c4444f222 01:38:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:38:15 ---> Running in f446ad668893 01:38:15 Removing intermediate container f446ad668893 01:38:15 ---> b95e2b1591cc 01:38:15 Step 23/25 : LABEL arch=arm64 01:38:15 ---> Running in 66178123f2c0 01:38:15 Removing intermediate container 66178123f2c0 01:38:15 ---> 44ed4e0e236d 01:38:15 Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 01:38:15 ---> Running in 276644e6b71f 01:38:15 Removing intermediate container 276644e6b71f 01:38:15 ---> 77fd278ab1a1 01:38:15 Step 25/25 : LABEL version=0.0.1-dev.4 01:38:15 ---> Running in d71024488e37 01:38:15 Removing intermediate container d71024488e37 01:38:15 ---> f49915daa93a 01:38:15 [Warning] One or more build-args [ARCH] were not consumed 01:38:15 Successfully built f49915daa93a 01:38: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 01:38:15 provisioning config files... 01:38:15 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config11298838420154902432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:15 ---> docker-login.sh 01:38:15 nexus3.edgexfoundry.org:10001 01:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:15 Configure a credential helper to remove this warning. See 01:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:15 01:38:15 Login Succeeded 01:38:15 nexus3.edgexfoundry.org:10002 01:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:16 Configure a credential helper to remove this warning. See 01:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:16 01:38:16 Login Succeeded 01:38:16 nexus3.edgexfoundry.org:10003 01:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:16 Configure a credential helper to remove this warning. See 01:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:16 01:38:16 Login Succeeded 01:38:16 nexus3.edgexfoundry.org:10004 01:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:16 Configure a credential helper to remove this warning. See 01:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:16 01:38:16 Login Succeeded 01:38:16 docker.io 01:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:17 Configure a credential helper to remove this warning. See 01:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:17 01:38:17 Login Succeeded 01:38:17 ---> docker-login.sh ends [Pipeline] } 01:38:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:38:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:17 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 01:38:17 f79754343d8b1121fd7b40f656006f62376f5905 01:38:17 latest 01:38:17 0.0.1-dev.4 01:38:17 f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:38:17 main 01:38:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:17 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:18 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 01:38:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:38:18 400fdc02082a: Preparing 01:38:18 dc5c056ebe11: Preparing 01:38:18 1230e8d28cad: Preparing 01:38:18 bf3f6a68ee9c: Preparing 01:38:18 9386262d7a74: Preparing 01:38:18 9386262d7a74: Layer already exists 01:38:18 dc5c056ebe11: Pushed 01:38:18 1230e8d28cad: Pushed 01:38:18 bf3f6a68ee9c: Pushed 01:38:23 400fdc02082a: Pushed 01:38:23 f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:24 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:24 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:38:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:38:24 400fdc02082a: Preparing 01:38:24 dc5c056ebe11: Preparing 01:38:24 1230e8d28cad: Preparing 01:38:24 bf3f6a68ee9c: Preparing 01:38:24 9386262d7a74: Preparing 01:38:24 bf3f6a68ee9c: Layer already exists 01:38:24 1230e8d28cad: Layer already exists 01:38:24 dc5c056ebe11: Layer already exists 01:38:24 9386262d7a74: Layer already exists 01:38:24 400fdc02082a: Layer already exists 01:38:24 latest: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.4 01:38:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:38:25 400fdc02082a: Preparing 01:38:25 dc5c056ebe11: Preparing 01:38:25 1230e8d28cad: Preparing 01:38:25 bf3f6a68ee9c: Preparing 01:38:25 9386262d7a74: Preparing 01:38:25 bf3f6a68ee9c: Layer already exists 01:38:25 9386262d7a74: Layer already exists 01:38:25 400fdc02082a: Layer already exists 01:38:25 1230e8d28cad: Layer already exists 01:38:25 dc5c056ebe11: Layer already exists 01:38:25 0.0.1-dev.4: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:26 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:38:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:38:26 400fdc02082a: Preparing 01:38:26 dc5c056ebe11: Preparing 01:38:26 1230e8d28cad: Preparing 01:38:26 bf3f6a68ee9c: Preparing 01:38:26 9386262d7a74: Preparing 01:38:26 bf3f6a68ee9c: Layer already exists 01:38:26 1230e8d28cad: Layer already exists 01:38:26 400fdc02082a: Layer already exists 01:38:26 9386262d7a74: Layer already exists 01:38:26 dc5c056ebe11: Layer already exists 01:38:26 f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:26 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:27 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 01:38:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:38:27 400fdc02082a: Preparing 01:38:27 dc5c056ebe11: Preparing 01:38:27 1230e8d28cad: Preparing 01:38:27 bf3f6a68ee9c: Preparing 01:38:27 9386262d7a74: Preparing 01:38:27 400fdc02082a: Layer already exists 01:38:27 9386262d7a74: Layer already exists 01:38:27 bf3f6a68ee9c: Layer already exists 01:38:27 dc5c056ebe11: Layer already exists 01:38:27 1230e8d28cad: Layer already exists 01:38:27 main: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:38:27 ===================================================== [Pipeline] echo 01:38:27 taggedImages: 01:38:27 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 01:38:27 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:38:27 - nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.4 01:38:27 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 01:38:27 - 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 01:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:27 01:38:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:27 arm64: Pulling from edgex-lftools-log-publisher 01:38:27 8998bd30e6a1: Pulling fs layer 01:38:27 04944245beec: Pulling fs layer 01:38:27 699f458cf7ca: Pulling fs layer 01:38:27 765212b225bb: Pulling fs layer 01:38:27 f23df028b6ca: Pulling fs layer 01:38:27 d65c8cfc05b1: Pulling fs layer 01:38:27 2437ff75d9bd: Pulling fs layer 01:38:27 765212b225bb: Waiting 01:38:27 f23df028b6ca: Waiting 01:38:27 d65c8cfc05b1: Waiting 01:38:27 2437ff75d9bd: Waiting 01:38:28 04944245beec: Verifying Checksum 01:38:28 04944245beec: Download complete 01:38:28 765212b225bb: Verifying Checksum 01:38:28 765212b225bb: Download complete 01:38:28 f23df028b6ca: Verifying Checksum 01:38:28 f23df028b6ca: Download complete 01:38:28 d65c8cfc05b1: Verifying Checksum 01:38:28 d65c8cfc05b1: Download complete 01:38:28 699f458cf7ca: Verifying Checksum 01:38:28 699f458cf7ca: Download complete 01:38:28 8998bd30e6a1: Verifying Checksum 01:38:28 8998bd30e6a1: Download complete 01:38:31 2437ff75d9bd: Verifying Checksum 01:38:31 2437ff75d9bd: Download complete 01:38:32 8998bd30e6a1: Pull complete 01:38:32 04944245beec: Pull complete 01:38:34 699f458cf7ca: Pull complete 01:38:34 765212b225bb: Pull complete 01:38:35 f23df028b6ca: Pull complete 01:38:35 d65c8cfc05b1: Pull complete 01:38:50 2437ff75d9bd: Pull complete 01:38:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:38:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:50 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 01:38:50 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 01:38:53 $ docker top 99e1081427cc57258d82f643eaafd791b1098b2e6d2098de118a1196350d928f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:53 ---> job-cost.sh 01:38:53 lf-activate-venv: SKIPPING 01:38:53 INFO: No Stack... 01:38:54 INFO: Retrieving Pricing Info for: v3-standard-4 01:38:55 INFO: Archiving Costs [Pipeline] sh 01:38:55 + cat /w/workspace/device-uart/5/archives/cost.csv 01:38:55 + cut -d, -f6 [Pipeline] lock 01:38:55 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] 01:38:55 Resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] did not exist. Created. 01:38:55 Lock acquired on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:38:55 /w/workspace/device-uart/5@tmp/durable-5493610f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:38:56 + echo total: 0.10999999940395355 [Pipeline] stash 01:38:56 Warning: overwriting stash ‘stack-cost’ 01:38:56 Stashed 1 file(s) [Pipeline] } 01:38:56 Lock released on resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 01:38:56 $ docker stop --time=1 99e1081427cc57258d82f643eaafd791b1098b2e6d2098de118a1196350d928f 01:38:58 $ docker rm -f --volumes 99e1081427cc57258d82f643eaafd791b1098b2e6d2098de118a1196350d928f [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 01:38:58 provisioning config files... 01:38:58 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2016561756662819574tmp [Pipeline] { [Pipeline] sh 01:38:58 + set +x 01:38:58 + curl -s https://codecov.io/bash 01:38:58 + bash -s -- 01:38:58 01:38:58 _____ _ 01:38:58 / ____| | | 01:38:58 | | ___ __| | ___ ___ _____ __ 01:38:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:38:58 | |___| (_) | (_| | __/ (_| (_) \ V / 01:38:58 \_____\___/ \__,_|\___|\___\___/ \_/ 01:38:58 Bash-1.0.6 01:38:58 01:38:58 01:38:58 ==> git version 2.25.1 found 01:38:58 ==> 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 01:38:58 Release-Date: 2020-01-08 01:38:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:38:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:38:58 ==> Jenkins CI detected. 01:38:58 current dir:  /w/workspace/edgexfoundry_device-uart_main 01:38:58 project root: . 01:38:58 --> token set from env 01:38:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:38:58 ==> Running gcov in . (disable via -X gcov) 01:38:58 ==> Python coveragepy not found 01:38:58 ==> Searching for coverage reports in: 01:38:58 + . 01:38:58 -> Found 1 reports 01:38:58 ==> Detecting git/mercurial file structure 01:38:58 ==> Reading reports 01:38:58 + ./coverage.out bytes=10 01:38:58 ==> Appending adjustments 01:38:58 https://docs.codecov.io/docs/fixing-reports 01:38:59 + Found adjustments 01:38:59 ==> Gzipping contents 01:38:59 4.0K /tmp/codecov.CpdOq4.gz 01:38:59 ==> Uploading reports 01:38:59 url: https://codecov.io 01:38:59 query: branch=main&commit=f79754343d8b1121fd7b40f656006f62376f5905&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:38:59 -> Pinging Codecov 01:38:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=f79754343d8b1121fd7b40f656006f62376f5905&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:38:59 -> Uploading to 01:38:59 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/B9AA6E0BBD74AE3A32605C7A7C664919/f79754343d8b1121fd7b40f656006f62376f5905/4d3c06d1-73b3-42cc-b23f-78c3e0d0c5f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T013859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd79f25e9283aa45731f2ae719765c43856c6242f8b278d57ca1c7abc607a657 01:38:59 % Total % Received % Xferd Average Speed Time Time Time Current 01:38:59 Dload Upload Total Spent Left Speed 01:38:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2970 --:--:-- --:--:-- --:--:-- 2970 01:38:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } 01:38:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:38:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:38:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:38:59 01:38:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:39:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:39:00 df9b9388f04a: Pulling fs layer 01:39:00 52dc419b0ee2: Pulling fs layer 01:39:00 25bc292e5bac: Pulling fs layer 01:39:00 114826534d7a: Pulling fs layer 01:39:00 4657fd5d0bcf: Pulling fs layer 01:39:00 6ad1cebc031e: Pulling fs layer 01:39:00 8a3aa393b2d8: Pulling fs layer 01:39:00 6ad1cebc031e: Waiting 01:39:00 114826534d7a: Waiting 01:39:00 4657fd5d0bcf: Waiting 01:39:00 8a3aa393b2d8: Waiting 01:39:00 25bc292e5bac: Verifying Checksum 01:39:00 25bc292e5bac: Download complete 01:39:00 52dc419b0ee2: Verifying Checksum 01:39:00 52dc419b0ee2: Download complete 01:39:00 4657fd5d0bcf: Download complete 01:39:00 df9b9388f04a: Download complete 01:39:00 6ad1cebc031e: Verifying Checksum 01:39:00 6ad1cebc031e: Download complete 01:39:00 df9b9388f04a: Pull complete 01:39:00 52dc419b0ee2: Pull complete 01:39:00 25bc292e5bac: Pull complete 01:39:01 114826534d7a: Verifying Checksum 01:39:01 114826534d7a: Download complete 01:39:01 8a3aa393b2d8: Verifying Checksum 01:39:01 8a3aa393b2d8: Download complete 01:39:04 114826534d7a: Pull complete 01:39:04 4657fd5d0bcf: Pull complete 01:39:04 6ad1cebc031e: Pull complete 01:39:06 8a3aa393b2d8: Pull complete 01:39:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:39:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:39:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:07 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:39:08 $ docker top 27654da039cc9258cc0771697b66dbd300d8e7d7e9761619db76cc2b1a853de4 -eo pid,comm [Pipeline] { [Pipeline] echo 01:39:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 01:39:09 + set -o pipefail 01:39:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 01:39:14 01:39:14 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 01:39:14 01:39:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/78b03a6f-5af7-4255-9ebe-85dafad72199 01:39:14 01:39:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:39:14 01:39:14 01:39:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:39:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:39:14 More details here: https://snyk.co/ue1NS [Pipeline] } 01:39:14 $ docker stop --time=1 27654da039cc9258cc0771697b66dbd300d8e7d7e9761619db76cc2b1a853de4 01:39:16 $ docker rm -f --volumes 27654da039cc9258cc0771697b66dbd300d8e7d7e9761619db76cc2b1a853de4 [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 01:39:16 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] sh 01:39:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:39:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:17 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:39:17 $ docker top c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:39:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:18 [ssh-agent] Looking for ssh-agent implementation... 01:39:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:18 $ docker exec c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a ssh-agent 01:39:18 SSH_AUTH_SOCK=/tmp/ssh-lewiTPNTaazR/agent.32 01:39:18 SSH_AGENT_PID=38 01:39:18 Running ssh-add (command line suppressed) 01:39:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9090077229875531417.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9090077229875531417.key) 01:39:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:18 + git semver tag 01:39:18 2023-07-19 01:39:18,836 [run_tag] DEBUG tag force:False 01:39:18 2023-07-19 01:39:18,836 [check_head_tag] DEBUG check head tag 01:39:18 2023-07-19 01:39:18,836 [execute] INFO git cat-file --batch-check 01:39:18 2023-07-19 01:39:18,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:39:18 2023-07-19 01:39:18,841 [execute] INFO git cat-file --batch 01:39:18 2023-07-19 01:39:18,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:39:18 2023-07-19 01:39:18,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:18 2023-07-19 01:39:18,848 [execute] INFO git tag -a v0.0.1-dev.4 -m v0.0.1-dev.4 01:39:18 2023-07-19 01:39:18,848 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.4', '-m', 'v0.0.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 01:39:18 2023-07-19 01:39:18,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:18 0.0.1-dev.4 [Pipeline] } 01:39:18 $ docker exec --env ******** --env ******** c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a ssh-agent -k 01:39:19 unset SSH_AUTH_SOCK; 01:39:19 unset SSH_AGENT_PID; 01:39:19 echo Agent pid 38 killed; 01:39:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:39:19 + git semver [Pipeline] } 01:39:19 $ docker stop --time=1 c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a 01:39:20 $ docker rm -f --volumes c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:39:21 01:39:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:39:21 0.23.1-centos7: Pulling from edgex-lftools 01:39:21 ab5ef0e58194: Pulling fs layer 01:39:21 9712f1f96733: Pulling fs layer 01:39:21 63f879dbbcfc: Pulling fs layer 01:39:21 0d9ebad4ef96: Pulling fs layer 01:39:21 e9a5061849ea: Pulling fs layer 01:39:21 d747dcd14b5f: Pulling fs layer 01:39:21 2de7ff778b66: Pulling fs layer 01:39:21 2de7ff778b66: Waiting 01:39:21 d747dcd14b5f: Waiting 01:39:21 e9a5061849ea: Waiting 01:39:21 0d9ebad4ef96: Waiting 01:39:21 9712f1f96733: Verifying Checksum 01:39:21 9712f1f96733: Download complete 01:39:21 63f879dbbcfc: Verifying Checksum 01:39:21 63f879dbbcfc: Download complete 01:39:22 e9a5061849ea: Verifying Checksum 01:39:22 e9a5061849ea: Download complete 01:39:22 d747dcd14b5f: Download complete 01:39:22 ab5ef0e58194: Download complete 01:39:22 0d9ebad4ef96: Verifying Checksum 01:39:22 0d9ebad4ef96: Download complete 01:39:22 2de7ff778b66: Verifying Checksum 01:39:22 2de7ff778b66: Download complete 01:39:24 ab5ef0e58194: Pull complete 01:39:24 9712f1f96733: Pull complete 01:39:25 63f879dbbcfc: Pull complete 01:39:28 0d9ebad4ef96: Pull complete 01:39:28 e9a5061849ea: Pull complete 01:39:28 d747dcd14b5f: Pull complete 01:39:29 2de7ff778b66: Pull complete 01:39:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:39:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:39:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:29 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:39:31 $ docker top 0ac4e9ffe6b982b86d4e5a2494c10dcb2b25adbb4d1e6195f89a7321a16c68f2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:39:31 provisioning config files... 01:39:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14725201276372850650tmp 01:39:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12396287659187068868tmp 01:39:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6782353552057007000tmp [Pipeline] { [Pipeline] echo 01:39:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:39:31 ---> sigul-configuration.sh 01:39:31 gpg: directory `/root/.gnupg' created 01:39:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:39:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:39:31 gpg: keyring `/root/.gnupg/secring.gpg' created 01:39:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:39:31 gpg: CAST5 encrypted data 01:39:31 gpg: encrypted with 1 passphrase 01:39:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:39:31 + mkdir /home/jenkins 01:39:31 + mkdir /home/jenkins/sigul [Pipeline] sh 01:39:32 + 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 01:39:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:39:32 ---> sigul-install.sh 01:39:32 Sigul already installed; skipping installation. [Pipeline] sh 01:39:32 + git tag --list 01:39:32 v0.0.0 01:39:32 v0.0.1-dev.1 01:39:32 v0.0.1-dev.2 01:39:32 v0.0.1-dev.3 01:39:32 v0.0.1-dev.4 [Pipeline] sh 01:39:33 + lftools sign git-tag v0.0.1-dev.4 01:39:33 Signing Git tag with Sigul... 01:39:33 Signing v0.0.1-dev.4 [Pipeline] echo 01:39:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:39:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:39:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:39:34 $ docker stop --time=1 0ac4e9ffe6b982b86d4e5a2494c10dcb2b25adbb4d1e6195f89a7321a16c68f2 01:39:35 $ docker rm -f --volumes 0ac4e9ffe6b982b86d4e5a2494c10dcb2b25adbb4d1e6195f89a7321a16c68f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:39:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:39:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:36 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:39:36 $ docker top 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 -eo pid,comm 01:39:36 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). 01:39:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:39:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:36 [ssh-agent] Looking for ssh-agent implementation... 01:39:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:36 $ docker exec 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 ssh-agent 01:39:37 SSH_AUTH_SOCK=/tmp/ssh-7uBWdv8A07xW/agent.32 01:39:37 SSH_AGENT_PID=38 01:39:37 Running ssh-add (command line suppressed) 01:39:37 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17757542461025560824.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17757542461025560824.key) 01:39:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:37 + git semver bump pre 01:39:37 2023-07-19 01:39:37,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:37 2023-07-19 01:39:37,623 [bump_version] DEBUG bumping version:0.0.1-dev.4 on axis:pre with prefix:dev 01:39:37 2023-07-19 01:39:37,623 [bump_version] DEBUG bumped version:0.0.1-dev.5 01:39:37 2023-07-19 01:39:37,623 [write_version] DEBUG write version:0.0.1-dev.5 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 01:39:37 2023-07-19 01:39:37,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:37 2023-07-19 01:39:37,623 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:37 2023-07-19 01:39:37,625 [execute] INFO git cat-file --batch-check 01:39:37 2023-07-19 01:39:37,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:39:37 2023-07-19 01:39:37,630 [execute] INFO git cat-file --batch 01:39:37 2023-07-19 01:39:37,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:39:37 2023-07-19 01:39:37,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:37 0.0.1-dev.5 [Pipeline] } 01:39:37 $ docker exec --env ******** --env ******** 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 ssh-agent -k 01:39:37 unset SSH_AUTH_SOCK; 01:39:37 unset SSH_AGENT_PID; 01:39:37 echo Agent pid 38 killed; 01:39:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:39:38 + git semver [Pipeline] } 01:39:38 $ docker stop --time=1 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 01:39:39 $ docker rm -f --volumes 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 [Pipeline] // withDockerContainer [Pipeline] sh 01:39:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:39:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:40 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:39:40 $ docker top 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 -eo pid,comm 01:39:40 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). 01:39:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:39:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:40 [ssh-agent] Looking for ssh-agent implementation... 01:39:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:41 $ docker exec 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 ssh-agent 01:39:41 SSH_AUTH_SOCK=/tmp/ssh-6urTw5E3bx8r/agent.32 01:39:41 SSH_AGENT_PID=38 01:39:41 Running ssh-add (command line suppressed) 01:39:41 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12632601362183631740.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12632601362183631740.key) 01:39:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:41 + git semver push 01:39:41 2023-07-19 01:39:41,675 [run_push] DEBUG push 01:39:41 2023-07-19 01:39:41,675 [execute] INFO git cat-file --batch-check 01:39:41 2023-07-19 01:39:41,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:39:41 2023-07-19 01:39:41,680 [execute] INFO git rev-list 498de1a95281b13ef44c11892085ea01932f63cb -- 01:39:41 2023-07-19 01:39:41,680 [execute] DEBUG Popen(['git', 'rev-list', '498de1a95281b13ef44c11892085ea01932f63cb', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:39:41 2023-07-19 01:39:41,685 [execute] INFO git fetch -v origin 01:39:41 2023-07-19 01:39:41,685 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 01:39:42 2023-07-19 01:39:42,145 [run_push] DEBUG no remote changes detected 01:39:42 2023-07-19 01:39:42,145 [execute] INFO git push origin semver 01:39:42 2023-07-19 01:39:42,145 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:39:43 2023-07-19 01:39:42,905 [run_push] DEBUG push all version tags 01:39:43 2023-07-19 01:39:42,906 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:39:43 2023-07-19 01:39:42,906 [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) 01:39:43 2023-07-19 01:39:43,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:39:43 0.0.1-dev.5 [Pipeline] } 01:39:43 $ docker exec --env ******** --env ******** 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 ssh-agent -k 01:39:43 unset SSH_AUTH_SOCK; 01:39:43 unset SSH_AGENT_PID; 01:39:43 echo Agent pid 38 killed; 01:39:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:39:44 + git semver [Pipeline] } 01:39:44 $ docker stop --time=1 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 01:39:45 $ docker rm -f --volumes 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 [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 01:39:46 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 01:39:46 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:39:46 total 16 01:39:46 drwxr-xr-x 3 root root 4096 Jul 19 01:29 . 01:39:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:39 .. 01:39:46 drwxr-xr-x 2 root root 4096 Jul 19 01:29 cost 01:39:46 -rw-r--r-- 1 root root 81 Jul 19 01:29 cost.csv 01:39:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 01:39:46 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:39:46 total 16 01:39:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:29 . 01:39:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:39 .. 01:39:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 01:29 cost 01:39:46 -rw-r--r-- 1 jenkins jenkins 81 Jul 19 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:39:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:39:47 ---> package-listing.sh 01:39:47 ++ facter osfamily 01:39:47 ++ tr '[:upper:]' '[:lower:]' 01:39:47 + OS_FAMILY=debian 01:39:47 + workspace=/w/workspace/edgexfoundry_device-uart_main 01:39:47 + START_PACKAGES=/tmp/packages_start.txt 01:39:47 + END_PACKAGES=/tmp/packages_end.txt 01:39:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:39:47 + PACKAGES=/tmp/packages_start.txt 01:39:47 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:39:47 + PACKAGES=/tmp/packages_end.txt 01:39:47 + case "${OS_FAMILY}" in 01:39:47 + dpkg -l 01:39:47 + grep '^ii' 01:39:47 + '[' -f /tmp/packages_start.txt ']' 01:39:47 + '[' -f /tmp/packages_end.txt ']' 01:39:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:39:47 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:39:47 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 01:39:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 01:39:47 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 01:39:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:48 prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container 01:39:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:39:48 $ docker top b12729e6096808d9f367ee1b1731de80cf38e8363a0c8b19d7d7cac3974277a3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:49 + touch /tmp/pre-build-complete [Pipeline] sh 01:39:49 + mkdir -p /var/log/sysstat [Pipeline] sh 01:39:49 + ls /var/log/sa-host 01:39:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:50 provisioning config files... 01:39:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2815935466889280262tmp [Pipeline] { [Pipeline] echo 01:39:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:39:50 ---> create-netrc.sh [Pipeline] } 01:39:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:39:50 ---> python-tools-install.sh [Pipeline] echo 01:39:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:39:51 ---> sudo-logs.sh 01:39:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:39:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:39:51 ---> job-cost.sh 01:39:51 lf-activate-venv: SKIPPING 01:39:51 DEBUG: total: 0.2199999988079071 01:39:51 INFO: Retrieving Stack Cost... 01:39:51 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:52 INFO: Archiving Costs [Pipeline] echo 01:39:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:39:52 ---> logs-deploy.sh 01:39:52 lf-activate-venv: SKIPPING 01:39:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/5 01:39:52 INFO: archiving workspace using pattern(s): 01:39:54 Archives upload complete. 01:39:54 INFO: archiving logs to Nexus