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 [2023-07-19T01:27:15.417Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T01:27:15.489Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T01:27:15.506Z] ========================================================= [2023-07-19T01:27:15.506Z] EdgeX Global Pipelines Version Info [2023-07-19T01:27:15.506Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:27:16.323Z] ------------------- [2023-07-19T01:27:16.323Z] stable info: [2023-07-19T01:27:16.323Z] ------------------- [2023-07-19T01:27:16.323Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T01:27:16.323Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T01:27:16.323Z] Message: update stable to v1.0.250 [2023-07-19T01:27:16.583Z] ------------------- [2023-07-19T01:27:16.583Z] experimental info: [2023-07-19T01:27:16.583Z] ------------------- [2023-07-19T01:27:16.583Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T01:27:16.583Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T01:27:16.583Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T01:27:16.770Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-19T01:27:16.786Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-19T01:27:16.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T01:27:16.823Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T01:27:16.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T01:27:16.854Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T01:27:16.873Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T01:27:16.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-19T01:27:16.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T01:27:16.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T01:27:16.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T01:27:16.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-19T01:27:16.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T01:27:17.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T01:27:17.027Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T01:27:17.049Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T01:27:17.067Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T01:27:17.087Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T01:27:17.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T01:27:17.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T01:27:17.139Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-19T01:27:17.159Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-19T01:27:17.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T01:27:17.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T01:27:17.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T01:27:17.233Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T01:27:17.251Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T01:27:17.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-19T01:27:17.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-19T01:27:17.307Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-19T01:27:17.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo [2023-07-19T01:27:17.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f797543 [Pipeline] echo [2023-07-19T01:27:17.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T01:27:17.394Z] provisioning config files... [2023-07-19T01:27:17.409Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config289910121231505495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:27:17.708Z] ---> docker-login.sh [2023-07-19T01:27:17.708Z] nexus3.edgexfoundry.org:10001 [2023-07-19T01:27:17.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:18.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:18.230Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:18.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:18.230Z] [2023-07-19T01:27:18.230Z] Login Succeeded [2023-07-19T01:27:18.230Z] nexus3.edgexfoundry.org:10002 [2023-07-19T01:27:18.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:18.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:18.491Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:18.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:18.491Z] [2023-07-19T01:27:18.491Z] Login Succeeded [2023-07-19T01:27:18.491Z] nexus3.edgexfoundry.org:10003 [2023-07-19T01:27:18.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:18.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:18.491Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:18.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:18.491Z] [2023-07-19T01:27:18.491Z] Login Succeeded [2023-07-19T01:27:18.491Z] nexus3.edgexfoundry.org:10004 [2023-07-19T01:27:18.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:18.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:18.752Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:18.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:18.752Z] [2023-07-19T01:27:18.752Z] Login Succeeded [2023-07-19T01:27:18.752Z] docker.io [2023-07-19T01:27:18.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:19.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:19.013Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:19.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:19.013Z] [2023-07-19T01:27:19.013Z] Login Succeeded [2023-07-19T01:27:19.013Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T01:27:19.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T01:27:19.402Z] + git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo [2023-07-19T01:27:19.452Z] -----------> git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 f79754343d8b1121fd7b40f656006f62376f5905 [false] [Pipeline] sh [2023-07-19T01:27:19.748Z] + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo [2023-07-19T01:27:19.763Z] ========================================================= [2023-07-19T01:27:19.763Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T01:27:19.763Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T01:27:20.079Z] + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo [2023-07-19T01:27:20.090Z] [semverPrep] GIT_COMMIT: f79754343d8b1121fd7b40f656006f62376f5905, Commit Message: feat: Add integer read and write support (#20) [Pipeline] echo [2023-07-19T01:27:20.101Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T01:27:20.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T01:27:20.461Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T01:27:20.461Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T01:27:20.461Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T01:27:20.461Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T01:27:20.461Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T01:27:20.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:27:20.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:27:20.888Z] [2023-07-19T01:27:20.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:27:21.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:27:21.188Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T01:27:21.188Z] b85a868b505f: Pulling fs layer [2023-07-19T01:27:21.188Z] e2be974225ed: Pulling fs layer [2023-07-19T01:27:21.188Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T01:27:21.188Z] 988bab9f4d93: Pulling fs layer [2023-07-19T01:27:21.188Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T01:27:21.188Z] eaf3925da568: Pulling fs layer [2023-07-19T01:27:21.188Z] bab4dde63d76: Pulling fs layer [2023-07-19T01:27:21.188Z] bde34c3a00c8: Pulling fs layer [2023-07-19T01:27:21.188Z] b352a97aabf1: Pulling fs layer [2023-07-19T01:27:21.188Z] 4872d77fe225: Pulling fs layer [2023-07-19T01:27:21.188Z] 5851b861e8e6: Pulling fs layer [2023-07-19T01:27:21.188Z] bde34c3a00c8: Waiting [2023-07-19T01:27:21.188Z] 988bab9f4d93: Waiting [2023-07-19T01:27:21.188Z] 4872d77fe225: Waiting [2023-07-19T01:27:21.188Z] b352a97aabf1: Waiting [2023-07-19T01:27:21.188Z] bab4dde63d76: Waiting [2023-07-19T01:27:21.188Z] 5851b861e8e6: Waiting [2023-07-19T01:27:21.188Z] 1469e6f7b9e6: Waiting [2023-07-19T01:27:21.188Z] e2be974225ed: Verifying Checksum [2023-07-19T01:27:21.188Z] e2be974225ed: Download complete [2023-07-19T01:27:21.188Z] 988bab9f4d93: Download complete [2023-07-19T01:27:21.188Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T01:27:21.188Z] 1469e6f7b9e6: Download complete [2023-07-19T01:27:21.188Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T01:27:21.188Z] 339a4e72a1f5: Download complete [2023-07-19T01:27:21.448Z] eaf3925da568: Verifying Checksum [2023-07-19T01:27:21.448Z] eaf3925da568: Download complete [2023-07-19T01:27:21.448Z] bde34c3a00c8: Verifying Checksum [2023-07-19T01:27:21.448Z] bde34c3a00c8: Download complete [2023-07-19T01:27:21.448Z] b352a97aabf1: Verifying Checksum [2023-07-19T01:27:21.448Z] b352a97aabf1: Download complete [2023-07-19T01:27:21.448Z] 4872d77fe225: Download complete [2023-07-19T01:27:21.448Z] 5851b861e8e6: Verifying Checksum [2023-07-19T01:27:21.448Z] 5851b861e8e6: Download complete [2023-07-19T01:27:21.448Z] b85a868b505f: Verifying Checksum [2023-07-19T01:27:21.448Z] b85a868b505f: Download complete [2023-07-19T01:27:21.709Z] bab4dde63d76: Verifying Checksum [2023-07-19T01:27:21.709Z] bab4dde63d76: Download complete [2023-07-19T01:27:22.653Z] b85a868b505f: Pull complete [2023-07-19T01:27:22.921Z] e2be974225ed: Pull complete [2023-07-19T01:27:23.182Z] 339a4e72a1f5: Pull complete [2023-07-19T01:27:23.182Z] 988bab9f4d93: Pull complete [2023-07-19T01:27:23.442Z] 1469e6f7b9e6: Pull complete [2023-07-19T01:27:23.705Z] eaf3925da568: Pull complete [2023-07-19T01:27:25.613Z] bab4dde63d76: Pull complete [2023-07-19T01:27:25.613Z] bde34c3a00c8: Pull complete [2023-07-19T01:27:25.613Z] b352a97aabf1: Pull complete [2023-07-19T01:27:25.613Z] 4872d77fe225: Pull complete [2023-07-19T01:27:25.613Z] 5851b861e8e6: Pull complete [2023-07-19T01:27:25.613Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T01:27:25.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:27:25.613Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:27:25.715Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:27:25.753Z] $ 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 [2023-07-19T01:27:26.949Z] $ docker top bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d -eo pid,comm [2023-07-19T01:27:26.998Z] 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). [2023-07-19T01:27:26.998Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T01:27:27.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T01:27:27.036Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T01:27:27.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T01:27:27.150Z] $ docker exec bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent [2023-07-19T01:27:27.247Z] SSH_AUTH_SOCK=/tmp/ssh-NHMGJh6rz1Ft/agent.30 [2023-07-19T01:27:27.247Z] SSH_AGENT_PID=36 [2023-07-19T01:27:27.269Z] Running ssh-add (command line suppressed) [2023-07-19T01:27:27.376Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6968016160713354249.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6968016160713354249.key) [2023-07-19T01:27:27.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T01:27:27.674Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T01:27:27.691Z] $ docker exec --env ******** --env ******** bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent -k [2023-07-19T01:27:27.798Z] unset SSH_AUTH_SOCK; [2023-07-19T01:27:27.798Z] unset SSH_AGENT_PID; [2023-07-19T01:27:27.798Z] echo Agent pid 36 killed; [2023-07-19T01:27:27.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T01:27:27.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T01:27:27.827Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T01:27:27.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T01:27:27.935Z] $ docker exec bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent [2023-07-19T01:27:28.038Z] SSH_AUTH_SOCK=/tmp/ssh-QaAai2BZSm9W/agent.68 [2023-07-19T01:27:28.038Z] SSH_AGENT_PID=74 [2023-07-19T01:27:28.044Z] Running ssh-add (command line suppressed) [2023-07-19T01:27:28.153Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10518744405112518680.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10518744405112518680.key) [2023-07-19T01:27:28.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T01:27:28.455Z] + git semver init [2023-07-19T01:27:28.716Z] 2023-07-19 01:27:28,647 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T01:27:28.716Z] 2023-07-19 01:27:28,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-07-19T01:27:28.716Z] 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 [2023-07-19T01:27:28.716Z] 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) [2023-07-19T01:27:29.656Z] 2023-07-19 01:27:29,376 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-07-19T01:27:29.656Z] 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 [2023-07-19T01:27:29.656Z] 2023-07-19 01:27:29,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:27:29.656Z] 2023-07-19 01:27:29,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:27:29.656Z] 0.0.1-dev.4 [Pipeline] } [2023-07-19T01:27:29.669Z] $ docker exec --env ******** --env ******** bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d ssh-agent -k [2023-07-19T01:27:29.770Z] unset SSH_AUTH_SOCK; [2023-07-19T01:27:29.771Z] unset SSH_AGENT_PID; [2023-07-19T01:27:29.771Z] echo Agent pid 74 killed; [2023-07-19T01:27:29.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T01:27:30.091Z] + git semver [Pipeline] } [2023-07-19T01:27:30.368Z] $ docker stop --time=1 bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d [2023-07-19T01:27:31.680Z] $ docker rm -f --volumes bf95910e5819f7fe550316b2eda51e98d4714a24dcc4673ac5b0cb66dc80a94d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T01:27:32.025Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T01:27:32.235Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T01:27:32.238Z] [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 [2023-07-19T01:27:32.377Z] provisioning config files... [2023-07-19T01:27:32.388Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7888481574424775532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:27:32.689Z] ---> docker-login.sh [2023-07-19T01:27:32.689Z] nexus3.edgexfoundry.org:10001 [2023-07-19T01:27:32.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:32.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:32.689Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:32.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:32.689Z] [2023-07-19T01:27:32.689Z] Login Succeeded [2023-07-19T01:27:32.689Z] nexus3.edgexfoundry.org:10002 [2023-07-19T01:27:32.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:32.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:32.689Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:32.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:32.689Z] [2023-07-19T01:27:32.689Z] Login Succeeded [2023-07-19T01:27:32.689Z] nexus3.edgexfoundry.org:10003 [2023-07-19T01:27:32.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:32.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:32.949Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:32.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:32.949Z] [2023-07-19T01:27:32.949Z] Login Succeeded [2023-07-19T01:27:32.949Z] nexus3.edgexfoundry.org:10004 [2023-07-19T01:27:32.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:32.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:32.949Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:32.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:32.949Z] [2023-07-19T01:27:32.949Z] Login Succeeded [2023-07-19T01:27:32.949Z] docker.io [2023-07-19T01:27:33.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:27:33.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:27:33.208Z] Configure a credential helper to remove this warning. See [2023-07-19T01:27:33.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:27:33.208Z] [2023-07-19T01:27:33.208Z] Login Succeeded [2023-07-19T01:27:33.208Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T01:27:33.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T01:27:33.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:27:33.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:27:33.301Z] ========================================================= [2023-07-19T01:27:33.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T01:27:33.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:27:33.604Z] + 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 . [2023-07-19T01:27:33.604Z] Sending build context to Docker daemon 11.08MB [2023-07-19T01:27:33.604Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T01:27:33.604Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T01:27:33.604Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T01:27:33.604Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T01:27:33.604Z] 6911f1a30b25: Pulling fs layer [2023-07-19T01:27:33.604Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T01:27:33.604Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T01:27:33.604Z] ec0bb842ea78: Pulling fs layer [2023-07-19T01:27:33.604Z] 40a00589a448: Pulling fs layer [2023-07-19T01:27:33.604Z] 6c08303d61cc: Pulling fs layer [2023-07-19T01:27:33.604Z] 798269fcf238: Pulling fs layer [2023-07-19T01:27:33.604Z] 6863d3e3a2b1: Waiting [2023-07-19T01:27:33.604Z] ec0bb842ea78: Waiting [2023-07-19T01:27:33.604Z] 40a00589a448: Waiting [2023-07-19T01:27:33.604Z] 6c08303d61cc: Waiting [2023-07-19T01:27:33.604Z] 798269fcf238: Waiting [2023-07-19T01:27:33.604Z] 6911f1a30b25: Verifying Checksum [2023-07-19T01:27:33.604Z] 6911f1a30b25: Download complete [2023-07-19T01:27:33.604Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T01:27:33.604Z] 6863d3e3a2b1: Download complete [2023-07-19T01:27:33.604Z] ec0bb842ea78: Verifying Checksum [2023-07-19T01:27:33.604Z] ec0bb842ea78: Download complete [2023-07-19T01:27:33.862Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T01:27:33.862Z] 4db1b89c0bd1: Download complete [2023-07-19T01:27:33.862Z] 40a00589a448: Verifying Checksum [2023-07-19T01:27:33.862Z] 40a00589a448: Download complete [2023-07-19T01:27:33.862Z] 4db1b89c0bd1: Pull complete [2023-07-19T01:27:34.124Z] 6911f1a30b25: Pull complete [2023-07-19T01:27:34.384Z] 798269fcf238: Verifying Checksum [2023-07-19T01:27:34.384Z] 798269fcf238: Download complete [2023-07-19T01:27:34.384Z] e194b8c5c2a9: Verifying Checksum [2023-07-19T01:27:34.384Z] e194b8c5c2a9: Download complete [2023-07-19T01:27:34.642Z] 6c08303d61cc: Verifying Checksum [2023-07-19T01:27:34.642Z] 6c08303d61cc: Download complete [2023-07-19T01:27:37.937Z] e194b8c5c2a9: Pull complete [2023-07-19T01:27:37.937Z] 6863d3e3a2b1: Pull complete [2023-07-19T01:27:37.937Z] ec0bb842ea78: Pull complete [2023-07-19T01:27:37.937Z] 40a00589a448: Pull complete [2023-07-19T01:27:39.850Z] 6c08303d61cc: Pull complete [2023-07-19T01:27:40.786Z] 798269fcf238: Pull complete [2023-07-19T01:27:40.786Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T01:27:40.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T01:27:40.786Z] ---> ec979cd7f677 [2023-07-19T01:27:40.786Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T01:27:42.692Z] ---> Running in cad52e06867a [2023-07-19T01:27:42.692Z] Removing intermediate container cad52e06867a [2023-07-19T01:27:42.692Z] ---> 84d1fe475bb4 [2023-07-19T01:27:42.692Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T01:27:42.692Z] ---> Running in 0784f3949035 [2023-07-19T01:27:42.692Z] Removing intermediate container 0784f3949035 [2023-07-19T01:27:42.692Z] ---> 05de3f203346 [2023-07-19T01:27:42.692Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T01:27:42.692Z] ---> Running in b2d12e74190c [2023-07-19T01:27:42.952Z] Removing intermediate container b2d12e74190c [2023-07-19T01:27:42.952Z] ---> 6b93aeff4d9e [2023-07-19T01:27:42.952Z] Step 6/12 : WORKDIR /device-uart [2023-07-19T01:27:42.952Z] ---> Running in 16d58dd6e2ef [2023-07-19T01:27:42.952Z] Removing intermediate container 16d58dd6e2ef [2023-07-19T01:27:42.952Z] ---> 3d8cfe863f57 [2023-07-19T01:27:42.952Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T01:27:42.952Z] ---> Running in b367035463f5 [2023-07-19T01:27:43.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T01:27:43.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T01:27:43.732Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-19T01:27:43.732Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-19T01:27:43.732Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-19T01:27:43.732Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-19T01:27:43.732Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T01:27:43.732Z] OK: 269 MiB in 57 packages [2023-07-19T01:27:44.302Z] Removing intermediate container b367035463f5 [2023-07-19T01:27:44.302Z] ---> 23708fdba91d [2023-07-19T01:27:44.302Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T01:27:44.302Z] ---> d0ef8a4cb315 [2023-07-19T01:27:44.302Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T01:27:44.302Z] ---> Running in 5192eaf901d2 [2023-07-19T01:27:47.337Z] Still waiting to schedule task [2023-07-19T01:27:47.337Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1484’ is offline [2023-07-19T01:28:30.991Z] Removing intermediate container 5192eaf901d2 [2023-07-19T01:28:30.991Z] ---> bc87f8deddb7 [2023-07-19T01:28:30.991Z] Step 10/12 : COPY . . [2023-07-19T01:28:30.991Z] ---> e1906b10d2a2 [2023-07-19T01:28:30.991Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T01:28:30.991Z] ---> Running in 974530d4b3f8 [2023-07-19T01:28:30.991Z] Removing intermediate container 974530d4b3f8 [2023-07-19T01:28:30.991Z] ---> 2b563710f1b5 [2023-07-19T01:28:30.991Z] Step 12/12 : RUN ${MAKE} [2023-07-19T01:28:30.991Z] ---> Running in 121255553a4b [2023-07-19T01:28:30.991Z] noop [2023-07-19T01:28:30.991Z] Removing intermediate container 121255553a4b [2023-07-19T01:28:30.991Z] ---> 41c6e5e4c3c0 [2023-07-19T01:28:30.991Z] Successfully built 41c6e5e4c3c0 [2023-07-19T01:28:30.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:28:31.307Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T01:28:31.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:28:31.374Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:28:31.406Z] $ 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 [2023-07-19T01:28:31.720Z] $ docker top f49c502156e5810df38cab91da4042ff451dddb02de8cd71c9b9f754afcef2be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T01:28:32.062Z] + go version [2023-07-19T01:28:32.062Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T01:28:32.074Z] $ docker stop --time=1 f49c502156e5810df38cab91da4042ff451dddb02de8cd71c9b9f754afcef2be [2023-07-19T01:28:33.331Z] $ 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 [2023-07-19T01:28:33.754Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T01:28:33.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:28:33.833Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:28:33.866Z] $ 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 [2023-07-19T01:28:34.191Z] $ docker top d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T01:28:34.532Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-07-19T01:28:34.830Z] + make test [2023-07-19T01:28:34.830Z] go test ./... -coverprofile=coverage.out [2023-07-19T01:28:39.017Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-19T01:28:48.990Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-19T01:28:48.990Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-19T01:28:53.370Z] go vet ./... [2023-07-19T01:28:56.651Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T01:28:56.651Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T01:28:56.651Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T01:28:56.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T01:28:56.677Z] $ docker stop --time=1 d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 [2023-07-19T01:28:58.500Z] $ docker rm -f --volumes d2a4b67f28d3174e3c8bb7ca70bb89e2e91836b1faf990e1066ffb4bcbca1456 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T01:28:58.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T01:28:58.989Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-19T01:28:59.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T01:28:59.800Z] + ls -al . [2023-07-19T01:28:59.800Z] total 140 [2023-07-19T01:28:59.800Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 19 01:28 . [2023-07-19T01:28:59.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:27 .. [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:27 .dockerignore [2023-07-19T01:28:59.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:27 .git [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 01:27 .gitignore [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 01:27 .golangci.yml [2023-07-19T01:28:59.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:27 .semver [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 19 01:27 Attribution.txt [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 19 01:27 Dockerfile [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:27 GOVERNANCE.md [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 01:27 Jenkinsfile [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 01:27 LICENSE [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 19 01:27 Makefile [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 01:27 OWNERS.md [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 19 01:27 README.md [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 01:27 VERSION [2023-07-19T01:28:59.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:27 bin [2023-07-19T01:28:59.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:27 cmd [2023-07-19T01:28:59.800Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 19 01:28 coverage.out [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 19 01:27 go.mod [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 19 01:27 go.sum [2023-07-19T01:28:59.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:27 internal [2023-07-19T01:28:59.800Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:00.102Z] + 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 . [2023-07-19T01:29:00.102Z] Sending build context to Docker daemon 11.08MB [2023-07-19T01:29:00.102Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T01:29:00.102Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-19T01:29:00.102Z] ---> 41c6e5e4c3c0 [2023-07-19T01:29:00.102Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T01:29:00.102Z] ---> Running in 6da9a52e4014 [2023-07-19T01:29:00.102Z] Removing intermediate container 6da9a52e4014 [2023-07-19T01:29:00.102Z] ---> 1d616a4380b7 [2023-07-19T01:29:00.102Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T01:29:00.361Z] ---> Running in 4b3a8e237951 [2023-07-19T01:29:00.361Z] Removing intermediate container 4b3a8e237951 [2023-07-19T01:29:00.361Z] ---> 18ad2006eac6 [2023-07-19T01:29:00.361Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-19T01:29:00.361Z] ---> Running in a7cb2911cf50 [2023-07-19T01:29:00.361Z] Removing intermediate container a7cb2911cf50 [2023-07-19T01:29:00.361Z] ---> 6d37f5da7fc4 [2023-07-19T01:29:00.361Z] Step 6/25 : WORKDIR /device-uart [2023-07-19T01:29:00.361Z] ---> Running in bb5433ccbfca [2023-07-19T01:29:00.620Z] Removing intermediate container bb5433ccbfca [2023-07-19T01:29:00.620Z] ---> af087f1a8544 [2023-07-19T01:29:00.620Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T01:29:00.620Z] ---> Running in 420279f27937 [2023-07-19T01:29:00.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T01:29:00.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T01:29:01.143Z] OK: 269 MiB in 57 packages [2023-07-19T01:29:01.713Z] Removing intermediate container 420279f27937 [2023-07-19T01:29:01.713Z] ---> 96971f8ff0c1 [2023-07-19T01:29:01.713Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-19T01:29:01.713Z] ---> c529d6cc964b [2023-07-19T01:29:01.713Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T01:29:01.713Z] ---> Running in 1bfe2337c80f [2023-07-19T01:29:02.282Z] Removing intermediate container 1bfe2337c80f [2023-07-19T01:29:02.282Z] ---> e5aeb5936591 [2023-07-19T01:29:02.282Z] Step 10/25 : COPY . . [2023-07-19T01:29:02.541Z] ---> e4145aede783 [2023-07-19T01:29:02.541Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T01:29:02.541Z] ---> Running in 099d075c5e84 [2023-07-19T01:29:02.541Z] Removing intermediate container 099d075c5e84 [2023-07-19T01:29:02.541Z] ---> d2180ecb4c73 [2023-07-19T01:29:02.541Z] Step 12/25 : RUN ${MAKE} [2023-07-19T01:29:02.541Z] ---> Running in 9ccbd67a5ed8 [2023-07-19T01:29:02.799Z] 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 [2023-07-19T01:29:18.839Z] Removing intermediate container 9ccbd67a5ed8 [2023-07-19T01:29:18.839Z] ---> c844d95e8719 [2023-07-19T01:29:18.839Z] Step 13/25 : FROM alpine:3.17 [2023-07-19T01:29:18.839Z] 3.17: Pulling from library/alpine [2023-07-19T01:29:18.839Z] 4db1b89c0bd1: Already exists [2023-07-19T01:29:18.839Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T01:29:18.839Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T01:29:18.839Z] ---> 1f73a9d63274 [2023-07-19T01:29:18.839Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-19T01:29:18.839Z] ---> Running in fb139c379703 [2023-07-19T01:29:18.839Z] Removing intermediate container fb139c379703 [2023-07-19T01:29:18.839Z] ---> cf2e1c309eb7 [2023-07-19T01:29:18.839Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-19T01:29:18.839Z] ---> Running in d846736aec03 [2023-07-19T01:29:19.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T01:29:19.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T01:29:19.617Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-19T01:29:19.617Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T01:29:19.617Z] OK: 7 MiB in 16 packages [2023-07-19T01:29:20.762Z] Removing intermediate container d846736aec03 [2023-07-19T01:29:20.762Z] ---> 496fb7347373 [2023-07-19T01:29:20.762Z] Step 16/25 : WORKDIR / [2023-07-19T01:29:20.762Z] ---> Running in 8f5441f3750e [2023-07-19T01:29:20.762Z] Removing intermediate container 8f5441f3750e [2023-07-19T01:29:20.762Z] ---> 727a1085fca0 [2023-07-19T01:29:20.762Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-19T01:29:20.762Z] ---> 50723a64c9b9 [2023-07-19T01:29:20.762Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-19T01:29:20.762Z] ---> c7246675573a [2023-07-19T01:29:20.762Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-19T01:29:20.762Z] ---> eb516df71c3b [2023-07-19T01:29:20.762Z] Step 20/25 : EXPOSE 59995 [2023-07-19T01:29:20.762Z] ---> Running in 92ede624013d [2023-07-19T01:29:20.762Z] Removing intermediate container 92ede624013d [2023-07-19T01:29:20.762Z] ---> ec7aa965714f [2023-07-19T01:29:20.762Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-19T01:29:20.762Z] ---> Running in 62bb526c5b54 [2023-07-19T01:29:20.762Z] Removing intermediate container 62bb526c5b54 [2023-07-19T01:29:20.762Z] ---> 894921432f8f [2023-07-19T01:29:20.762Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T01:29:20.762Z] ---> Running in df93f9dae7f2 [2023-07-19T01:29:20.762Z] Removing intermediate container df93f9dae7f2 [2023-07-19T01:29:20.762Z] ---> 1de18adc98d4 [2023-07-19T01:29:20.762Z] Step 23/25 : LABEL arch=amd64 [2023-07-19T01:29:20.762Z] ---> Running in 783e0969ba03 [2023-07-19T01:29:21.023Z] Removing intermediate container 783e0969ba03 [2023-07-19T01:29:21.023Z] ---> d3d3545c0599 [2023-07-19T01:29:21.023Z] Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:29:21.023Z] ---> Running in 29fbbc4bace5 [2023-07-19T01:29:21.023Z] Removing intermediate container 29fbbc4bace5 [2023-07-19T01:29:21.023Z] ---> 872e79141100 [2023-07-19T01:29:21.023Z] Step 25/25 : LABEL version=0.0.1-dev.4 [2023-07-19T01:29:21.023Z] ---> Running in 65757e5a094b [2023-07-19T01:29:21.023Z] Removing intermediate container 65757e5a094b [2023-07-19T01:29:21.023Z] ---> 4647466d5e3d [2023-07-19T01:29:21.023Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T01:29:21.023Z] Successfully built 4647466d5e3d [2023-07-19T01:29:21.023Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T01:29:21.157Z] provisioning config files... [2023-07-19T01:29:21.165Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2590690538825353648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:29:21.461Z] ---> docker-login.sh [2023-07-19T01:29:21.461Z] nexus3.edgexfoundry.org:10001 [2023-07-19T01:29:21.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:29:21.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:29:21.461Z] Configure a credential helper to remove this warning. See [2023-07-19T01:29:21.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:29:21.461Z] [2023-07-19T01:29:21.461Z] Login Succeeded [2023-07-19T01:29:21.461Z] nexus3.edgexfoundry.org:10002 [2023-07-19T01:29:21.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:29:21.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:29:21.461Z] Configure a credential helper to remove this warning. See [2023-07-19T01:29:21.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:29:21.461Z] [2023-07-19T01:29:21.461Z] Login Succeeded [2023-07-19T01:29:21.461Z] nexus3.edgexfoundry.org:10003 [2023-07-19T01:29:21.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:29:21.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:29:21.719Z] Configure a credential helper to remove this warning. See [2023-07-19T01:29:21.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:29:21.719Z] [2023-07-19T01:29:21.719Z] Login Succeeded [2023-07-19T01:29:21.719Z] nexus3.edgexfoundry.org:10004 [2023-07-19T01:29:21.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:29:21.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:29:21.719Z] Configure a credential helper to remove this warning. See [2023-07-19T01:29:21.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:29:21.719Z] [2023-07-19T01:29:21.719Z] Login Succeeded [2023-07-19T01:29:21.719Z] docker.io [2023-07-19T01:29:21.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:29:21.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:29:21.979Z] Configure a credential helper to remove this warning. See [2023-07-19T01:29:21.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:29:21.979Z] [2023-07-19T01:29:21.979Z] Login Succeeded [2023-07-19T01:29:21.979Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T01:29:21.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T01:29:22.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:29:22.033Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-07-19T01:29:22.033Z] f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:29:22.033Z] latest [2023-07-19T01:29:22.033Z] 0.0.1-dev.4 [2023-07-19T01:29:22.033Z] f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:29:22.033Z] main [2023-07-19T01:29:22.033Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:22.349Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:22.654Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:29:22.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-19T01:29:22.654Z] 9a0557c2e5d2: Preparing [2023-07-19T01:29:22.654Z] d75bba2975ae: Preparing [2023-07-19T01:29:22.654Z] d27feb1cbd71: Preparing [2023-07-19T01:29:22.654Z] f014fcf92740: Preparing [2023-07-19T01:29:22.654Z] 3dab9f8bf2d2: Preparing [2023-07-19T01:29:22.654Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T01:29:22.654Z] d75bba2975ae: Pushed [2023-07-19T01:29:22.654Z] f014fcf92740: Pushed [2023-07-19T01:29:22.654Z] d27feb1cbd71: Pushed [2023-07-19T01:29:25.185Z] 9a0557c2e5d2: Pushed [2023-07-19T01:29:25.185Z] f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:25.507Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:25.820Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-07-19T01:29:25.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-19T01:29:25.820Z] 9a0557c2e5d2: Preparing [2023-07-19T01:29:25.820Z] d75bba2975ae: Preparing [2023-07-19T01:29:25.820Z] d27feb1cbd71: Preparing [2023-07-19T01:29:25.820Z] f014fcf92740: Preparing [2023-07-19T01:29:25.820Z] 3dab9f8bf2d2: Preparing [2023-07-19T01:29:25.820Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T01:29:25.820Z] 9a0557c2e5d2: Layer already exists [2023-07-19T01:29:25.820Z] d75bba2975ae: Layer already exists [2023-07-19T01:29:25.820Z] d27feb1cbd71: Layer already exists [2023-07-19T01:29:25.820Z] f014fcf92740: Layer already exists [2023-07-19T01:29:25.820Z] latest: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:26.138Z] + 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 [2023-07-19T01:29:26.445Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.4 [2023-07-19T01:29:26.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-19T01:29:26.445Z] 9a0557c2e5d2: Preparing [2023-07-19T01:29:26.445Z] d75bba2975ae: Preparing [2023-07-19T01:29:26.445Z] d27feb1cbd71: Preparing [2023-07-19T01:29:26.445Z] f014fcf92740: Preparing [2023-07-19T01:29:26.445Z] 3dab9f8bf2d2: Preparing [2023-07-19T01:29:26.445Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T01:29:26.445Z] d75bba2975ae: Layer already exists [2023-07-19T01:29:26.445Z] d27feb1cbd71: Layer already exists [2023-07-19T01:29:26.445Z] 9a0557c2e5d2: Layer already exists [2023-07-19T01:29:26.445Z] f014fcf92740: Layer already exists [2023-07-19T01:29:26.445Z] 0.0.1-dev.4: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:26.762Z] + 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 [2023-07-19T01:29:27.075Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:29:27.075Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-19T01:29:27.075Z] 9a0557c2e5d2: Preparing [2023-07-19T01:29:27.075Z] d75bba2975ae: Preparing [2023-07-19T01:29:27.075Z] d27feb1cbd71: Preparing [2023-07-19T01:29:27.075Z] f014fcf92740: Preparing [2023-07-19T01:29:27.075Z] 3dab9f8bf2d2: Preparing [2023-07-19T01:29:27.075Z] d27feb1cbd71: Layer already exists [2023-07-19T01:29:27.075Z] 9a0557c2e5d2: Layer already exists [2023-07-19T01:29:27.075Z] f014fcf92740: Layer already exists [2023-07-19T01:29:27.075Z] d75bba2975ae: Layer already exists [2023-07-19T01:29:27.075Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T01:29:27.075Z] f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:27.400Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:27.716Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-07-19T01:29:27.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-19T01:29:27.716Z] 9a0557c2e5d2: Preparing [2023-07-19T01:29:27.716Z] d75bba2975ae: Preparing [2023-07-19T01:29:27.716Z] d27feb1cbd71: Preparing [2023-07-19T01:29:27.716Z] f014fcf92740: Preparing [2023-07-19T01:29:27.716Z] 3dab9f8bf2d2: Preparing [2023-07-19T01:29:27.716Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T01:29:27.716Z] d27feb1cbd71: Layer already exists [2023-07-19T01:29:27.716Z] 9a0557c2e5d2: Layer already exists [2023-07-19T01:29:27.716Z] d75bba2975ae: Layer already exists [2023-07-19T01:29:27.716Z] f014fcf92740: Layer already exists [2023-07-19T01:29:27.716Z] main: digest: sha256:5a3a6cdfec7ef8fd599708f1bd78cdceba7cf6b885e08554167655f7ca2e2d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T01:29:27.765Z] ===================================================== [Pipeline] echo [2023-07-19T01:29:27.778Z] taggedImages: [2023-07-19T01:29:27.779Z] - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:29:27.779Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-07-19T01:29:27.779Z] - nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.4 [2023-07-19T01:29:27.779Z] - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:29:27.779Z] - 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 [2023-07-19T01:29:28.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T01:29:28.152Z] [2023-07-19T01:29:28.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:29:28.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T01:29:28.451Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T01:29:28.451Z] 5eb5b503b376: Pulling fs layer [2023-07-19T01:29:28.451Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T01:29:28.451Z] ec43610c2a17: Pulling fs layer [2023-07-19T01:29:28.451Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T01:29:28.451Z] 33b1e0a273af: Pulling fs layer [2023-07-19T01:29:28.451Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T01:29:28.451Z] 2f39f015ded8: Pulling fs layer [2023-07-19T01:29:28.451Z] 33b1e0a273af: Waiting [2023-07-19T01:29:28.451Z] 5d3b04190fa2: Waiting [2023-07-19T01:29:28.451Z] 2f39f015ded8: Waiting [2023-07-19T01:29:28.451Z] 3a2ae6a8a46f: Waiting [2023-07-19T01:29:28.451Z] 5c69ac0246d0: Verifying Checksum [2023-07-19T01:29:28.451Z] 5c69ac0246d0: Download complete [2023-07-19T01:29:28.451Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T01:29:28.451Z] 3a2ae6a8a46f: Download complete [2023-07-19T01:29:28.451Z] 33b1e0a273af: Verifying Checksum [2023-07-19T01:29:28.451Z] 33b1e0a273af: Download complete [2023-07-19T01:29:28.451Z] 5d3b04190fa2: Download complete [2023-07-19T01:29:28.451Z] ec43610c2a17: Verifying Checksum [2023-07-19T01:29:28.451Z] ec43610c2a17: Download complete [2023-07-19T01:29:28.713Z] 5eb5b503b376: Verifying Checksum [2023-07-19T01:29:28.713Z] 5eb5b503b376: Download complete [2023-07-19T01:29:29.278Z] 2f39f015ded8: Download complete [2023-07-19T01:29:29.844Z] 5eb5b503b376: Pull complete [2023-07-19T01:29:29.844Z] 5c69ac0246d0: Pull complete [2023-07-19T01:29:30.411Z] ec43610c2a17: Pull complete [2023-07-19T01:29:30.411Z] 3a2ae6a8a46f: Pull complete [2023-07-19T01:29:30.411Z] 33b1e0a273af: Pull complete [2023-07-19T01:29:30.411Z] 5d3b04190fa2: Pull complete [2023-07-19T01:29:34.126Z] 2f39f015ded8: Pull complete [2023-07-19T01:29:34.126Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T01:29:34.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T01:29:34.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:29:34.214Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:29:34.248Z] $ 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 [2023-07-19T01:29:35.463Z] $ docker top 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:29:35.861Z] ---> job-cost.sh [2023-07-19T01:29:35.861Z] lf-activate-venv: SKIPPING [2023-07-19T01:29:35.861Z] INFO: No Stack... [2023-07-19T01:29:36.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T01:29:36.379Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T01:29:36.668Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-07-19T01:29:36.668Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T01:29:36.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [2023-07-19T01:29:36.685Z] Resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] did not exist. Created. [2023-07-19T01:29:36.685Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T01:29:36.987Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T01:29:37.019Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T01:29:37.029Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T01:29:37.050Z] $ docker stop --time=1 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 [2023-07-19T01:29:38.196Z] $ docker rm -f --volumes 5238a9fb20e8319d3a96ceabb130220d643d5b30d69d540852a7325cbc9891d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T01:30:07.768Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1487 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-07-19T01:30:07.781Z] Running in /w/workspace/device-uart/5 [Pipeline] { [Pipeline] checkout [2023-07-19T01:30:07.841Z] The recommended git tool is: git [2023-07-19T01:30:13.697Z] using credential edgex-jenkins-ssh [2023-07-19T01:30:13.721Z] Cloning the remote Git repository [2023-07-19T01:30:13.760Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-19T01:30:13.849Z] > git init /w/workspace/device-uart/5 # timeout=10 [2023-07-19T01:30:13.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-19T01:30:13.987Z] > git --version # timeout=10 [2023-07-19T01:30:14.007Z] > git --version # 'git version 2.25.1' [2023-07-19T01:30:14.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T01:30:14.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T01:30:15.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-19T01:30:15.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T01:30:16.136Z] Avoid second fetch [2023-07-19T01:30:16.136Z] Checking out Revision f79754343d8b1121fd7b40f656006f62376f5905 (main) [2023-07-19T01:30:16.616Z] Commit message: "feat: Add integer read and write support (#20)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-07-19T01:30:16.147Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T01:30:16.216Z] > git checkout -f f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T01:30:17.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T01:30:17.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T01:30:17.420Z] Dload Upload Total Spent Left Speed [2023-07-19T01:30:17.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-07-19T01:30:18.080Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T01:30:18.400Z] + sudo tee /etc/docker/daemon.new [2023-07-19T01:30:18.400Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T01:30:18.400Z] { [2023-07-19T01:30:18.400Z] "registry-mirrors": [ [2023-07-19T01:30:18.400Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T01:30:18.400Z] ], [2023-07-19T01:30:18.400Z] "bip": "10.250.0.254/24", [2023-07-19T01:30:18.400Z] "hosts": [ [2023-07-19T01:30:18.400Z] "tcp://0.0.0.0:5555", [2023-07-19T01:30:18.400Z] "unix:///var/run/docker.sock" [2023-07-19T01:30:18.400Z] ], [2023-07-19T01:30:18.400Z] "mtu": 1458, [2023-07-19T01:30:18.400Z] "selinux-enabled": true, [2023-07-19T01:30:18.400Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T01:30:18.400Z] } [Pipeline] sh [2023-07-19T01:30:18.731Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T01:30:19.060Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T01:30:37.325Z] provisioning config files... [2023-07-19T01:30:37.347Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config7447271717504193718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:30:37.694Z] ---> docker-login.sh [2023-07-19T01:30:37.694Z] nexus3.edgexfoundry.org:10001 [2023-07-19T01:30:38.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:30:38.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:30:38.935Z] Configure a credential helper to remove this warning. See [2023-07-19T01:30:38.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:30:38.935Z] [2023-07-19T01:30:38.935Z] Login Succeeded [2023-07-19T01:30:38.935Z] nexus3.edgexfoundry.org:10002 [2023-07-19T01:30:39.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:30:39.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:30:39.206Z] Configure a credential helper to remove this warning. See [2023-07-19T01:30:39.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:30:39.206Z] [2023-07-19T01:30:39.206Z] Login Succeeded [2023-07-19T01:30:39.206Z] nexus3.edgexfoundry.org:10003 [2023-07-19T01:30:39.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:30:39.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:30:39.746Z] Configure a credential helper to remove this warning. See [2023-07-19T01:30:39.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:30:39.746Z] [2023-07-19T01:30:39.746Z] Login Succeeded [2023-07-19T01:30:39.746Z] nexus3.edgexfoundry.org:10004 [2023-07-19T01:30:39.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:30:40.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:30:40.016Z] Configure a credential helper to remove this warning. See [2023-07-19T01:30:40.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:30:40.016Z] [2023-07-19T01:30:40.016Z] Login Succeeded [2023-07-19T01:30:40.016Z] docker.io [2023-07-19T01:30:40.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:30:40.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:30:40.551Z] Configure a credential helper to remove this warning. See [2023-07-19T01:30:40.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:30:40.551Z] [2023-07-19T01:30:40.551Z] Login Succeeded [2023-07-19T01:30:40.551Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T01:30:40.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T01:30:40.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:30:40.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:30:40.852Z] ========================================================= [2023-07-19T01:30:40.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T01:30:40.852Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:30:41.213Z] + 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 . [2023-07-19T01:30:41.482Z] Sending build context to Docker daemon 5.576MB [2023-07-19T01:30:41.482Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T01:30:41.482Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T01:30:41.754Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T01:30:41.754Z] edb6bdbacee9: Pulling fs layer [2023-07-19T01:30:41.754Z] 5f9638ab2659: Pulling fs layer [2023-07-19T01:30:41.754Z] 8d51d6327a98: Pulling fs layer [2023-07-19T01:30:41.754Z] 8b374f2dd631: Pulling fs layer [2023-07-19T01:30:41.754Z] ec14aa9079de: Pulling fs layer [2023-07-19T01:30:41.754Z] 2f466654f4bb: Pulling fs layer [2023-07-19T01:30:41.754Z] 554e91adad29: Pulling fs layer [2023-07-19T01:30:41.754Z] ec14aa9079de: Waiting [2023-07-19T01:30:41.754Z] 2f466654f4bb: Waiting [2023-07-19T01:30:41.754Z] 554e91adad29: Waiting [2023-07-19T01:30:41.754Z] 8b374f2dd631: Waiting [2023-07-19T01:30:41.754Z] 5f9638ab2659: Download complete [2023-07-19T01:30:41.754Z] 8b374f2dd631: Download complete [2023-07-19T01:30:41.754Z] ec14aa9079de: Verifying Checksum [2023-07-19T01:30:41.754Z] ec14aa9079de: Download complete [2023-07-19T01:30:41.754Z] edb6bdbacee9: Verifying Checksum [2023-07-19T01:30:41.754Z] edb6bdbacee9: Download complete [2023-07-19T01:30:42.735Z] edb6bdbacee9: Pull complete [2023-07-19T01:30:43.019Z] 554e91adad29: Verifying Checksum [2023-07-19T01:30:43.019Z] 554e91adad29: Download complete [2023-07-19T01:30:43.294Z] 5f9638ab2659: Pull complete [2023-07-19T01:30:44.259Z] 8d51d6327a98: Download complete [2023-07-19T01:30:44.259Z] 2f466654f4bb: Verifying Checksum [2023-07-19T01:30:44.259Z] 2f466654f4bb: Download complete [2023-07-19T01:30:56.988Z] 8d51d6327a98: Pull complete [2023-07-19T01:30:56.988Z] 8b374f2dd631: Pull complete [2023-07-19T01:30:56.988Z] ec14aa9079de: Pull complete [2023-07-19T01:31:02.356Z] 2f466654f4bb: Pull complete [2023-07-19T01:31:06.626Z] 554e91adad29: Pull complete [2023-07-19T01:31:06.626Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T01:31:06.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T01:31:06.626Z] ---> 1e15ea492957 [2023-07-19T01:31:06.626Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T01:31:08.055Z] ---> Running in 8f4557111d9a [2023-07-19T01:31:08.325Z] Removing intermediate container 8f4557111d9a [2023-07-19T01:31:08.325Z] ---> 616ae53a705f [2023-07-19T01:31:08.325Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T01:31:08.325Z] ---> Running in e771acc79b36 [2023-07-19T01:31:08.595Z] Removing intermediate container e771acc79b36 [2023-07-19T01:31:08.595Z] ---> a10309877612 [2023-07-19T01:31:08.595Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T01:31:08.595Z] ---> Running in 839654e5817c [2023-07-19T01:31:09.202Z] Removing intermediate container 839654e5817c [2023-07-19T01:31:09.202Z] ---> 88fdbbbb4785 [2023-07-19T01:31:09.202Z] Step 6/12 : WORKDIR /device-uart [2023-07-19T01:31:09.202Z] ---> Running in eca6c319aad5 [2023-07-19T01:31:09.470Z] Removing intermediate container eca6c319aad5 [2023-07-19T01:31:09.470Z] ---> 4cdd66d3d620 [2023-07-19T01:31:09.470Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T01:31:09.741Z] ---> Running in cdd815a4c579 [2023-07-19T01:31:10.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T01:31:11.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T01:31:12.376Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-19T01:31:12.376Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-19T01:31:12.376Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-19T01:31:12.376Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-19T01:31:12.650Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T01:31:12.650Z] OK: 268 MiB in 57 packages [2023-07-19T01:31:13.625Z] Removing intermediate container cdd815a4c579 [2023-07-19T01:31:13.625Z] ---> b468f98a772e [2023-07-19T01:31:13.625Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T01:31:13.895Z] ---> 3d78f82ccbf8 [2023-07-19T01:31:13.895Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T01:31:14.162Z] ---> Running in fd5f4e4ddc9f [2023-07-19T01:32:22.045Z] Removing intermediate container fd5f4e4ddc9f [2023-07-19T01:32:22.045Z] ---> d83187c6ee58 [2023-07-19T01:32:22.045Z] Step 10/12 : COPY . . [2023-07-19T01:32:22.045Z] ---> 0a8141e5ca86 [2023-07-19T01:32:22.045Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T01:32:22.045Z] ---> Running in 59bf334e6a8c [2023-07-19T01:32:22.045Z] Removing intermediate container 59bf334e6a8c [2023-07-19T01:32:22.045Z] ---> b7b563c00f5f [2023-07-19T01:32:22.045Z] Step 12/12 : RUN ${MAKE} [2023-07-19T01:32:22.045Z] ---> Running in ad737751f436 [2023-07-19T01:32:22.045Z] noop [2023-07-19T01:32:22.045Z] Removing intermediate container ad737751f436 [2023-07-19T01:32:22.045Z] ---> 84dc7853140f [2023-07-19T01:32:22.045Z] Successfully built 84dc7853140f [2023-07-19T01:32:22.045Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:32:22.409Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T01:32:22.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:32:22.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-07-19T01:32:22.705Z] $ 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 [2023-07-19T01:32:23.991Z] $ docker top 6c6036ae3c138db77bf77ee825f0cfcef5cacbe5cd1c846a178bcf95d0b52bce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T01:32:24.865Z] + go version [2023-07-19T01:32:24.865Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T01:32:24.893Z] $ docker stop --time=1 6c6036ae3c138db77bf77ee825f0cfcef5cacbe5cd1c846a178bcf95d0b52bce [2023-07-19T01:32:26.557Z] $ 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 [2023-07-19T01:32:27.129Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T01:32:27.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:32:27.331Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-07-19T01:32:27.405Z] $ 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 [2023-07-19T01:32:28.595Z] $ docker top c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T01:32:29.431Z] + git config --global --add safe.directory /w/workspace/device-uart/5 [Pipeline] fileExists [Pipeline] sh [2023-07-19T01:32:29.773Z] + make test [2023-07-19T01:32:30.042Z] go test ./... -coverprofile=coverage.out [2023-07-19T01:33:08.956Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-19T01:35:00.643Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-19T01:35:00.643Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-19T01:35:00.643Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T01:35:00.643Z] go vet ./... [2023-07-19T01:35:32.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T01:35:32.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T01:35:32.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T01:35:32.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T01:35:32.930Z] $ docker stop --time=1 c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 [2023-07-19T01:35:36.929Z] $ docker rm -f --volumes c520c549f822c4f454e0d028153a8ed34e216fef5743e38283904ea1e290ee46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T01:35:38.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T01:35:38.296Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T01:35:38.865Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T01:35:39.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T01:35:39.612Z] + ls -al . [2023-07-19T01:35:39.612Z] total 136 [2023-07-19T01:35:39.612Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 01:32 . [2023-07-19T01:35:39.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:30 .. [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:30 .dockerignore [2023-07-19T01:35:39.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:30 .git [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 01:30 .gitignore [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 01:30 .golangci.yml [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 19 01:30 Attribution.txt [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 19 01:30 Dockerfile [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:30 GOVERNANCE.md [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 01:30 Jenkinsfile [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 01:30 LICENSE [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 19 01:30 Makefile [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 01:30 OWNERS.md [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 19 01:30 README.md [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 01:27 VERSION [2023-07-19T01:35:39.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:30 bin [2023-07-19T01:35:39.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:30 cmd [2023-07-19T01:35:39.612Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 19 01:32 coverage.out [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 19 01:30 go.mod [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 19 01:30 go.sum [2023-07-19T01:35:39.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:30 internal [2023-07-19T01:35:39.612Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:35:39.971Z] + 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 . [2023-07-19T01:35:40.239Z] Sending build context to Docker daemon 5.577MB [2023-07-19T01:35:40.239Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T01:35:40.239Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-19T01:35:40.239Z] ---> 84dc7853140f [2023-07-19T01:35:40.239Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T01:35:40.507Z] ---> Running in cf7def1b7702 [2023-07-19T01:35:41.094Z] Removing intermediate container cf7def1b7702 [2023-07-19T01:35:41.094Z] ---> eed2dadc8d40 [2023-07-19T01:35:41.094Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T01:35:41.094Z] ---> Running in 6cc9621a8d04 [2023-07-19T01:35:42.517Z] Removing intermediate container 6cc9621a8d04 [2023-07-19T01:35:42.517Z] ---> d8d392ea2c28 [2023-07-19T01:35:42.517Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-19T01:35:42.517Z] ---> Running in aa3d9d432c51 [2023-07-19T01:35:42.791Z] Removing intermediate container aa3d9d432c51 [2023-07-19T01:35:42.791Z] ---> 7dce8752b9bf [2023-07-19T01:35:42.791Z] Step 6/25 : WORKDIR /device-uart [2023-07-19T01:35:42.791Z] ---> Running in 5476aeed11e7 [2023-07-19T01:35:44.201Z] Removing intermediate container 5476aeed11e7 [2023-07-19T01:35:44.201Z] ---> 5afcb9fd5adf [2023-07-19T01:35:44.482Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T01:35:44.482Z] ---> Running in bf2df0d078e4 [2023-07-19T01:35:45.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T01:35:46.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T01:35:47.447Z] OK: 268 MiB in 57 packages [2023-07-19T01:35:48.431Z] Removing intermediate container bf2df0d078e4 [2023-07-19T01:35:48.431Z] ---> 05b25a594738 [2023-07-19T01:35:48.431Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-19T01:35:48.703Z] ---> be880096a4dd [2023-07-19T01:35:48.703Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T01:35:48.971Z] ---> Running in b91beeb2489c [2023-07-19T01:35:50.921Z] Removing intermediate container b91beeb2489c [2023-07-19T01:35:50.921Z] ---> 39d2caa74479 [2023-07-19T01:35:50.921Z] Step 10/25 : COPY . . [2023-07-19T01:35:51.884Z] ---> a4ddddb7ce73 [2023-07-19T01:35:51.884Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T01:35:51.884Z] ---> Running in 3d25c6d49418 [2023-07-19T01:35:52.154Z] Removing intermediate container 3d25c6d49418 [2023-07-19T01:35:52.154Z] ---> 952526d7bbc5 [2023-07-19T01:35:52.154Z] Step 12/25 : RUN ${MAKE} [2023-07-19T01:35:52.154Z] ---> Running in 78586a454938 [2023-07-19T01:35:53.115Z] 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 [2023-07-19T01:38:15.089Z] Removing intermediate container 78586a454938 [2023-07-19T01:38:15.089Z] ---> 65999cdf6005 [2023-07-19T01:38:15.089Z] Step 13/25 : FROM alpine:3.17 [2023-07-19T01:38:15.089Z] 3.17: Pulling from library/alpine [2023-07-19T01:38:15.089Z] edb6bdbacee9: Already exists [2023-07-19T01:38:15.089Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T01:38:15.089Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T01:38:15.089Z] ---> 779605e5fbc0 [2023-07-19T01:38:15.089Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-19T01:38:15.089Z] ---> Running in 2a5e1d4895ad [2023-07-19T01:38:15.089Z] Removing intermediate container 2a5e1d4895ad [2023-07-19T01:38:15.089Z] ---> f0df57f183b2 [2023-07-19T01:38:15.089Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-19T01:38:15.089Z] ---> Running in 542d3754473f [2023-07-19T01:38:15.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T01:38:15.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T01:38:15.089Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-19T01:38:15.089Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T01:38:15.089Z] OK: 8 MiB in 16 packages [2023-07-19T01:38:15.089Z] Removing intermediate container 542d3754473f [2023-07-19T01:38:15.089Z] ---> 7f4f36dfba27 [2023-07-19T01:38:15.089Z] Step 16/25 : WORKDIR / [2023-07-19T01:38:15.089Z] ---> Running in c1ba2428e1cc [2023-07-19T01:38:15.089Z] Removing intermediate container c1ba2428e1cc [2023-07-19T01:38:15.089Z] ---> 48817a540eee [2023-07-19T01:38:15.089Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-19T01:38:15.089Z] ---> 05d1188a98cb [2023-07-19T01:38:15.089Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-19T01:38:15.089Z] ---> 0db43bf1be2e [2023-07-19T01:38:15.089Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-19T01:38:15.089Z] ---> 00bc06f254aa [2023-07-19T01:38:15.089Z] Step 20/25 : EXPOSE 59995 [2023-07-19T01:38:15.089Z] ---> Running in 28666ad87ced [2023-07-19T01:38:15.089Z] Removing intermediate container 28666ad87ced [2023-07-19T01:38:15.089Z] ---> bf0f7c9ecdd5 [2023-07-19T01:38:15.089Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-19T01:38:15.089Z] ---> Running in 8360b730f8be [2023-07-19T01:38:15.089Z] Removing intermediate container 8360b730f8be [2023-07-19T01:38:15.089Z] ---> c13c4444f222 [2023-07-19T01:38:15.089Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T01:38:15.089Z] ---> Running in f446ad668893 [2023-07-19T01:38:15.089Z] Removing intermediate container f446ad668893 [2023-07-19T01:38:15.089Z] ---> b95e2b1591cc [2023-07-19T01:38:15.089Z] Step 23/25 : LABEL arch=arm64 [2023-07-19T01:38:15.089Z] ---> Running in 66178123f2c0 [2023-07-19T01:38:15.089Z] Removing intermediate container 66178123f2c0 [2023-07-19T01:38:15.089Z] ---> 44ed4e0e236d [2023-07-19T01:38:15.089Z] Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:38:15.089Z] ---> Running in 276644e6b71f [2023-07-19T01:38:15.089Z] Removing intermediate container 276644e6b71f [2023-07-19T01:38:15.089Z] ---> 77fd278ab1a1 [2023-07-19T01:38:15.089Z] Step 25/25 : LABEL version=0.0.1-dev.4 [2023-07-19T01:38:15.089Z] ---> Running in d71024488e37 [2023-07-19T01:38:15.089Z] Removing intermediate container d71024488e37 [2023-07-19T01:38:15.089Z] ---> f49915daa93a [2023-07-19T01:38:15.089Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T01:38:15.089Z] Successfully built f49915daa93a [2023-07-19T01:38:15.089Z] 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 [2023-07-19T01:38:15.225Z] provisioning config files... [2023-07-19T01:38:15.241Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config11298838420154902432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:38:15.570Z] ---> docker-login.sh [2023-07-19T01:38:15.570Z] nexus3.edgexfoundry.org:10001 [2023-07-19T01:38:15.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:38:15.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:38:15.846Z] Configure a credential helper to remove this warning. See [2023-07-19T01:38:15.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:38:15.846Z] [2023-07-19T01:38:15.846Z] Login Succeeded [2023-07-19T01:38:15.846Z] nexus3.edgexfoundry.org:10002 [2023-07-19T01:38:16.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:38:16.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:38:16.114Z] Configure a credential helper to remove this warning. See [2023-07-19T01:38:16.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:38:16.114Z] [2023-07-19T01:38:16.114Z] Login Succeeded [2023-07-19T01:38:16.114Z] nexus3.edgexfoundry.org:10003 [2023-07-19T01:38:16.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:38:16.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:38:16.650Z] Configure a credential helper to remove this warning. See [2023-07-19T01:38:16.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:38:16.650Z] [2023-07-19T01:38:16.650Z] Login Succeeded [2023-07-19T01:38:16.650Z] nexus3.edgexfoundry.org:10004 [2023-07-19T01:38:16.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:38:16.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:38:16.918Z] Configure a credential helper to remove this warning. See [2023-07-19T01:38:16.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:38:16.918Z] [2023-07-19T01:38:16.918Z] Login Succeeded [2023-07-19T01:38:16.918Z] docker.io [2023-07-19T01:38:17.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T01:38:17.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T01:38:17.454Z] Configure a credential helper to remove this warning. See [2023-07-19T01:38:17.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T01:38:17.454Z] [2023-07-19T01:38:17.454Z] Login Succeeded [2023-07-19T01:38:17.454Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T01:38:17.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T01:38:17.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T01:38:17.546Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-07-19T01:38:17.546Z] f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:38:17.546Z] latest [2023-07-19T01:38:17.546Z] 0.0.1-dev.4 [2023-07-19T01:38:17.546Z] f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:38:17.546Z] main [2023-07-19T01:38:17.546Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:17.921Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:18.267Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:38:18.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-19T01:38:18.267Z] 400fdc02082a: Preparing [2023-07-19T01:38:18.267Z] dc5c056ebe11: Preparing [2023-07-19T01:38:18.267Z] 1230e8d28cad: Preparing [2023-07-19T01:38:18.267Z] bf3f6a68ee9c: Preparing [2023-07-19T01:38:18.267Z] 9386262d7a74: Preparing [2023-07-19T01:38:18.267Z] 9386262d7a74: Layer already exists [2023-07-19T01:38:18.533Z] dc5c056ebe11: Pushed [2023-07-19T01:38:18.533Z] 1230e8d28cad: Pushed [2023-07-19T01:38:18.533Z] bf3f6a68ee9c: Pushed [2023-07-19T01:38:23.873Z] 400fdc02082a: Pushed [2023-07-19T01:38:23.873Z] f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:24.223Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:24.652Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-07-19T01:38:24.652Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-19T01:38:24.652Z] 400fdc02082a: Preparing [2023-07-19T01:38:24.652Z] dc5c056ebe11: Preparing [2023-07-19T01:38:24.652Z] 1230e8d28cad: Preparing [2023-07-19T01:38:24.652Z] bf3f6a68ee9c: Preparing [2023-07-19T01:38:24.652Z] 9386262d7a74: Preparing [2023-07-19T01:38:24.652Z] bf3f6a68ee9c: Layer already exists [2023-07-19T01:38:24.652Z] 1230e8d28cad: Layer already exists [2023-07-19T01:38:24.652Z] dc5c056ebe11: Layer already exists [2023-07-19T01:38:24.652Z] 9386262d7a74: Layer already exists [2023-07-19T01:38:24.652Z] 400fdc02082a: Layer already exists [2023-07-19T01:38:24.652Z] latest: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:25.037Z] + 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 [2023-07-19T01:38:25.388Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.4 [2023-07-19T01:38:25.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-19T01:38:25.389Z] 400fdc02082a: Preparing [2023-07-19T01:38:25.389Z] dc5c056ebe11: Preparing [2023-07-19T01:38:25.389Z] 1230e8d28cad: Preparing [2023-07-19T01:38:25.389Z] bf3f6a68ee9c: Preparing [2023-07-19T01:38:25.389Z] 9386262d7a74: Preparing [2023-07-19T01:38:25.389Z] bf3f6a68ee9c: Layer already exists [2023-07-19T01:38:25.389Z] 9386262d7a74: Layer already exists [2023-07-19T01:38:25.389Z] 400fdc02082a: Layer already exists [2023-07-19T01:38:25.389Z] 1230e8d28cad: Layer already exists [2023-07-19T01:38:25.389Z] dc5c056ebe11: Layer already exists [2023-07-19T01:38:25.389Z] 0.0.1-dev.4: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:25.748Z] + 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 [2023-07-19T01:38:26.104Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:38:26.104Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-19T01:38:26.104Z] 400fdc02082a: Preparing [2023-07-19T01:38:26.104Z] dc5c056ebe11: Preparing [2023-07-19T01:38:26.104Z] 1230e8d28cad: Preparing [2023-07-19T01:38:26.104Z] bf3f6a68ee9c: Preparing [2023-07-19T01:38:26.104Z] 9386262d7a74: Preparing [2023-07-19T01:38:26.104Z] bf3f6a68ee9c: Layer already exists [2023-07-19T01:38:26.104Z] 1230e8d28cad: Layer already exists [2023-07-19T01:38:26.104Z] 400fdc02082a: Layer already exists [2023-07-19T01:38:26.104Z] 9386262d7a74: Layer already exists [2023-07-19T01:38:26.104Z] dc5c056ebe11: Layer already exists [2023-07-19T01:38:26.104Z] f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:26.721Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:27.057Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-07-19T01:38:27.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-19T01:38:27.057Z] 400fdc02082a: Preparing [2023-07-19T01:38:27.057Z] dc5c056ebe11: Preparing [2023-07-19T01:38:27.057Z] 1230e8d28cad: Preparing [2023-07-19T01:38:27.057Z] bf3f6a68ee9c: Preparing [2023-07-19T01:38:27.057Z] 9386262d7a74: Preparing [2023-07-19T01:38:27.057Z] 400fdc02082a: Layer already exists [2023-07-19T01:38:27.057Z] 9386262d7a74: Layer already exists [2023-07-19T01:38:27.057Z] bf3f6a68ee9c: Layer already exists [2023-07-19T01:38:27.057Z] dc5c056ebe11: Layer already exists [2023-07-19T01:38:27.057Z] 1230e8d28cad: Layer already exists [2023-07-19T01:38:27.057Z] main: digest: sha256:ddb9b0b7e75063e236d10cdf44c4db834d00219b53095cc5fb126cc4144fb36b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T01:38:27.115Z] ===================================================== [Pipeline] echo [2023-07-19T01:38:27.125Z] taggedImages: [2023-07-19T01:38:27.125Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 [2023-07-19T01:38:27.125Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-07-19T01:38:27.125Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.4 [2023-07-19T01:38:27.125Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-0.0.1-dev.4 [2023-07-19T01:38:27.125Z] - 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 [2023-07-19T01:38:27.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T01:38:27.483Z] [2023-07-19T01:38:27.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:27.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T01:38:27.813Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T01:38:27.813Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T01:38:27.813Z] 04944245beec: Pulling fs layer [2023-07-19T01:38:27.813Z] 699f458cf7ca: Pulling fs layer [2023-07-19T01:38:27.813Z] 765212b225bb: Pulling fs layer [2023-07-19T01:38:27.813Z] f23df028b6ca: Pulling fs layer [2023-07-19T01:38:27.813Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T01:38:27.813Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T01:38:27.813Z] 765212b225bb: Waiting [2023-07-19T01:38:27.813Z] f23df028b6ca: Waiting [2023-07-19T01:38:27.813Z] d65c8cfc05b1: Waiting [2023-07-19T01:38:27.813Z] 2437ff75d9bd: Waiting [2023-07-19T01:38:28.082Z] 04944245beec: Verifying Checksum [2023-07-19T01:38:28.082Z] 04944245beec: Download complete [2023-07-19T01:38:28.082Z] 765212b225bb: Verifying Checksum [2023-07-19T01:38:28.082Z] 765212b225bb: Download complete [2023-07-19T01:38:28.082Z] f23df028b6ca: Verifying Checksum [2023-07-19T01:38:28.082Z] f23df028b6ca: Download complete [2023-07-19T01:38:28.082Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T01:38:28.082Z] d65c8cfc05b1: Download complete [2023-07-19T01:38:28.349Z] 699f458cf7ca: Verifying Checksum [2023-07-19T01:38:28.349Z] 699f458cf7ca: Download complete [2023-07-19T01:38:28.617Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T01:38:28.617Z] 8998bd30e6a1: Download complete [2023-07-19T01:38:31.196Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T01:38:31.196Z] 2437ff75d9bd: Download complete [2023-07-19T01:38:32.605Z] 8998bd30e6a1: Pull complete [2023-07-19T01:38:32.874Z] 04944245beec: Pull complete [2023-07-19T01:38:34.283Z] 699f458cf7ca: Pull complete [2023-07-19T01:38:34.550Z] 765212b225bb: Pull complete [2023-07-19T01:38:35.134Z] f23df028b6ca: Pull complete [2023-07-19T01:38:35.402Z] d65c8cfc05b1: Pull complete [2023-07-19T01:38:50.383Z] 2437ff75d9bd: Pull complete [2023-07-19T01:38:50.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T01:38:50.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T01:38:50.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:38:50.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-07-19T01:38:50.636Z] $ 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 [2023-07-19T01:38:53.110Z] $ docker top 99e1081427cc57258d82f643eaafd791b1098b2e6d2098de118a1196350d928f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:38:53.919Z] ---> job-cost.sh [2023-07-19T01:38:53.919Z] lf-activate-venv: SKIPPING [2023-07-19T01:38:53.919Z] INFO: No Stack... [2023-07-19T01:38:54.502Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T01:38:55.082Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T01:38:55.399Z] + cat /w/workspace/device-uart/5/archives/cost.csv [2023-07-19T01:38:55.400Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T01:38:55.464Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [2023-07-19T01:38:55.470Z] Resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] did not exist. Created. [2023-07-19T01:38:55.470Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T01:38:55.800Z] /w/workspace/device-uart/5@tmp/durable-5493610f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T01:38:56.444Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T01:38:56.465Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T01:38:56.515Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T01:38:56.522Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T01:38:56.552Z] $ docker stop --time=1 99e1081427cc57258d82f643eaafd791b1098b2e6d2098de118a1196350d928f [2023-07-19T01:38:58.032Z] $ 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 [2023-07-19T01:38:58.429Z] provisioning config files... [2023-07-19T01:38:58.436Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2016561756662819574tmp [Pipeline] { [Pipeline] sh [2023-07-19T01:38:58.728Z] + set +x [2023-07-19T01:38:58.728Z] + curl -s https://codecov.io/bash [2023-07-19T01:38:58.728Z] + bash -s -- [2023-07-19T01:38:58.988Z] [2023-07-19T01:38:58.988Z] _____ _ [2023-07-19T01:38:58.988Z] / ____| | | [2023-07-19T01:38:58.988Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T01:38:58.988Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T01:38:58.988Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T01:38:58.988Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T01:38:58.988Z] Bash-1.0.6 [2023-07-19T01:38:58.988Z] [2023-07-19T01:38:58.988Z] [2023-07-19T01:38:58.988Z] ==> git version 2.25.1 found [2023-07-19T01:38:58.988Z] ==> 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 [2023-07-19T01:38:58.988Z] Release-Date: 2020-01-08 [2023-07-19T01:38:58.988Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-19T01:38:58.988Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T01:38:58.988Z] ==> Jenkins CI detected. [2023-07-19T01:38:58.988Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-07-19T01:38:58.988Z] project root: . [2023-07-19T01:38:58.988Z] --> token set from env [2023-07-19T01:38:58.988Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T01:38:58.988Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T01:38:58.988Z] ==> Python coveragepy not found [2023-07-19T01:38:58.988Z] ==> Searching for coverage reports in: [2023-07-19T01:38:58.988Z] + . [2023-07-19T01:38:58.988Z] -> Found 1 reports [2023-07-19T01:38:58.988Z] ==> Detecting git/mercurial file structure [2023-07-19T01:38:58.988Z] ==> Reading reports [2023-07-19T01:38:58.988Z] + ./coverage.out bytes=10 [2023-07-19T01:38:58.988Z] ==> Appending adjustments [2023-07-19T01:38:58.988Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T01:38:59.247Z] + Found adjustments [2023-07-19T01:38:59.247Z] ==> Gzipping contents [2023-07-19T01:38:59.247Z] 4.0K /tmp/codecov.CpdOq4.gz [2023-07-19T01:38:59.247Z] ==> Uploading reports [2023-07-19T01:38:59.247Z] url: https://codecov.io [2023-07-19T01:38:59.247Z] 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= [2023-07-19T01:38:59.247Z] -> Pinging Codecov [2023-07-19T01:38:59.247Z] 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= [2023-07-19T01:38:59.247Z] -> Uploading to [2023-07-19T01:38:59.247Z] 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 [2023-07-19T01:38:59.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T01:38:59.247Z] Dload Upload Total Spent Left Speed [2023-07-19T01:38:59.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2970 --:--:-- --:--:-- --:--:-- 2970 [2023-07-19T01:38:59.505Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [2023-07-19T01:38:59.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-19T01:38:59.682Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-19T01:38:59.691Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:38:59.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T01:38:59.986Z] [2023-07-19T01:38:59.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:00.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T01:39:00.281Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-19T01:39:00.281Z] df9b9388f04a: Pulling fs layer [2023-07-19T01:39:00.281Z] 52dc419b0ee2: Pulling fs layer [2023-07-19T01:39:00.281Z] 25bc292e5bac: Pulling fs layer [2023-07-19T01:39:00.281Z] 114826534d7a: Pulling fs layer [2023-07-19T01:39:00.281Z] 4657fd5d0bcf: Pulling fs layer [2023-07-19T01:39:00.281Z] 6ad1cebc031e: Pulling fs layer [2023-07-19T01:39:00.281Z] 8a3aa393b2d8: Pulling fs layer [2023-07-19T01:39:00.281Z] 6ad1cebc031e: Waiting [2023-07-19T01:39:00.281Z] 114826534d7a: Waiting [2023-07-19T01:39:00.281Z] 4657fd5d0bcf: Waiting [2023-07-19T01:39:00.281Z] 8a3aa393b2d8: Waiting [2023-07-19T01:39:00.281Z] 25bc292e5bac: Verifying Checksum [2023-07-19T01:39:00.281Z] 25bc292e5bac: Download complete [2023-07-19T01:39:00.281Z] 52dc419b0ee2: Verifying Checksum [2023-07-19T01:39:00.281Z] 52dc419b0ee2: Download complete [2023-07-19T01:39:00.281Z] 4657fd5d0bcf: Download complete [2023-07-19T01:39:00.281Z] df9b9388f04a: Download complete [2023-07-19T01:39:00.541Z] 6ad1cebc031e: Verifying Checksum [2023-07-19T01:39:00.541Z] 6ad1cebc031e: Download complete [2023-07-19T01:39:00.541Z] df9b9388f04a: Pull complete [2023-07-19T01:39:00.541Z] 52dc419b0ee2: Pull complete [2023-07-19T01:39:00.541Z] 25bc292e5bac: Pull complete [2023-07-19T01:39:01.110Z] 114826534d7a: Verifying Checksum [2023-07-19T01:39:01.110Z] 114826534d7a: Download complete [2023-07-19T01:39:01.110Z] 8a3aa393b2d8: Verifying Checksum [2023-07-19T01:39:01.110Z] 8a3aa393b2d8: Download complete [2023-07-19T01:39:04.390Z] 114826534d7a: Pull complete [2023-07-19T01:39:04.390Z] 4657fd5d0bcf: Pull complete [2023-07-19T01:39:04.390Z] 6ad1cebc031e: Pull complete [2023-07-19T01:39:06.919Z] 8a3aa393b2d8: Pull complete [2023-07-19T01:39:06.919Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-19T01:39:06.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T01:39:06.919Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:07.012Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:07.042Z] $ 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 [2023-07-19T01:39:08.753Z] $ docker top 27654da039cc9258cc0771697b66dbd300d8e7d7e9761619db76cc2b1a853de4 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-19T01:39:08.817Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-07-19T01:39:09.093Z] + set -o pipefail [2023-07-19T01:39:09.093Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-07-19T01:39:14.361Z] [2023-07-19T01:39:14.361Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-07-19T01:39:14.361Z] [2023-07-19T01:39:14.361Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/78b03a6f-5af7-4255-9ebe-85dafad72199 [2023-07-19T01:39:14.361Z] [2023-07-19T01:39:14.361Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-19T01:39:14.361Z] [2023-07-19T01:39:14.361Z] [2023-07-19T01:39:14.361Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-19T01:39:14.361Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-19T01:39:14.361Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-19T01:39:14.373Z] $ docker stop --time=1 27654da039cc9258cc0771697b66dbd300d8e7d7e9761619db76cc2b1a853de4 [2023-07-19T01:39:16.206Z] $ 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 [2023-07-19T01:39:16.868Z] + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] sh [2023-07-19T01:39:17.164Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T01:39:17.164Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:17.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:39:17.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:17.550Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:17.582Z] $ 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 [2023-07-19T01:39:17.938Z] $ docker top c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T01:39:18.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T01:39:18.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T01:39:18.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T01:39:18.150Z] $ docker exec c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a ssh-agent [2023-07-19T01:39:18.253Z] SSH_AUTH_SOCK=/tmp/ssh-lewiTPNTaazR/agent.32 [2023-07-19T01:39:18.253Z] SSH_AGENT_PID=38 [2023-07-19T01:39:18.257Z] Running ssh-add (command line suppressed) [2023-07-19T01:39:18.368Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9090077229875531417.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9090077229875531417.key) [2023-07-19T01:39:18.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T01:39:18.668Z] + git semver tag [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,836 [run_tag] DEBUG tag force:False [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,836 [check_head_tag] DEBUG check head tag [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,836 [execute] INFO git cat-file --batch-check [2023-07-19T01:39:18.926Z] 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=) [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,841 [execute] INFO git cat-file --batch [2023-07-19T01:39:18.926Z] 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=) [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,848 [execute] INFO git tag -a v0.0.1-dev.4 -m v0.0.1-dev.4 [2023-07-19T01:39:18.926Z] 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) [2023-07-19T01:39:18.926Z] 2023-07-19 01:39:18,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:18.926Z] 0.0.1-dev.4 [Pipeline] } [2023-07-19T01:39:18.936Z] $ docker exec --env ******** --env ******** c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a ssh-agent -k [2023-07-19T01:39:19.038Z] unset SSH_AUTH_SOCK; [2023-07-19T01:39:19.038Z] unset SSH_AGENT_PID; [2023-07-19T01:39:19.038Z] echo Agent pid 38 killed; [2023-07-19T01:39:19.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T01:39:19.359Z] + git semver [Pipeline] } [2023-07-19T01:39:19.630Z] $ docker stop --time=1 c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a [2023-07-19T01:39:20.884Z] $ docker rm -f --volumes c3bc291fdefac28926eda5e54b808d41af7892b62ba2af5f7efe94599486752a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:21.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T01:39:21.271Z] [2023-07-19T01:39:21.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:21.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T01:39:21.572Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-19T01:39:21.572Z] ab5ef0e58194: Pulling fs layer [2023-07-19T01:39:21.572Z] 9712f1f96733: Pulling fs layer [2023-07-19T01:39:21.572Z] 63f879dbbcfc: Pulling fs layer [2023-07-19T01:39:21.572Z] 0d9ebad4ef96: Pulling fs layer [2023-07-19T01:39:21.572Z] e9a5061849ea: Pulling fs layer [2023-07-19T01:39:21.572Z] d747dcd14b5f: Pulling fs layer [2023-07-19T01:39:21.572Z] 2de7ff778b66: Pulling fs layer [2023-07-19T01:39:21.572Z] 2de7ff778b66: Waiting [2023-07-19T01:39:21.572Z] d747dcd14b5f: Waiting [2023-07-19T01:39:21.572Z] e9a5061849ea: Waiting [2023-07-19T01:39:21.572Z] 0d9ebad4ef96: Waiting [2023-07-19T01:39:21.572Z] 9712f1f96733: Verifying Checksum [2023-07-19T01:39:21.572Z] 9712f1f96733: Download complete [2023-07-19T01:39:21.830Z] 63f879dbbcfc: Verifying Checksum [2023-07-19T01:39:21.830Z] 63f879dbbcfc: Download complete [2023-07-19T01:39:22.088Z] e9a5061849ea: Verifying Checksum [2023-07-19T01:39:22.088Z] e9a5061849ea: Download complete [2023-07-19T01:39:22.088Z] d747dcd14b5f: Download complete [2023-07-19T01:39:22.088Z] ab5ef0e58194: Download complete [2023-07-19T01:39:22.088Z] 0d9ebad4ef96: Verifying Checksum [2023-07-19T01:39:22.088Z] 0d9ebad4ef96: Download complete [2023-07-19T01:39:22.088Z] 2de7ff778b66: Verifying Checksum [2023-07-19T01:39:22.088Z] 2de7ff778b66: Download complete [2023-07-19T01:39:24.616Z] ab5ef0e58194: Pull complete [2023-07-19T01:39:24.616Z] 9712f1f96733: Pull complete [2023-07-19T01:39:25.182Z] 63f879dbbcfc: Pull complete [2023-07-19T01:39:28.465Z] 0d9ebad4ef96: Pull complete [2023-07-19T01:39:28.465Z] e9a5061849ea: Pull complete [2023-07-19T01:39:28.465Z] d747dcd14b5f: Pull complete [2023-07-19T01:39:29.399Z] 2de7ff778b66: Pull complete [2023-07-19T01:39:29.399Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-19T01:39:29.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T01:39:29.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:29.480Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:29.509Z] $ 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 [2023-07-19T01:39:31.249Z] $ docker top 0ac4e9ffe6b982b86d4e5a2494c10dcb2b25adbb4d1e6195f89a7321a16c68f2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-19T01:39:31.321Z] provisioning config files... [2023-07-19T01:39:31.328Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14725201276372850650tmp [2023-07-19T01:39:31.338Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12396287659187068868tmp [2023-07-19T01:39:31.347Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6782353552057007000tmp [Pipeline] { [Pipeline] echo [2023-07-19T01:39:31.364Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:31.648Z] ---> sigul-configuration.sh [2023-07-19T01:39:31.648Z] gpg: directory `/root/.gnupg' created [2023-07-19T01:39:31.648Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-19T01:39:31.648Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-19T01:39:31.648Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-19T01:39:31.648Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-19T01:39:31.648Z] gpg: CAST5 encrypted data [2023-07-19T01:39:31.648Z] gpg: encrypted with 1 passphrase [2023-07-19T01:39:31.648Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-19T01:39:31.933Z] + mkdir /home/jenkins [2023-07-19T01:39:31.933Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-19T01:39:32.215Z] + 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 [2023-07-19T01:39:32.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:32.505Z] ---> sigul-install.sh [2023-07-19T01:39:32.505Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-19T01:39:32.798Z] + git tag --list [2023-07-19T01:39:32.799Z] v0.0.0 [2023-07-19T01:39:32.799Z] v0.0.1-dev.1 [2023-07-19T01:39:32.799Z] v0.0.1-dev.2 [2023-07-19T01:39:32.799Z] v0.0.1-dev.3 [2023-07-19T01:39:32.799Z] v0.0.1-dev.4 [Pipeline] sh [2023-07-19T01:39:33.089Z] + lftools sign git-tag v0.0.1-dev.4 [2023-07-19T01:39:33.657Z] Signing Git tag with Sigul... [2023-07-19T01:39:33.657Z] Signing v0.0.1-dev.4 [Pipeline] echo [2023-07-19T01:39:33.925Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:34.209Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-19T01:39:34.216Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-19T01:39:34.237Z] $ docker stop --time=1 0ac4e9ffe6b982b86d4e5a2494c10dcb2b25adbb4d1e6195f89a7321a16c68f2 [2023-07-19T01:39:35.547Z] $ 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 [2023-07-19T01:39:35.974Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T01:39:35.974Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:36.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:39:36.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:36.338Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:36.366Z] $ 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 [2023-07-19T01:39:36.713Z] $ docker top 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 -eo pid,comm [2023-07-19T01:39:36.761Z] 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). [2023-07-19T01:39:36.762Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T01:39:36.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T01:39:36.802Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T01:39:36.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T01:39:36.911Z] $ docker exec 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 ssh-agent [2023-07-19T01:39:37.031Z] SSH_AUTH_SOCK=/tmp/ssh-7uBWdv8A07xW/agent.32 [2023-07-19T01:39:37.031Z] SSH_AGENT_PID=38 [2023-07-19T01:39:37.036Z] Running ssh-add (command line suppressed) [2023-07-19T01:39:37.138Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17757542461025560824.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17757542461025560824.key) [2023-07-19T01:39:37.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T01:39:37.447Z] + git semver bump pre [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,623 [bump_version] DEBUG bumping version:0.0.1-dev.4 on axis:pre with prefix:dev [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,623 [bump_version] DEBUG bumped version:0.0.1-dev.5 [2023-07-19T01:39:37.708Z] 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 [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,623 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,625 [execute] INFO git cat-file --batch-check [2023-07-19T01:39:37.708Z] 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=) [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,630 [execute] INFO git cat-file --batch [2023-07-19T01:39:37.708Z] 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=) [2023-07-19T01:39:37.708Z] 2023-07-19 01:39:37,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:37.708Z] 0.0.1-dev.5 [Pipeline] } [2023-07-19T01:39:37.719Z] $ docker exec --env ******** --env ******** 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 ssh-agent -k [2023-07-19T01:39:37.815Z] unset SSH_AUTH_SOCK; [2023-07-19T01:39:37.815Z] unset SSH_AGENT_PID; [2023-07-19T01:39:37.815Z] echo Agent pid 38 killed; [2023-07-19T01:39:37.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T01:39:38.128Z] + git semver [Pipeline] } [2023-07-19T01:39:38.403Z] $ docker stop --time=1 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 [2023-07-19T01:39:39.680Z] $ docker rm -f --volumes 59063edb0d113a8f0791e1eb9b6341b1d7ec072bbf5da9239108e30d05401de9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T01:39:40.023Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T01:39:40.023Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:40.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T01:39:40.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:40.395Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:40.432Z] $ 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 [2023-07-19T01:39:40.777Z] $ docker top 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 -eo pid,comm [2023-07-19T01:39:40.827Z] 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). [2023-07-19T01:39:40.827Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T01:39:40.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T01:39:40.868Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T01:39:41.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T01:39:41.003Z] $ docker exec 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 ssh-agent [2023-07-19T01:39:41.100Z] SSH_AUTH_SOCK=/tmp/ssh-6urTw5E3bx8r/agent.32 [2023-07-19T01:39:41.100Z] SSH_AGENT_PID=38 [2023-07-19T01:39:41.105Z] Running ssh-add (command line suppressed) [2023-07-19T01:39:41.204Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12632601362183631740.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12632601362183631740.key) [2023-07-19T01:39:41.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T01:39:41.504Z] + git semver push [2023-07-19T01:39:41.761Z] 2023-07-19 01:39:41,675 [run_push] DEBUG push [2023-07-19T01:39:41.761Z] 2023-07-19 01:39:41,675 [execute] INFO git cat-file --batch-check [2023-07-19T01:39:41.761Z] 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=) [2023-07-19T01:39:41.761Z] 2023-07-19 01:39:41,680 [execute] INFO git rev-list 498de1a95281b13ef44c11892085ea01932f63cb -- [2023-07-19T01:39:41.761Z] 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) [2023-07-19T01:39:41.761Z] 2023-07-19 01:39:41,685 [execute] INFO git fetch -v origin [2023-07-19T01:39:41.761Z] 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) [2023-07-19T01:39:42.330Z] 2023-07-19 01:39:42,145 [run_push] DEBUG no remote changes detected [2023-07-19T01:39:42.331Z] 2023-07-19 01:39:42,145 [execute] INFO git push origin semver [2023-07-19T01:39:42.331Z] 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) [2023-07-19T01:39:43.267Z] 2023-07-19 01:39:42,905 [run_push] DEBUG push all version tags [2023-07-19T01:39:43.267Z] 2023-07-19 01:39:42,906 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-19T01:39:43.267Z] 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) [2023-07-19T01:39:43.835Z] 2023-07-19 01:39:43,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-19T01:39:43.835Z] 0.0.1-dev.5 [Pipeline] } [2023-07-19T01:39:43.846Z] $ docker exec --env ******** --env ******** 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 ssh-agent -k [2023-07-19T01:39:43.945Z] unset SSH_AUTH_SOCK; [2023-07-19T01:39:43.945Z] unset SSH_AGENT_PID; [2023-07-19T01:39:43.945Z] echo Agent pid 38 killed; [2023-07-19T01:39:43.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T01:39:44.257Z] + git semver [Pipeline] } [2023-07-19T01:39:44.528Z] $ docker stop --time=1 8c8faf05eecccb0d8bca877eac4a765b499a2c63068fbfd9a27a5fd3f92094d1 [2023-07-19T01:39:45.835Z] $ 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 [2023-07-19T01:39:46.403Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-07-19T01:39:46.404Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-19T01:39:46.404Z] total 16 [2023-07-19T01:39:46.404Z] drwxr-xr-x 3 root root 4096 Jul 19 01:29 . [2023-07-19T01:39:46.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:39 .. [2023-07-19T01:39:46.404Z] drwxr-xr-x 2 root root 4096 Jul 19 01:29 cost [2023-07-19T01:39:46.404Z] -rw-r--r-- 1 root root 81 Jul 19 01:29 cost.csv [2023-07-19T01:39:46.404Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-19T01:39:46.404Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-19T01:39:46.404Z] total 16 [2023-07-19T01:39:46.404Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:29 . [2023-07-19T01:39:46.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:39 .. [2023-07-19T01:39:46.404Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 01:29 cost [2023-07-19T01:39:46.404Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 19 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:46.698Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:47.555Z] ---> package-listing.sh [2023-07-19T01:39:47.555Z] ++ facter osfamily [2023-07-19T01:39:47.555Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T01:39:47.814Z] + OS_FAMILY=debian [2023-07-19T01:39:47.814Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-07-19T01:39:47.814Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T01:39:47.814Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T01:39:47.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T01:39:47.814Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T01:39:47.814Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-07-19T01:39:47.814Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T01:39:47.814Z] + case "${OS_FAMILY}" in [2023-07-19T01:39:47.814Z] + dpkg -l [2023-07-19T01:39:47.814Z] + grep '^ii' [2023-07-19T01:39:47.814Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T01:39:47.814Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T01:39:47.814Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T01:39:47.814Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-07-19T01:39:47.814Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-07-19T01:39:47.814Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-07-19T01:39:47.825Z] 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 [2023-07-19T01:39:48.102Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T01:39:48.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T01:39:48.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T01:39:48.729Z] prd-ubuntu20.04-docker-8c-8g-1483 does not seem to be running inside a container [2023-07-19T01:39:48.762Z] $ 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 [2023-07-19T01:39:48.960Z] $ docker top b12729e6096808d9f367ee1b1731de80cf38e8363a0c8b19d7d7cac3974277a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T01:39:49.299Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T01:39:49.582Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T01:39:49.897Z] + ls /var/log/sa-host [2023-07-19T01:39:49.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T01:39:50.080Z] provisioning config files... [2023-07-19T01:39:50.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2815935466889280262tmp [Pipeline] { [Pipeline] echo [2023-07-19T01:39:50.204Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:50.528Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T01:39:50.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:50.860Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T01:39:50.867Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:51.151Z] ---> sudo-logs.sh [2023-07-19T01:39:51.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T01:39:51.185Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:51.466Z] ---> job-cost.sh [2023-07-19T01:39:51.466Z] lf-activate-venv: SKIPPING [2023-07-19T01:39:51.466Z] DEBUG: total: 0.2199999988079071 [2023-07-19T01:39:51.466Z] INFO: Retrieving Stack Cost... [2023-07-19T01:39:51.725Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T01:39:52.294Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T01:39:52.303Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T01:39:52.584Z] ---> logs-deploy.sh [2023-07-19T01:39:52.584Z] lf-activate-venv: SKIPPING [2023-07-19T01:39:52.584Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/5 [2023-07-19T01:39:52.584Z] INFO: archiving workspace using pattern(s): [2023-07-19T01:39:54.486Z] Archives upload complete. [2023-07-19T01:39:54.486Z] INFO: archiving logs to Nexus