Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh8415227549383216368.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-ssh13203080114575723582.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-ssh7380884905040187888.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-ssh3293667342868916037.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-ssh11706359188523238061.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-1033 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 (main) Commit message: "feat: Remove ZeroMQ MessageBus capability (#17)" > 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-list --no-walk 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T03:37:36.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T03:37:36.344Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T03:37:36.361Z] ========================================================= [2023-07-13T03:37:36.362Z] EdgeX Global Pipelines Version Info [2023-07-13T03:37:36.362Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:37:37.077Z] ------------------- [2023-07-13T03:37:37.077Z] stable info: [2023-07-13T03:37:37.077Z] ------------------- [2023-07-13T03:37:37.077Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T03:37:37.077Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T03:37:37.077Z] Message: update stable to v1.0.250 [2023-07-13T03:37:37.648Z] ------------------- [2023-07-13T03:37:37.648Z] experimental info: [2023-07-13T03:37:37.648Z] ------------------- [2023-07-13T03:37:37.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T03:37:37.648Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T03:37:37.648Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T03:37:37.784Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-13T03:37:37.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-13T03:37:37.817Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T03:37:37.834Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T03:37:37.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T03:37:37.856Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T03:37:37.871Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T03:37:37.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T03:37:37.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T03:37:37.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T03:37:37.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T03:37:37.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-13T03:37:37.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T03:37:37.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T03:37:37.955Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T03:37:37.967Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T03:37:37.979Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T03:37:37.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T03:37:38.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T03:37:38.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T03:37:38.040Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T03:37:38.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T03:37:38.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T03:37:38.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T03:37:38.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T03:37:38.107Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T03:37:38.127Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T03:37:38.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-13T03:37:38.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-13T03:37:38.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-13T03:37:38.186Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo [2023-07-13T03:37:38.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7a4c95 [Pipeline] echo [2023-07-13T03:37:38.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T03:37:38.276Z] provisioning config files... [2023-07-13T03:37:38.293Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12462674317235782770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:37:38.610Z] ---> docker-login.sh [2023-07-13T03:37:38.610Z] nexus3.edgexfoundry.org:10001 [2023-07-13T03:37:38.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:38.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:38.872Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:38.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:38.872Z] [2023-07-13T03:37:38.872Z] Login Succeeded [2023-07-13T03:37:39.132Z] nexus3.edgexfoundry.org:10002 [2023-07-13T03:37:39.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:39.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:39.132Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:39.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:39.132Z] [2023-07-13T03:37:39.132Z] Login Succeeded [2023-07-13T03:37:39.132Z] nexus3.edgexfoundry.org:10003 [2023-07-13T03:37:39.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:39.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:39.132Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:39.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:39.132Z] [2023-07-13T03:37:39.132Z] Login Succeeded [2023-07-13T03:37:39.132Z] nexus3.edgexfoundry.org:10004 [2023-07-13T03:37:39.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:39.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:39.392Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:39.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:39.392Z] [2023-07-13T03:37:39.392Z] Login Succeeded [2023-07-13T03:37:39.392Z] docker.io [2023-07-13T03:37:39.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:39.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:39.652Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:39.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:39.652Z] [2023-07-13T03:37:39.652Z] Login Succeeded [2023-07-13T03:37:39.652Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T03:37:39.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T03:37:40.025Z] + git rev-list -1 --merges a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12~1..a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo [2023-07-13T03:37:40.075Z] -----------> git rev-list -1 --merges a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12~1..a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [false] [Pipeline] sh [2023-07-13T03:37:40.361Z] + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo [2023-07-13T03:37:40.377Z] ========================================================= [2023-07-13T03:37:40.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T03:37:40.377Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T03:37:40.720Z] + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo [2023-07-13T03:37:40.732Z] [semverPrep] GIT_COMMIT: a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12, Commit Message: feat: Remove ZeroMQ MessageBus capability (#17) [Pipeline] echo [2023-07-13T03:37:40.742Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T03:37:41.123Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T03:37:41.123Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T03:37:41.123Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T03:37:41.123Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T03:37:41.123Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T03:37:41.123Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T03:37:41.123Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:37:41.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:37:41.549Z] [2023-07-13T03:37:41.549Z] 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-13T03:37:41.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:37:41.851Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T03:37:41.851Z] b85a868b505f: Pulling fs layer [2023-07-13T03:37:41.851Z] e2be974225ed: Pulling fs layer [2023-07-13T03:37:41.851Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T03:37:41.851Z] 988bab9f4d93: Pulling fs layer [2023-07-13T03:37:41.851Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T03:37:41.851Z] eaf3925da568: Pulling fs layer [2023-07-13T03:37:41.851Z] bab4dde63d76: Pulling fs layer [2023-07-13T03:37:41.851Z] bde34c3a00c8: Pulling fs layer [2023-07-13T03:37:41.851Z] b352a97aabf1: Pulling fs layer [2023-07-13T03:37:41.851Z] 4872d77fe225: Pulling fs layer [2023-07-13T03:37:41.851Z] 5851b861e8e6: Pulling fs layer [2023-07-13T03:37:41.851Z] bab4dde63d76: Waiting [2023-07-13T03:37:41.851Z] eaf3925da568: Waiting [2023-07-13T03:37:41.851Z] 988bab9f4d93: Waiting [2023-07-13T03:37:41.851Z] 1469e6f7b9e6: Waiting [2023-07-13T03:37:41.851Z] b352a97aabf1: Waiting [2023-07-13T03:37:41.851Z] 5851b861e8e6: Waiting [2023-07-13T03:37:41.851Z] bde34c3a00c8: Waiting [2023-07-13T03:37:41.851Z] e2be974225ed: Verifying Checksum [2023-07-13T03:37:41.851Z] e2be974225ed: Download complete [2023-07-13T03:37:42.111Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T03:37:42.111Z] 1469e6f7b9e6: Download complete [2023-07-13T03:37:42.111Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T03:37:42.111Z] 339a4e72a1f5: Download complete [2023-07-13T03:37:42.111Z] eaf3925da568: Verifying Checksum [2023-07-13T03:37:42.111Z] eaf3925da568: Download complete [2023-07-13T03:37:42.111Z] bde34c3a00c8: Download complete [2023-07-13T03:37:42.111Z] b352a97aabf1: Download complete [2023-07-13T03:37:42.111Z] 4872d77fe225: Verifying Checksum [2023-07-13T03:37:42.111Z] 4872d77fe225: Download complete [2023-07-13T03:37:42.111Z] 5851b861e8e6: Download complete [2023-07-13T03:37:42.111Z] b85a868b505f: Verifying Checksum [2023-07-13T03:37:42.111Z] b85a868b505f: Download complete [2023-07-13T03:37:42.370Z] bab4dde63d76: Verifying Checksum [2023-07-13T03:37:42.370Z] bab4dde63d76: Download complete [2023-07-13T03:37:43.308Z] b85a868b505f: Pull complete [2023-07-13T03:37:43.308Z] e2be974225ed: Pull complete [2023-07-13T03:37:43.877Z] 339a4e72a1f5: Pull complete [2023-07-13T03:37:43.877Z] 988bab9f4d93: Pull complete [2023-07-13T03:37:44.137Z] 1469e6f7b9e6: Pull complete [2023-07-13T03:37:44.137Z] eaf3925da568: Pull complete [2023-07-13T03:37:46.042Z] bab4dde63d76: Pull complete [2023-07-13T03:37:46.042Z] bde34c3a00c8: Pull complete [2023-07-13T03:37:46.303Z] b352a97aabf1: Pull complete [2023-07-13T03:37:46.303Z] 4872d77fe225: Pull complete [2023-07-13T03:37:46.303Z] 5851b861e8e6: Pull complete [2023-07-13T03:37:46.303Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T03:37:46.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:37:46.303Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:37:46.388Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:37:46.418Z] $ 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-13T03:37:49.855Z] $ docker top 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 -eo pid,comm [2023-07-13T03:37:49.905Z] 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-13T03:37:49.905Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T03:37:49.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T03:37:49.945Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T03:37:50.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T03:37:50.064Z] $ docker exec 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent [2023-07-13T03:37:50.157Z] SSH_AUTH_SOCK=/tmp/ssh-9ja7gB2OYmO8/agent.31 [2023-07-13T03:37:50.157Z] SSH_AGENT_PID=37 [2023-07-13T03:37:50.164Z] Running ssh-add (command line suppressed) [2023-07-13T03:37:50.271Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17108423891351213803.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17108423891351213803.key) [2023-07-13T03:37:50.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T03:37:50.569Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T03:37:50.584Z] $ docker exec --env ******** --env ******** 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent -k [2023-07-13T03:37:50.682Z] unset SSH_AUTH_SOCK; [2023-07-13T03:37:50.682Z] unset SSH_AGENT_PID; [2023-07-13T03:37:50.682Z] echo Agent pid 37 killed; [2023-07-13T03:37:50.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T03:37:50.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T03:37:50.719Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T03:37:50.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T03:37:50.842Z] $ docker exec 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent [2023-07-13T03:37:50.951Z] SSH_AUTH_SOCK=/tmp/ssh-h8svJKYgSdvW/agent.69 [2023-07-13T03:37:50.951Z] SSH_AGENT_PID=75 [2023-07-13T03:37:50.955Z] Running ssh-add (command line suppressed) [2023-07-13T03:37:51.063Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_219466689057397024.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_219466689057397024.key) [2023-07-13T03:37:51.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T03:37:51.370Z] + git semver init [2023-07-13T03:37:51.630Z] 2023-07-13 03:37:51,544 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T03:37:51.630Z] 2023-07-13 03:37:51,545 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-07-13T03:37:51.630Z] 2023-07-13 03:37:51,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-07-13T03:37:51.630Z] 2023-07-13 03:37:51,545 [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-13T03:37:52.571Z] 2023-07-13 03:37:52,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-07-13T03:37:52.571Z] 2023-07-13 03:37:52,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-07-13T03:37:52.571Z] 2023-07-13 03:37:52,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:37:52.571Z] 2023-07-13 03:37:52,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:37:52.571Z] 0.0.1-dev.3 [Pipeline] } [2023-07-13T03:37:52.584Z] $ docker exec --env ******** --env ******** 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent -k [2023-07-13T03:37:52.678Z] unset SSH_AUTH_SOCK; [2023-07-13T03:37:52.678Z] unset SSH_AGENT_PID; [2023-07-13T03:37:52.678Z] echo Agent pid 75 killed; [2023-07-13T03:37:52.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T03:37:52.997Z] + git semver [Pipeline] } [2023-07-13T03:37:53.272Z] $ docker stop --time=1 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 [2023-07-13T03:37:54.573Z] $ docker rm -f --volumes 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T03:37:54.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T03:37:55.085Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T03:37:55.086Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.3 [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-13T03:37:55.227Z] provisioning config files... [2023-07-13T03:37:55.237Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16497775619042215823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:37:55.538Z] ---> docker-login.sh [2023-07-13T03:37:55.538Z] nexus3.edgexfoundry.org:10001 [2023-07-13T03:37:55.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:55.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:55.538Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:55.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:55.538Z] [2023-07-13T03:37:55.538Z] Login Succeeded [2023-07-13T03:37:55.538Z] nexus3.edgexfoundry.org:10002 [2023-07-13T03:37:55.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:55.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:55.538Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:55.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:55.538Z] [2023-07-13T03:37:55.538Z] Login Succeeded [2023-07-13T03:37:55.538Z] nexus3.edgexfoundry.org:10003 [2023-07-13T03:37:55.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:55.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:55.797Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:55.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:55.797Z] [2023-07-13T03:37:55.797Z] Login Succeeded [2023-07-13T03:37:55.797Z] nexus3.edgexfoundry.org:10004 [2023-07-13T03:37:55.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:55.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:55.797Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:55.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:55.797Z] [2023-07-13T03:37:55.797Z] Login Succeeded [2023-07-13T03:37:55.797Z] docker.io [2023-07-13T03:37:55.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:37:56.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:37:56.057Z] Configure a credential helper to remove this warning. See [2023-07-13T03:37:56.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:37:56.057Z] [2023-07-13T03:37:56.057Z] Login Succeeded [2023-07-13T03:37:56.057Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T03:37:56.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T03:37:56.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:37:56.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:37:56.137Z] ========================================================= [2023-07-13T03:37:56.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T03:37:56.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:37:56.438Z] + 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-13T03:37:56.438Z] Sending build context to Docker daemon 11.07MB [2023-07-13T03:37:56.438Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T03:37:56.438Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T03:37:56.438Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T03:37:56.438Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T03:37:56.439Z] 6911f1a30b25: Pulling fs layer [2023-07-13T03:37:56.439Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T03:37:56.439Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T03:37:56.439Z] ec0bb842ea78: Pulling fs layer [2023-07-13T03:37:56.439Z] 40a00589a448: Pulling fs layer [2023-07-13T03:37:56.439Z] 6c08303d61cc: Pulling fs layer [2023-07-13T03:37:56.439Z] 798269fcf238: Pulling fs layer [2023-07-13T03:37:56.439Z] ec0bb842ea78: Waiting [2023-07-13T03:37:56.439Z] 40a00589a448: Waiting [2023-07-13T03:37:56.439Z] 6c08303d61cc: Waiting [2023-07-13T03:37:56.439Z] 798269fcf238: Waiting [2023-07-13T03:37:56.439Z] 6863d3e3a2b1: Waiting [2023-07-13T03:37:56.439Z] 6911f1a30b25: Download complete [2023-07-13T03:37:56.697Z] ec0bb842ea78: Verifying Checksum [2023-07-13T03:37:56.697Z] ec0bb842ea78: Download complete [2023-07-13T03:37:56.697Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T03:37:56.697Z] 4db1b89c0bd1: Download complete [2023-07-13T03:37:56.697Z] 40a00589a448: Verifying Checksum [2023-07-13T03:37:56.697Z] 40a00589a448: Download complete [2023-07-13T03:37:56.697Z] 4db1b89c0bd1: Pull complete [2023-07-13T03:37:56.957Z] 6911f1a30b25: Pull complete [2023-07-13T03:37:56.957Z] 798269fcf238: Verifying Checksum [2023-07-13T03:37:56.957Z] 798269fcf238: Download complete [2023-07-13T03:37:57.214Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T03:37:57.214Z] e194b8c5c2a9: Download complete [2023-07-13T03:37:57.214Z] 6c08303d61cc: Verifying Checksum [2023-07-13T03:37:57.214Z] 6c08303d61cc: Download complete [2023-07-13T03:38:00.496Z] e194b8c5c2a9: Pull complete [2023-07-13T03:38:00.496Z] 6863d3e3a2b1: Pull complete [2023-07-13T03:38:00.496Z] ec0bb842ea78: Pull complete [2023-07-13T03:38:00.496Z] 40a00589a448: Pull complete [2023-07-13T03:38:02.393Z] 6c08303d61cc: Pull complete [2023-07-13T03:38:03.326Z] 798269fcf238: Pull complete [2023-07-13T03:38:03.326Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T03:38:03.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T03:38:03.326Z] ---> ec979cd7f677 [2023-07-13T03:38:03.326Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T03:38:09.898Z] ---> Running in 75e6cd184cc8 [2023-07-13T03:38:09.898Z] Removing intermediate container 75e6cd184cc8 [2023-07-13T03:38:09.898Z] ---> f4b779ac8495 [2023-07-13T03:38:09.898Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T03:38:09.898Z] ---> Running in 93601ec0dcea [2023-07-13T03:38:09.898Z] Removing intermediate container 93601ec0dcea [2023-07-13T03:38:09.898Z] ---> 534c0bf1991a [2023-07-13T03:38:09.898Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T03:38:09.898Z] ---> Running in f4efcfc59ae6 [2023-07-13T03:38:09.898Z] Removing intermediate container f4efcfc59ae6 [2023-07-13T03:38:09.898Z] ---> c91c6438e448 [2023-07-13T03:38:09.898Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T03:38:09.898Z] ---> Running in 4e722c521648 [2023-07-13T03:38:09.898Z] Removing intermediate container 4e722c521648 [2023-07-13T03:38:09.898Z] ---> 1ce3678fbb98 [2023-07-13T03:38:09.898Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T03:38:09.898Z] ---> Running in 1fdd4907a8a5 [2023-07-13T03:38:10.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T03:38:10.194Z] Still waiting to schedule task [2023-07-13T03:38:10.194Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T03:38:10.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T03:38:10.676Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T03:38:10.676Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T03:38:10.676Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T03:38:10.676Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T03:38:10.676Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T03:38:10.676Z] OK: 269 MiB in 57 packages [2023-07-13T03:38:11.242Z] Removing intermediate container 1fdd4907a8a5 [2023-07-13T03:38:11.242Z] ---> 95575a397680 [2023-07-13T03:38:11.242Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T03:38:11.242Z] ---> 91922f54aaac [2023-07-13T03:38:11.242Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T03:38:11.242Z] ---> Running in dc145dbbe798 [2023-07-13T03:39:18.973Z] Removing intermediate container dc145dbbe798 [2023-07-13T03:39:18.973Z] ---> b23be19d920f [2023-07-13T03:39:18.973Z] Step 10/12 : COPY . . [2023-07-13T03:39:18.973Z] ---> be216980a060 [2023-07-13T03:39:18.973Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T03:39:18.973Z] ---> Running in 01067e22cdcb [2023-07-13T03:39:18.973Z] Removing intermediate container 01067e22cdcb [2023-07-13T03:39:18.973Z] ---> 6a089bfe100e [2023-07-13T03:39:18.973Z] Step 12/12 : RUN ${MAKE} [2023-07-13T03:39:18.973Z] ---> Running in 76f42a4b872f [2023-07-13T03:39:18.973Z] noop [2023-07-13T03:39:18.973Z] Removing intermediate container 76f42a4b872f [2023-07-13T03:39:18.973Z] ---> 0a23c4eacaeb [2023-07-13T03:39:18.973Z] Successfully built 0a23c4eacaeb [2023-07-13T03:39:18.973Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:39:19.291Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T03:39:19.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:39:19.354Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:39:19.384Z] $ 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-13T03:39:19.722Z] $ docker top 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T03:39:20.058Z] + go version [2023-07-13T03:39:20.058Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T03:39:20.071Z] $ docker stop --time=1 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 [2023-07-13T03:39:21.316Z] $ docker rm -f --volumes 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:39:21.694Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T03:39:21.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:39:21.769Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:39:21.804Z] $ 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-13T03:39:22.136Z] $ docker top cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T03:39:22.475Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-07-13T03:39:22.776Z] + make test [2023-07-13T03:39:22.776Z] go test ./... -coverprofile=coverage.out [2023-07-13T03:39:26.967Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T03:39:36.954Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T03:39:36.954Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T03:39:42.214Z] go vet ./... [2023-07-13T03:39:44.492Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1034 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-07-13T03:39:44.505Z] Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout [2023-07-13T03:39:44.537Z] The recommended git tool is: git [2023-07-13T03:39:45.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T03:39:45.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T03:39:45.493Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-13T03:39:45.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T03:39:45.519Z] $ docker stop --time=1 cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 [2023-07-13T03:39:48.794Z] $ docker rm -f --volumes cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T03:39:49.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T03:39:49.265Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-07-13T03:39:49.469Z] using credential edgex-jenkins-ssh [2023-07-13T03:39:49.491Z] Cloning the remote Git repository [Pipeline] sh [2023-07-13T03:39:49.528Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-13T03:39:49.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T03:39:50.119Z] + ls -al . [2023-07-13T03:39:50.119Z] total 140 [2023-07-13T03:39:50.119Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 13 03:39 . [2023-07-13T03:39:50.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 03:37 .. [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 03:37 .dockerignore [2023-07-13T03:39:50.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:37 .git [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 03:37 .gitignore [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 03:37 .golangci.yml [2023-07-13T03:39:50.119Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 03:37 .semver [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 03:37 Attribution.txt [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 03:37 Dockerfile [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 03:37 GOVERNANCE.md [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 03:37 Jenkinsfile [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 03:37 LICENSE [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 03:37 Makefile [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 03:37 OWNERS.md [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 03:37 README.md [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 03:37 VERSION [2023-07-13T03:39:50.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 03:37 bin [2023-07-13T03:39:50.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:37 cmd [2023-07-13T03:39:50.119Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 13 03:39 coverage.out [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 03:37 go.mod [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 03:37 go.sum [2023-07-13T03:39:50.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:37 internal [2023-07-13T03:39:50.119Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:39:50.508Z] + 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 --label arch=amd64 --label version=0.0.1-dev.3 . [2023-07-13T03:39:50.508Z] Sending build context to Docker daemon 11.07MB [2023-07-13T03:39:50.508Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T03:39:50.508Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-13T03:39:50.508Z] ---> 0a23c4eacaeb [2023-07-13T03:39:50.508Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T03:39:50.767Z] ---> Running in c878a9fe736e [2023-07-13T03:39:50.767Z] Removing intermediate container c878a9fe736e [2023-07-13T03:39:50.767Z] ---> a4034569602a [2023-07-13T03:39:50.767Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T03:39:50.767Z] ---> Running in 6a4eaaf303d1 [2023-07-13T03:39:50.767Z] Removing intermediate container 6a4eaaf303d1 [2023-07-13T03:39:50.767Z] ---> 6f973bdc5314 [2023-07-13T03:39:50.767Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-13T03:39:50.767Z] ---> Running in ed81cbe9ea65 [2023-07-13T03:39:49.623Z] > git init /w/workspace/device-uart/4 # timeout=10 [2023-07-13T03:39:49.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T03:39:49.759Z] > git --version # timeout=10 [2023-07-13T03:39:49.780Z] > git --version # 'git version 2.25.1' [2023-07-13T03:39:49.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T03:39:49.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T03:39:51.024Z] Removing intermediate container ed81cbe9ea65 [2023-07-13T03:39:51.024Z] ---> a8d81851e784 [2023-07-13T03:39:51.024Z] Step 6/25 : WORKDIR /device-uart [2023-07-13T03:39:51.024Z] ---> Running in 8da06d89239b [2023-07-13T03:39:51.024Z] Removing intermediate container 8da06d89239b [2023-07-13T03:39:51.024Z] ---> 1da3d70e109b [2023-07-13T03:39:51.024Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T03:39:51.024Z] ---> Running in 94c5d523e5ff [2023-07-13T03:39:51.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T03:39:51.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T03:39:51.798Z] OK: 269 MiB in 57 packages [2023-07-13T03:39:51.887Z] Avoid second fetch [2023-07-13T03:39:51.888Z] Checking out Revision a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 (main) [2023-07-13T03:39:52.056Z] Removing intermediate container 94c5d523e5ff [2023-07-13T03:39:52.056Z] ---> e54c7a87096a [2023-07-13T03:39:52.056Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-13T03:39:51.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T03:39:51.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T03:39:51.897Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T03:39:51.956Z] > git checkout -f a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-13T03:39:52.314Z] ---> 54f79e430553 [2023-07-13T03:39:52.314Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T03:39:52.314Z] ---> Running in 62c3dbf112e3 [2023-07-13T03:39:52.377Z] Commit message: "feat: Remove ZeroMQ MessageBus capability (#17)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T03:39:52.882Z] Removing intermediate container 62c3dbf112e3 [2023-07-13T03:39:52.882Z] ---> fc675aa10d6f [2023-07-13T03:39:52.882Z] Step 10/25 : COPY . . [2023-07-13T03:39:53.341Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T03:39:53.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T03:39:53.342Z] Dload Upload Total Spent Left Speed [2023-07-13T03:39:53.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [2023-07-13T03:39:53.450Z] ---> d782e6bffb21 [2023-07-13T03:39:53.450Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T03:39:53.450Z] ---> Running in 2fafcaf4e7e9 [2023-07-13T03:39:53.450Z] Removing intermediate container 2fafcaf4e7e9 [2023-07-13T03:39:53.450Z] ---> 979e66fa35fc [2023-07-13T03:39:53.450Z] Step 12/25 : RUN ${MAKE} [2023-07-13T03:39:53.450Z] ---> Running in 6beca70069f3 [Pipeline] sh [2023-07-13T03:39:53.708Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-07-13T03:39:54.016Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T03:39:54.372Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T03:39:54.372Z] + sudo tee /etc/docker/daemon.new [2023-07-13T03:39:54.372Z] { [2023-07-13T03:39:54.372Z] "registry-mirrors": [ [2023-07-13T03:39:54.372Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T03:39:54.372Z] ], [2023-07-13T03:39:54.372Z] "bip": "10.250.0.254/24", [2023-07-13T03:39:54.372Z] "hosts": [ [2023-07-13T03:39:54.372Z] "tcp://0.0.0.0:5555", [2023-07-13T03:39:54.372Z] "unix:///var/run/docker.sock" [2023-07-13T03:39:54.372Z] ], [2023-07-13T03:39:54.372Z] "mtu": 1458, [2023-07-13T03:39:54.372Z] "selinux-enabled": true, [2023-07-13T03:39:54.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T03:39:54.372Z] } [Pipeline] sh [2023-07-13T03:39:54.707Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T03:39:55.055Z] + sudo service docker restart [2023-07-13T03:40:11.785Z] Removing intermediate container 6beca70069f3 [2023-07-13T03:40:11.785Z] ---> ecd3f8c78925 [2023-07-13T03:40:11.785Z] Step 13/25 : FROM alpine:3.17 [2023-07-13T03:40:11.785Z] 3.17: Pulling from library/alpine [2023-07-13T03:40:11.785Z] 4db1b89c0bd1: Already exists [2023-07-13T03:40:11.785Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T03:40:11.785Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T03:40:11.785Z] ---> 1f73a9d63274 [2023-07-13T03:40:11.785Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-13T03:40:12.044Z] ---> Running in 5b998ffad307 [2023-07-13T03:40:12.044Z] Removing intermediate container 5b998ffad307 [2023-07-13T03:40:12.044Z] ---> 22dd0062aad6 [2023-07-13T03:40:12.044Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-13T03:40:12.044Z] ---> Running in 57d4a799fa46 [2023-07-13T03:40:12.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T03:40:12.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T03:40:12.824Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-13T03:40:12.824Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T03:40:12.824Z] OK: 7 MiB in 16 packages [2023-07-13T03:40:13.082Z] Removing intermediate container 57d4a799fa46 [2023-07-13T03:40:13.083Z] ---> f3873097b31a [2023-07-13T03:40:13.083Z] Step 16/25 : WORKDIR / [2023-07-13T03:40:13.083Z] ---> Running in 23b95d0d71f9 [2023-07-13T03:40:13.083Z] Removing intermediate container 23b95d0d71f9 [2023-07-13T03:40:13.083Z] ---> e2947a5cf871 [2023-07-13T03:40:13.083Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T03:40:13.326Z] provisioning config files... [2023-07-13T03:40:13.340Z] ---> 42029d965817 [2023-07-13T03:40:13.340Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-13T03:40:13.340Z] ---> 4773c68f00ac [2023-07-13T03:40:13.340Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-13T03:40:13.350Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config7821218319432878660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:40:13.700Z] ---> docker-login.sh [2023-07-13T03:40:13.700Z] nexus3.edgexfoundry.org:10001 [2023-07-13T03:40:13.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:14.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:14.242Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:14.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:14.242Z] [2023-07-13T03:40:14.242Z] Login Succeeded [2023-07-13T03:40:14.242Z] nexus3.edgexfoundry.org:10002 [2023-07-13T03:40:14.277Z] ---> ad19478d9d7c [2023-07-13T03:40:14.277Z] Step 20/25 : EXPOSE 59995 [2023-07-13T03:40:14.277Z] ---> Running in 36dfc47514af [2023-07-13T03:40:14.277Z] Removing intermediate container 36dfc47514af [2023-07-13T03:40:14.277Z] ---> 152a522fe5e5 [2023-07-13T03:40:14.277Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-13T03:40:14.277Z] ---> Running in fa071fb2a9f9 [2023-07-13T03:40:14.277Z] Removing intermediate container fa071fb2a9f9 [2023-07-13T03:40:14.277Z] ---> 9c9a895e298b [2023-07-13T03:40:14.277Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-13T03:40:14.277Z] ---> Running in 80de14e7ba9d [2023-07-13T03:40:14.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:14.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:14.512Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:14.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:14.512Z] [2023-07-13T03:40:14.512Z] Login Succeeded [2023-07-13T03:40:14.512Z] nexus3.edgexfoundry.org:10003 [2023-07-13T03:40:14.534Z] Removing intermediate container 80de14e7ba9d [2023-07-13T03:40:14.535Z] ---> 75d1bb895787 [2023-07-13T03:40:14.535Z] Step 23/25 : LABEL arch=amd64 [2023-07-13T03:40:14.535Z] ---> Running in 1a5a8b217cb9 [2023-07-13T03:40:14.535Z] Removing intermediate container 1a5a8b217cb9 [2023-07-13T03:40:14.535Z] ---> e664e92c6b3b [2023-07-13T03:40:14.535Z] Step 24/25 : LABEL git_sha=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:40:14.535Z] ---> Running in 0fb5e1ae7597 [2023-07-13T03:40:14.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:14.792Z] Removing intermediate container 0fb5e1ae7597 [2023-07-13T03:40:14.792Z] ---> 892e0bff241a [2023-07-13T03:40:14.792Z] Step 25/25 : LABEL version=0.0.1-dev.3 [2023-07-13T03:40:14.792Z] ---> Running in 1f8bb4af23b1 [2023-07-13T03:40:14.792Z] Removing intermediate container 1f8bb4af23b1 [2023-07-13T03:40:14.792Z] ---> 40c5129e4b21 [2023-07-13T03:40:14.792Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T03:40:14.792Z] Successfully built 40c5129e4b21 [2023-07-13T03:40:14.792Z] 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-13T03:40:14.872Z] provisioning config files... [2023-07-13T03:40:14.881Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6074997848400866664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:40:15.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.049Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.049Z] [2023-07-13T03:40:15.049Z] Login Succeeded [2023-07-13T03:40:15.049Z] nexus3.edgexfoundry.org:10004 [2023-07-13T03:40:15.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.173Z] ---> docker-login.sh [2023-07-13T03:40:15.173Z] nexus3.edgexfoundry.org:10001 [2023-07-13T03:40:15.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.173Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.173Z] [2023-07-13T03:40:15.173Z] Login Succeeded [2023-07-13T03:40:15.173Z] nexus3.edgexfoundry.org:10002 [2023-07-13T03:40:15.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.173Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.173Z] [2023-07-13T03:40:15.173Z] Login Succeeded [2023-07-13T03:40:15.173Z] nexus3.edgexfoundry.org:10003 [2023-07-13T03:40:15.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.321Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.321Z] [2023-07-13T03:40:15.321Z] Login Succeeded [2023-07-13T03:40:15.321Z] docker.io [2023-07-13T03:40:15.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.435Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.435Z] [2023-07-13T03:40:15.435Z] Login Succeeded [2023-07-13T03:40:15.435Z] nexus3.edgexfoundry.org:10004 [2023-07-13T03:40:15.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.435Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.435Z] [2023-07-13T03:40:15.435Z] Login Succeeded [2023-07-13T03:40:15.435Z] docker.io [2023-07-13T03:40:15.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:40:15.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.695Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.695Z] [2023-07-13T03:40:15.695Z] Login Succeeded [2023-07-13T03:40:15.695Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T03:40:15.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-13T03:40:15.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:40:15.743Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-07-13T03:40:15.743Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:40:15.743Z] latest [2023-07-13T03:40:15.743Z] 0.0.1-dev.3 [2023-07-13T03:40:15.743Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:40:15.743Z] main [2023-07-13T03:40:15.743Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:15.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:40:15.856Z] Configure a credential helper to remove this warning. See [2023-07-13T03:40:15.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:40:15.856Z] [2023-07-13T03:40:15.856Z] Login Succeeded [2023-07-13T03:40:15.856Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T03:40:15.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-07-13T03:40:16.053Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-07-13T03:40:16.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:40:16.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:40:16.148Z] ========================================================= [2023-07-13T03:40:16.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T03:40:16.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:16.368Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:40:16.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-13T03:40:16.368Z] d1786e729382: Preparing [2023-07-13T03:40:16.368Z] 55794669cb06: Preparing [2023-07-13T03:40:16.368Z] 553e17d84346: Preparing [2023-07-13T03:40:16.368Z] 17b8e8a0f937: Preparing [2023-07-13T03:40:16.368Z] 3dab9f8bf2d2: Preparing [2023-07-13T03:40:16.368Z] 3dab9f8bf2d2: Layer already exists [2023-07-13T03:40:16.368Z] 55794669cb06: Pushed [2023-07-13T03:40:16.368Z] 17b8e8a0f937: Pushed [2023-07-13T03:40:16.368Z] 553e17d84346: Pushed [2023-07-13T03:40:16.501Z] + 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-13T03:40:16.780Z] Sending build context to Docker daemon 5.566MB [2023-07-13T03:40:16.780Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T03:40:16.780Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T03:40:17.049Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T03:40:17.049Z] edb6bdbacee9: Pulling fs layer [2023-07-13T03:40:17.049Z] 5f9638ab2659: Pulling fs layer [2023-07-13T03:40:17.049Z] 8d51d6327a98: Pulling fs layer [2023-07-13T03:40:17.049Z] 8b374f2dd631: Pulling fs layer [2023-07-13T03:40:17.049Z] ec14aa9079de: Pulling fs layer [2023-07-13T03:40:17.049Z] 2f466654f4bb: Pulling fs layer [2023-07-13T03:40:17.049Z] 554e91adad29: Pulling fs layer [2023-07-13T03:40:17.049Z] ec14aa9079de: Waiting [2023-07-13T03:40:17.049Z] 554e91adad29: Waiting [2023-07-13T03:40:17.049Z] 2f466654f4bb: Waiting [2023-07-13T03:40:17.049Z] 8b374f2dd631: Waiting [2023-07-13T03:40:17.049Z] 5f9638ab2659: Verifying Checksum [2023-07-13T03:40:17.049Z] 5f9638ab2659: Download complete [2023-07-13T03:40:17.049Z] 8b374f2dd631: Verifying Checksum [2023-07-13T03:40:17.049Z] 8b374f2dd631: Download complete [2023-07-13T03:40:17.049Z] ec14aa9079de: Verifying Checksum [2023-07-13T03:40:17.049Z] ec14aa9079de: Download complete [2023-07-13T03:40:17.049Z] edb6bdbacee9: Verifying Checksum [2023-07-13T03:40:18.027Z] edb6bdbacee9: Pull complete [2023-07-13T03:40:18.615Z] 554e91adad29: Verifying Checksum [2023-07-13T03:40:18.615Z] 554e91adad29: Download complete [2023-07-13T03:40:18.615Z] 5f9638ab2659: Pull complete [2023-07-13T03:40:18.908Z] d1786e729382: Pushed [2023-07-13T03:40:18.908Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:19.222Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:19.522Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-07-13T03:40:19.522Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-13T03:40:19.522Z] d1786e729382: Preparing [2023-07-13T03:40:19.522Z] 55794669cb06: Preparing [2023-07-13T03:40:19.522Z] 553e17d84346: Preparing [2023-07-13T03:40:19.522Z] 17b8e8a0f937: Preparing [2023-07-13T03:40:19.522Z] 3dab9f8bf2d2: Preparing [2023-07-13T03:40:19.522Z] 55794669cb06: Layer already exists [2023-07-13T03:40:19.522Z] 553e17d84346: Layer already exists [2023-07-13T03:40:19.522Z] d1786e729382: Layer already exists [2023-07-13T03:40:19.522Z] 17b8e8a0f937: Layer already exists [2023-07-13T03:40:19.522Z] 3dab9f8bf2d2: Layer already exists [2023-07-13T03:40:19.522Z] latest: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:19.594Z] 2f466654f4bb: Verifying Checksum [2023-07-13T03:40:19.594Z] 2f466654f4bb: Download complete [2023-07-13T03:40:19.594Z] 8d51d6327a98: Verifying Checksum [2023-07-13T03:40:19.594Z] 8d51d6327a98: Download complete [2023-07-13T03:40:19.829Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:20.133Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 [2023-07-13T03:40:20.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-13T03:40:20.134Z] d1786e729382: Preparing [2023-07-13T03:40:20.134Z] 55794669cb06: Preparing [2023-07-13T03:40:20.134Z] 553e17d84346: Preparing [2023-07-13T03:40:20.134Z] 17b8e8a0f937: Preparing [2023-07-13T03:40:20.134Z] 3dab9f8bf2d2: Preparing [2023-07-13T03:40:20.134Z] 3dab9f8bf2d2: Layer already exists [2023-07-13T03:40:20.134Z] 553e17d84346: Layer already exists [2023-07-13T03:40:20.134Z] d1786e729382: Layer already exists [2023-07-13T03:40:20.134Z] 55794669cb06: Layer already exists [2023-07-13T03:40:20.134Z] 17b8e8a0f937: Layer already exists [2023-07-13T03:40:20.134Z] 0.0.1-dev.3: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:20.439Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:20.744Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:40:20.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-13T03:40:20.744Z] d1786e729382: Preparing [2023-07-13T03:40:20.744Z] 55794669cb06: Preparing [2023-07-13T03:40:20.744Z] 553e17d84346: Preparing [2023-07-13T03:40:20.744Z] 17b8e8a0f937: Preparing [2023-07-13T03:40:20.744Z] 3dab9f8bf2d2: Preparing [2023-07-13T03:40:20.744Z] 553e17d84346: Layer already exists [2023-07-13T03:40:20.744Z] d1786e729382: Layer already exists [2023-07-13T03:40:20.744Z] 55794669cb06: Layer already exists [2023-07-13T03:40:20.744Z] 17b8e8a0f937: Layer already exists [2023-07-13T03:40:20.744Z] 3dab9f8bf2d2: Layer already exists [2023-07-13T03:40:20.744Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:21.052Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:21.354Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-07-13T03:40:21.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-07-13T03:40:21.354Z] d1786e729382: Preparing [2023-07-13T03:40:21.354Z] 55794669cb06: Preparing [2023-07-13T03:40:21.354Z] 553e17d84346: Preparing [2023-07-13T03:40:21.354Z] 17b8e8a0f937: Preparing [2023-07-13T03:40:21.354Z] 3dab9f8bf2d2: Preparing [2023-07-13T03:40:21.354Z] 3dab9f8bf2d2: Layer already exists [2023-07-13T03:40:21.354Z] d1786e729382: Layer already exists [2023-07-13T03:40:21.354Z] 553e17d84346: Layer already exists [2023-07-13T03:40:21.354Z] 55794669cb06: Layer already exists [2023-07-13T03:40:21.354Z] 17b8e8a0f937: Layer already exists [2023-07-13T03:40:21.354Z] main: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-13T03:40:21.391Z] ===================================================== [Pipeline] echo [2023-07-13T03:40:21.398Z] taggedImages: [2023-07-13T03:40:21.398Z] - nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:40:21.398Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-07-13T03:40:21.398Z] - nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 [2023-07-13T03:40:21.398Z] - nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:40:21.398Z] - 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-13T03:40:21.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T03:40:21.757Z] [2023-07-13T03:40:21.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:40:22.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T03:40:22.053Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T03:40:22.053Z] 5eb5b503b376: Pulling fs layer [2023-07-13T03:40:22.053Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T03:40:22.053Z] ec43610c2a17: Pulling fs layer [2023-07-13T03:40:22.053Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T03:40:22.053Z] 33b1e0a273af: Pulling fs layer [2023-07-13T03:40:22.053Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T03:40:22.053Z] 2f39f015ded8: Pulling fs layer [2023-07-13T03:40:22.053Z] 3a2ae6a8a46f: Waiting [2023-07-13T03:40:22.053Z] 33b1e0a273af: Waiting [2023-07-13T03:40:22.053Z] 5d3b04190fa2: Waiting [2023-07-13T03:40:22.053Z] 2f39f015ded8: Waiting [2023-07-13T03:40:22.053Z] 5c69ac0246d0: Verifying Checksum [2023-07-13T03:40:22.053Z] 5c69ac0246d0: Download complete [2023-07-13T03:40:22.053Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T03:40:22.053Z] 3a2ae6a8a46f: Download complete [2023-07-13T03:40:22.053Z] 33b1e0a273af: Verifying Checksum [2023-07-13T03:40:22.053Z] 33b1e0a273af: Download complete [2023-07-13T03:40:22.053Z] ec43610c2a17: Verifying Checksum [2023-07-13T03:40:22.053Z] ec43610c2a17: Download complete [2023-07-13T03:40:22.053Z] 5d3b04190fa2: Download complete [2023-07-13T03:40:22.310Z] 5eb5b503b376: Download complete [2023-07-13T03:40:22.878Z] 2f39f015ded8: Download complete [2023-07-13T03:40:23.444Z] 5eb5b503b376: Pull complete [2023-07-13T03:40:23.444Z] 5c69ac0246d0: Pull complete [2023-07-13T03:40:24.011Z] ec43610c2a17: Pull complete [2023-07-13T03:40:24.011Z] 3a2ae6a8a46f: Pull complete [2023-07-13T03:40:24.268Z] 33b1e0a273af: Pull complete [2023-07-13T03:40:24.268Z] 5d3b04190fa2: Pull complete [2023-07-13T03:40:28.454Z] 2f39f015ded8: Pull complete [2023-07-13T03:40:28.454Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T03:40:28.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T03:40:28.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:40:28.534Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:40:28.565Z] $ 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-13T03:40:31.937Z] 8d51d6327a98: Pull complete [2023-07-13T03:40:31.937Z] 8b374f2dd631: Pull complete [2023-07-13T03:40:31.937Z] ec14aa9079de: Pull complete [2023-07-13T03:40:33.358Z] $ docker top f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:40:33.742Z] ---> job-cost.sh [2023-07-13T03:40:33.742Z] lf-activate-venv: SKIPPING [2023-07-13T03:40:33.742Z] INFO: No Stack... [2023-07-13T03:40:34.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T03:40:34.571Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T03:40:34.855Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-07-13T03:40:34.855Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T03:40:34.868Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [2023-07-13T03:40:34.874Z] Resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] did not exist. Created. [2023-07-13T03:40:34.874Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T03:40:35.172Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T03:40:35.198Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T03:40:35.204Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T03:40:35.223Z] $ docker stop --time=1 f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f [2023-07-13T03:40:36.370Z] $ docker rm -f --volumes f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T03:40:37.295Z] 2f466654f4bb: Pull complete [2023-07-13T03:40:39.887Z] 554e91adad29: Pull complete [2023-07-13T03:40:40.160Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T03:40:40.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T03:40:40.160Z] ---> 1e15ea492957 [2023-07-13T03:40:40.160Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T03:40:42.131Z] ---> Running in e5e9b1259745 [2023-07-13T03:40:42.131Z] Removing intermediate container e5e9b1259745 [2023-07-13T03:40:42.131Z] ---> bd28713fcda5 [2023-07-13T03:40:42.131Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T03:40:42.131Z] ---> Running in e0418fd04536 [2023-07-13T03:40:42.401Z] Removing intermediate container e0418fd04536 [2023-07-13T03:40:42.401Z] ---> ffc887e0ea3d [2023-07-13T03:40:42.401Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T03:40:42.401Z] ---> Running in 7c385ecc73ac [2023-07-13T03:40:42.669Z] Removing intermediate container 7c385ecc73ac [2023-07-13T03:40:42.669Z] ---> f2c578fcccc7 [2023-07-13T03:40:42.669Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T03:40:42.942Z] ---> Running in 690e3ff96514 [2023-07-13T03:40:43.216Z] Removing intermediate container 690e3ff96514 [2023-07-13T03:40:43.216Z] ---> 9bc89d1f372a [2023-07-13T03:40:43.216Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T03:40:43.216Z] ---> Running in c3439ee322e0 [2023-07-13T03:40:44.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T03:40:44.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T03:40:45.738Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T03:40:45.738Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T03:40:45.738Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T03:40:45.738Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T03:40:45.738Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T03:40:46.007Z] OK: 268 MiB in 57 packages [2023-07-13T03:40:46.970Z] Removing intermediate container c3439ee322e0 [2023-07-13T03:40:46.971Z] ---> f03c3e0266ee [2023-07-13T03:40:46.971Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T03:40:47.238Z] ---> c610d1a6ee12 [2023-07-13T03:40:47.238Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T03:40:47.506Z] ---> Running in 0fe13bedf4a7 [2023-07-13T03:41:55.475Z] Removing intermediate container 0fe13bedf4a7 [2023-07-13T03:41:55.475Z] ---> 747f23488232 [2023-07-13T03:41:55.475Z] Step 10/12 : COPY . . [2023-07-13T03:41:55.475Z] ---> 921542a0f86e [2023-07-13T03:41:55.475Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T03:41:55.475Z] ---> Running in 551fc121e929 [2023-07-13T03:41:55.475Z] Removing intermediate container 551fc121e929 [2023-07-13T03:41:55.475Z] ---> bb852f1a49b6 [2023-07-13T03:41:55.475Z] Step 12/12 : RUN ${MAKE} [2023-07-13T03:41:55.475Z] ---> Running in 1d28f4869e01 [2023-07-13T03:41:55.475Z] noop [2023-07-13T03:41:55.475Z] Removing intermediate container 1d28f4869e01 [2023-07-13T03:41:55.475Z] ---> 897742b6da4e [2023-07-13T03:41:55.475Z] Successfully built 897742b6da4e [2023-07-13T03:41:55.475Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:41:55.832Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T03:41:55.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:41:56.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container [2023-07-13T03:41:56.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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-arm64 cat [2023-07-13T03:41:57.316Z] $ docker top 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T03:41:58.130Z] + go version [2023-07-13T03:41:58.130Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T03:41:58.160Z] $ docker stop --time=1 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f [2023-07-13T03:41:59.774Z] $ docker rm -f --volumes 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:42:00.301Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T03:42:00.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:42:00.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container [2023-07-13T03:42:00.562Z] $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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-arm64 cat [2023-07-13T03:42:01.682Z] $ docker top 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T03:42:02.159Z] + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh [2023-07-13T03:42:02.489Z] + make test [2023-07-13T03:42:02.759Z] go test ./... -coverprofile=coverage.out [2023-07-13T03:42:34.984Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T03:44:11.644Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T03:44:11.644Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T03:44:11.644Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T03:44:11.644Z] go vet ./... [2023-07-13T03:44:38.350Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T03:44:38.350Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T03:44:38.350Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-13T03:44:38.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T03:44:38.391Z] $ docker stop --time=1 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b [2023-07-13T03:44:40.356Z] $ docker rm -f --volumes 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T03:44:41.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T03:44:41.455Z] Warning: overwriting stash ‘coverage-report’ [2023-07-13T03:44:41.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T03:44:42.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T03:44:42.616Z] + ls -al . [2023-07-13T03:44:42.616Z] total 136 [2023-07-13T03:44:42.616Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 03:42 . [2023-07-13T03:44:42.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 03:39 .. [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 03:39 .dockerignore [2023-07-13T03:44:42.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:39 .git [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 03:39 .gitignore [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 03:39 .golangci.yml [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 03:39 Attribution.txt [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 03:39 Dockerfile [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 03:39 GOVERNANCE.md [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 03:39 Jenkinsfile [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 03:39 LICENSE [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 03:39 Makefile [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 03:39 OWNERS.md [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 03:39 README.md [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 03:37 VERSION [2023-07-13T03:44:42.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 03:39 bin [2023-07-13T03:44:42.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:39 cmd [2023-07-13T03:44:42.616Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 13 03:42 coverage.out [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 03:39 go.mod [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 03:39 go.sum [2023-07-13T03:44:42.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:39 internal [2023-07-13T03:44:42.616Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 03:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:44:42.962Z] + 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 --label arch=arm64 --label version=0.0.1-dev.3 . [2023-07-13T03:44:43.235Z] Sending build context to Docker daemon 5.567MB [2023-07-13T03:44:43.235Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T03:44:43.235Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-13T03:44:43.235Z] ---> 897742b6da4e [2023-07-13T03:44:43.235Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T03:44:43.505Z] ---> Running in 011e1d713da2 [2023-07-13T03:44:44.916Z] Removing intermediate container 011e1d713da2 [2023-07-13T03:44:44.916Z] ---> b8df8741ddea [2023-07-13T03:44:44.916Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T03:44:44.916Z] ---> Running in ea6decb86d9b [2023-07-13T03:44:45.185Z] Removing intermediate container ea6decb86d9b [2023-07-13T03:44:45.185Z] ---> 3b51dff0f260 [2023-07-13T03:44:45.185Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-13T03:44:45.185Z] ---> Running in 9e54ebff75e2 [2023-07-13T03:44:45.457Z] Removing intermediate container 9e54ebff75e2 [2023-07-13T03:44:45.457Z] ---> d52dacca056b [2023-07-13T03:44:45.457Z] Step 6/25 : WORKDIR /device-uart [2023-07-13T03:44:45.726Z] ---> Running in dad6e3dd329c [2023-07-13T03:44:45.994Z] Removing intermediate container dad6e3dd329c [2023-07-13T03:44:45.994Z] ---> b380614c3dc0 [2023-07-13T03:44:45.994Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T03:44:45.994Z] ---> Running in c9439c116243 [2023-07-13T03:44:46.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T03:44:47.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T03:44:48.495Z] OK: 268 MiB in 57 packages [2023-07-13T03:44:49.476Z] Removing intermediate container c9439c116243 [2023-07-13T03:44:49.476Z] ---> 6fda0aacdd69 [2023-07-13T03:44:49.476Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-13T03:44:50.066Z] ---> 610a7d978f9a [2023-07-13T03:44:50.066Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T03:44:50.333Z] ---> Running in 1c7ac41d0e2c [2023-07-13T03:44:52.909Z] Removing intermediate container 1c7ac41d0e2c [2023-07-13T03:44:52.909Z] ---> 611b5daef7e7 [2023-07-13T03:44:52.909Z] Step 10/25 : COPY . . [2023-07-13T03:44:53.881Z] ---> f72a9e72ec1a [2023-07-13T03:44:53.881Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T03:44:53.881Z] ---> Running in ce98761d7a95 [2023-07-13T03:44:54.150Z] Removing intermediate container ce98761d7a95 [2023-07-13T03:44:54.150Z] ---> 28620d25d8e3 [2023-07-13T03:44:54.150Z] Step 12/25 : RUN ${MAKE} [2023-07-13T03:44:54.150Z] ---> Running in 79eb22c4fd82 [2023-07-13T03:44:55.119Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-07-13T03:47:01.799Z] Removing intermediate container 79eb22c4fd82 [2023-07-13T03:47:01.799Z] ---> e25c976d62de [2023-07-13T03:47:01.799Z] Step 13/25 : FROM alpine:3.17 [2023-07-13T03:47:01.799Z] 3.17: Pulling from library/alpine [2023-07-13T03:47:01.799Z] edb6bdbacee9: Already exists [2023-07-13T03:47:01.799Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T03:47:01.799Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T03:47:01.799Z] ---> 779605e5fbc0 [2023-07-13T03:47:01.799Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-13T03:47:01.799Z] ---> Running in 67363b42a804 [2023-07-13T03:47:01.799Z] Removing intermediate container 67363b42a804 [2023-07-13T03:47:01.799Z] ---> 11c1345f395f [2023-07-13T03:47:01.799Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-13T03:47:01.799Z] ---> Running in 82b57d164027 [2023-07-13T03:47:01.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T03:47:01.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T03:47:01.799Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-13T03:47:01.799Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T03:47:01.799Z] OK: 8 MiB in 16 packages [2023-07-13T03:47:01.799Z] Removing intermediate container 82b57d164027 [2023-07-13T03:47:01.799Z] ---> d7ec25a10e90 [2023-07-13T03:47:01.799Z] Step 16/25 : WORKDIR / [2023-07-13T03:47:01.799Z] ---> Running in d7ca482bcd89 [2023-07-13T03:47:02.067Z] Removing intermediate container d7ca482bcd89 [2023-07-13T03:47:02.067Z] ---> 806f6c928ad9 [2023-07-13T03:47:02.067Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-13T03:47:02.652Z] ---> b001f0c5baae [2023-07-13T03:47:02.652Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-13T03:47:02.941Z] ---> 696109803020 [2023-07-13T03:47:02.941Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-13T03:47:04.355Z] ---> 6d64f15eb977 [2023-07-13T03:47:04.355Z] Step 20/25 : EXPOSE 59995 [2023-07-13T03:47:04.355Z] ---> Running in b930c66e92be [2023-07-13T03:47:04.622Z] Removing intermediate container b930c66e92be [2023-07-13T03:47:04.622Z] ---> 4dd4aba52631 [2023-07-13T03:47:04.622Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-13T03:47:04.889Z] ---> Running in 056ab7f0ed6d [2023-07-13T03:47:05.158Z] Removing intermediate container 056ab7f0ed6d [2023-07-13T03:47:05.159Z] ---> e0c54a7eac34 [2023-07-13T03:47:05.159Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-13T03:47:05.159Z] ---> Running in a224659e04cc [2023-07-13T03:47:05.426Z] Removing intermediate container a224659e04cc [2023-07-13T03:47:05.426Z] ---> 5aeb9d8a9f35 [2023-07-13T03:47:05.426Z] Step 23/25 : LABEL arch=arm64 [2023-07-13T03:47:05.426Z] ---> Running in 7d0fbdb2c7a3 [2023-07-13T03:47:05.694Z] Removing intermediate container 7d0fbdb2c7a3 [2023-07-13T03:47:05.694Z] ---> f6c7dc5c1177 [2023-07-13T03:47:05.694Z] Step 24/25 : LABEL git_sha=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:47:05.961Z] ---> Running in f3e2837657fc [2023-07-13T03:47:06.228Z] Removing intermediate container f3e2837657fc [2023-07-13T03:47:06.228Z] ---> b621cc5e53b8 [2023-07-13T03:47:06.228Z] Step 25/25 : LABEL version=0.0.1-dev.3 [2023-07-13T03:47:06.228Z] ---> Running in f60426906c01 [2023-07-13T03:47:06.494Z] Removing intermediate container f60426906c01 [2023-07-13T03:47:06.494Z] ---> 6e1d53635407 [2023-07-13T03:47:06.494Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T03:47:06.494Z] Successfully built 6e1d53635407 [2023-07-13T03:47:06.494Z] 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-13T03:47:06.593Z] provisioning config files... [2023-07-13T03:47:06.605Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config16369015528539529260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:47:06.929Z] ---> docker-login.sh [2023-07-13T03:47:06.929Z] nexus3.edgexfoundry.org:10001 [2023-07-13T03:47:06.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:47:07.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:47:07.196Z] Configure a credential helper to remove this warning. See [2023-07-13T03:47:07.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:47:07.196Z] [2023-07-13T03:47:07.196Z] Login Succeeded [2023-07-13T03:47:07.196Z] nexus3.edgexfoundry.org:10002 [2023-07-13T03:47:07.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:47:07.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:47:07.463Z] Configure a credential helper to remove this warning. See [2023-07-13T03:47:07.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:47:07.463Z] [2023-07-13T03:47:07.463Z] Login Succeeded [2023-07-13T03:47:07.463Z] nexus3.edgexfoundry.org:10003 [2023-07-13T03:47:07.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:47:07.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:47:07.731Z] Configure a credential helper to remove this warning. See [2023-07-13T03:47:07.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:47:07.731Z] [2023-07-13T03:47:07.731Z] Login Succeeded [2023-07-13T03:47:07.731Z] nexus3.edgexfoundry.org:10004 [2023-07-13T03:47:07.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:47:08.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:47:08.264Z] Configure a credential helper to remove this warning. See [2023-07-13T03:47:08.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:47:08.264Z] [2023-07-13T03:47:08.264Z] Login Succeeded [2023-07-13T03:47:08.264Z] docker.io [2023-07-13T03:47:08.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T03:47:08.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T03:47:08.527Z] Configure a credential helper to remove this warning. See [2023-07-13T03:47:08.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T03:47:08.527Z] [2023-07-13T03:47:08.527Z] Login Succeeded [2023-07-13T03:47:08.527Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T03:47:08.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-13T03:47:08.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T03:47:08.861Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-07-13T03:47:08.861Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:47:08.861Z] latest [2023-07-13T03:47:08.861Z] 0.0.1-dev.3 [2023-07-13T03:47:08.861Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:47:08.861Z] main [2023-07-13T03:47:08.861Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:09.205Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:09.535Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:47:09.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-13T03:47:09.535Z] ea44df357d5d: Preparing [2023-07-13T03:47:09.535Z] 07a0b43f4b2d: Preparing [2023-07-13T03:47:09.535Z] d1f6bbfa4acb: Preparing [2023-07-13T03:47:09.535Z] 714081aa409c: Preparing [2023-07-13T03:47:09.535Z] 9386262d7a74: Preparing [2023-07-13T03:47:09.535Z] 9386262d7a74: Layer already exists [2023-07-13T03:47:09.800Z] 07a0b43f4b2d: Pushed [2023-07-13T03:47:09.800Z] d1f6bbfa4acb: Pushed [2023-07-13T03:47:09.800Z] 714081aa409c: Pushed [2023-07-13T03:47:15.128Z] ea44df357d5d: Pushed [2023-07-13T03:47:15.128Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:15.470Z] + 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-13T03:47:15.813Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-07-13T03:47:15.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-13T03:47:15.813Z] ea44df357d5d: Preparing [2023-07-13T03:47:15.813Z] 07a0b43f4b2d: Preparing [2023-07-13T03:47:15.813Z] d1f6bbfa4acb: Preparing [2023-07-13T03:47:15.813Z] 714081aa409c: Preparing [2023-07-13T03:47:15.813Z] 9386262d7a74: Preparing [2023-07-13T03:47:15.813Z] ea44df357d5d: Layer already exists [2023-07-13T03:47:15.813Z] 714081aa409c: Layer already exists [2023-07-13T03:47:15.813Z] 07a0b43f4b2d: Layer already exists [2023-07-13T03:47:15.813Z] 9386262d7a74: Layer already exists [2023-07-13T03:47:15.813Z] d1f6bbfa4acb: Layer already exists [2023-07-13T03:47:15.813Z] latest: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:16.157Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:16.497Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 [2023-07-13T03:47:16.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-13T03:47:16.497Z] ea44df357d5d: Preparing [2023-07-13T03:47:16.497Z] 07a0b43f4b2d: Preparing [2023-07-13T03:47:16.497Z] d1f6bbfa4acb: Preparing [2023-07-13T03:47:16.497Z] 714081aa409c: Preparing [2023-07-13T03:47:16.497Z] 9386262d7a74: Preparing [2023-07-13T03:47:16.497Z] 9386262d7a74: Layer already exists [2023-07-13T03:47:16.497Z] 714081aa409c: Layer already exists [2023-07-13T03:47:16.497Z] ea44df357d5d: Layer already exists [2023-07-13T03:47:16.497Z] d1f6bbfa4acb: Layer already exists [2023-07-13T03:47:16.497Z] 07a0b43f4b2d: Layer already exists [2023-07-13T03:47:16.497Z] 0.0.1-dev.3: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:16.849Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:17.184Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:47:17.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-13T03:47:17.184Z] ea44df357d5d: Preparing [2023-07-13T03:47:17.184Z] 07a0b43f4b2d: Preparing [2023-07-13T03:47:17.184Z] d1f6bbfa4acb: Preparing [2023-07-13T03:47:17.184Z] 714081aa409c: Preparing [2023-07-13T03:47:17.184Z] 9386262d7a74: Preparing [2023-07-13T03:47:17.184Z] 07a0b43f4b2d: Layer already exists [2023-07-13T03:47:17.184Z] 9386262d7a74: Layer already exists [2023-07-13T03:47:17.184Z] 714081aa409c: Layer already exists [2023-07-13T03:47:17.184Z] ea44df357d5d: Layer already exists [2023-07-13T03:47:17.184Z] d1f6bbfa4acb: Layer already exists [2023-07-13T03:47:17.184Z] a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:17.516Z] + 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-13T03:47:21.177Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-07-13T03:47:21.177Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-07-13T03:47:21.177Z] ea44df357d5d: Preparing [2023-07-13T03:47:21.177Z] 07a0b43f4b2d: Preparing [2023-07-13T03:47:21.177Z] d1f6bbfa4acb: Preparing [2023-07-13T03:47:21.177Z] 714081aa409c: Preparing [2023-07-13T03:47:21.177Z] 9386262d7a74: Preparing [2023-07-13T03:47:21.177Z] 9386262d7a74: Layer already exists [2023-07-13T03:47:21.177Z] d1f6bbfa4acb: Layer already exists [2023-07-13T03:47:21.177Z] ea44df357d5d: Layer already exists [2023-07-13T03:47:21.177Z] 714081aa409c: Layer already exists [2023-07-13T03:47:21.177Z] 07a0b43f4b2d: Layer already exists [2023-07-13T03:47:21.177Z] main: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-13T03:47:21.234Z] ===================================================== [Pipeline] echo [2023-07-13T03:47:21.245Z] taggedImages: [2023-07-13T03:47:21.245Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [2023-07-13T03:47:21.245Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-07-13T03:47:21.245Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 [2023-07-13T03:47:21.245Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [2023-07-13T03:47:21.245Z] - 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-13T03:47:21.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T03:47:21.603Z] [2023-07-13T03:47:21.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:21.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T03:47:21.928Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T03:47:21.928Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T03:47:21.928Z] 04944245beec: Pulling fs layer [2023-07-13T03:47:21.928Z] 699f458cf7ca: Pulling fs layer [2023-07-13T03:47:21.928Z] 765212b225bb: Pulling fs layer [2023-07-13T03:47:21.928Z] f23df028b6ca: Pulling fs layer [2023-07-13T03:47:21.928Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T03:47:21.928Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T03:47:21.928Z] f23df028b6ca: Waiting [2023-07-13T03:47:21.928Z] d65c8cfc05b1: Waiting [2023-07-13T03:47:21.928Z] 2437ff75d9bd: Waiting [2023-07-13T03:47:21.928Z] 765212b225bb: Waiting [2023-07-13T03:47:22.197Z] 04944245beec: Verifying Checksum [2023-07-13T03:47:22.197Z] 04944245beec: Download complete [2023-07-13T03:47:22.197Z] 765212b225bb: Verifying Checksum [2023-07-13T03:47:22.197Z] 765212b225bb: Download complete [2023-07-13T03:47:22.197Z] f23df028b6ca: Verifying Checksum [2023-07-13T03:47:22.197Z] f23df028b6ca: Download complete [2023-07-13T03:47:22.197Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T03:47:22.197Z] d65c8cfc05b1: Download complete [2023-07-13T03:47:22.197Z] 699f458cf7ca: Verifying Checksum [2023-07-13T03:47:22.197Z] 699f458cf7ca: Download complete [2023-07-13T03:47:22.780Z] 8998bd30e6a1: Download complete [2023-07-13T03:47:24.724Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T03:47:24.724Z] 2437ff75d9bd: Download complete [2023-07-13T03:47:26.663Z] 8998bd30e6a1: Pull complete [2023-07-13T03:47:26.929Z] 04944245beec: Pull complete [2023-07-13T03:47:28.334Z] 699f458cf7ca: Pull complete [2023-07-13T03:47:28.335Z] 765212b225bb: Pull complete [2023-07-13T03:47:28.919Z] f23df028b6ca: Pull complete [2023-07-13T03:47:29.187Z] d65c8cfc05b1: Pull complete [2023-07-13T03:47:44.181Z] 2437ff75d9bd: Pull complete [2023-07-13T03:47:44.181Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T03:47:44.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T03:47:44.181Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:47:44.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container [2023-07-13T03:47:44.437Z] $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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:arm64 cat [2023-07-13T03:47:46.854Z] $ docker top ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:47:47.669Z] ---> job-cost.sh [2023-07-13T03:47:47.669Z] lf-activate-venv: SKIPPING [2023-07-13T03:47:47.669Z] INFO: No Stack... [2023-07-13T03:47:47.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T03:47:48.952Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T03:47:49.292Z] + cut -d, -f6+ [2023-07-13T03:47:49.292Z] cat /w/workspace/device-uart/4/archives/cost.csv [Pipeline] lock [2023-07-13T03:47:49.640Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [2023-07-13T03:47:49.646Z] Resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] did not exist. Created. [2023-07-13T03:47:49.646Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T03:47:50.003Z] /w/workspace/device-uart/4@tmp/durable-69691ece/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T03:47:50.393Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T03:47:50.410Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T03:47:50.464Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T03:47:50.470Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T03:47:50.500Z] $ docker stop --time=1 ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 [2023-07-13T03:47:51.977Z] $ docker rm -f --volumes ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 [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-13T03:47:52.366Z] provisioning config files... [2023-07-13T03:47:52.375Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3111820364302107076tmp [Pipeline] { [Pipeline] sh [2023-07-13T03:47:52.662Z] + set +x [2023-07-13T03:47:52.662Z] + curl -s https://codecov.io/bash [2023-07-13T03:47:52.662Z] + bash -s -- [2023-07-13T03:47:52.922Z] [2023-07-13T03:47:52.922Z] _____ _ [2023-07-13T03:47:52.922Z] / ____| | | [2023-07-13T03:47:52.922Z] | | ___ __| | ___ ___ _____ __ [2023-07-13T03:47:52.922Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-13T03:47:52.922Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-13T03:47:52.922Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-13T03:47:52.922Z] Bash-1.0.6 [2023-07-13T03:47:52.922Z] [2023-07-13T03:47:52.922Z] [2023-07-13T03:47:52.922Z] ==> git version 2.25.1 found [2023-07-13T03:47:52.922Z] ==> 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-13T03:47:52.922Z] Release-Date: 2020-01-08 [2023-07-13T03:47:52.922Z] 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-13T03:47:52.922Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-13T03:47:52.922Z] ==> Jenkins CI detected. [2023-07-13T03:47:52.922Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-07-13T03:47:52.922Z] project root: . [2023-07-13T03:47:52.922Z] --> token set from env [2023-07-13T03:47:52.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-13T03:47:52.922Z] ==> Running gcov in . (disable via -X gcov) [2023-07-13T03:47:52.922Z] ==> Python coveragepy not found [2023-07-13T03:47:52.922Z] ==> Searching for coverage reports in: [2023-07-13T03:47:52.922Z] + . [2023-07-13T03:47:52.922Z] -> Found 1 reports [2023-07-13T03:47:52.922Z] ==> Detecting git/mercurial file structure [2023-07-13T03:47:52.922Z] ==> Reading reports [2023-07-13T03:47:52.922Z] + ./coverage.out bytes=10 [2023-07-13T03:47:52.922Z] ==> Appending adjustments [2023-07-13T03:47:52.922Z] https://docs.codecov.io/docs/fixing-reports [2023-07-13T03:47:52.922Z] + Found adjustments [2023-07-13T03:47:52.922Z] ==> Gzipping contents [2023-07-13T03:47:52.922Z] 4.0K /tmp/codecov.kYYJMT.gz [2023-07-13T03:47:52.922Z] ==> Uploading reports [2023-07-13T03:47:52.922Z] url: https://codecov.io [2023-07-13T03:47:52.922Z] query: branch=main&commit=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-13T03:47:53.181Z] -> Pinging Codecov [2023-07-13T03:47:53.181Z] 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-13T03:47:53.181Z] -> Uploading to [2023-07-13T03:47:53.181Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-13/B9AA6E0BBD74AE3A32605C7A7C664919/a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12/916f687c-60b5-4551-92d1-c0293735128d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T034753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7c10b76db3ff96b56c694891ed7b74b26b07f5fb4ac1f08a9e4c407228e4567 [2023-07-13T03:47:53.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T03:47:53.181Z] Dload Upload Total Spent Left Speed [2023-07-13T03:47:53.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 551 0 0 100 551 0 2700 --:--:-- --:--:-- --:--:-- 2700 [2023-07-13T03:47:53.440Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } [2023-07-13T03:47:53.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-13T03:47:53.662Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-13T03:47:53.675Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:47:53.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-13T03:47:53.980Z] [2023-07-13T03:47:53.980Z] 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-13T03:47:54.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-13T03:47:54.275Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-13T03:47:54.275Z] df9b9388f04a: Pulling fs layer [2023-07-13T03:47:54.275Z] 52dc419b0ee2: Pulling fs layer [2023-07-13T03:47:54.275Z] 25bc292e5bac: Pulling fs layer [2023-07-13T03:47:54.275Z] 114826534d7a: Pulling fs layer [2023-07-13T03:47:54.275Z] 4657fd5d0bcf: Pulling fs layer [2023-07-13T03:47:54.275Z] 6ad1cebc031e: Pulling fs layer [2023-07-13T03:47:54.275Z] 8a3aa393b2d8: Pulling fs layer [2023-07-13T03:47:54.275Z] 4657fd5d0bcf: Waiting [2023-07-13T03:47:54.275Z] 6ad1cebc031e: Waiting [2023-07-13T03:47:54.275Z] 114826534d7a: Waiting [2023-07-13T03:47:54.275Z] 8a3aa393b2d8: Waiting [2023-07-13T03:47:54.275Z] 25bc292e5bac: Verifying Checksum [2023-07-13T03:47:54.275Z] 25bc292e5bac: Download complete [2023-07-13T03:47:54.275Z] 52dc419b0ee2: Verifying Checksum [2023-07-13T03:47:54.275Z] 52dc419b0ee2: Download complete [2023-07-13T03:47:54.275Z] 4657fd5d0bcf: Verifying Checksum [2023-07-13T03:47:54.275Z] 4657fd5d0bcf: Download complete [2023-07-13T03:47:54.275Z] df9b9388f04a: Verifying Checksum [2023-07-13T03:47:54.275Z] df9b9388f04a: Download complete [2023-07-13T03:47:54.534Z] df9b9388f04a: Pull complete [2023-07-13T03:47:54.534Z] 6ad1cebc031e: Verifying Checksum [2023-07-13T03:47:54.534Z] 52dc419b0ee2: Pull complete [2023-07-13T03:47:54.534Z] 25bc292e5bac: Pull complete [2023-07-13T03:47:55.101Z] 114826534d7a: Verifying Checksum [2023-07-13T03:47:55.101Z] 114826534d7a: Download complete [2023-07-13T03:47:55.101Z] 8a3aa393b2d8: Verifying Checksum [2023-07-13T03:47:55.101Z] 8a3aa393b2d8: Download complete [2023-07-13T03:47:58.379Z] 114826534d7a: Pull complete [2023-07-13T03:47:58.379Z] 4657fd5d0bcf: Pull complete [2023-07-13T03:47:58.379Z] 6ad1cebc031e: Pull complete [2023-07-13T03:48:00.901Z] 8a3aa393b2d8: Pull complete [2023-07-13T03:48:00.901Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-13T03:48:00.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-13T03:48:00.901Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:00.975Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:01.003Z] $ 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-13T03:48:03.650Z] $ docker top 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-13T03:48:03.707Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-07-13T03:48:03.983Z] + set -o pipefail [2023-07-13T03:48:03.983Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-07-13T03:48:12.104Z] [2023-07-13T03:48:12.104Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-07-13T03:48:12.104Z] [2023-07-13T03:48:12.104Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/17c3a622-51fa-464f-af40-3369cc3f8daa [2023-07-13T03:48:12.104Z] [2023-07-13T03:48:12.104Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-13T03:48:12.104Z] [2023-07-13T03:48:12.104Z] [2023-07-13T03:48:12.104Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-13T03:48:12.104Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-13T03:48:12.104Z] More details here: https://snyk.co/ue1NS [2023-07-13T03:48:12.104Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-07-13T03:48:12.104Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-07-13T03:48:12.117Z] $ docker stop --time=1 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb [2023-07-13T03:48:14.852Z] $ docker rm -f --volumes 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb [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-13T03:48:15.540Z] + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] sh [2023-07-13T03:48:15.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T03:48:15.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:16.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:48:16.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:16.200Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:16.232Z] $ 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-13T03:48:16.714Z] $ docker top 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e -eo pid,comm [2023-07-13T03:48:16.759Z] 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-13T03:48:16.759Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T03:48:16.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T03:48:16.794Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T03:48:16.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T03:48:16.899Z] $ docker exec 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e ssh-agent [2023-07-13T03:48:17.000Z] SSH_AUTH_SOCK=/tmp/ssh-ovWpu1SHFquG/agent.31 [2023-07-13T03:48:17.000Z] SSH_AGENT_PID=37 [2023-07-13T03:48:17.005Z] Running ssh-add (command line suppressed) [2023-07-13T03:48:17.114Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12345591852773817029.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12345591852773817029.key) [2023-07-13T03:48:17.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T03:48:17.421Z] + git semver tag [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,595 [run_tag] DEBUG tag force:False [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,595 [check_head_tag] DEBUG check head tag [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,595 [execute] INFO git cat-file --batch-check [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,599 [execute] INFO git cat-file --batch [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,605 [execute] INFO git tag -a v0.0.1-dev.3 -m v0.0.1-dev.3 [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,605 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.3', '-m', 'v0.0.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-07-13T03:48:17.680Z] 2023-07-13 03:48:17,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:17.680Z] 0.0.1-dev.3 [Pipeline] } [2023-07-13T03:48:17.693Z] $ docker exec --env ******** --env ******** 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e ssh-agent -k [2023-07-13T03:48:17.802Z] unset SSH_AUTH_SOCK; [2023-07-13T03:48:17.802Z] unset SSH_AGENT_PID; [2023-07-13T03:48:17.803Z] echo Agent pid 37 killed; [2023-07-13T03:48:17.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T03:48:18.107Z] + git semver [Pipeline] } [2023-07-13T03:48:18.378Z] $ docker stop --time=1 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e [2023-07-13T03:48:19.631Z] $ docker rm -f --volumes 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:19.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-13T03:48:19.996Z] [2023-07-13T03:48:19.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:20.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-13T03:48:20.291Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-13T03:48:20.291Z] ab5ef0e58194: Pulling fs layer [2023-07-13T03:48:20.291Z] 9712f1f96733: Pulling fs layer [2023-07-13T03:48:20.291Z] 63f879dbbcfc: Pulling fs layer [2023-07-13T03:48:20.291Z] 0d9ebad4ef96: Pulling fs layer [2023-07-13T03:48:20.291Z] e9a5061849ea: Pulling fs layer [2023-07-13T03:48:20.291Z] d747dcd14b5f: Pulling fs layer [2023-07-13T03:48:20.291Z] 2de7ff778b66: Pulling fs layer [2023-07-13T03:48:20.291Z] 0d9ebad4ef96: Waiting [2023-07-13T03:48:20.291Z] e9a5061849ea: Waiting [2023-07-13T03:48:20.291Z] d747dcd14b5f: Waiting [2023-07-13T03:48:20.291Z] 2de7ff778b66: Waiting [2023-07-13T03:48:20.291Z] 9712f1f96733: Verifying Checksum [2023-07-13T03:48:20.291Z] 9712f1f96733: Download complete [2023-07-13T03:48:20.549Z] 63f879dbbcfc: Verifying Checksum [2023-07-13T03:48:20.549Z] 63f879dbbcfc: Download complete [2023-07-13T03:48:20.808Z] 0d9ebad4ef96: Verifying Checksum [2023-07-13T03:48:20.808Z] 0d9ebad4ef96: Download complete [2023-07-13T03:48:20.808Z] d747dcd14b5f: Download complete [2023-07-13T03:48:20.808Z] e9a5061849ea: Verifying Checksum [2023-07-13T03:48:20.808Z] e9a5061849ea: Download complete [2023-07-13T03:48:20.808Z] ab5ef0e58194: Verifying Checksum [2023-07-13T03:48:20.808Z] ab5ef0e58194: Download complete [2023-07-13T03:48:20.808Z] 2de7ff778b66: Verifying Checksum [2023-07-13T03:48:20.808Z] 2de7ff778b66: Download complete [2023-07-13T03:48:23.329Z] ab5ef0e58194: Pull complete [2023-07-13T03:48:23.329Z] 9712f1f96733: Pull complete [2023-07-13T03:48:24.262Z] 63f879dbbcfc: Pull complete [2023-07-13T03:48:27.540Z] 0d9ebad4ef96: Pull complete [2023-07-13T03:48:27.540Z] e9a5061849ea: Pull complete [2023-07-13T03:48:27.540Z] d747dcd14b5f: Pull complete [2023-07-13T03:48:28.915Z] 2de7ff778b66: Pull complete [2023-07-13T03:48:28.915Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-13T03:48:28.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-13T03:48:28.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:28.989Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:29.018Z] $ 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-13T03:48:32.375Z] $ docker top 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-13T03:48:32.436Z] provisioning config files... [2023-07-13T03:48:32.442Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1048723370371149796tmp [2023-07-13T03:48:32.452Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15922103989272339370tmp [2023-07-13T03:48:32.461Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config451880788989547962tmp [Pipeline] { [Pipeline] echo [2023-07-13T03:48:32.477Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:32.759Z] ---> sigul-configuration.sh [2023-07-13T03:48:32.759Z] gpg: directory `/root/.gnupg' created [2023-07-13T03:48:32.759Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-13T03:48:32.759Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-13T03:48:32.759Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-13T03:48:32.759Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-13T03:48:32.759Z] gpg: CAST5 encrypted data [2023-07-13T03:48:32.759Z] gpg: encrypted with 1 passphrase [2023-07-13T03:48:32.759Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-13T03:48:33.044Z] + mkdir /home/jenkins [2023-07-13T03:48:33.044Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-13T03:48:33.325Z] + 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-13T03:48:33.335Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:33.618Z] ---> sigul-install.sh [2023-07-13T03:48:33.619Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-13T03:48:33.908Z] + git tag --list [2023-07-13T03:48:33.908Z] v0.0.0 [2023-07-13T03:48:33.908Z] v0.0.1-dev.1 [2023-07-13T03:48:33.908Z] v0.0.1-dev.2 [2023-07-13T03:48:33.908Z] v0.0.1-dev.3 [Pipeline] sh [2023-07-13T03:48:34.194Z] + lftools sign git-tag v0.0.1-dev.3 [2023-07-13T03:48:34.762Z] Signing Git tag with Sigul... [2023-07-13T03:48:34.762Z] Signing v0.0.1-dev.3 [Pipeline] echo [2023-07-13T03:48:35.030Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:35.313Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-13T03:48:35.321Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-13T03:48:35.341Z] $ docker stop --time=1 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f [2023-07-13T03:48:36.654Z] $ docker rm -f --volumes 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-13T03:48:37.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T03:48:37.063Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:37.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:48:37.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:37.435Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:37.468Z] $ 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-13T03:48:37.778Z] $ docker top 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 -eo pid,comm [2023-07-13T03:48:37.818Z] 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-13T03:48:37.818Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T03:48:37.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T03:48:37.858Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T03:48:37.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T03:48:37.957Z] $ docker exec 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 ssh-agent [2023-07-13T03:48:38.050Z] SSH_AUTH_SOCK=/tmp/ssh-5Qk9XB82K6GT/agent.32 [2023-07-13T03:48:38.050Z] SSH_AGENT_PID=38 [2023-07-13T03:48:38.055Z] Running ssh-add (command line suppressed) [2023-07-13T03:48:38.145Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9453507619302797293.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9453507619302797293.key) [2023-07-13T03:48:38.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T03:48:38.439Z] + git semver bump pre [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,592 [bump_version] DEBUG bumping version:0.0.1-dev.3 on axis:pre with prefix:dev [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,593 [bump_version] DEBUG bumped version:0.0.1-dev.4 [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,593 [write_version] DEBUG write version:0.0.1-dev.4 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,593 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,595 [execute] INFO git cat-file --batch-check [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,600 [execute] INFO git cat-file --batch [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T03:48:38.697Z] 2023-07-13 03:48:38,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:38.697Z] 0.0.1-dev.4 [Pipeline] } [2023-07-13T03:48:38.708Z] $ docker exec --env ******** --env ******** 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 ssh-agent -k [2023-07-13T03:48:38.793Z] unset SSH_AUTH_SOCK; [2023-07-13T03:48:38.793Z] unset SSH_AGENT_PID; [2023-07-13T03:48:38.793Z] echo Agent pid 38 killed; [2023-07-13T03:48:38.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T03:48:39.105Z] + git semver [Pipeline] } [2023-07-13T03:48:39.379Z] $ docker stop --time=1 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 [2023-07-13T03:48:40.672Z] $ docker rm -f --volumes 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T03:48:40.996Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T03:48:40.997Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:41.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T03:48:41.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:41.367Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:41.399Z] $ 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-13T03:48:41.702Z] $ docker top 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 -eo pid,comm [2023-07-13T03:48:41.745Z] 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-13T03:48:41.745Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T03:48:41.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T03:48:41.785Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T03:48:41.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T03:48:41.890Z] $ docker exec 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 ssh-agent [2023-07-13T03:48:41.988Z] SSH_AUTH_SOCK=/tmp/ssh-0OQYgSvByAHA/agent.32 [2023-07-13T03:48:41.988Z] SSH_AGENT_PID=38 [2023-07-13T03:48:41.992Z] Running ssh-add (command line suppressed) [2023-07-13T03:48:42.086Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7836774564335141822.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7836774564335141822.key) [2023-07-13T03:48:42.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T03:48:42.383Z] + git semver push [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,548 [run_push] DEBUG push [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,549 [execute] INFO git cat-file --batch-check [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,553 [execute] INFO git rev-list 76c6fde287ab0578c668fb37437061729eeb6a88 -- [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,553 [execute] DEBUG Popen(['git', 'rev-list', '76c6fde287ab0578c668fb37437061729eeb6a88', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,558 [execute] INFO git fetch -v origin [2023-07-13T03:48:42.645Z] 2023-07-13 03:48:42,558 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-13T03:48:43.213Z] 2023-07-13 03:48:43,040 [run_push] DEBUG no remote changes detected [2023-07-13T03:48:43.213Z] 2023-07-13 03:48:43,041 [execute] INFO git push origin semver [2023-07-13T03:48:43.213Z] 2023-07-13 03:48:43,041 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-13T03:48:44.149Z] 2023-07-13 03:48:43,864 [run_push] DEBUG push all version tags [2023-07-13T03:48:44.149Z] 2023-07-13 03:48:43,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-13T03:48:44.149Z] 2023-07-13 03:48:43,865 [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-13T03:48:44.717Z] 2023-07-13 03:48:44,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-07-13T03:48:44.717Z] 0.0.1-dev.4 [Pipeline] } [2023-07-13T03:48:44.729Z] $ docker exec --env ******** --env ******** 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 ssh-agent -k [2023-07-13T03:48:44.821Z] unset SSH_AUTH_SOCK; [2023-07-13T03:48:44.821Z] unset SSH_AGENT_PID; [2023-07-13T03:48:44.821Z] echo Agent pid 38 killed; [2023-07-13T03:48:44.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T03:48:45.138Z] + git semver [Pipeline] } [2023-07-13T03:48:45.411Z] $ docker stop --time=1 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 [2023-07-13T03:48:46.704Z] $ docker rm -f --volumes 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 [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-13T03:48:47.309Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-07-13T03:48:47.309Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-13T03:48:47.309Z] total 16 [2023-07-13T03:48:47.309Z] drwxr-xr-x 3 root root 4096 Jul 13 03:40 . [2023-07-13T03:48:47.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:48 .. [2023-07-13T03:48:47.309Z] drwxr-xr-x 2 root root 4096 Jul 13 03:40 cost [2023-07-13T03:48:47.309Z] -rw-r--r-- 1 root root 81 Jul 13 03:40 cost.csv [2023-07-13T03:48:47.309Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-13T03:48:47.309Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-07-13T03:48:47.309Z] total 16 [2023-07-13T03:48:47.309Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 03:40 . [2023-07-13T03:48:47.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:48 .. [2023-07-13T03:48:47.309Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 03:40 cost [2023-07-13T03:48:47.309Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 13 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:47.601Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:48.457Z] ---> package-listing.sh [2023-07-13T03:48:48.457Z] ++ facter osfamily [2023-07-13T03:48:48.457Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T03:48:48.717Z] + OS_FAMILY=debian [2023-07-13T03:48:48.717Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-07-13T03:48:48.717Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T03:48:48.717Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T03:48:48.717Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T03:48:48.717Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T03:48:48.717Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-07-13T03:48:48.717Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T03:48:48.717Z] + case "${OS_FAMILY}" in [2023-07-13T03:48:48.717Z] + grep '^ii' [2023-07-13T03:48:48.717Z] + dpkg -l [2023-07-13T03:48:48.717Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T03:48:48.717Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T03:48:48.717Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T03:48:48.717Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-07-13T03:48:48.717Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-07-13T03:48:48.717Z] + 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-13T03:48:48.728Z] 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-13T03:48:49.005Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T03:48:49.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T03:48:49.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T03:48:49.626Z] prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container [2023-07-13T03:48:49.658Z] $ 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-13T03:48:49.865Z] $ docker top 562704f8fedd036373b1e6a082d15f77475a2a53d09265d8d6af841bb1a26afd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T03:48:50.204Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T03:48:50.487Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T03:48:50.771Z] + ls /var/log/sa-host [2023-07-13T03:48:50.771Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T03:48:50.918Z] provisioning config files... [2023-07-13T03:48:50.925Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config341749692875277201tmp [Pipeline] { [Pipeline] echo [2023-07-13T03:48:50.938Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:51.272Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T03:48:51.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:51.653Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T03:48:51.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:52.096Z] ---> sudo-logs.sh [2023-07-13T03:48:52.096Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T03:48:52.127Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:52.410Z] ---> job-cost.sh [2023-07-13T03:48:52.410Z] lf-activate-venv: SKIPPING [2023-07-13T03:48:52.410Z] DEBUG: total: 0.2199999988079071 [2023-07-13T03:48:52.410Z] INFO: Retrieving Stack Cost... [2023-07-13T03:48:52.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T03:48:53.240Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T03:48:53.253Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T03:48:53.534Z] ---> logs-deploy.sh [2023-07-13T03:48:53.534Z] lf-activate-venv: SKIPPING [2023-07-13T03:48:53.534Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/4 [2023-07-13T03:48:53.534Z] INFO: archiving workspace using pattern(s): [2023-07-13T03:48:55.861Z] Archives upload complete. [2023-07-13T03:48:55.861Z] INFO: archiving logs to Nexus