Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d91c28011fe1e340ffb33947d534daf2c02bd499 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-ssh10999925741539952935.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5091656707799887048.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14783441509033752373.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10119157840945999650.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-ssh7452443656577996841.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1287 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 d91c28011fe1e340ffb33947d534daf2c02bd499 (main) > 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 d91c28011fe1e340ffb33947d534daf2c02bd499 # timeout=10 Commit message: "Merge pull request #44 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" > git rev-list --no-walk 333c6894e147d9c19ea7d7fbcb4ad6f41b7da7f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-20T00:47:39.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-20T00:47:39.090Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-20T00:47:39.115Z] ========================================================= [2024-02-20T00:47:39.115Z] EdgeX Global Pipelines Version Info [2024-02-20T00:47:39.115Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:47:39.831Z] ------------------- [2024-02-20T00:47:39.831Z] stable info: [2024-02-20T00:47:39.831Z] ------------------- [2024-02-20T00:47:39.831Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-20T00:47:39.831Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-20T00:47:39.831Z] Message: update stable to v1.0.258 [2024-02-20T00:47:40.413Z] ------------------- [2024-02-20T00:47:40.413Z] experimental info: [2024-02-20T00:47:40.413Z] ------------------- [2024-02-20T00:47:40.413Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-20T00:47:40.413Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-20T00:47:40.413Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-20T00:47:40.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-02-20T00:47:40.525Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-02-20T00:47:40.553Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-20T00:47:40.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-20T00:47:40.661Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-20T00:47:40.691Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-20T00:47:40.712Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-20T00:47:40.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-20T00:47:40.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-20T00:47:40.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-20T00:47:40.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-20T00:47:40.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-02-20T00:47:40.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-20T00:47:40.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-20T00:47:40.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-20T00:47:40.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-20T00:47:41.004Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-20T00:47:41.031Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-20T00:47:41.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-20T00:47:41.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-20T00:47:41.130Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-20T00:47:41.165Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-20T00:47:41.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-20T00:47:41.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-20T00:47:41.276Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-20T00:47:41.314Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-20T00:47:41.354Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-20T00:47:41.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-02-20T00:47:41.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-02-20T00:47:41.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-02-20T00:47:41.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] echo [2024-02-20T00:47:41.550Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d91c280 [Pipeline] echo [2024-02-20T00:47:41.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-20T00:47:41.686Z] provisioning config files... [2024-02-20T00:47:41.701Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11937588084777839214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:47:42.042Z] ---> ****-login.sh [2024-02-20T00:47:42.042Z] nexus3.edgexfoundry.org:10001 [2024-02-20T00:47:42.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:47:42.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:47:42.303Z] Configure a credential helper to remove this warning. See [2024-02-20T00:47:42.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:47:42.303Z] [2024-02-20T00:47:42.303Z] Login Succeeded [2024-02-20T00:47:42.303Z] nexus3.edgexfoundry.org:10002 [2024-02-20T00:47:42.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:47:42.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:47:42.565Z] Configure a credential helper to remove this warning. See [2024-02-20T00:47:42.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:47:42.565Z] [2024-02-20T00:47:42.565Z] Login Succeeded [2024-02-20T00:47:42.565Z] nexus3.edgexfoundry.org:10003 [2024-02-20T00:47:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:47:42.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:47:42.565Z] Configure a credential helper to remove this warning. See [2024-02-20T00:47:42.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:47:42.565Z] [2024-02-20T00:47:42.565Z] Login Succeeded [2024-02-20T00:47:42.565Z] nexus3.edgexfoundry.org:10004 [2024-02-20T00:47:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:47:42.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:47:42.826Z] Configure a credential helper to remove this warning. See [2024-02-20T00:47:42.826Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:47:42.826Z] [2024-02-20T00:47:42.826Z] Login Succeeded [2024-02-20T00:47:42.826Z] ****.io [2024-02-20T00:47:42.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:47:43.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:47:43.087Z] Configure a credential helper to remove this warning. See [2024-02-20T00:47:43.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:47:43.087Z] [2024-02-20T00:47:43.087Z] Login Succeeded [2024-02-20T00:47:43.087Z] ---> ****-login.sh ends [Pipeline] } [2024-02-20T00:47:43.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-20T00:47:43.582Z] + git rev-list -1 --merges d91c28011fe1e340ffb33947d534daf2c02bd499~1..d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] echo [2024-02-20T00:47:43.614Z] -----------> git rev-list -1 --merges d91c28011fe1e340ffb33947d534daf2c02bd499~1..d91c28011fe1e340ffb33947d534daf2c02bd499 d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:47:43.614Z] d91c28011fe1e340ffb33947d534daf2c02bd499 [false] [Pipeline] sh [2024-02-20T00:47:43.917Z] + git log --format=format:%s -1 d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] echo [2024-02-20T00:47:43.932Z] ========================================================= [2024-02-20T00:47:43.932Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-20T00:47:43.932Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-20T00:47:44.316Z] + git log --format=format:%s -1 d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] echo [2024-02-20T00:47:44.327Z] [semverPrep] GIT_COMMIT: d91c28011fe1e340ffb33947d534daf2c02bd499, Commit Message: Merge pull request #44 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9 [Pipeline] echo [2024-02-20T00:47:44.350Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-20T00:47:44.745Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-20T00:47:44.745Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-20T00:47:44.745Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-20T00:47:44.745Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-20T00:47:44.745Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-20T00:47:44.745Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-20T00:47:44.745Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:47:45.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T00:47:45.119Z] [2024-02-20T00:47:45.119Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:47:45.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T00:47:45.441Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-20T00:47:45.441Z] b85a868b505f: Pulling fs layer [2024-02-20T00:47:45.441Z] e2be974225ed: Pulling fs layer [2024-02-20T00:47:45.441Z] 339a4e72a1f5: Pulling fs layer [2024-02-20T00:47:45.441Z] 988bab9f4d93: Pulling fs layer [2024-02-20T00:47:45.441Z] 1469e6f7b9e6: Pulling fs layer [2024-02-20T00:47:45.441Z] 988bab9f4d93: Waiting [2024-02-20T00:47:45.441Z] eaf3925da568: Pulling fs layer [2024-02-20T00:47:45.441Z] bab4dde63d76: Pulling fs layer [2024-02-20T00:47:45.441Z] 1469e6f7b9e6: Waiting [2024-02-20T00:47:45.441Z] bde34c3a00c8: Pulling fs layer [2024-02-20T00:47:45.441Z] eaf3925da568: Waiting [2024-02-20T00:47:45.441Z] b352a97aabf1: Pulling fs layer [2024-02-20T00:47:45.441Z] 4872d77fe225: Pulling fs layer [2024-02-20T00:47:45.441Z] 5851b861e8e6: Pulling fs layer [2024-02-20T00:47:45.441Z] 5851b861e8e6: Waiting [2024-02-20T00:47:45.441Z] e2be974225ed: Verifying Checksum [2024-02-20T00:47:45.441Z] e2be974225ed: Download complete [2024-02-20T00:47:45.441Z] 339a4e72a1f5: Verifying Checksum [2024-02-20T00:47:45.441Z] 339a4e72a1f5: Download complete [2024-02-20T00:47:45.701Z] 1469e6f7b9e6: Verifying Checksum [2024-02-20T00:47:45.701Z] 1469e6f7b9e6: Download complete [2024-02-20T00:47:45.701Z] eaf3925da568: Download complete [2024-02-20T00:47:45.701Z] bde34c3a00c8: Verifying Checksum [2024-02-20T00:47:45.701Z] bde34c3a00c8: Download complete [2024-02-20T00:47:45.701Z] b352a97aabf1: Verifying Checksum [2024-02-20T00:47:45.701Z] b352a97aabf1: Download complete [2024-02-20T00:47:45.701Z] 4872d77fe225: Verifying Checksum [2024-02-20T00:47:45.701Z] 4872d77fe225: Download complete [2024-02-20T00:47:45.701Z] 5851b861e8e6: Verifying Checksum [2024-02-20T00:47:45.701Z] 5851b861e8e6: Download complete [2024-02-20T00:47:45.701Z] b85a868b505f: Verifying Checksum [2024-02-20T00:47:45.701Z] b85a868b505f: Download complete [2024-02-20T00:47:45.960Z] bab4dde63d76: Verifying Checksum [2024-02-20T00:47:45.960Z] bab4dde63d76: Download complete [2024-02-20T00:47:47.363Z] b85a868b505f: Pull complete [2024-02-20T00:47:47.363Z] e2be974225ed: Pull complete [2024-02-20T00:47:47.631Z] 339a4e72a1f5: Pull complete [2024-02-20T00:47:47.894Z] 988bab9f4d93: Pull complete [2024-02-20T00:47:48.154Z] 1469e6f7b9e6: Pull complete [2024-02-20T00:47:48.154Z] eaf3925da568: Pull complete [2024-02-20T00:47:50.056Z] bab4dde63d76: Pull complete [2024-02-20T00:47:50.056Z] bde34c3a00c8: Pull complete [2024-02-20T00:47:50.056Z] b352a97aabf1: Pull complete [2024-02-20T00:47:50.314Z] 4872d77fe225: Pull complete [2024-02-20T00:47:50.314Z] 5851b861e8e6: Pull complete [2024-02-20T00:47:50.314Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-20T00:47:50.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T00:47:50.314Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:47:50.532Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T00:47:50.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-20T00:47:53.721Z] $ docker top d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a -eo pid,comm [2024-02-20T00:47:53.778Z] 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). [2024-02-20T00:47:53.778Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-20T00:47:53.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-20T00:47:53.865Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-20T00:47:53.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-20T00:47:53.995Z] $ docker exec d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a ssh-agent [2024-02-20T00:47:54.113Z] SSH_AUTH_SOCK=/tmp/ssh-jYxlnlnhLfMz/agent.33 [2024-02-20T00:47:54.113Z] SSH_AGENT_PID=39 [2024-02-20T00:47:54.122Z] Running ssh-add (command line suppressed) [2024-02-20T00:47:54.228Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1737392223159856542.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_1737392223159856542.key) [2024-02-20T00:47:54.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-20T00:47:54.548Z] + git tag --points-at HEAD [Pipeline] } [2024-02-20T00:47:54.564Z] $ docker exec --env ******** --env ******** d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a ssh-agent -k [2024-02-20T00:47:54.672Z] unset SSH_AUTH_SOCK; [2024-02-20T00:47:54.673Z] unset SSH_AGENT_PID; [2024-02-20T00:47:54.673Z] echo Agent pid 39 killed; [2024-02-20T00:47:54.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-20T00:47:54.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-20T00:47:54.751Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-20T00:47:54.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-20T00:47:54.857Z] $ docker exec d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a ssh-agent [2024-02-20T00:47:54.953Z] SSH_AUTH_SOCK=/tmp/ssh-eMH07spRMC5f/agent.71 [2024-02-20T00:47:54.953Z] SSH_AGENT_PID=77 [2024-02-20T00:47:54.960Z] Running ssh-add (command line suppressed) [2024-02-20T00:47:55.083Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2030515688563551326.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2030515688563551326.key) [2024-02-20T00:47:55.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-20T00:47:55.408Z] + git semver init [2024-02-20T00:47:55.669Z] 2024-02-20 00:47:55,593 [run_init] DEBUG init version:0.0.0 force:False [2024-02-20T00:47:55.669Z] 2024-02-20 00:47:55,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2024-02-20T00:47:55.669Z] 2024-02-20 00:47:55,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2024-02-20T00:47:55.669Z] 2024-02-20 00:47:55,594 [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) [2024-02-20T00:47:57.053Z] 2024-02-20 00:47:56,732 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2024-02-20T00:47:57.053Z] 2024-02-20 00:47:56,732 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2024-02-20T00:47:57.053Z] 2024-02-20 00:47:56,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T00:47:57.053Z] 2024-02-20 00:47:56,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T00:47:57.053Z] 3.0.1-dev.19 [Pipeline] } [2024-02-20T00:47:57.069Z] $ docker exec --env ******** --env ******** d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a ssh-agent -k [2024-02-20T00:47:57.167Z] unset SSH_AUTH_SOCK; [2024-02-20T00:47:57.168Z] unset SSH_AGENT_PID; [2024-02-20T00:47:57.168Z] echo Agent pid 77 killed; [2024-02-20T00:47:57.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-20T00:47:57.554Z] + git semver [Pipeline] } [2024-02-20T00:47:57.832Z] $ docker stop --time=1 d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a [2024-02-20T00:47:59.162Z] $ docker rm -f --volumes d44b022e18f2c49d63a95176126ebc4fa5502379c10487a0a44f340a2fcf017a [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-20T00:47:59.543Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-20T00:47:59.891Z] Stashed 1 file(s) [Pipeline] echo [2024-02-20T00:47:59.894Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.19 [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 [2024-02-20T00:48:00.292Z] provisioning config files... [2024-02-20T00:48:00.303Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5081557048742578185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:48:00.707Z] ---> ****-login.sh [2024-02-20T00:48:00.707Z] nexus3.edgexfoundry.org:10001 [2024-02-20T00:48:00.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:48:00.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:48:00.707Z] Configure a credential helper to remove this warning. See [2024-02-20T00:48:00.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:48:00.707Z] [2024-02-20T00:48:00.707Z] Login Succeeded [2024-02-20T00:48:00.707Z] nexus3.edgexfoundry.org:10002 [2024-02-20T00:48:00.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:48:00.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:48:00.707Z] Configure a credential helper to remove this warning. See [2024-02-20T00:48:00.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:48:00.707Z] [2024-02-20T00:48:00.707Z] Login Succeeded [2024-02-20T00:48:00.707Z] nexus3.edgexfoundry.org:10003 [2024-02-20T00:48:00.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:48:00.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:48:00.966Z] Configure a credential helper to remove this warning. See [2024-02-20T00:48:00.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:48:00.966Z] [2024-02-20T00:48:00.966Z] Login Succeeded [2024-02-20T00:48:00.966Z] nexus3.edgexfoundry.org:10004 [2024-02-20T00:48:00.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:48:00.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:48:00.966Z] Configure a credential helper to remove this warning. See [2024-02-20T00:48:00.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:48:00.966Z] [2024-02-20T00:48:00.966Z] Login Succeeded [2024-02-20T00:48:00.966Z] ****.io [2024-02-20T00:48:01.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:48:01.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:48:01.225Z] Configure a credential helper to remove this warning. See [2024-02-20T00:48:01.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:48:01.225Z] [2024-02-20T00:48:01.225Z] Login Succeeded [2024-02-20T00:48:01.225Z] ---> ****-login.sh ends [Pipeline] } [2024-02-20T00:48:01.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-20T00:48:01.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:48:01.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:48:01.439Z] ========================================================= [2024-02-20T00:48:01.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-20T00:48:01.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:48:01.956Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-20T00:48:01.956Z] Sending build context to Docker daemon 23.04MB [2024-02-20T00:48:01.956Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-20T00:48:01.956Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-20T00:48:02.215Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-20T00:48:02.215Z] 7264a8db6415: Pulling fs layer [2024-02-20T00:48:02.215Z] c4d48a809fc2: Pulling fs layer [2024-02-20T00:48:02.215Z] 4f1c88b9dad5: Pulling fs layer [2024-02-20T00:48:02.215Z] ad3a456e5733: Pulling fs layer [2024-02-20T00:48:02.215Z] 69c7f0334f64: Pulling fs layer [2024-02-20T00:48:02.215Z] 1f1c1a5573a3: Pulling fs layer [2024-02-20T00:48:02.215Z] ce7588e14bc9: Pulling fs layer [2024-02-20T00:48:02.215Z] b5e4710f87ac: Pulling fs layer [2024-02-20T00:48:02.215Z] ad3a456e5733: Waiting [2024-02-20T00:48:02.215Z] 69c7f0334f64: Waiting [2024-02-20T00:48:02.215Z] 1f1c1a5573a3: Waiting [2024-02-20T00:48:02.215Z] b5e4710f87ac: Waiting [2024-02-20T00:48:02.215Z] c4d48a809fc2: Verifying Checksum [2024-02-20T00:48:02.215Z] c4d48a809fc2: Download complete [2024-02-20T00:48:02.215Z] ad3a456e5733: Verifying Checksum [2024-02-20T00:48:02.215Z] ad3a456e5733: Download complete [2024-02-20T00:48:02.215Z] 69c7f0334f64: Download complete [2024-02-20T00:48:02.215Z] 7264a8db6415: Verifying Checksum [2024-02-20T00:48:02.215Z] 7264a8db6415: Download complete [2024-02-20T00:48:02.215Z] 1f1c1a5573a3: Verifying Checksum [2024-02-20T00:48:02.215Z] 1f1c1a5573a3: Download complete [2024-02-20T00:48:02.474Z] 7264a8db6415: Pull complete [2024-02-20T00:48:02.474Z] b5e4710f87ac: Verifying Checksum [2024-02-20T00:48:02.474Z] b5e4710f87ac: Download complete [2024-02-20T00:48:02.474Z] c4d48a809fc2: Pull complete [2024-02-20T00:48:02.474Z] 4f1c88b9dad5: Verifying Checksum [2024-02-20T00:48:02.474Z] 4f1c88b9dad5: Download complete [2024-02-20T00:48:03.040Z] ce7588e14bc9: Verifying Checksum [2024-02-20T00:48:03.040Z] ce7588e14bc9: Download complete [2024-02-20T00:48:05.567Z] 4f1c88b9dad5: Pull complete [2024-02-20T00:48:05.824Z] ad3a456e5733: Pull complete [2024-02-20T00:48:05.824Z] 69c7f0334f64: Pull complete [2024-02-20T00:48:05.824Z] 1f1c1a5573a3: Pull complete [2024-02-20T00:48:08.350Z] ce7588e14bc9: Pull complete [2024-02-20T00:48:08.608Z] b5e4710f87ac: Pull complete [2024-02-20T00:48:08.608Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-20T00:48:08.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-20T00:48:08.608Z] ---> 88b5674ff536 [2024-02-20T00:48:08.608Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-20T00:48:13.911Z] ---> Running in 4416a96540d4 [2024-02-20T00:48:13.911Z] Removing intermediate container 4416a96540d4 [2024-02-20T00:48:13.911Z] ---> a58d3ca8353e [2024-02-20T00:48:13.911Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-20T00:48:13.911Z] ---> Running in 7e9078ff71e0 [2024-02-20T00:48:13.911Z] Removing intermediate container 7e9078ff71e0 [2024-02-20T00:48:13.911Z] ---> 33b521c5c72a [2024-02-20T00:48:13.911Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-02-20T00:48:13.912Z] ---> Running in 74194970a608 [2024-02-20T00:48:13.912Z] Removing intermediate container 74194970a608 [2024-02-20T00:48:13.912Z] ---> 0b7978472893 [2024-02-20T00:48:13.912Z] Step 6/12 : WORKDIR /device-uart [2024-02-20T00:48:13.912Z] ---> Running in 86b411ee7048 [2024-02-20T00:48:13.912Z] Removing intermediate container 86b411ee7048 [2024-02-20T00:48:13.912Z] ---> d9ca471bbb48 [2024-02-20T00:48:13.912Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-20T00:48:13.912Z] ---> Running in b26648b33fce [2024-02-20T00:48:13.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-20T00:48:13.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-20T00:48:14.170Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-20T00:48:14.429Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-20T00:48:14.429Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-20T00:48:14.429Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-20T00:48:14.429Z] Executing busybox-1.36.1-r5.trigger [2024-02-20T00:48:14.429Z] OK: 268 MiB in 56 packages [2024-02-20T00:48:15.003Z] Removing intermediate container b26648b33fce [2024-02-20T00:48:15.003Z] ---> 97053ea8fb6d [2024-02-20T00:48:15.003Z] Step 8/12 : COPY go.mod vendor* ./ [2024-02-20T00:48:15.003Z] ---> 29616452cfb5 [2024-02-20T00:48:15.003Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-20T00:48:15.003Z] ---> Running in 0d28203cd886 [2024-02-20T00:48:15.191Z] Still waiting to schedule task [2024-02-20T00:48:15.191Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-02-20T00:48:41.556Z] Removing intermediate container 0d28203cd886 [2024-02-20T00:48:41.556Z] ---> 4172a7e80ea9 [2024-02-20T00:48:41.556Z] Step 10/12 : COPY . . [2024-02-20T00:48:41.556Z] ---> be0d1c251b83 [2024-02-20T00:48:41.556Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-20T00:48:41.556Z] ---> Running in f72e3608442f [2024-02-20T00:48:41.556Z] Removing intermediate container f72e3608442f [2024-02-20T00:48:41.556Z] ---> de52f538fce8 [2024-02-20T00:48:41.556Z] Step 12/12 : RUN ${MAKE} [2024-02-20T00:48:41.556Z] ---> Running in 7b1a50eea908 [2024-02-20T00:48:41.556Z] noop [2024-02-20T00:48:41.556Z] Removing intermediate container 7b1a50eea908 [2024-02-20T00:48:41.556Z] ---> 5f0b3d53aa2d [2024-02-20T00:48:41.556Z] Successfully built 5f0b3d53aa2d [2024-02-20T00:48:41.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:48:41.936Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-20T00:48:41.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:48:42.064Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T00:48:42.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-20T00:48:42.474Z] $ docker top 5501db768f111199256f2a0088fb6749f41315b74ce45a0bb9136fd3fd9f261e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-20T00:48:42.869Z] + go version [2024-02-20T00:48:42.870Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-20T00:48:42.883Z] $ docker stop --time=1 5501db768f111199256f2a0088fb6749f41315b74ce45a0bb9136fd3fd9f261e [2024-02-20T00:48:44.153Z] $ docker rm -f --volumes 5501db768f111199256f2a0088fb6749f41315b74ce45a0bb9136fd3fd9f261e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:48:44.747Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-20T00:48:44.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:48:44.862Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T00:48:44.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-20T00:48:45.242Z] $ docker top f6be340196ddae3cf003cbbf75b98121d62d3e62e805492c7d0c9dfb4acf8b2c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-20T00:48:45.621Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2024-02-20T00:48:45.936Z] + make test [2024-02-20T00:48:45.936Z] go test ./... -coverprofile=coverage.out [2024-02-20T00:48:47.312Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-02-20T00:48:57.310Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-02-20T00:48:57.310Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-02-20T00:49:03.865Z] go vet ./... [2024-02-20T00:49:07.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-20T00:49:07.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-20T00:49:07.149Z] ./bin/test-attribution-txt.sh [2024-02-20T00:49:07.149Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-20T00:49:07.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-20T00:49:07.199Z] $ docker stop --time=1 f6be340196ddae3cf003cbbf75b98121d62d3e62e805492c7d0c9dfb4acf8b2c [2024-02-20T00:49:09.896Z] $ docker rm -f --volumes f6be340196ddae3cf003cbbf75b98121d62d3e62e805492c7d0c9dfb4acf8b2c [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-20T00:49:10.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-20T00:49:10.476Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-20T00:49:11.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-20T00:49:11.429Z] + ls -al . [2024-02-20T00:49:11.429Z] total 156 [2024-02-20T00:49:11.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:48 . [2024-02-20T00:49:11.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 00:47 .. [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 00:47 .dockerignore [2024-02-20T00:49:11.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:48 .git [2024-02-20T00:49:11.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:47 .github [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 20 00:47 .gitignore [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 00:47 .golangci.yml [2024-02-20T00:49:11.429Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 00:47 .semver [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 9941 Feb 20 00:47 Attribution.txt [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 1908 Feb 20 00:47 CHANGELOG.md [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 1886 Feb 20 00:47 Dockerfile [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 00:47 GOVERNANCE.md [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 675 Feb 20 00:47 Jenkinsfile [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 00:47 LICENSE [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 1872 Feb 20 00:47 Makefile [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 20 00:47 OWNERS.md [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 8892 Feb 20 00:47 README.md [2024-02-20T00:49:11.429Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 00:47 VERSION [2024-02-20T00:49:11.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:47 bin [2024-02-20T00:49:11.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:47 cmd [2024-02-20T00:49:11.430Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 20 00:48 coverage.out [2024-02-20T00:49:11.430Z] -rw-rw-r-- 1 jenkins jenkins 3765 Feb 20 00:47 go.mod [2024-02-20T00:49:11.430Z] -rw-rw-r-- 1 jenkins jenkins 34553 Feb 20 00:47 go.sum [2024-02-20T00:49:11.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:47 internal [2024-02-20T00:49:11.430Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 20 00:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:11.845Z] + 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=d91c28011fe1e340ffb33947d534daf2c02bd499 --label arch=amd64 --label version=3.0.1-dev.19 . [2024-02-20T00:49:11.845Z] Sending build context to Docker daemon 23.04MB [2024-02-20T00:49:11.845Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-20T00:49:11.845Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-20T00:49:11.845Z] ---> 5f0b3d53aa2d [2024-02-20T00:49:11.845Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-20T00:49:12.105Z] ---> Running in db20f9ba4cf6 [2024-02-20T00:49:12.105Z] Removing intermediate container db20f9ba4cf6 [2024-02-20T00:49:12.105Z] ---> 7b8619a962d7 [2024-02-20T00:49:12.105Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-20T00:49:12.362Z] ---> Running in bea620b8afb1 [2024-02-20T00:49:12.362Z] Removing intermediate container bea620b8afb1 [2024-02-20T00:49:12.362Z] ---> 6b5f3b7b7fbb [2024-02-20T00:49:12.362Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-02-20T00:49:12.362Z] ---> Running in f00115efb481 [2024-02-20T00:49:12.362Z] Removing intermediate container f00115efb481 [2024-02-20T00:49:12.362Z] ---> 3d73d8d47c13 [2024-02-20T00:49:12.362Z] Step 6/26 : WORKDIR /device-uart [2024-02-20T00:49:12.362Z] ---> Running in 1a1679c8ed87 [2024-02-20T00:49:12.625Z] Removing intermediate container 1a1679c8ed87 [2024-02-20T00:49:12.625Z] ---> 20255767968b [2024-02-20T00:49:12.625Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-20T00:49:12.625Z] ---> Running in 2177d4c294f0 [2024-02-20T00:49:12.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:12.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:13.452Z] OK: 268 MiB in 56 packages [2024-02-20T00:49:13.710Z] Removing intermediate container 2177d4c294f0 [2024-02-20T00:49:13.710Z] ---> 216617072577 [2024-02-20T00:49:13.710Z] Step 8/26 : COPY go.mod vendor* ./ [2024-02-20T00:49:13.710Z] ---> 3444dfe575d9 [2024-02-20T00:49:13.710Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-20T00:49:13.710Z] ---> Running in 8ef2e2cb9f8e [2024-02-20T00:49:14.276Z] Removing intermediate container 8ef2e2cb9f8e [2024-02-20T00:49:14.276Z] ---> b364870e3f74 [2024-02-20T00:49:14.276Z] Step 10/26 : COPY . . [2024-02-20T00:49:15.214Z] ---> a237bf0d6e81 [2024-02-20T00:49:15.214Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-20T00:49:15.214Z] ---> Running in 5178efbfcacf [2024-02-20T00:49:15.214Z] Removing intermediate container 5178efbfcacf [2024-02-20T00:49:15.214Z] ---> f604963d7e67 [2024-02-20T00:49:15.214Z] Step 12/26 : RUN ${MAKE} [2024-02-20T00:49:15.214Z] ---> Running in 4bdc4fcb7877 [2024-02-20T00:49:15.780Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-02-20T00:49:37.707Z] Removing intermediate container 4bdc4fcb7877 [2024-02-20T00:49:37.707Z] ---> d8b5d48f6431 [2024-02-20T00:49:37.707Z] Step 13/26 : FROM alpine:3.18 [2024-02-20T00:49:37.707Z] 3.18: Pulling from library/alpine [2024-02-20T00:49:37.707Z] 619be1103602: Pulling fs layer [2024-02-20T00:49:37.707Z] 619be1103602: Verifying Checksum [2024-02-20T00:49:37.707Z] 619be1103602: Download complete [2024-02-20T00:49:37.707Z] 619be1103602: Pull complete [2024-02-20T00:49:37.707Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-20T00:49:37.707Z] Status: Downloaded newer image for alpine:3.18 [2024-02-20T00:49:37.707Z] ---> d3782b16ccc9 [2024-02-20T00:49:37.707Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-02-20T00:49:37.707Z] ---> Running in 3f93981a4e2a [2024-02-20T00:49:37.707Z] Removing intermediate container 3f93981a4e2a [2024-02-20T00:49:37.707Z] ---> 00ad311cb295 [2024-02-20T00:49:37.707Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-02-20T00:49:37.707Z] ---> Running in 535d7844e886 [2024-02-20T00:49:37.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:37.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:37.707Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-20T00:49:37.707Z] Executing busybox-1.36.1-r5.trigger [2024-02-20T00:49:37.707Z] OK: 7 MiB in 16 packages [2024-02-20T00:49:37.707Z] Removing intermediate container 535d7844e886 [2024-02-20T00:49:37.707Z] ---> edd10c97840b [2024-02-20T00:49:37.707Z] Step 16/26 : RUN apk --no-cache upgrade [2024-02-20T00:49:37.707Z] ---> Running in 366ff137d7aa [2024-02-20T00:49:37.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:37.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-20T00:49:37.707Z] OK: 7 MiB in 16 packages [2024-02-20T00:49:37.707Z] Removing intermediate container 366ff137d7aa [2024-02-20T00:49:37.707Z] ---> f7bd5857c56c [2024-02-20T00:49:37.707Z] Step 17/26 : WORKDIR / [2024-02-20T00:49:37.966Z] ---> Running in 4180d761aea7 [2024-02-20T00:49:37.966Z] Removing intermediate container 4180d761aea7 [2024-02-20T00:49:37.966Z] ---> 1987e5db9d07 [2024-02-20T00:49:37.966Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-02-20T00:49:37.966Z] ---> 0793f484fa42 [2024-02-20T00:49:37.966Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-02-20T00:49:38.224Z] ---> 8208fa0fb00b [2024-02-20T00:49:38.224Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-02-20T00:49:39.185Z] ---> ba5163c7b811 [2024-02-20T00:49:39.185Z] Step 21/26 : EXPOSE 59995 [2024-02-20T00:49:39.185Z] ---> Running in fc1d0ab89d54 [2024-02-20T00:49:39.185Z] Removing intermediate container fc1d0ab89d54 [2024-02-20T00:49:39.185Z] ---> ae750ed17f99 [2024-02-20T00:49:39.185Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-02-20T00:49:39.185Z] ---> Running in e028ba3e4799 [2024-02-20T00:49:39.185Z] Removing intermediate container e028ba3e4799 [2024-02-20T00:49:39.185Z] ---> a6aba7498ac1 [2024-02-20T00:49:39.185Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-20T00:49:39.185Z] ---> Running in fb10b136c2c9 [2024-02-20T00:49:39.446Z] Removing intermediate container fb10b136c2c9 [2024-02-20T00:49:39.446Z] ---> 70e4c231379e [2024-02-20T00:49:39.446Z] Step 24/26 : LABEL arch=amd64 [2024-02-20T00:49:39.446Z] ---> Running in c27a8974f944 [2024-02-20T00:49:39.446Z] Removing intermediate container c27a8974f944 [2024-02-20T00:49:39.446Z] ---> 6b8865907dcf [2024-02-20T00:49:39.446Z] Step 25/26 : LABEL git_sha=d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:49:39.446Z] ---> Running in 4f300b5b2636 [2024-02-20T00:49:39.446Z] Removing intermediate container 4f300b5b2636 [2024-02-20T00:49:39.446Z] ---> 5f9e60433cea [2024-02-20T00:49:39.446Z] Step 26/26 : LABEL version=3.0.1-dev.19 [2024-02-20T00:49:39.706Z] ---> Running in b27521667ad0 [2024-02-20T00:49:39.706Z] Removing intermediate container b27521667ad0 [2024-02-20T00:49:39.706Z] ---> 3f65f381e4f1 [2024-02-20T00:49:39.706Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-20T00:49:39.706Z] Successfully built 3f65f381e4f1 [2024-02-20T00:49:39.706Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-20T00:49:39.963Z] provisioning config files... [2024-02-20T00:49:39.974Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17119652519805045344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:49:40.308Z] ---> ****-login.sh [2024-02-20T00:49:40.308Z] nexus3.edgexfoundry.org:10001 [2024-02-20T00:49:40.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:49:40.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:49:40.308Z] Configure a credential helper to remove this warning. See [2024-02-20T00:49:40.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:49:40.308Z] [2024-02-20T00:49:40.308Z] Login Succeeded [2024-02-20T00:49:40.308Z] nexus3.edgexfoundry.org:10002 [2024-02-20T00:49:40.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:49:40.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:49:40.568Z] Configure a credential helper to remove this warning. See [2024-02-20T00:49:40.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:49:40.568Z] [2024-02-20T00:49:40.568Z] Login Succeeded [2024-02-20T00:49:40.568Z] nexus3.edgexfoundry.org:10003 [2024-02-20T00:49:40.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:49:40.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:49:40.568Z] Configure a credential helper to remove this warning. See [2024-02-20T00:49:40.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:49:40.568Z] [2024-02-20T00:49:40.568Z] Login Succeeded [2024-02-20T00:49:40.568Z] nexus3.edgexfoundry.org:10004 [2024-02-20T00:49:40.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:49:40.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:49:40.568Z] Configure a credential helper to remove this warning. See [2024-02-20T00:49:40.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:49:40.569Z] [2024-02-20T00:49:40.569Z] Login Succeeded [2024-02-20T00:49:40.829Z] ****.io [2024-02-20T00:49:40.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:49:41.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:49:41.089Z] Configure a credential helper to remove this warning. See [2024-02-20T00:49:41.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:49:41.089Z] [2024-02-20T00:49:41.089Z] Login Succeeded [2024-02-20T00:49:41.089Z] ---> ****-login.sh ends [Pipeline] } [2024-02-20T00:49:41.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-02-20T00:49:41.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:49:41.278Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2024-02-20T00:49:41.278Z] d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:49:41.278Z] latest [2024-02-20T00:49:41.278Z] 3.0.1-dev.19 [2024-02-20T00:49:41.278Z] d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:49:41.278Z] main [2024-02-20T00:49:41.278Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:41.742Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:42.125Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:49:42.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-02-20T00:49:42.125Z] cd5ce80b118c: Preparing [2024-02-20T00:49:42.125Z] 3fd8899a0abb: Preparing [2024-02-20T00:49:42.125Z] 275ad9a39019: Preparing [2024-02-20T00:49:42.125Z] 2d73661527cd: Preparing [2024-02-20T00:49:42.125Z] eba805e7a330: Preparing [2024-02-20T00:49:42.125Z] aedc3bda2944: Preparing [2024-02-20T00:49:42.125Z] aedc3bda2944: Waiting [2024-02-20T00:49:42.125Z] eba805e7a330: Pushed [2024-02-20T00:49:42.125Z] 2d73661527cd: Pushed [2024-02-20T00:49:42.125Z] 275ad9a39019: Pushed [2024-02-20T00:49:42.125Z] 3fd8899a0abb: Pushed [2024-02-20T00:49:42.125Z] aedc3bda2944: Layer already exists [2024-02-20T00:49:45.425Z] cd5ce80b118c: Pushed [2024-02-20T00:49:45.425Z] d91c28011fe1e340ffb33947d534daf2c02bd499: digest: sha256:4fd27284f6a8838c47478f3a78ad442068e3777b4188baca164eaa2dc0b81abf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:45.823Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:46.213Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2024-02-20T00:49:46.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-02-20T00:49:46.213Z] cd5ce80b118c: Preparing [2024-02-20T00:49:46.213Z] 3fd8899a0abb: Preparing [2024-02-20T00:49:46.213Z] 275ad9a39019: Preparing [2024-02-20T00:49:46.213Z] 2d73661527cd: Preparing [2024-02-20T00:49:46.213Z] eba805e7a330: Preparing [2024-02-20T00:49:46.213Z] aedc3bda2944: Preparing [2024-02-20T00:49:46.213Z] 3fd8899a0abb: Layer already exists [2024-02-20T00:49:46.213Z] cd5ce80b118c: Layer already exists [2024-02-20T00:49:46.213Z] 275ad9a39019: Layer already exists [2024-02-20T00:49:46.213Z] 2d73661527cd: Layer already exists [2024-02-20T00:49:46.213Z] eba805e7a330: Layer already exists [2024-02-20T00:49:46.213Z] aedc3bda2944: Layer already exists [2024-02-20T00:49:46.213Z] latest: digest: sha256:4fd27284f6a8838c47478f3a78ad442068e3777b4188baca164eaa2dc0b81abf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:46.616Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:47.029Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.19 [2024-02-20T00:49:47.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-02-20T00:49:47.029Z] cd5ce80b118c: Preparing [2024-02-20T00:49:47.029Z] 3fd8899a0abb: Preparing [2024-02-20T00:49:47.029Z] 275ad9a39019: Preparing [2024-02-20T00:49:47.029Z] 2d73661527cd: Preparing [2024-02-20T00:49:47.029Z] eba805e7a330: Preparing [2024-02-20T00:49:47.029Z] aedc3bda2944: Preparing [2024-02-20T00:49:47.029Z] aedc3bda2944: Waiting [2024-02-20T00:49:47.029Z] 275ad9a39019: Layer already exists [2024-02-20T00:49:47.029Z] cd5ce80b118c: Layer already exists [2024-02-20T00:49:47.029Z] 2d73661527cd: Layer already exists [2024-02-20T00:49:47.029Z] 3fd8899a0abb: Layer already exists [2024-02-20T00:49:47.029Z] eba805e7a330: Layer already exists [2024-02-20T00:49:47.029Z] aedc3bda2944: Layer already exists [2024-02-20T00:49:47.029Z] 3.0.1-dev.19: digest: sha256:4fd27284f6a8838c47478f3a78ad442068e3777b4188baca164eaa2dc0b81abf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:47.434Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:47.832Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:49:47.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-02-20T00:49:47.832Z] cd5ce80b118c: Preparing [2024-02-20T00:49:47.832Z] 3fd8899a0abb: Preparing [2024-02-20T00:49:47.832Z] 275ad9a39019: Preparing [2024-02-20T00:49:47.832Z] 2d73661527cd: Preparing [2024-02-20T00:49:47.832Z] eba805e7a330: Preparing [2024-02-20T00:49:47.832Z] aedc3bda2944: Preparing [2024-02-20T00:49:47.832Z] aedc3bda2944: Waiting [2024-02-20T00:49:47.832Z] 3fd8899a0abb: Layer already exists [2024-02-20T00:49:47.832Z] 2d73661527cd: Layer already exists [2024-02-20T00:49:47.832Z] eba805e7a330: Layer already exists [2024-02-20T00:49:47.832Z] 275ad9a39019: Layer already exists [2024-02-20T00:49:47.832Z] cd5ce80b118c: Layer already exists [2024-02-20T00:49:47.832Z] aedc3bda2944: Layer already exists [2024-02-20T00:49:47.832Z] d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19: digest: sha256:4fd27284f6a8838c47478f3a78ad442068e3777b4188baca164eaa2dc0b81abf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:48.233Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:48.712Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2024-02-20T00:49:48.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-02-20T00:49:48.712Z] cd5ce80b118c: Preparing [2024-02-20T00:49:48.712Z] 3fd8899a0abb: Preparing [2024-02-20T00:49:48.712Z] 275ad9a39019: Preparing [2024-02-20T00:49:48.712Z] 2d73661527cd: Preparing [2024-02-20T00:49:48.712Z] eba805e7a330: Preparing [2024-02-20T00:49:48.712Z] aedc3bda2944: Preparing [2024-02-20T00:49:48.712Z] cd5ce80b118c: Layer already exists [2024-02-20T00:49:48.712Z] 2d73661527cd: Layer already exists [2024-02-20T00:49:48.712Z] 275ad9a39019: Layer already exists [2024-02-20T00:49:48.712Z] eba805e7a330: Layer already exists [2024-02-20T00:49:48.712Z] 3fd8899a0abb: Layer already exists [2024-02-20T00:49:48.712Z] aedc3bda2944: Layer already exists [2024-02-20T00:49:48.712Z] main: digest: sha256:4fd27284f6a8838c47478f3a78ad442068e3777b4188baca164eaa2dc0b81abf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-02-20T00:49:48.934Z] ===================================================== [Pipeline] echo [2024-02-20T00:49:48.977Z] taggedImages: [2024-02-20T00:49:48.977Z] - nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:49:48.977Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2024-02-20T00:49:48.977Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.19 [2024-02-20T00:49:48.977Z] - nexus3.edgexfoundry.org:10004/device-uart:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:49:48.977Z] - 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 [2024-02-20T00:49:49.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-20T00:49:49.644Z] [2024-02-20T00:49:49.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:49:49.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-20T00:49:49.983Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-20T00:49:49.983Z] 5eb5b503b376: Pulling fs layer [2024-02-20T00:49:49.983Z] 5c69ac0246d0: Pulling fs layer [2024-02-20T00:49:49.983Z] ec43610c2a17: Pulling fs layer [2024-02-20T00:49:49.983Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-20T00:49:49.983Z] 33b1e0a273af: Pulling fs layer [2024-02-20T00:49:49.983Z] 5d3b04190fa2: Pulling fs layer [2024-02-20T00:49:49.983Z] 2f39f015ded8: Pulling fs layer [2024-02-20T00:49:49.983Z] 33b1e0a273af: Waiting [2024-02-20T00:49:49.983Z] 5d3b04190fa2: Waiting [2024-02-20T00:49:49.983Z] 2f39f015ded8: Waiting [2024-02-20T00:49:49.983Z] 3a2ae6a8a46f: Waiting [2024-02-20T00:49:49.983Z] 5c69ac0246d0: Verifying Checksum [2024-02-20T00:49:49.983Z] 5c69ac0246d0: Download complete [2024-02-20T00:49:49.983Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-20T00:49:49.983Z] 3a2ae6a8a46f: Download complete [2024-02-20T00:49:49.983Z] 33b1e0a273af: Verifying Checksum [2024-02-20T00:49:49.983Z] 33b1e0a273af: Download complete [2024-02-20T00:49:49.983Z] 5d3b04190fa2: Verifying Checksum [2024-02-20T00:49:49.983Z] 5d3b04190fa2: Download complete [2024-02-20T00:49:49.983Z] ec43610c2a17: Verifying Checksum [2024-02-20T00:49:50.241Z] 5eb5b503b376: Verifying Checksum [2024-02-20T00:49:50.241Z] 5eb5b503b376: Download complete [2024-02-20T00:49:50.809Z] 2f39f015ded8: Download complete [2024-02-20T00:49:51.375Z] 5eb5b503b376: Pull complete [2024-02-20T00:49:51.635Z] 5c69ac0246d0: Pull complete [2024-02-20T00:49:52.202Z] ec43610c2a17: Pull complete [2024-02-20T00:49:52.202Z] 3a2ae6a8a46f: Pull complete [2024-02-20T00:49:52.460Z] 33b1e0a273af: Pull complete [2024-02-20T00:49:52.460Z] 5d3b04190fa2: Pull complete [2024-02-20T00:49:56.644Z] 2f39f015ded8: Pull complete [2024-02-20T00:49:56.904Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-20T00:49:56.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-20T00:49:56.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:49:57.116Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T00:49:57.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-20T00:50:00.687Z] $ docker top d9637d15c4e177e109d974c6ea5a159490a4c73b2e75ecbd06e9ed1dde1860c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:50:01.113Z] ---> job-cost.sh [2024-02-20T00:50:01.113Z] lf-activate-venv: SKIPPING [2024-02-20T00:50:01.113Z] INFO: No Stack... [2024-02-20T00:50:01.682Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-20T00:50:01.942Z] INFO: Archiving Costs [Pipeline] sh [2024-02-20T00:50:02.235Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2024-02-20T00:50:02.235Z] + cut -d, -f6 [Pipeline] lock [2024-02-20T00:50:02.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [2024-02-20T00:50:02.259Z] Resource [jenkins-edgexfoundry-device-uart-main-26-stack-cost] did not exist. Created. [2024-02-20T00:50:02.265Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-20T00:50:02.630Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-20T00:50:02.699Z] Stashed 1 file(s) [Pipeline] } [2024-02-20T00:50:02.706Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-20T00:50:02.784Z] $ docker stop --time=1 d9637d15c4e177e109d974c6ea5a159490a4c73b2e75ecbd06e9ed1dde1860c4 [2024-02-20T00:50:03.931Z] $ docker rm -f --volumes d9637d15c4e177e109d974c6ea5a159490a4c73b2e75ecbd06e9ed1dde1860c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-20T00:51:14.467Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1291 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2024-02-20T00:51:14.514Z] Running in /w/workspace/device-uart/26 [Pipeline] { [Pipeline] checkout [2024-02-20T00:51:17.607Z] The recommended git tool is: git [2024-02-20T00:51:23.558Z] using credential edgex-jenkins-ssh [2024-02-20T00:51:23.579Z] Cloning the remote Git repository [2024-02-20T00:51:23.626Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-02-20T00:51:23.733Z] > git init /w/workspace/device-uart/26 # timeout=10 [2024-02-20T00:51:23.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-02-20T00:51:23.906Z] > git --version # timeout=10 [2024-02-20T00:51:23.930Z] > git --version # 'git version 2.25.1' [2024-02-20T00:51:23.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-20T00:51:24.108Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-20T00:51:27.852Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-02-20T00:51:29.019Z] Avoid second fetch [2024-02-20T00:51:29.020Z] Checking out Revision d91c28011fe1e340ffb33947d534daf2c02bd499 (main) [2024-02-20T00:51:27.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-20T00:51:29.038Z] > git config core.sparsecheckout # timeout=10 [2024-02-20T00:51:29.120Z] > git checkout -f d91c28011fe1e340ffb33947d534daf2c02bd499 # timeout=10 [2024-02-20T00:51:29.784Z] Commit message: "Merge pull request #44 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-20T00:51:30.858Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-20T00:51:30.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-20T00:51:30.858Z] Dload Upload Total Spent Left Speed [2024-02-20T00:51:30.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2024-02-20T00:51:31.210Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-20T00:51:31.546Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-20T00:51:31.546Z] + sudo tee /etc/docker/daemon.new [2024-02-20T00:51:31.546Z] { [2024-02-20T00:51:31.546Z] "registry-mirrors": [ [2024-02-20T00:51:31.546Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-20T00:51:31.546Z] ], [2024-02-20T00:51:31.546Z] "bip": "10.250.0.254/24", [2024-02-20T00:51:31.546Z] "hosts": [ [2024-02-20T00:51:31.546Z] "tcp://0.0.0.0:5555", [2024-02-20T00:51:31.546Z] "unix:///var/run/docker.sock" [2024-02-20T00:51:31.546Z] ], [2024-02-20T00:51:31.546Z] "mtu": 1458, [2024-02-20T00:51:31.546Z] "selinux-enabled": true, [2024-02-20T00:51:31.546Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-20T00:51:31.546Z] } [Pipeline] sh [2024-02-20T00:51:31.894Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-20T00:51:32.250Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-20T00:51:50.595Z] provisioning config files... [2024-02-20T00:51:50.634Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/26@tmp/config14313487602560583791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:51:51.137Z] ---> ****-login.sh [2024-02-20T00:51:51.137Z] nexus3.edgexfoundry.org:10001 [2024-02-20T00:51:51.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:51:52.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:51:52.004Z] Configure a credential helper to remove this warning. See [2024-02-20T00:51:52.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:51:52.004Z] [2024-02-20T00:51:52.004Z] Login Succeeded [2024-02-20T00:51:52.004Z] nexus3.edgexfoundry.org:10002 [2024-02-20T00:51:52.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:51:52.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:51:52.281Z] Configure a credential helper to remove this warning. See [2024-02-20T00:51:52.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:51:52.281Z] [2024-02-20T00:51:52.281Z] Login Succeeded [2024-02-20T00:51:52.281Z] nexus3.edgexfoundry.org:10003 [2024-02-20T00:51:52.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:51:52.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:51:52.552Z] Configure a credential helper to remove this warning. See [2024-02-20T00:51:52.552Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:51:52.552Z] [2024-02-20T00:51:52.552Z] Login Succeeded [2024-02-20T00:51:52.825Z] nexus3.edgexfoundry.org:10004 [2024-02-20T00:51:52.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:51:53.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:51:53.098Z] Configure a credential helper to remove this warning. See [2024-02-20T00:51:53.098Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:51:53.098Z] [2024-02-20T00:51:53.098Z] Login Succeeded [2024-02-20T00:51:53.098Z] ****.io [2024-02-20T00:51:53.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:51:53.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:51:53.643Z] Configure a credential helper to remove this warning. See [2024-02-20T00:51:53.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:51:53.643Z] [2024-02-20T00:51:53.643Z] Login Succeeded [2024-02-20T00:51:53.643Z] ---> ****-login.sh ends [Pipeline] } [2024-02-20T00:51:53.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-20T00:51:54.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:51:54.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:51:54.232Z] ========================================================= [2024-02-20T00:51:54.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-20T00:51:54.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:51:54.720Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-20T00:51:54.987Z] Sending build context to Docker daemon 11.58MB [2024-02-20T00:51:54.987Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-20T00:51:54.987Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-20T00:51:55.255Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-20T00:51:55.255Z] 9fda8d8052c6: Pulling fs layer [2024-02-20T00:51:55.255Z] 5d54e960e981: Pulling fs layer [2024-02-20T00:51:55.255Z] c4a7e357bf2a: Pulling fs layer [2024-02-20T00:51:55.255Z] f0e02332f6b5: Pulling fs layer [2024-02-20T00:51:55.255Z] 872ee5b61b7b: Pulling fs layer [2024-02-20T00:51:55.255Z] 0c6a40ed1a82: Pulling fs layer [2024-02-20T00:51:55.255Z] 94ae7d8d031c: Pulling fs layer [2024-02-20T00:51:55.255Z] f0e02332f6b5: Waiting [2024-02-20T00:51:55.255Z] 872ee5b61b7b: Waiting [2024-02-20T00:51:55.255Z] 0c6a40ed1a82: Waiting [2024-02-20T00:51:55.255Z] 5d54e960e981: Verifying Checksum [2024-02-20T00:51:55.255Z] 5d54e960e981: Download complete [2024-02-20T00:51:55.255Z] f0e02332f6b5: Verifying Checksum [2024-02-20T00:51:55.255Z] f0e02332f6b5: Download complete [2024-02-20T00:51:55.523Z] 872ee5b61b7b: Verifying Checksum [2024-02-20T00:51:55.524Z] 872ee5b61b7b: Download complete [2024-02-20T00:51:55.524Z] 9fda8d8052c6: Download complete [2024-02-20T00:51:55.797Z] 94ae7d8d031c: Verifying Checksum [2024-02-20T00:51:55.797Z] 94ae7d8d031c: Download complete [2024-02-20T00:51:56.404Z] 9fda8d8052c6: Pull complete [2024-02-20T00:51:56.991Z] 5d54e960e981: Pull complete [2024-02-20T00:51:57.259Z] c4a7e357bf2a: Verifying Checksum [2024-02-20T00:51:57.259Z] c4a7e357bf2a: Download complete [2024-02-20T00:51:58.223Z] 0c6a40ed1a82: Verifying Checksum [2024-02-20T00:51:58.224Z] 0c6a40ed1a82: Download complete [2024-02-20T00:52:10.561Z] c4a7e357bf2a: Pull complete [2024-02-20T00:52:10.561Z] f0e02332f6b5: Pull complete [2024-02-20T00:52:10.561Z] 872ee5b61b7b: Pull complete [2024-02-20T00:52:18.814Z] 0c6a40ed1a82: Pull complete [2024-02-20T00:52:19.411Z] 94ae7d8d031c: Pull complete [2024-02-20T00:52:19.681Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-20T00:52:19.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-20T00:52:19.681Z] ---> 86de565de09d [2024-02-20T00:52:19.681Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-20T00:52:21.643Z] ---> Running in 2d8b9c50007b [2024-02-20T00:52:21.913Z] Removing intermediate container 2d8b9c50007b [2024-02-20T00:52:21.913Z] ---> 6f1890972396 [2024-02-20T00:52:21.913Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-20T00:52:22.182Z] ---> Running in bfddf942f812 [2024-02-20T00:52:22.451Z] Removing intermediate container bfddf942f812 [2024-02-20T00:52:22.451Z] ---> 05ae45d582d3 [2024-02-20T00:52:22.451Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-02-20T00:52:22.451Z] ---> Running in 3b24c75d7078 [2024-02-20T00:52:23.035Z] Removing intermediate container 3b24c75d7078 [2024-02-20T00:52:23.035Z] ---> 511db665d7e5 [2024-02-20T00:52:23.035Z] Step 6/12 : WORKDIR /device-uart [2024-02-20T00:52:23.035Z] ---> Running in 1a210a34182c [2024-02-20T00:52:23.307Z] Removing intermediate container 1a210a34182c [2024-02-20T00:52:23.307Z] ---> 9f46a88f342a [2024-02-20T00:52:23.307Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-20T00:52:23.577Z] ---> Running in ae64f2b0f735 [2024-02-20T00:52:24.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-20T00:52:25.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-20T00:52:26.233Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-20T00:52:26.233Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-20T00:52:26.233Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-20T00:52:26.233Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-20T00:52:26.504Z] Executing busybox-1.36.1-r5.trigger [2024-02-20T00:52:26.504Z] OK: 271 MiB in 56 packages [2024-02-20T00:52:27.930Z] Removing intermediate container ae64f2b0f735 [2024-02-20T00:52:27.930Z] ---> 710d897dd8dc [2024-02-20T00:52:27.930Z] Step 8/12 : COPY go.mod vendor* ./ [2024-02-20T00:52:28.199Z] ---> 32602fa9e027 [2024-02-20T00:52:28.199Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-20T00:52:28.475Z] ---> Running in b48b21e8a2b1 [2024-02-20T00:53:36.385Z] Removing intermediate container b48b21e8a2b1 [2024-02-20T00:53:36.385Z] ---> 3dd186d748ee [2024-02-20T00:53:36.385Z] Step 10/12 : COPY . . [2024-02-20T00:53:36.385Z] ---> f8f590788dee [2024-02-20T00:53:36.385Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-20T00:53:36.385Z] ---> Running in bd1610ec52c7 [2024-02-20T00:53:36.385Z] Removing intermediate container bd1610ec52c7 [2024-02-20T00:53:36.385Z] ---> ff0a5224a041 [2024-02-20T00:53:36.385Z] Step 12/12 : RUN ${MAKE} [2024-02-20T00:53:36.385Z] ---> Running in 2e22b256ee6e [2024-02-20T00:53:36.385Z] noop [2024-02-20T00:53:36.385Z] Removing intermediate container 2e22b256ee6e [2024-02-20T00:53:36.385Z] ---> 6229dfd28d03 [2024-02-20T00:53:36.385Z] Successfully built 6229dfd28d03 [2024-02-20T00:53:36.385Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:53:36.866Z] + docker inspect -f . ci-base-image-arm64 [2024-02-20T00:53:36.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:53:37.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2024-02-20T00:53:37.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/26 -v /w/workspace/device-uart/26:/w/workspace/device-uart/26:rw,z -v /w/workspace/device-uart/26@tmp:/w/workspace/device-uart/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-20T00:53:40.006Z] $ docker top 3e6d93b198c94df2adc48d0d3be0292007b45bc67794b2ed0e43417b0cd690f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-20T00:53:40.978Z] + go version [2024-02-20T00:53:40.978Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-20T00:53:41.004Z] $ docker stop --time=1 3e6d93b198c94df2adc48d0d3be0292007b45bc67794b2ed0e43417b0cd690f9 [2024-02-20T00:53:42.644Z] $ docker rm -f --volumes 3e6d93b198c94df2adc48d0d3be0292007b45bc67794b2ed0e43417b0cd690f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:53:43.575Z] + docker inspect -f . ci-base-image-arm64 [2024-02-20T00:53:43.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:53:43.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2024-02-20T00:53:43.933Z] $ 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/26 -v /w/workspace/device-uart/26:/w/workspace/device-uart/26:rw,z -v /w/workspace/device-uart/26@tmp:/w/workspace/device-uart/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-20T00:53:45.278Z] $ docker top 96a7e4808b06994671d7e07693e0c0d7053587e92ea805016f2a775e156eb26f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-20T00:53:46.326Z] + git config --global --add safe.directory /w/workspace/device-uart/26 [Pipeline] fileExists [Pipeline] sh [2024-02-20T00:53:47.033Z] + make test [2024-02-20T00:53:47.033Z] go test ./... -coverprofile=coverage.out [2024-02-20T00:53:51.299Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-02-20T00:55:43.023Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-02-20T00:55:43.023Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-02-20T00:55:43.023Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-20T00:55:43.023Z] go vet ./... [2024-02-20T00:56:21.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-20T00:56:21.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-20T00:56:21.937Z] ./bin/test-attribution-txt.sh [2024-02-20T00:56:21.937Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-20T00:56:21.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-20T00:56:22.013Z] $ docker stop --time=1 96a7e4808b06994671d7e07693e0c0d7053587e92ea805016f2a775e156eb26f [2024-02-20T00:56:24.156Z] $ docker rm -f --volumes 96a7e4808b06994671d7e07693e0c0d7053587e92ea805016f2a775e156eb26f [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-20T00:56:25.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-20T00:56:25.494Z] Warning: overwriting stash ‘coverage-report’ [2024-02-20T00:56:25.988Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-20T00:56:26.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-20T00:56:27.008Z] + ls -al . [2024-02-20T00:56:27.008Z] total 152 [2024-02-20T00:56:27.008Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 20 00:53 . [2024-02-20T00:56:27.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 00:51 .. [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 00:51 .dockerignore [2024-02-20T00:56:27.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:51 .git [2024-02-20T00:56:27.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:51 .github [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 20 00:51 .gitignore [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 00:51 .golangci.yml [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 9941 Feb 20 00:51 Attribution.txt [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 1908 Feb 20 00:51 CHANGELOG.md [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 1886 Feb 20 00:51 Dockerfile [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 00:51 GOVERNANCE.md [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 675 Feb 20 00:51 Jenkinsfile [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 00:51 LICENSE [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 1872 Feb 20 00:51 Makefile [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 20 00:51 OWNERS.md [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 8892 Feb 20 00:51 README.md [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 00:47 VERSION [2024-02-20T00:56:27.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:51 bin [2024-02-20T00:56:27.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:51 cmd [2024-02-20T00:56:27.008Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 20 00:53 coverage.out [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 3765 Feb 20 00:51 go.mod [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 34553 Feb 20 00:51 go.sum [2024-02-20T00:56:27.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:51 internal [2024-02-20T00:56:27.008Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 20 00:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:56:27.438Z] + 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=d91c28011fe1e340ffb33947d534daf2c02bd499 --label arch=arm64 --label version=3.0.1-dev.19 . [2024-02-20T00:56:28.028Z] Sending build context to Docker daemon 11.58MB [2024-02-20T00:56:28.028Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-20T00:56:28.028Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-20T00:56:28.028Z] ---> 6229dfd28d03 [2024-02-20T00:56:28.028Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-20T00:56:28.028Z] ---> Running in 556cf3849358 [2024-02-20T00:56:28.618Z] Removing intermediate container 556cf3849358 [2024-02-20T00:56:28.618Z] ---> 5b5d7aaa59b4 [2024-02-20T00:56:28.618Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-20T00:56:28.618Z] ---> Running in 9b8c0c39c298 [2024-02-20T00:56:28.887Z] Removing intermediate container 9b8c0c39c298 [2024-02-20T00:56:28.887Z] ---> b822a2d72ac0 [2024-02-20T00:56:28.887Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-02-20T00:56:29.155Z] ---> Running in 24933d4f6232 [2024-02-20T00:56:29.430Z] Removing intermediate container 24933d4f6232 [2024-02-20T00:56:29.430Z] ---> f078d1b70474 [2024-02-20T00:56:29.430Z] Step 6/26 : WORKDIR /device-uart [2024-02-20T00:56:29.430Z] ---> Running in 953519e3f2dc [2024-02-20T00:56:30.018Z] Removing intermediate container 953519e3f2dc [2024-02-20T00:56:30.018Z] ---> 21cdf1bb44e4 [2024-02-20T00:56:30.018Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-20T00:56:30.018Z] ---> Running in ae9fb7023f96 [2024-02-20T00:56:32.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-20T00:56:32.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-20T00:56:34.310Z] OK: 271 MiB in 56 packages [2024-02-20T00:56:38.372Z] Removing intermediate container ae9fb7023f96 [2024-02-20T00:56:38.372Z] ---> 95b91cc98de7 [2024-02-20T00:56:38.372Z] Step 8/26 : COPY go.mod vendor* ./ [2024-02-20T00:56:38.961Z] ---> 09348eca28b9 [2024-02-20T00:56:38.961Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-20T00:56:39.230Z] ---> Running in f1f53a4185fe [2024-02-20T00:56:42.570Z] Removing intermediate container f1f53a4185fe [2024-02-20T00:56:42.570Z] ---> fa55ab53311b [2024-02-20T00:56:42.570Z] Step 10/26 : COPY . . [2024-02-20T00:56:45.148Z] ---> 6752195df1eb [2024-02-20T00:56:45.148Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-20T00:56:45.148Z] ---> Running in cc8fc613b063 [2024-02-20T00:56:46.552Z] Removing intermediate container cc8fc613b063 [2024-02-20T00:56:46.552Z] ---> 8194d1048dab [2024-02-20T00:56:46.552Z] Step 12/26 : RUN ${MAKE} [2024-02-20T00:56:46.827Z] ---> Running in 8548279d989e [2024-02-20T00:56:48.259Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-02-20T00:58:56.766Z] Removing intermediate container 8548279d989e [2024-02-20T00:58:56.767Z] ---> d2784f40675e [2024-02-20T00:58:56.767Z] Step 13/26 : FROM alpine:3.18 [2024-02-20T00:58:56.767Z] 3.18: Pulling from library/alpine [2024-02-20T00:58:56.767Z] c6b39de5b339: Pulling fs layer [2024-02-20T00:58:56.767Z] c6b39de5b339: Verifying Checksum [2024-02-20T00:58:56.767Z] c6b39de5b339: Download complete [2024-02-20T00:58:56.767Z] c6b39de5b339: Pull complete [2024-02-20T00:58:56.767Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-20T00:58:56.767Z] Status: Downloaded newer image for alpine:3.18 [2024-02-20T00:58:56.767Z] ---> 33abbf032149 [2024-02-20T00:58:56.767Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-02-20T00:58:56.767Z] ---> Running in 5a9b7d822a6f [2024-02-20T00:58:56.767Z] Removing intermediate container 5a9b7d822a6f [2024-02-20T00:58:56.767Z] ---> 6c9b57bd0664 [2024-02-20T00:58:56.767Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-02-20T00:58:56.767Z] ---> Running in e72d84090e1e [2024-02-20T00:58:56.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-20T00:58:56.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-20T00:58:56.767Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-20T00:58:56.767Z] Executing busybox-1.36.1-r5.trigger [2024-02-20T00:58:56.767Z] OK: 8 MiB in 16 packages [2024-02-20T00:58:57.350Z] Removing intermediate container e72d84090e1e [2024-02-20T00:58:57.350Z] ---> f1c496fc6e7e [2024-02-20T00:58:57.350Z] Step 16/26 : RUN apk --no-cache upgrade [2024-02-20T00:58:57.619Z] ---> Running in 0a96c542d26a [2024-02-20T00:58:58.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-20T00:58:58.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-20T00:58:59.828Z] OK: 8 MiB in 16 packages [2024-02-20T00:59:00.791Z] Removing intermediate container 0a96c542d26a [2024-02-20T00:59:00.791Z] ---> be056ff70d4b [2024-02-20T00:59:00.791Z] Step 17/26 : WORKDIR / [2024-02-20T00:59:00.791Z] ---> Running in 1e3f1469152c [2024-02-20T00:59:01.059Z] Removing intermediate container 1e3f1469152c [2024-02-20T00:59:01.059Z] ---> 8eda79f6148f [2024-02-20T00:59:01.059Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-02-20T00:59:01.641Z] ---> 90721bf80a29 [2024-02-20T00:59:01.641Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-02-20T00:59:05.911Z] ---> 989904eafda8 [2024-02-20T00:59:05.911Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-02-20T00:59:07.330Z] ---> 2e0c4f4b9071 [2024-02-20T00:59:07.330Z] Step 21/26 : EXPOSE 59995 [2024-02-20T00:59:07.330Z] ---> Running in 336c55e3b513 [2024-02-20T00:59:07.330Z] Removing intermediate container 336c55e3b513 [2024-02-20T00:59:07.330Z] ---> ece3ec7c7dc7 [2024-02-20T00:59:07.330Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-02-20T00:59:07.603Z] ---> Running in 97ea4c873d5d [2024-02-20T00:59:07.872Z] Removing intermediate container 97ea4c873d5d [2024-02-20T00:59:07.872Z] ---> 5f54c7aafc88 [2024-02-20T00:59:07.872Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-20T00:59:07.872Z] ---> Running in 06e191cd1d66 [2024-02-20T00:59:08.147Z] Removing intermediate container 06e191cd1d66 [2024-02-20T00:59:08.147Z] ---> 714666489e20 [2024-02-20T00:59:08.147Z] Step 24/26 : LABEL arch=arm64 [2024-02-20T00:59:08.416Z] ---> Running in 34841065716f [2024-02-20T00:59:08.684Z] Removing intermediate container 34841065716f [2024-02-20T00:59:08.684Z] ---> 254754c42a33 [2024-02-20T00:59:08.684Z] Step 25/26 : LABEL git_sha=d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:59:08.684Z] ---> Running in 459ae3a860c7 [2024-02-20T00:59:08.956Z] Removing intermediate container 459ae3a860c7 [2024-02-20T00:59:08.956Z] ---> af04150f24f9 [2024-02-20T00:59:08.956Z] Step 26/26 : LABEL version=3.0.1-dev.19 [2024-02-20T00:59:09.228Z] ---> Running in 3e478ec77074 [2024-02-20T00:59:09.497Z] Removing intermediate container 3e478ec77074 [2024-02-20T00:59:09.497Z] ---> b5cf74d387a5 [2024-02-20T00:59:09.497Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-20T00:59:09.497Z] Successfully built b5cf74d387a5 [2024-02-20T00:59:09.497Z] 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 [2024-02-20T00:59:09.948Z] provisioning config files... [2024-02-20T00:59:09.964Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/26@tmp/config11010556170695792286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:59:10.359Z] ---> ****-login.sh [2024-02-20T00:59:10.359Z] nexus3.edgexfoundry.org:10001 [2024-02-20T00:59:10.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:59:10.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:59:10.626Z] Configure a credential helper to remove this warning. See [2024-02-20T00:59:10.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:59:10.626Z] [2024-02-20T00:59:10.626Z] Login Succeeded [2024-02-20T00:59:10.626Z] nexus3.edgexfoundry.org:10002 [2024-02-20T00:59:10.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:59:11.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:59:11.160Z] Configure a credential helper to remove this warning. See [2024-02-20T00:59:11.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:59:11.160Z] [2024-02-20T00:59:11.160Z] Login Succeeded [2024-02-20T00:59:11.160Z] nexus3.edgexfoundry.org:10003 [2024-02-20T00:59:11.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:59:11.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:59:11.430Z] Configure a credential helper to remove this warning. See [2024-02-20T00:59:11.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:59:11.430Z] [2024-02-20T00:59:11.430Z] Login Succeeded [2024-02-20T00:59:11.430Z] nexus3.edgexfoundry.org:10004 [2024-02-20T00:59:11.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:59:11.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:59:11.965Z] Configure a credential helper to remove this warning. See [2024-02-20T00:59:11.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:59:11.965Z] [2024-02-20T00:59:11.965Z] Login Succeeded [2024-02-20T00:59:11.965Z] ****.io [2024-02-20T00:59:12.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-20T00:59:12.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-20T00:59:12.499Z] Configure a credential helper to remove this warning. See [2024-02-20T00:59:12.499Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-20T00:59:12.499Z] [2024-02-20T00:59:12.499Z] Login Succeeded [2024-02-20T00:59:12.499Z] ---> ****-login.sh ends [Pipeline] } [2024-02-20T00:59:12.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-02-20T00:59:12.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-20T00:59:12.767Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2024-02-20T00:59:12.767Z] d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:59:12.767Z] latest [2024-02-20T00:59:12.767Z] 3.0.1-dev.19 [2024-02-20T00:59:12.767Z] d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:59:12.767Z] main [2024-02-20T00:59:12.767Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:13.324Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:13.800Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:59:13.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-02-20T00:59:13.800Z] 52cde8859700: Preparing [2024-02-20T00:59:13.800Z] d6aee5749d0b: Preparing [2024-02-20T00:59:13.800Z] e1e78dfcdcbd: Preparing [2024-02-20T00:59:13.800Z] 520b7eedbd86: Preparing [2024-02-20T00:59:13.800Z] 3399ed8198c7: Preparing [2024-02-20T00:59:13.800Z] 7c504f21be85: Preparing [2024-02-20T00:59:13.800Z] 7c504f21be85: Waiting [2024-02-20T00:59:14.066Z] 520b7eedbd86: Pushed [2024-02-20T00:59:14.066Z] e1e78dfcdcbd: Pushed [2024-02-20T00:59:14.066Z] d6aee5749d0b: Pushed [2024-02-20T00:59:14.066Z] 3399ed8198c7: Pushed [2024-02-20T00:59:14.066Z] 7c504f21be85: Layer already exists [2024-02-20T00:59:20.710Z] 52cde8859700: Pushed [2024-02-20T00:59:20.710Z] d91c28011fe1e340ffb33947d534daf2c02bd499: digest: sha256:10cfdba458715b2b9b9e1f337b9a682ce44abf48a843eba378ef0fa8282295a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:21.189Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:21.656Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-02-20T00:59:21.656Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-02-20T00:59:21.656Z] 52cde8859700: Preparing [2024-02-20T00:59:21.656Z] d6aee5749d0b: Preparing [2024-02-20T00:59:21.656Z] e1e78dfcdcbd: Preparing [2024-02-20T00:59:21.656Z] 520b7eedbd86: Preparing [2024-02-20T00:59:21.656Z] 3399ed8198c7: Preparing [2024-02-20T00:59:21.656Z] 7c504f21be85: Preparing [2024-02-20T00:59:21.656Z] 7c504f21be85: Waiting [2024-02-20T00:59:21.656Z] 3399ed8198c7: Layer already exists [2024-02-20T00:59:21.656Z] d6aee5749d0b: Layer already exists [2024-02-20T00:59:21.656Z] 520b7eedbd86: Layer already exists [2024-02-20T00:59:21.656Z] e1e78dfcdcbd: Layer already exists [2024-02-20T00:59:21.656Z] 52cde8859700: Layer already exists [2024-02-20T00:59:21.656Z] 7c504f21be85: Layer already exists [2024-02-20T00:59:21.922Z] latest: digest: sha256:10cfdba458715b2b9b9e1f337b9a682ce44abf48a843eba378ef0fa8282295a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:22.476Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:22.972Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.19 [2024-02-20T00:59:22.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-02-20T00:59:22.972Z] 52cde8859700: Preparing [2024-02-20T00:59:22.972Z] d6aee5749d0b: Preparing [2024-02-20T00:59:22.972Z] e1e78dfcdcbd: Preparing [2024-02-20T00:59:22.972Z] 520b7eedbd86: Preparing [2024-02-20T00:59:22.972Z] 3399ed8198c7: Preparing [2024-02-20T00:59:22.972Z] 7c504f21be85: Preparing [2024-02-20T00:59:22.972Z] 7c504f21be85: Waiting [2024-02-20T00:59:22.972Z] d6aee5749d0b: Layer already exists [2024-02-20T00:59:22.972Z] 520b7eedbd86: Layer already exists [2024-02-20T00:59:22.972Z] 3399ed8198c7: Layer already exists [2024-02-20T00:59:22.972Z] e1e78dfcdcbd: Layer already exists [2024-02-20T00:59:22.972Z] 52cde8859700: Layer already exists [2024-02-20T00:59:22.972Z] 7c504f21be85: Layer already exists [2024-02-20T00:59:23.255Z] 3.0.1-dev.19: digest: sha256:10cfdba458715b2b9b9e1f337b9a682ce44abf48a843eba378ef0fa8282295a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:23.739Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:24.251Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:59:24.251Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-02-20T00:59:24.251Z] 52cde8859700: Preparing [2024-02-20T00:59:24.251Z] d6aee5749d0b: Preparing [2024-02-20T00:59:24.251Z] e1e78dfcdcbd: Preparing [2024-02-20T00:59:24.252Z] 520b7eedbd86: Preparing [2024-02-20T00:59:24.252Z] 3399ed8198c7: Preparing [2024-02-20T00:59:24.252Z] 7c504f21be85: Preparing [2024-02-20T00:59:24.252Z] 7c504f21be85: Waiting [2024-02-20T00:59:24.252Z] 3399ed8198c7: Layer already exists [2024-02-20T00:59:24.252Z] 520b7eedbd86: Layer already exists [2024-02-20T00:59:24.252Z] d6aee5749d0b: Layer already exists [2024-02-20T00:59:24.252Z] 52cde8859700: Layer already exists [2024-02-20T00:59:24.252Z] e1e78dfcdcbd: Layer already exists [2024-02-20T00:59:24.252Z] 7c504f21be85: Layer already exists [2024-02-20T00:59:24.519Z] d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19: digest: sha256:10cfdba458715b2b9b9e1f337b9a682ce44abf48a843eba378ef0fa8282295a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:25.037Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:25.517Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2024-02-20T00:59:25.517Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-02-20T00:59:25.517Z] 52cde8859700: Preparing [2024-02-20T00:59:25.517Z] d6aee5749d0b: Preparing [2024-02-20T00:59:25.517Z] e1e78dfcdcbd: Preparing [2024-02-20T00:59:25.517Z] 520b7eedbd86: Preparing [2024-02-20T00:59:25.517Z] 3399ed8198c7: Preparing [2024-02-20T00:59:25.517Z] 7c504f21be85: Preparing [2024-02-20T00:59:25.517Z] 7c504f21be85: Waiting [2024-02-20T00:59:25.517Z] 520b7eedbd86: Layer already exists [2024-02-20T00:59:25.517Z] e1e78dfcdcbd: Layer already exists [2024-02-20T00:59:25.517Z] 52cde8859700: Layer already exists [2024-02-20T00:59:25.517Z] d6aee5749d0b: Layer already exists [2024-02-20T00:59:25.517Z] 3399ed8198c7: Layer already exists [2024-02-20T00:59:25.517Z] 7c504f21be85: Layer already exists [2024-02-20T00:59:25.787Z] main: digest: sha256:10cfdba458715b2b9b9e1f337b9a682ce44abf48a843eba378ef0fa8282295a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-02-20T00:59:26.141Z] ===================================================== [Pipeline] echo [2024-02-20T00:59:26.197Z] taggedImages: [2024-02-20T00:59:26.197Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499 [2024-02-20T00:59:26.197Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-02-20T00:59:26.197Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.19 [2024-02-20T00:59:26.197Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:d91c28011fe1e340ffb33947d534daf2c02bd499-3.0.1-dev.19 [2024-02-20T00:59:26.197Z] - 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 [2024-02-20T00:59:26.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-20T00:59:26.835Z] [2024-02-20T00:59:26.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T00:59:27.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-20T00:59:27.487Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-20T00:59:27.487Z] 8998bd30e6a1: Pulling fs layer [2024-02-20T00:59:27.487Z] 04944245beec: Pulling fs layer [2024-02-20T00:59:27.487Z] 699f458cf7ca: Pulling fs layer [2024-02-20T00:59:27.487Z] 765212b225bb: Pulling fs layer [2024-02-20T00:59:27.487Z] f23df028b6ca: Pulling fs layer [2024-02-20T00:59:27.487Z] d65c8cfc05b1: Pulling fs layer [2024-02-20T00:59:27.487Z] 2437ff75d9bd: Pulling fs layer [2024-02-20T00:59:27.487Z] d65c8cfc05b1: Waiting [2024-02-20T00:59:27.487Z] 765212b225bb: Waiting [2024-02-20T00:59:27.487Z] 2437ff75d9bd: Waiting [2024-02-20T00:59:27.487Z] f23df028b6ca: Waiting [2024-02-20T00:59:27.487Z] 04944245beec: Verifying Checksum [2024-02-20T00:59:27.487Z] 04944245beec: Download complete [2024-02-20T00:59:27.487Z] 765212b225bb: Verifying Checksum [2024-02-20T00:59:27.487Z] 765212b225bb: Download complete [2024-02-20T00:59:27.487Z] f23df028b6ca: Download complete [2024-02-20T00:59:27.487Z] d65c8cfc05b1: Verifying Checksum [2024-02-20T00:59:27.487Z] d65c8cfc05b1: Download complete [2024-02-20T00:59:27.757Z] 699f458cf7ca: Verifying Checksum [2024-02-20T00:59:27.757Z] 699f458cf7ca: Download complete [2024-02-20T00:59:28.024Z] 8998bd30e6a1: Verifying Checksum [2024-02-20T00:59:28.024Z] 8998bd30e6a1: Download complete [2024-02-20T00:59:30.611Z] 2437ff75d9bd: Verifying Checksum [2024-02-20T00:59:30.612Z] 2437ff75d9bd: Download complete [2024-02-20T00:59:33.205Z] 8998bd30e6a1: Pull complete [2024-02-20T00:59:33.786Z] 04944245beec: Pull complete [2024-02-20T00:59:35.201Z] 699f458cf7ca: Pull complete [2024-02-20T00:59:35.469Z] 765212b225bb: Pull complete [2024-02-20T00:59:36.428Z] f23df028b6ca: Pull complete [2024-02-20T00:59:36.696Z] d65c8cfc05b1: Pull complete [2024-02-20T00:59:55.007Z] 2437ff75d9bd: Pull complete [2024-02-20T00:59:55.007Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-20T00:59:55.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-20T00:59:55.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T00:59:55.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2024-02-20T00:59:55.441Z] $ 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/26 -v /w/workspace/device-uart/26:/w/workspace/device-uart/26:rw,z -v /w/workspace/device-uart/26@tmp:/w/workspace/device-uart/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-02-20T00:59:58.308Z] $ docker top be69173eb3647454fd40b241051945afaebacc0a578459fdaa7bbb98eec2acf3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-20T00:59:59.278Z] ---> job-cost.sh [2024-02-20T00:59:59.278Z] lf-activate-venv: SKIPPING [2024-02-20T00:59:59.278Z] INFO: No Stack... [2024-02-20T00:59:59.545Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-20T01:00:00.499Z] INFO: Archiving Costs [Pipeline] sh [2024-02-20T01:00:01.130Z] + cat /w/workspace/device-uart/26/archives/cost.csv [2024-02-20T01:00:01.130Z] + cut -d, -f6 [Pipeline] lock [2024-02-20T01:00:01.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [2024-02-20T01:00:01.197Z] Resource [jenkins-edgexfoundry-device-uart-main-26-stack-cost] did not exist. Created. [2024-02-20T01:00:01.202Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-20T01:00:02.200Z] /w/workspace/device-uart/26@tmp/durable-a108ba06/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-20T01:00:02.838Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-20T01:00:02.910Z] Warning: overwriting stash ‘stack-cost’ [2024-02-20T01:00:02.962Z] Stashed 1 file(s) [Pipeline] } [2024-02-20T01:00:02.971Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-20T01:00:03.073Z] $ docker stop --time=1 be69173eb3647454fd40b241051945afaebacc0a578459fdaa7bbb98eec2acf3 [2024-02-20T01:00:04.610Z] $ docker rm -f --volumes be69173eb3647454fd40b241051945afaebacc0a578459fdaa7bbb98eec2acf3 [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 [2024-02-20T01:00:06.054Z] provisioning config files... [2024-02-20T01:00:06.062Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2235988392147932114tmp [Pipeline] { [Pipeline] sh [2024-02-20T01:00:06.440Z] + set +x [2024-02-20T01:00:06.440Z] + + curlbash -s -s https://codecov.io/bash -- [2024-02-20T01:00:06.440Z] [2024-02-20T01:00:06.440Z] [2024-02-20T01:00:06.440Z] _____ _ [2024-02-20T01:00:06.440Z] / ____| | | [2024-02-20T01:00:06.440Z] | | ___ __| | ___ ___ _____ __ [2024-02-20T01:00:06.440Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-20T01:00:06.440Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-20T01:00:06.440Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-20T01:00:06.440Z] Bash-1.0.6 [2024-02-20T01:00:06.440Z] [2024-02-20T01:00:06.440Z] [2024-02-20T01:00:06.440Z] ==> git version 2.25.1 found [2024-02-20T01:00:06.440Z] ==> 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 [2024-02-20T01:00:06.440Z] Release-Date: 2020-01-08 [2024-02-20T01:00:06.440Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-02-20T01:00:06.440Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-20T01:00:06.440Z] ==> Jenkins CI detected. [2024-02-20T01:00:06.441Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2024-02-20T01:00:06.441Z] project root: . [2024-02-20T01:00:06.441Z] --> token set from env [2024-02-20T01:00:06.441Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-20T01:00:06.441Z] ==> Running gcov in . (disable via -X gcov) [2024-02-20T01:00:06.441Z] ==> Python coveragepy not found [2024-02-20T01:00:06.441Z] ==> Searching for coverage reports in: [2024-02-20T01:00:06.441Z] + . [2024-02-20T01:00:06.441Z] -> Found 1 reports [2024-02-20T01:00:06.441Z] ==> Detecting git/mercurial file structure [2024-02-20T01:00:06.441Z] ==> Reading reports [2024-02-20T01:00:06.441Z] + ./coverage.out bytes=10 [2024-02-20T01:00:06.705Z] ==> Appending adjustments [2024-02-20T01:00:06.705Z] https://docs.codecov.io/docs/fixing-reports [2024-02-20T01:00:06.705Z] + Found adjustments [2024-02-20T01:00:06.705Z] ==> Gzipping contents [2024-02-20T01:00:06.705Z] 4.0K /tmp/codecov.jkC2ED.gz [2024-02-20T01:00:06.705Z] ==> Uploading reports [2024-02-20T01:00:06.705Z] url: https://codecov.io [2024-02-20T01:00:06.705Z] query: branch=main&commit=d91c28011fe1e340ffb33947d534daf2c02bd499&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-02-20T01:00:06.705Z] -> Pinging Codecov [2024-02-20T01:00:06.705Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d91c28011fe1e340ffb33947d534daf2c02bd499&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-02-20T01:00:07.273Z] -> Uploading to [2024-02-20T01:00:07.274Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-20/B9AA6E0BBD74AE3A32605C7A7C664919/d91c28011fe1e340ffb33947d534daf2c02bd499/3401de9c-7de8-4091-977e-c9cbca2f7e27.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240220T010007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb4c7bac7b24bb9a3238926ddffbd2bf665c7333d83c95f7d4a01e0e34427a2c [2024-02-20T01:00:07.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-20T01:00:07.274Z] Dload Upload Total Spent Left Speed [2024-02-20T01:00:07.534Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2364 --:--:-- --:--:-- --:--:-- 2364 [2024-02-20T01:00:07.534Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] } [2024-02-20T01:00:07.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-02-20T01:00:07.881Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-02-20T01:00:07.896Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:08.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-02-20T01:00:08.370Z] [2024-02-20T01:00:08.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:08.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-02-20T01:00:08.750Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-02-20T01:00:08.750Z] df9b9388f04a: Pulling fs layer [2024-02-20T01:00:08.750Z] 52dc419b0ee2: Pulling fs layer [2024-02-20T01:00:08.750Z] 25bc292e5bac: Pulling fs layer [2024-02-20T01:00:08.750Z] 114826534d7a: Pulling fs layer [2024-02-20T01:00:08.750Z] 4657fd5d0bcf: Pulling fs layer [2024-02-20T01:00:08.750Z] 6ad1cebc031e: Pulling fs layer [2024-02-20T01:00:08.750Z] 8a3aa393b2d8: Pulling fs layer [2024-02-20T01:00:08.750Z] 114826534d7a: Waiting [2024-02-20T01:00:08.750Z] 4657fd5d0bcf: Waiting [2024-02-20T01:00:08.750Z] 6ad1cebc031e: Waiting [2024-02-20T01:00:08.750Z] 8a3aa393b2d8: Waiting [2024-02-20T01:00:08.750Z] 25bc292e5bac: Download complete [2024-02-20T01:00:08.750Z] 52dc419b0ee2: Verifying Checksum [2024-02-20T01:00:08.750Z] 52dc419b0ee2: Download complete [2024-02-20T01:00:08.750Z] 4657fd5d0bcf: Verifying Checksum [2024-02-20T01:00:08.750Z] 4657fd5d0bcf: Download complete [2024-02-20T01:00:08.750Z] df9b9388f04a: Download complete [2024-02-20T01:00:09.010Z] 6ad1cebc031e: Download complete [2024-02-20T01:00:09.010Z] df9b9388f04a: Pull complete [2024-02-20T01:00:09.010Z] 52dc419b0ee2: Pull complete [2024-02-20T01:00:09.010Z] 25bc292e5bac: Pull complete [2024-02-20T01:00:09.577Z] 114826534d7a: Download complete [2024-02-20T01:00:09.577Z] 8a3aa393b2d8: Verifying Checksum [2024-02-20T01:00:09.577Z] 8a3aa393b2d8: Download complete [2024-02-20T01:00:12.860Z] 114826534d7a: Pull complete [2024-02-20T01:00:12.860Z] 4657fd5d0bcf: Pull complete [2024-02-20T01:00:12.860Z] 6ad1cebc031e: Pull complete [2024-02-20T01:00:15.390Z] 8a3aa393b2d8: Pull complete [2024-02-20T01:00:15.390Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-02-20T01:00:15.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-02-20T01:00:15.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:00:15.677Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:00:15.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2024-02-20T01:00:20.061Z] $ docker top 7bd0e109596ea9ebb119832cfa1e1c9659673bd9547df8e14fd4963f3e84d8bb -eo pid,comm [Pipeline] { [Pipeline] echo [2024-02-20T01:00:20.209Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2024-02-20T01:00:20.489Z] + set -o pipefail [2024-02-20T01:00:20.489Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2024-02-20T01:00:27.061Z] [2024-02-20T01:00:27.061Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2024-02-20T01:00:27.061Z] [2024-02-20T01:00:27.061Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/0e2d7afb-1ec0-4be6-8873-1eddd128a6bc [2024-02-20T01:00:27.061Z] [2024-02-20T01:00:27.061Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-02-20T01:00:27.061Z] [2024-02-20T01:00:27.061Z] [2024-02-20T01:00:27.061Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-02-20T01:00:27.061Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-02-20T01:00:27.061Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2024-02-20T01:00:27.078Z] $ docker stop --time=1 7bd0e109596ea9ebb119832cfa1e1c9659673bd9547df8e14fd4963f3e84d8bb [2024-02-20T01:00:30.521Z] $ docker rm -f --volumes 7bd0e109596ea9ebb119832cfa1e1c9659673bd9547df8e14fd4963f3e84d8bb [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 [2024-02-20T01:00:31.974Z] + git log --format=format:%s -1 d91c28011fe1e340ffb33947d534daf2c02bd499 [Pipeline] sh [2024-02-20T01:00:32.264Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-20T01:00:32.264Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:32.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T01:00:32.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:00:32.782Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:00:32.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-20T01:00:33.337Z] $ docker top 719f505e4ce779194665502774da27ef545c0e0b730a553145723bc5a1846344 -eo pid,comm [2024-02-20T01:00:33.386Z] 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). [2024-02-20T01:00:33.387Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-20T01:00:33.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-20T01:00:33.591Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-20T01:00:33.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-20T01:00:33.712Z] $ docker exec 719f505e4ce779194665502774da27ef545c0e0b730a553145723bc5a1846344 ssh-agent [2024-02-20T01:00:33.821Z] SSH_AUTH_SOCK=/tmp/ssh-a6fOczX6yW3L/agent.32 [2024-02-20T01:00:33.821Z] SSH_AGENT_PID=38 [2024-02-20T01:00:33.826Z] Running ssh-add (command line suppressed) [2024-02-20T01:00:33.925Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8553241536752323838.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8553241536752323838.key) [2024-02-20T01:00:33.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-20T01:00:34.270Z] + git semver tag [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,440 [run_tag] DEBUG tag force:False [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,440 [check_head_tag] DEBUG check head tag [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,441 [execute] INFO git cat-file --batch-check [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,445 [execute] INFO git cat-file --batch [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,456 [execute] INFO git tag -a v3.0.1-dev.19 -m v3.0.1-dev.19 [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,456 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.19', '-m', 'v3.0.1-dev.19'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2024-02-20T01:00:34.530Z] 2024-02-20 01:00:34,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:00:34.530Z] 3.0.1-dev.19 [Pipeline] } [2024-02-20T01:00:34.542Z] $ docker exec --env ******** --env ******** 719f505e4ce779194665502774da27ef545c0e0b730a553145723bc5a1846344 ssh-agent -k [2024-02-20T01:00:34.637Z] unset SSH_AUTH_SOCK; [2024-02-20T01:00:34.638Z] unset SSH_AGENT_PID; [2024-02-20T01:00:34.638Z] echo Agent pid 38 killed; [2024-02-20T01:00:34.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-20T01:00:35.155Z] + git semver [Pipeline] } [2024-02-20T01:00:35.432Z] $ docker stop --time=1 719f505e4ce779194665502774da27ef545c0e0b730a553145723bc5a1846344 [2024-02-20T01:00:36.745Z] $ docker rm -f --volumes 719f505e4ce779194665502774da27ef545c0e0b730a553145723bc5a1846344 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:37.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-02-20T01:00:37.446Z] [2024-02-20T01:00:37.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:37.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-02-20T01:00:37.836Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-02-20T01:00:37.836Z] ab5ef0e58194: Pulling fs layer [2024-02-20T01:00:37.836Z] 9712f1f96733: Pulling fs layer [2024-02-20T01:00:37.836Z] 63f879dbbcfc: Pulling fs layer [2024-02-20T01:00:37.836Z] 0d9ebad4ef96: Pulling fs layer [2024-02-20T01:00:37.836Z] e9a5061849ea: Pulling fs layer [2024-02-20T01:00:37.836Z] d747dcd14b5f: Pulling fs layer [2024-02-20T01:00:37.836Z] 2de7ff778b66: Pulling fs layer [2024-02-20T01:00:37.836Z] 0d9ebad4ef96: Waiting [2024-02-20T01:00:37.836Z] e9a5061849ea: Waiting [2024-02-20T01:00:37.836Z] d747dcd14b5f: Waiting [2024-02-20T01:00:37.836Z] 2de7ff778b66: Waiting [2024-02-20T01:00:37.836Z] 9712f1f96733: Verifying Checksum [2024-02-20T01:00:37.836Z] 9712f1f96733: Download complete [2024-02-20T01:00:38.095Z] 63f879dbbcfc: Verifying Checksum [2024-02-20T01:00:38.095Z] 63f879dbbcfc: Download complete [2024-02-20T01:00:38.353Z] e9a5061849ea: Verifying Checksum [2024-02-20T01:00:38.353Z] e9a5061849ea: Download complete [2024-02-20T01:00:38.353Z] d747dcd14b5f: Verifying Checksum [2024-02-20T01:00:38.353Z] d747dcd14b5f: Download complete [2024-02-20T01:00:38.353Z] ab5ef0e58194: Verifying Checksum [2024-02-20T01:00:38.353Z] ab5ef0e58194: Download complete [2024-02-20T01:00:38.353Z] 0d9ebad4ef96: Verifying Checksum [2024-02-20T01:00:38.353Z] 0d9ebad4ef96: Download complete [2024-02-20T01:00:38.353Z] 2de7ff778b66: Verifying Checksum [2024-02-20T01:00:38.353Z] 2de7ff778b66: Download complete [2024-02-20T01:00:41.640Z] ab5ef0e58194: Pull complete [2024-02-20T01:00:41.641Z] 9712f1f96733: Pull complete [2024-02-20T01:00:41.902Z] 63f879dbbcfc: Pull complete [2024-02-20T01:00:46.085Z] 0d9ebad4ef96: Pull complete [2024-02-20T01:00:46.085Z] e9a5061849ea: Pull complete [2024-02-20T01:00:46.085Z] d747dcd14b5f: Pull complete [2024-02-20T01:00:47.018Z] 2de7ff778b66: Pull complete [2024-02-20T01:00:47.018Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-02-20T01:00:47.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-02-20T01:00:47.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:00:47.315Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:00:47.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-02-20T01:00:52.782Z] $ docker top 91d8b0ed0e2d07433d0d49eef8481d66982df73c97c9c450e2bbad30763d2b53 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-02-20T01:00:52.955Z] provisioning config files... [2024-02-20T01:00:52.963Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2027367708558440254tmp [2024-02-20T01:00:52.973Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13348434059473333583tmp [2024-02-20T01:00:52.980Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6726175119166452514tmp [Pipeline] { [Pipeline] echo [2024-02-20T01:00:53.080Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:00:53.371Z] ---> sigul-configuration.sh [2024-02-20T01:00:53.371Z] gpg: directory `/root/.gnupg' created [2024-02-20T01:00:53.371Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-02-20T01:00:53.371Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-02-20T01:00:53.371Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-02-20T01:00:53.371Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-02-20T01:00:53.371Z] gpg: CAST5 encrypted data [2024-02-20T01:00:53.371Z] gpg: encrypted with 1 passphrase [2024-02-20T01:00:53.371Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-02-20T01:00:53.662Z] + mkdir /home/jenkins [2024-02-20T01:00:53.662Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-02-20T01:00:53.951Z] + 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 [2024-02-20T01:00:53.965Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:00:54.256Z] ---> sigul-install.sh [2024-02-20T01:00:54.256Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-02-20T01:00:54.550Z] + git tag --list [2024-02-20T01:00:54.550Z] v0.0.0 [2024-02-20T01:00:54.550Z] v0.0.1-dev.1 [2024-02-20T01:00:54.550Z] v0.0.1-dev.2 [2024-02-20T01:00:54.550Z] v0.0.1-dev.3 [2024-02-20T01:00:54.550Z] v0.0.1-dev.4 [2024-02-20T01:00:54.550Z] v3.0.0 [2024-02-20T01:00:54.550Z] v3.0.1-dev.1 [2024-02-20T01:00:54.550Z] v3.0.1-dev.10 [2024-02-20T01:00:54.550Z] v3.0.1-dev.11 [2024-02-20T01:00:54.550Z] v3.0.1-dev.12 [2024-02-20T01:00:54.550Z] v3.0.1-dev.13 [2024-02-20T01:00:54.550Z] v3.0.1-dev.14 [2024-02-20T01:00:54.550Z] v3.0.1-dev.15 [2024-02-20T01:00:54.550Z] v3.0.1-dev.16 [2024-02-20T01:00:54.550Z] v3.0.1-dev.17 [2024-02-20T01:00:54.550Z] v3.0.1-dev.18 [2024-02-20T01:00:54.550Z] v3.0.1-dev.19 [2024-02-20T01:00:54.550Z] v3.0.1-dev.2 [2024-02-20T01:00:54.550Z] v3.0.1-dev.3 [2024-02-20T01:00:54.550Z] v3.0.1-dev.4 [2024-02-20T01:00:54.550Z] v3.0.1-dev.5 [2024-02-20T01:00:54.550Z] v3.0.1-dev.6 [2024-02-20T01:00:54.550Z] v3.0.1-dev.7 [2024-02-20T01:00:54.550Z] v3.0.1-dev.8 [2024-02-20T01:00:54.550Z] v3.0.1-dev.9 [2024-02-20T01:00:54.550Z] v3.1 [2024-02-20T01:00:54.550Z] v3.1.0 [Pipeline] sh [2024-02-20T01:00:54.848Z] + lftools sign git-tag v3.0.1-dev.19 [2024-02-20T01:00:55.414Z] Signing Git tag with Sigul... [2024-02-20T01:00:55.414Z] Signing v3.0.1-dev.19 [Pipeline] echo [2024-02-20T01:00:55.686Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:00:55.983Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-02-20T01:00:55.989Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-02-20T01:00:56.120Z] $ docker stop --time=1 91d8b0ed0e2d07433d0d49eef8481d66982df73c97c9c450e2bbad30763d2b53 [2024-02-20T01:00:57.405Z] $ docker rm -f --volumes 91d8b0ed0e2d07433d0d49eef8481d66982df73c97c9c450e2bbad30763d2b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-02-20T01:00:58.366Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-20T01:00:58.366Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:00:58.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T01:00:58.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:00:58.914Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:00:58.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-20T01:00:59.305Z] $ docker top ac0b9befa4a25199759428fd5c6d76b899fd363f40673e1831ce678e296c7893 -eo pid,comm [2024-02-20T01:00:59.355Z] 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). [2024-02-20T01:00:59.355Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-20T01:00:59.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-20T01:00:59.571Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-20T01:00:59.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-20T01:00:59.675Z] $ docker exec ac0b9befa4a25199759428fd5c6d76b899fd363f40673e1831ce678e296c7893 ssh-agent [2024-02-20T01:00:59.781Z] SSH_AUTH_SOCK=/tmp/ssh-Z33ilVIN2xG6/agent.32 [2024-02-20T01:00:59.781Z] SSH_AGENT_PID=38 [2024-02-20T01:00:59.787Z] Running ssh-add (command line suppressed) [2024-02-20T01:00:59.893Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12544895227786254398.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12544895227786254398.key) [2024-02-20T01:00:59.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-20T01:01:00.257Z] + git semver bump pre [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [bump_version] DEBUG bumping version:3.0.1-dev.19 on axis:pre with prefix:dev [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [bump_version] DEBUG bumped version:3.0.1-dev.20 [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [write_version] DEBUG write version:3.0.1-dev.20 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,464 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,467 [execute] INFO git cat-file --batch-check [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,472 [execute] INFO git cat-file --batch [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-02-20T01:01:00.517Z] 2024-02-20 01:01:00,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:01:00.517Z] 3.0.1-dev.20 [Pipeline] } [2024-02-20T01:01:00.530Z] $ docker exec --env ******** --env ******** ac0b9befa4a25199759428fd5c6d76b899fd363f40673e1831ce678e296c7893 ssh-agent -k [2024-02-20T01:01:00.631Z] unset SSH_AUTH_SOCK; [2024-02-20T01:01:00.631Z] unset SSH_AGENT_PID; [2024-02-20T01:01:00.631Z] echo Agent pid 38 killed; [2024-02-20T01:01:00.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-20T01:01:01.177Z] + git semver [Pipeline] } [2024-02-20T01:01:01.455Z] $ docker stop --time=1 ac0b9befa4a25199759428fd5c6d76b899fd363f40673e1831ce678e296c7893 [2024-02-20T01:01:02.750Z] $ docker rm -f --volumes ac0b9befa4a25199759428fd5c6d76b899fd363f40673e1831ce678e296c7893 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-20T01:01:03.310Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-20T01:01:03.310Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:01:03.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-20T01:01:03.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:01:03.841Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:01:03.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-20T01:01:04.314Z] $ docker top 0d101c363633c085aaf2f3213303e34973abab61ba46ef49236cc71538a4894c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-20T01:01:04.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-20T01:01:04.598Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-20T01:01:04.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-20T01:01:04.719Z] $ docker exec 0d101c363633c085aaf2f3213303e34973abab61ba46ef49236cc71538a4894c ssh-agent [2024-02-20T01:01:04.825Z] SSH_AUTH_SOCK=/tmp/ssh-26kKu6nU11lm/agent.31 [2024-02-20T01:01:04.825Z] SSH_AGENT_PID=37 [2024-02-20T01:01:04.829Z] Running ssh-add (command line suppressed) [2024-02-20T01:01:04.935Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9542802141504438097.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9542802141504438097.key) [2024-02-20T01:01:04.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-20T01:01:05.292Z] + git semver push [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,480 [run_push] DEBUG push [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,481 [execute] INFO git cat-file --batch-check [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,485 [execute] INFO git rev-list 89d35da6ebd7a9fd3a80f06845f53c8d5e0d4c7b -- [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,485 [execute] DEBUG Popen(['git', 'rev-list', '89d35da6ebd7a9fd3a80f06845f53c8d5e0d4c7b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,492 [execute] INFO git fetch -v origin [2024-02-20T01:01:05.551Z] 2024-02-20 01:01:05,492 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-02-20T01:01:06.128Z] 2024-02-20 01:01:05,993 [run_push] DEBUG no remote changes detected [2024-02-20T01:01:06.128Z] 2024-02-20 01:01:05,993 [execute] INFO git push origin semver [2024-02-20T01:01:06.128Z] 2024-02-20 01:01:05,994 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-02-20T01:01:07.071Z] 2024-02-20 01:01:06,729 [run_push] DEBUG push all version tags [2024-02-20T01:01:07.071Z] 2024-02-20 01:01:06,730 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-02-20T01:01:07.071Z] 2024-02-20 01:01:06,730 [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) [2024-02-20T01:01:07.640Z] 2024-02-20 01:01:07,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-02-20T01:01:07.640Z] 3.0.1-dev.20 [Pipeline] } [2024-02-20T01:01:07.653Z] $ docker exec --env ******** --env ******** 0d101c363633c085aaf2f3213303e34973abab61ba46ef49236cc71538a4894c ssh-agent -k [2024-02-20T01:01:07.754Z] unset SSH_AUTH_SOCK; [2024-02-20T01:01:07.754Z] unset SSH_AGENT_PID; [2024-02-20T01:01:07.754Z] echo Agent pid 37 killed; [2024-02-20T01:01:07.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-20T01:01:08.294Z] + git semver [Pipeline] } [2024-02-20T01:01:08.568Z] $ docker stop --time=1 0d101c363633c085aaf2f3213303e34973abab61ba46ef49236cc71538a4894c [2024-02-20T01:01:12.890Z] $ docker rm -f --volumes 0d101c363633c085aaf2f3213303e34973abab61ba46ef49236cc71538a4894c [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 [2024-02-20T01:01:14.416Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2024-02-20T01:01:14.416Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-02-20T01:01:14.416Z] total 16 [2024-02-20T01:01:14.416Z] drwxr-xr-x 3 root root 4096 Feb 20 00:50 . [2024-02-20T01:01:14.416Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 01:00 .. [2024-02-20T01:01:14.416Z] drwxr-xr-x 2 root root 4096 Feb 20 00:50 cost [2024-02-20T01:01:14.416Z] -rw-r--r-- 1 root root 82 Feb 20 00:50 cost.csv [2024-02-20T01:01:14.416Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2024-02-20T01:01:14.416Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-02-20T01:01:14.416Z] total 16 [2024-02-20T01:01:14.416Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 00:50 . [2024-02-20T01:01:14.416Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 01:00 .. [2024-02-20T01:01:14.416Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 00:50 cost [2024-02-20T01:01:14.416Z] -rw-r--r-- 1 jenkins jenkins 82 Feb 20 00:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:14.708Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:15.575Z] ---> package-listing.sh [2024-02-20T01:01:15.575Z] ++ facter osfamily [2024-02-20T01:01:15.575Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-20T01:01:15.835Z] + OS_FAMILY=debian [2024-02-20T01:01:15.835Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2024-02-20T01:01:15.835Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-20T01:01:15.835Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-20T01:01:15.835Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-20T01:01:15.835Z] + PACKAGES=/tmp/packages_start.txt [2024-02-20T01:01:15.835Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-02-20T01:01:15.835Z] + PACKAGES=/tmp/packages_end.txt [2024-02-20T01:01:15.835Z] + case "${OS_FAMILY}" in [2024-02-20T01:01:15.835Z] + dpkg -l [2024-02-20T01:01:15.835Z] + grep '^ii' [2024-02-20T01:01:15.835Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-20T01:01:15.835Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-20T01:01:15.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-20T01:01:15.835Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-02-20T01:01:15.835Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2024-02-20T01:01:15.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2024-02-20T01:01:15.844Z] 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 [2024-02-20T01:01:16.120Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-20T01:01:16.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-20T01:01:16.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-20T01:01:16.943Z] prd-ubuntu20.04-docker-8c-8g-1287 does not seem to be running inside a container [2024-02-20T01:01:16.972Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-20T01:01:17.203Z] $ docker top 5a78604ea918360a4bd21bbbb74912eac850e551dcbc9fec5ff70cd1b4d192da -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-20T01:01:17.657Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-20T01:01:17.942Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-20T01:01:18.225Z] + ls /var/log/sa-host [2024-02-20T01:01:18.225Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-20T01:01:18.353Z] provisioning config files... [2024-02-20T01:01:18.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15715783173289926033tmp [Pipeline] { [Pipeline] echo [2024-02-20T01:01:18.484Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:18.774Z] ---> create-netrc.sh [Pipeline] } [2024-02-20T01:01:18.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:19.229Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-20T01:01:19.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:19.513Z] ---> sudo-logs.sh [2024-02-20T01:01:19.513Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-20T01:01:19.590Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:19.872Z] ---> job-cost.sh [2024-02-20T01:01:19.872Z] lf-activate-venv: SKIPPING [2024-02-20T01:01:19.872Z] DEBUG: total: 0.2199999988079071 [2024-02-20T01:01:19.872Z] INFO: Retrieving Stack Cost... [2024-02-20T01:01:20.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-20T01:01:20.424Z] INFO: Archiving Costs [Pipeline] echo [2024-02-20T01:01:20.434Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-20T01:01:20.714Z] ---> logs-deploy.sh [2024-02-20T01:01:20.714Z] lf-activate-venv: SKIPPING [2024-02-20T01:01:20.714Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/26 [2024-02-20T01:01:20.714Z] INFO: archiving workspace using pattern(s): [2024-02-20T01:01:21.651Z] Archives upload complete. [2024-02-20T01:01:21.651Z] INFO: archiving logs to Nexus