Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ecf853e9146b6aac4215f7018ae941eb175f8eb 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-ssh7804858220566422055.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh1445915234852175262.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh6018866240708645399.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh1556791884369590502.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-ssh3318273735009016747.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 ‘prd-ubuntu20.04-docker-8c-8g-16279’ Running on prd-ubuntu20.04-docker-8c-8g-16282 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5ecf853e9146b6aac4215f7018ae941eb175f8eb (main) Commit message: "Merge pull request #30 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.39" > git config core.sparsecheckout # timeout=10 > git checkout -f 5ecf853e9146b6aac4215f7018ae941eb175f8eb # timeout=10 > git rev-list --no-walk 163a5cf59154a2f057feab4c63f7858625d99e7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T20:10:21.926Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T20:10:21.977Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T20:10:21.995Z] ========================================================= [2023-11-01T20:10:21.995Z] EdgeX Global Pipelines Version Info [2023-11-01T20:10:21.995Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:10:23.102Z] ------------------- [2023-11-01T20:10:23.102Z] stable info: [2023-11-01T20:10:23.102Z] ------------------- [2023-11-01T20:10:23.102Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T20:10:23.102Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T20:10:23.102Z] Message: update stable to v1.0.255 [2023-11-01T20:10:23.363Z] ------------------- [2023-11-01T20:10:23.363Z] experimental info: [2023-11-01T20:10:23.363Z] ------------------- [2023-11-01T20:10:23.363Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T20:10:23.363Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T20:10:23.363Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T20:10:23.530Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-11-01T20:10:23.547Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-11-01T20:10:23.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T20:10:23.571Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T20:10:23.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T20:10:23.600Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T20:10:23.616Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T20:10:23.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-01T20:10:23.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T20:10:23.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T20:10:23.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T20:10:23.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-11-01T20:10:23.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T20:10:23.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T20:10:23.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T20:10:23.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T20:10:23.749Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T20:10:23.766Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T20:10:23.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T20:10:23.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T20:10:23.801Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-01T20:10:23.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-01T20:10:23.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T20:10:23.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T20:10:23.872Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T20:10:23.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T20:10:23.902Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T20:10:23.917Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-01T20:10:23.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-01T20:10:23.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-01T20:10:23.968Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] echo [2023-11-01T20:10:23.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ecf853 [Pipeline] echo [2023-11-01T20:10:23.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:10:24.040Z] provisioning config files... [2023-11-01T20:10:24.055Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3245198015234904562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:10:24.380Z] ---> docker-login.sh [2023-11-01T20:10:24.380Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:10:24.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:24.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:24.905Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:24.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:24.905Z] [2023-11-01T20:10:24.905Z] Login Succeeded [2023-11-01T20:10:24.905Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:10:24.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:24.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:24.905Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:24.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:24.905Z] [2023-11-01T20:10:24.905Z] Login Succeeded [2023-11-01T20:10:24.905Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:10:24.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:25.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:25.428Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:25.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:25.428Z] [2023-11-01T20:10:25.428Z] Login Succeeded [2023-11-01T20:10:25.428Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:10:25.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:25.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:25.689Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:25.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:25.689Z] [2023-11-01T20:10:25.689Z] Login Succeeded [2023-11-01T20:10:25.689Z] docker.io [2023-11-01T20:10:25.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:25.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:25.949Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:25.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:25.949Z] [2023-11-01T20:10:25.949Z] Login Succeeded [2023-11-01T20:10:25.949Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:10:25.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T20:10:26.360Z] + git rev-list -1 --merges 5ecf853e9146b6aac4215f7018ae941eb175f8eb~1..5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] echo [2023-11-01T20:10:26.405Z] -----------> git rev-list -1 --merges 5ecf853e9146b6aac4215f7018ae941eb175f8eb~1..5ecf853e9146b6aac4215f7018ae941eb175f8eb 5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:10:26.405Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb [false] [Pipeline] sh [2023-11-01T20:10:26.698Z] + git log --format=format:%s -1 5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] echo [2023-11-01T20:10:26.713Z] ========================================================= [2023-11-01T20:10:26.713Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T20:10:26.713Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:10:27.038Z] + git log --format=format:%s -1 5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] echo [2023-11-01T20:10:27.050Z] [semverPrep] GIT_COMMIT: 5ecf853e9146b6aac4215f7018ae941eb175f8eb, Commit Message: Merge pull request #30 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.39 [Pipeline] echo [2023-11-01T20:10:27.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T20:10:27.411Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T20:10:27.411Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T20:10:27.411Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T20:10:27.411Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T20:10:27.411Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T20:10:27.411Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T20:10:27.411Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:10:27.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:10:27.762Z] [2023-11-01T20:10:27.762Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:10:28.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:10:28.071Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T20:10:28.071Z] b85a868b505f: Pulling fs layer [2023-11-01T20:10:28.071Z] e2be974225ed: Pulling fs layer [2023-11-01T20:10:28.071Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T20:10:28.071Z] 988bab9f4d93: Pulling fs layer [2023-11-01T20:10:28.071Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T20:10:28.071Z] eaf3925da568: Pulling fs layer [2023-11-01T20:10:28.071Z] bab4dde63d76: Pulling fs layer [2023-11-01T20:10:28.071Z] bde34c3a00c8: Pulling fs layer [2023-11-01T20:10:28.071Z] b352a97aabf1: Pulling fs layer [2023-11-01T20:10:28.071Z] 4872d77fe225: Pulling fs layer [2023-11-01T20:10:28.071Z] 5851b861e8e6: Pulling fs layer [2023-11-01T20:10:28.071Z] 988bab9f4d93: Waiting [2023-11-01T20:10:28.071Z] 1469e6f7b9e6: Waiting [2023-11-01T20:10:28.071Z] eaf3925da568: Waiting [2023-11-01T20:10:28.071Z] bab4dde63d76: Waiting [2023-11-01T20:10:28.071Z] bde34c3a00c8: Waiting [2023-11-01T20:10:28.071Z] b352a97aabf1: Waiting [2023-11-01T20:10:28.071Z] 4872d77fe225: Waiting [2023-11-01T20:10:28.071Z] 5851b861e8e6: Waiting [2023-11-01T20:10:28.071Z] e2be974225ed: Download complete [2023-11-01T20:10:28.071Z] 988bab9f4d93: Verifying Checksum [2023-11-01T20:10:28.071Z] 988bab9f4d93: Download complete [2023-11-01T20:10:28.331Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T20:10:28.331Z] 1469e6f7b9e6: Download complete [2023-11-01T20:10:28.331Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T20:10:28.331Z] 339a4e72a1f5: Download complete [2023-11-01T20:10:28.331Z] b352a97aabf1: Download complete [2023-11-01T20:10:28.331Z] 4872d77fe225: Download complete [2023-11-01T20:10:28.331Z] 5851b861e8e6: Verifying Checksum [2023-11-01T20:10:28.331Z] 5851b861e8e6: Download complete [2023-11-01T20:10:28.331Z] b85a868b505f: Download complete [2023-11-01T20:10:28.589Z] bab4dde63d76: Verifying Checksum [2023-11-01T20:10:28.589Z] bab4dde63d76: Download complete [2023-11-01T20:10:29.967Z] b85a868b505f: Pull complete [2023-11-01T20:10:29.967Z] e2be974225ed: Pull complete [2023-11-01T20:10:30.555Z] 339a4e72a1f5: Pull complete [2023-11-01T20:10:30.555Z] 988bab9f4d93: Pull complete [2023-11-01T20:10:30.853Z] 1469e6f7b9e6: Pull complete [2023-11-01T20:10:30.853Z] eaf3925da568: Pull complete [2023-11-01T20:10:32.767Z] bab4dde63d76: Pull complete [2023-11-01T20:10:32.767Z] bde34c3a00c8: Pull complete [2023-11-01T20:10:33.034Z] b352a97aabf1: Pull complete [2023-11-01T20:10:33.034Z] 4872d77fe225: Pull complete [2023-11-01T20:10:33.034Z] 5851b861e8e6: Pull complete [2023-11-01T20:10:33.034Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T20:10:33.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:10:33.296Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:10:33.410Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:10:33.442Z] $ 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 [2023-11-01T20:10:37.970Z] $ docker top 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 -eo pid,comm [2023-11-01T20:10:38.024Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T20:10:38.024Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T20:10:38.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:10:38.071Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:10:38.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:10:38.194Z] $ docker exec 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 ssh-agent [2023-11-01T20:10:38.306Z] SSH_AUTH_SOCK=/tmp/ssh-lteTSlAcyfxK/agent.33 [2023-11-01T20:10:38.306Z] SSH_AGENT_PID=39 [2023-11-01T20:10:38.314Z] Running ssh-add (command line suppressed) [2023-11-01T20:10:38.433Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2900683172740490019.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2900683172740490019.key) [2023-11-01T20:10:38.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:10:38.734Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T20:10:38.762Z] $ docker exec --env ******** --env ******** 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 ssh-agent -k [2023-11-01T20:10:38.869Z] unset SSH_AUTH_SOCK; [2023-11-01T20:10:38.869Z] unset SSH_AGENT_PID; [2023-11-01T20:10:38.869Z] echo Agent pid 39 killed; [2023-11-01T20:10:38.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T20:10:38.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:10:38.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:10:39.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:10:39.031Z] $ docker exec 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 ssh-agent [2023-11-01T20:10:39.156Z] SSH_AUTH_SOCK=/tmp/ssh-VfULuXT9LrOZ/agent.71 [2023-11-01T20:10:39.156Z] SSH_AGENT_PID=77 [2023-11-01T20:10:39.160Z] Running ssh-add (command line suppressed) [2023-11-01T20:10:39.263Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10399546793824050921.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10399546793824050921.key) [2023-11-01T20:10:39.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:10:39.560Z] + git semver init [2023-11-01T20:10:39.820Z] 2023-11-01 20:10:39,753 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T20:10:39.820Z] 2023-11-01 20:10:39,754 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2023-11-01T20:10:39.820Z] 2023-11-01 20:10:39,754 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2023-11-01T20:10:39.820Z] 2023-11-01 20:10:39,755 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:10:40.760Z] 2023-11-01 20:10:40,736 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2023-11-01T20:10:40.760Z] 2023-11-01 20:10:40,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2023-11-01T20:10:40.760Z] 2023-11-01 20:10:40,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:10:40.760Z] 2023-11-01 20:10:40,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:10:40.760Z] 3.0.1-dev.9 [Pipeline] } [2023-11-01T20:10:40.773Z] $ docker exec --env ******** --env ******** 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 ssh-agent -k [2023-11-01T20:10:40.889Z] unset SSH_AUTH_SOCK; [2023-11-01T20:10:40.889Z] unset SSH_AGENT_PID; [2023-11-01T20:10:40.889Z] echo Agent pid 77 killed; [2023-11-01T20:10:40.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T20:10:41.200Z] + git semver [Pipeline] } [2023-11-01T20:10:41.481Z] $ docker stop --time=1 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 [2023-11-01T20:10:42.819Z] $ docker rm -f --volumes 8b7d0c1632b2673118829d324c901bffd4e364f113a19fa70133ed21d4fe62b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:10:43.174Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T20:10:43.376Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T20:10:43.379Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:10:43.562Z] provisioning config files... [2023-11-01T20:10:43.572Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17574994580454367430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:10:43.868Z] ---> docker-login.sh [2023-11-01T20:10:43.868Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:10:43.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:43.868Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:43.868Z] [2023-11-01T20:10:43.868Z] Login Succeeded [2023-11-01T20:10:43.868Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:10:43.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:43.868Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:43.868Z] [2023-11-01T20:10:43.868Z] Login Succeeded [2023-11-01T20:10:43.868Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:10:44.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:44.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:44.126Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:44.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:44.126Z] [2023-11-01T20:10:44.126Z] Login Succeeded [2023-11-01T20:10:44.126Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:10:44.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:44.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:44.126Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:44.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:44.126Z] [2023-11-01T20:10:44.126Z] Login Succeeded [2023-11-01T20:10:44.126Z] docker.io [2023-11-01T20:10:44.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:10:44.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:10:44.953Z] Configure a credential helper to remove this warning. See [2023-11-01T20:10:44.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:10:44.953Z] [2023-11-01T20:10:44.953Z] Login Succeeded [2023-11-01T20:10:44.953Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:10:44.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T20:10:45.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:10:45.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:10:45.053Z] ========================================================= [2023-11-01T20:10:45.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T20:10:45.053Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:10:45.367Z] + 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 . [2023-11-01T20:10:45.367Z] Sending build context to Docker daemon 11.18MB [2023-11-01T20:10:45.367Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:10:45.367Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T20:10:45.367Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T20:10:45.367Z] 7264a8db6415: Pulling fs layer [2023-11-01T20:10:45.367Z] c4d48a809fc2: Pulling fs layer [2023-11-01T20:10:45.367Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T20:10:45.367Z] ad3a456e5733: Pulling fs layer [2023-11-01T20:10:45.367Z] 33e27b845d1e: Pulling fs layer [2023-11-01T20:10:45.367Z] c68163c4e522: Pulling fs layer [2023-11-01T20:10:45.367Z] 50da416c3ac9: Pulling fs layer [2023-11-01T20:10:45.367Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T20:10:45.367Z] 33e27b845d1e: Waiting [2023-11-01T20:10:45.367Z] c68163c4e522: Waiting [2023-11-01T20:10:45.367Z] 50da416c3ac9: Waiting [2023-11-01T20:10:45.367Z] 23d2d4c4bb30: Waiting [2023-11-01T20:10:45.637Z] c4d48a809fc2: Verifying Checksum [2023-11-01T20:10:45.637Z] c4d48a809fc2: Download complete [2023-11-01T20:10:45.637Z] ad3a456e5733: Verifying Checksum [2023-11-01T20:10:45.637Z] ad3a456e5733: Download complete [2023-11-01T20:10:45.637Z] 33e27b845d1e: Verifying Checksum [2023-11-01T20:10:45.637Z] 33e27b845d1e: Download complete [2023-11-01T20:10:45.637Z] 7264a8db6415: Verifying Checksum [2023-11-01T20:10:45.637Z] 7264a8db6415: Download complete [2023-11-01T20:10:45.637Z] c68163c4e522: Verifying Checksum [2023-11-01T20:10:45.638Z] c68163c4e522: Download complete [2023-11-01T20:10:45.899Z] 7264a8db6415: Pull complete [2023-11-01T20:10:45.899Z] c4d48a809fc2: Pull complete [2023-11-01T20:10:45.899Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T20:10:45.899Z] 23d2d4c4bb30: Download complete [2023-11-01T20:10:46.164Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T20:10:46.164Z] 4f1c88b9dad5: Download complete [2023-11-01T20:10:46.745Z] 50da416c3ac9: Verifying Checksum [2023-11-01T20:10:46.745Z] 50da416c3ac9: Download complete [2023-11-01T20:10:49.282Z] 4f1c88b9dad5: Pull complete [2023-11-01T20:10:49.545Z] ad3a456e5733: Pull complete [2023-11-01T20:10:49.545Z] 33e27b845d1e: Pull complete [2023-11-01T20:10:49.545Z] c68163c4e522: Pull complete [2023-11-01T20:10:52.097Z] 50da416c3ac9: Pull complete [2023-11-01T20:10:52.665Z] 23d2d4c4bb30: Pull complete [2023-11-01T20:10:52.665Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T20:10:52.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T20:10:52.665Z] ---> 0786185ac409 [2023-11-01T20:10:52.665Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:10:58.511Z] Still waiting to schedule task [2023-11-01T20:10:58.511Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16281’ [2023-11-01T20:11:00.835Z] ---> Running in c778ed2264af [2023-11-01T20:11:00.836Z] Removing intermediate container c778ed2264af [2023-11-01T20:11:00.836Z] ---> 7a89b3a56c02 [2023-11-01T20:11:00.836Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:11:00.836Z] ---> Running in 1a87f615e9d0 [2023-11-01T20:11:00.836Z] Removing intermediate container 1a87f615e9d0 [2023-11-01T20:11:00.836Z] ---> 814ddf1cea66 [2023-11-01T20:11:00.836Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:11:00.836Z] ---> Running in ca86afbfe076 [2023-11-01T20:11:00.836Z] Removing intermediate container ca86afbfe076 [2023-11-01T20:11:00.836Z] ---> ae96c3172ee3 [2023-11-01T20:11:00.836Z] Step 6/12 : WORKDIR /device-uart [2023-11-01T20:11:00.836Z] ---> Running in d214329e1c3d [2023-11-01T20:11:00.836Z] Removing intermediate container d214329e1c3d [2023-11-01T20:11:00.836Z] ---> 3d9bf62c8655 [2023-11-01T20:11:00.836Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:11:00.836Z] ---> Running in 963c52630bd0 [2023-11-01T20:11:00.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:11:00.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:11:01.097Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T20:11:01.097Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T20:11:01.097Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T20:11:01.097Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T20:11:01.097Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:11:01.097Z] OK: 268 MiB in 56 packages [2023-11-01T20:11:02.041Z] Removing intermediate container 963c52630bd0 [2023-11-01T20:11:02.041Z] ---> 17b69a4105ce [2023-11-01T20:11:02.041Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-01T20:11:02.041Z] ---> d05dfddccef2 [2023-11-01T20:11:02.041Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:11:02.041Z] ---> Running in e902f7c3cfad [2023-11-01T20:11:48.793Z] Removing intermediate container e902f7c3cfad [2023-11-01T20:11:48.793Z] ---> 7e9669f3a9ba [2023-11-01T20:11:48.793Z] Step 10/12 : COPY . . [2023-11-01T20:11:48.793Z] ---> 74454b65c005 [2023-11-01T20:11:48.793Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:11:48.793Z] ---> Running in 42184c2bf60a [2023-11-01T20:11:48.793Z] Removing intermediate container 42184c2bf60a [2023-11-01T20:11:48.793Z] ---> b8b390d863e0 [2023-11-01T20:11:48.793Z] Step 12/12 : RUN ${MAKE} [2023-11-01T20:11:48.793Z] ---> Running in fc17318c0698 [2023-11-01T20:11:48.793Z] noop [2023-11-01T20:11:48.793Z] Removing intermediate container fc17318c0698 [2023-11-01T20:11:48.793Z] ---> 1a78c362cb26 [2023-11-01T20:11:48.793Z] Successfully built 1a78c362cb26 [2023-11-01T20:11:48.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:11:49.103Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T20:11:49.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:11:49.176Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:11:49.212Z] $ 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 [2023-11-01T20:11:49.560Z] $ docker top 9b5e6ae781d3aeaf064cd83df98baf6b01e4e231e29bfb0959b7e2fd5b838c50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:11:49.902Z] + go version [2023-11-01T20:11:49.902Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T20:11:49.914Z] $ docker stop --time=1 9b5e6ae781d3aeaf064cd83df98baf6b01e4e231e29bfb0959b7e2fd5b838c50 [2023-11-01T20:11:51.198Z] $ docker rm -f --volumes 9b5e6ae781d3aeaf064cd83df98baf6b01e4e231e29bfb0959b7e2fd5b838c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:11:51.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T20:11:51.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:11:51.693Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:11:51.732Z] $ 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 [2023-11-01T20:11:52.075Z] $ docker top e8547838d52e9df0bb7ff03e91f54f0d215dff9ff95d3cfd2c70929ddceb0e37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:11:52.426Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2023-11-01T20:11:52.723Z] + make test [2023-11-01T20:11:52.724Z] go test ./... -coverprofile=coverage.out [2023-11-01T20:11:54.101Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-01T20:12:04.077Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-01T20:12:04.077Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-01T20:12:12.210Z] go vet ./... [2023-11-01T20:12:15.494Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T20:12:15.494Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T20:12:15.494Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T20:12:15.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T20:12:15.525Z] $ docker stop --time=1 e8547838d52e9df0bb7ff03e91f54f0d215dff9ff95d3cfd2c70929ddceb0e37 [2023-11-01T20:12:19.785Z] $ docker rm -f --volumes e8547838d52e9df0bb7ff03e91f54f0d215dff9ff95d3cfd2c70929ddceb0e37 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:12:20.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T20:12:20.309Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T20:12:20.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T20:12:21.045Z] + ls -al . [2023-11-01T20:12:21.045Z] total 152 [2023-11-01T20:12:21.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:11 . [2023-11-01T20:12:21.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:10 .. [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 20:10 .dockerignore [2023-11-01T20:12:21.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:12 .git [2023-11-01T20:12:21.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:10 .github [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 1 20:10 .gitignore [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:10 .golangci.yml [2023-11-01T20:12:21.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:10 .semver [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 1 20:10 Attribution.txt [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 1777 Nov 1 20:10 Dockerfile [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:10 GOVERNANCE.md [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 1 20:10 Jenkinsfile [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:10 LICENSE [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 1 20:10 Makefile [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 1 20:10 OWNERS.md [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 1 20:10 README.md [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 20:10 VERSION [2023-11-01T20:12:21.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:10 bin [2023-11-01T20:12:21.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:10 cmd [2023-11-01T20:12:21.045Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 1 20:11 coverage.out [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 3721 Nov 1 20:10 go.mod [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 35313 Nov 1 20:10 go.sum [2023-11-01T20:12:21.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:10 internal [2023-11-01T20:12:21.045Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 1 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:21.357Z] + 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=5ecf853e9146b6aac4215f7018ae941eb175f8eb --label arch=amd64 --label version=3.0.1-dev.9 . [2023-11-01T20:12:21.357Z] Sending build context to Docker daemon 11.18MB [2023-11-01T20:12:21.357Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:12:21.357Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T20:12:21.357Z] ---> 1a78c362cb26 [2023-11-01T20:12:21.357Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:12:21.622Z] ---> Running in 74e56fd62320 [2023-11-01T20:12:21.622Z] Removing intermediate container 74e56fd62320 [2023-11-01T20:12:21.622Z] ---> af706ae0957f [2023-11-01T20:12:21.622Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:12:21.622Z] ---> Running in 80525c11e3c5 [2023-11-01T20:12:21.882Z] Removing intermediate container 80525c11e3c5 [2023-11-01T20:12:21.883Z] ---> 28e2acc625b5 [2023-11-01T20:12:21.883Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:12:21.883Z] ---> Running in 152ef9db9fad [2023-11-01T20:12:21.883Z] Removing intermediate container 152ef9db9fad [2023-11-01T20:12:21.883Z] ---> 8161897c7cf3 [2023-11-01T20:12:21.883Z] Step 6/25 : WORKDIR /device-uart [2023-11-01T20:12:21.883Z] ---> Running in f1fa116b3fad [2023-11-01T20:12:21.883Z] Removing intermediate container f1fa116b3fad [2023-11-01T20:12:21.883Z] ---> 925bb5840494 [2023-11-01T20:12:21.883Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:12:22.140Z] ---> Running in a9c737f8e38e [2023-11-01T20:12:22.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:12:22.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:12:22.657Z] OK: 268 MiB in 56 packages [2023-11-01T20:12:22.917Z] Removing intermediate container a9c737f8e38e [2023-11-01T20:12:22.917Z] ---> 186111176ec6 [2023-11-01T20:12:22.917Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-01T20:12:23.177Z] ---> 28380a5f408d [2023-11-01T20:12:23.177Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:12:23.177Z] ---> Running in b0fcd21876fe [2023-11-01T20:12:23.745Z] Removing intermediate container b0fcd21876fe [2023-11-01T20:12:23.745Z] ---> 25f811e9b4e1 [2023-11-01T20:12:23.745Z] Step 10/25 : COPY . . [2023-11-01T20:12:24.351Z] ---> c106cf970f7b [2023-11-01T20:12:24.351Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:12:24.351Z] ---> Running in 99b9f59cf816 [2023-11-01T20:12:24.351Z] Removing intermediate container 99b9f59cf816 [2023-11-01T20:12:24.351Z] ---> 5ee7ef2fde54 [2023-11-01T20:12:24.351Z] Step 12/25 : RUN ${MAKE} [2023-11-01T20:12:24.351Z] ---> Running in 346b4b336f20 [2023-11-01T20:12:24.619Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-01T20:12:51.350Z] Removing intermediate container 346b4b336f20 [2023-11-01T20:12:51.350Z] ---> ebfb0d1f61ba [2023-11-01T20:12:51.350Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T20:12:51.350Z] 3.18: Pulling from library/alpine [2023-11-01T20:12:51.350Z] 96526aa774ef: Pulling fs layer [2023-11-01T20:12:51.350Z] 96526aa774ef: Download complete [2023-11-01T20:12:51.350Z] 96526aa774ef: Pull complete [2023-11-01T20:12:51.350Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T20:12:51.350Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T20:12:51.350Z] ---> 8ca4688f4f35 [2023-11-01T20:12:51.350Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-01T20:12:51.350Z] ---> Running in ba81d8e89b35 [2023-11-01T20:12:51.350Z] Removing intermediate container ba81d8e89b35 [2023-11-01T20:12:51.350Z] ---> c85b6c9b15e6 [2023-11-01T20:12:51.350Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T20:12:51.350Z] ---> Running in f01e5514eb04 [2023-11-01T20:12:51.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:12:51.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:12:51.350Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T20:12:51.350Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:12:51.350Z] OK: 7 MiB in 16 packages [2023-11-01T20:12:51.350Z] Removing intermediate container f01e5514eb04 [2023-11-01T20:12:51.350Z] ---> f1c6401691f8 [2023-11-01T20:12:51.350Z] Step 16/25 : WORKDIR / [2023-11-01T20:12:51.350Z] ---> Running in bc7851c7919d [2023-11-01T20:12:51.350Z] Removing intermediate container bc7851c7919d [2023-11-01T20:12:51.350Z] ---> 9f92d2d4c1d0 [2023-11-01T20:12:51.350Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-01T20:12:51.350Z] ---> 2afa2969a6c0 [2023-11-01T20:12:51.350Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-11-01T20:12:51.350Z] ---> cb5e3f2ec371 [2023-11-01T20:12:51.350Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-11-01T20:12:51.350Z] ---> 836d5edc776f [2023-11-01T20:12:51.350Z] Step 20/25 : EXPOSE 59995 [2023-11-01T20:12:51.350Z] ---> Running in 8df2bef706b6 [2023-11-01T20:12:51.350Z] Removing intermediate container 8df2bef706b6 [2023-11-01T20:12:51.350Z] ---> 6f7fd5b60097 [2023-11-01T20:12:51.350Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-11-01T20:12:51.350Z] ---> Running in 563c9a5531d6 [2023-11-01T20:12:51.350Z] Removing intermediate container 563c9a5531d6 [2023-11-01T20:12:51.350Z] ---> adb882dd7ac7 [2023-11-01T20:12:51.350Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T20:12:51.350Z] ---> Running in 530e85dde373 [2023-11-01T20:12:51.350Z] Removing intermediate container 530e85dde373 [2023-11-01T20:12:51.350Z] ---> 69302d51695c [2023-11-01T20:12:51.350Z] Step 23/25 : LABEL arch=amd64 [2023-11-01T20:12:51.350Z] ---> Running in de6a99d9e2c7 [2023-11-01T20:12:51.350Z] Removing intermediate container de6a99d9e2c7 [2023-11-01T20:12:51.350Z] ---> a14a360a11bd [2023-11-01T20:12:51.350Z] Step 24/25 : LABEL git_sha=5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:12:51.350Z] ---> Running in 594e4634e3a7 [2023-11-01T20:12:51.350Z] Removing intermediate container 594e4634e3a7 [2023-11-01T20:12:51.350Z] ---> 417860e426d8 [2023-11-01T20:12:51.350Z] Step 25/25 : LABEL version=3.0.1-dev.9 [2023-11-01T20:12:51.350Z] ---> Running in 8f89b52f3bcf [2023-11-01T20:12:51.613Z] Removing intermediate container 8f89b52f3bcf [2023-11-01T20:12:51.613Z] ---> fc630b83323f [2023-11-01T20:12:51.613Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T20:12:51.613Z] Successfully built fc630b83323f [2023-11-01T20:12:51.613Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:12:51.699Z] provisioning config files... [2023-11-01T20:12:51.708Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8753316686071374889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:12:52.011Z] ---> docker-login.sh [2023-11-01T20:12:52.011Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:12:52.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:12:52.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:12:52.011Z] Configure a credential helper to remove this warning. See [2023-11-01T20:12:52.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:12:52.011Z] [2023-11-01T20:12:52.011Z] Login Succeeded [2023-11-01T20:12:52.011Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:12:52.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:12:52.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:12:52.011Z] Configure a credential helper to remove this warning. See [2023-11-01T20:12:52.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:12:52.011Z] [2023-11-01T20:12:52.011Z] Login Succeeded [2023-11-01T20:12:52.011Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:12:52.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:12:52.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:12:52.271Z] Configure a credential helper to remove this warning. See [2023-11-01T20:12:52.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:12:52.271Z] [2023-11-01T20:12:52.271Z] Login Succeeded [2023-11-01T20:12:52.271Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:12:52.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:12:52.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:12:52.271Z] Configure a credential helper to remove this warning. See [2023-11-01T20:12:52.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:12:52.271Z] [2023-11-01T20:12:52.271Z] Login Succeeded [2023-11-01T20:12:52.271Z] docker.io [2023-11-01T20:12:52.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:12:52.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:12:52.792Z] Configure a credential helper to remove this warning. See [2023-11-01T20:12:52.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:12:52.792Z] [2023-11-01T20:12:52.792Z] Login Succeeded [2023-11-01T20:12:52.792Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:12:52.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T20:12:52.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:12:52.858Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2023-11-01T20:12:52.858Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:12:52.858Z] latest [2023-11-01T20:12:52.858Z] 3.0.1-dev.9 [2023-11-01T20:12:52.858Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:12:52.858Z] main [2023-11-01T20:12:52.858Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:53.209Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:53.523Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:12:53.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-01T20:12:53.523Z] bd2e205a9112: Preparing [2023-11-01T20:12:53.523Z] 43d6256ee3c0: Preparing [2023-11-01T20:12:53.523Z] 41543cbef4af: Preparing [2023-11-01T20:12:53.523Z] b04ed5e6737d: Preparing [2023-11-01T20:12:53.523Z] cc2447e1835a: Preparing [2023-11-01T20:12:53.523Z] cc2447e1835a: Layer already exists [2023-11-01T20:12:53.523Z] 43d6256ee3c0: Pushed [2023-11-01T20:12:53.523Z] 41543cbef4af: Pushed [2023-11-01T20:12:53.524Z] b04ed5e6737d: Pushed [2023-11-01T20:12:56.817Z] bd2e205a9112: Pushed [2023-11-01T20:12:56.817Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb: digest: sha256:e34b291d7eb1b8ddcbc992cf123ddd892870303a813e6df39356492d780500af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:57.132Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:57.438Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2023-11-01T20:12:57.438Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-01T20:12:57.438Z] bd2e205a9112: Preparing [2023-11-01T20:12:57.438Z] 43d6256ee3c0: Preparing [2023-11-01T20:12:57.438Z] 41543cbef4af: Preparing [2023-11-01T20:12:57.438Z] b04ed5e6737d: Preparing [2023-11-01T20:12:57.438Z] cc2447e1835a: Preparing [2023-11-01T20:12:57.438Z] b04ed5e6737d: Layer already exists [2023-11-01T20:12:57.438Z] cc2447e1835a: Layer already exists [2023-11-01T20:12:57.438Z] bd2e205a9112: Layer already exists [2023-11-01T20:12:57.438Z] 43d6256ee3c0: Layer already exists [2023-11-01T20:12:57.438Z] 41543cbef4af: Layer already exists [2023-11-01T20:12:57.438Z] latest: digest: sha256:e34b291d7eb1b8ddcbc992cf123ddd892870303a813e6df39356492d780500af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:57.762Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:58.076Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.9 [2023-11-01T20:12:58.076Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-01T20:12:58.076Z] bd2e205a9112: Preparing [2023-11-01T20:12:58.076Z] 43d6256ee3c0: Preparing [2023-11-01T20:12:58.076Z] 41543cbef4af: Preparing [2023-11-01T20:12:58.076Z] b04ed5e6737d: Preparing [2023-11-01T20:12:58.076Z] cc2447e1835a: Preparing [2023-11-01T20:12:58.076Z] 43d6256ee3c0: Layer already exists [2023-11-01T20:12:58.076Z] cc2447e1835a: Layer already exists [2023-11-01T20:12:58.076Z] b04ed5e6737d: Layer already exists [2023-11-01T20:12:58.076Z] bd2e205a9112: Layer already exists [2023-11-01T20:12:58.076Z] 41543cbef4af: Layer already exists [2023-11-01T20:12:58.076Z] 3.0.1-dev.9: digest: sha256:e34b291d7eb1b8ddcbc992cf123ddd892870303a813e6df39356492d780500af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:58.395Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:58.724Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:12:58.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-01T20:12:58.724Z] bd2e205a9112: Preparing [2023-11-01T20:12:58.724Z] 43d6256ee3c0: Preparing [2023-11-01T20:12:58.724Z] 41543cbef4af: Preparing [2023-11-01T20:12:58.724Z] b04ed5e6737d: Preparing [2023-11-01T20:12:58.724Z] cc2447e1835a: Preparing [2023-11-01T20:12:58.724Z] cc2447e1835a: Layer already exists [2023-11-01T20:12:58.724Z] b04ed5e6737d: Layer already exists [2023-11-01T20:12:58.724Z] bd2e205a9112: Layer already exists [2023-11-01T20:12:58.724Z] 43d6256ee3c0: Layer already exists [2023-11-01T20:12:58.724Z] 41543cbef4af: Layer already exists [2023-11-01T20:12:58.724Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9: digest: sha256:e34b291d7eb1b8ddcbc992cf123ddd892870303a813e6df39356492d780500af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:59.060Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:59.371Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2023-11-01T20:12:59.371Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2023-11-01T20:12:59.371Z] bd2e205a9112: Preparing [2023-11-01T20:12:59.371Z] 43d6256ee3c0: Preparing [2023-11-01T20:12:59.371Z] 41543cbef4af: Preparing [2023-11-01T20:12:59.371Z] b04ed5e6737d: Preparing [2023-11-01T20:12:59.371Z] cc2447e1835a: Preparing [2023-11-01T20:12:59.371Z] bd2e205a9112: Layer already exists [2023-11-01T20:12:59.371Z] 41543cbef4af: Layer already exists [2023-11-01T20:12:59.371Z] cc2447e1835a: Layer already exists [2023-11-01T20:12:59.371Z] b04ed5e6737d: Layer already exists [2023-11-01T20:12:59.371Z] 43d6256ee3c0: Layer already exists [2023-11-01T20:12:59.371Z] main: digest: sha256:e34b291d7eb1b8ddcbc992cf123ddd892870303a813e6df39356492d780500af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T20:12:59.502Z] ===================================================== [Pipeline] echo [2023-11-01T20:12:59.513Z] taggedImages: [2023-11-01T20:12:59.513Z] - nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:12:59.513Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2023-11-01T20:12:59.513Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.9 [2023-11-01T20:12:59.513Z] - nexus3.edgexfoundry.org:10004/device-uart:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:12:59.513Z] - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:12:59.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:12:59.899Z] [2023-11-01T20:12:59.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:13:00.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:13:00.193Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T20:13:00.193Z] 5eb5b503b376: Pulling fs layer [2023-11-01T20:13:00.193Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T20:13:00.193Z] ec43610c2a17: Pulling fs layer [2023-11-01T20:13:00.193Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T20:13:00.193Z] 33b1e0a273af: Pulling fs layer [2023-11-01T20:13:00.193Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T20:13:00.193Z] 2f39f015ded8: Pulling fs layer [2023-11-01T20:13:00.193Z] 3a2ae6a8a46f: Waiting [2023-11-01T20:13:00.193Z] 5d3b04190fa2: Waiting [2023-11-01T20:13:00.193Z] 33b1e0a273af: Waiting [2023-11-01T20:13:00.193Z] 2f39f015ded8: Waiting [2023-11-01T20:13:00.193Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T20:13:00.193Z] 5c69ac0246d0: Download complete [2023-11-01T20:13:00.193Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T20:13:00.193Z] 3a2ae6a8a46f: Download complete [2023-11-01T20:13:00.193Z] 33b1e0a273af: Verifying Checksum [2023-11-01T20:13:00.193Z] 33b1e0a273af: Download complete [2023-11-01T20:13:00.193Z] 5d3b04190fa2: Verifying Checksum [2023-11-01T20:13:00.193Z] 5d3b04190fa2: Download complete [2023-11-01T20:13:00.459Z] ec43610c2a17: Verifying Checksum [2023-11-01T20:13:00.459Z] ec43610c2a17: Download complete [2023-11-01T20:13:00.459Z] 5eb5b503b376: Verifying Checksum [2023-11-01T20:13:00.459Z] 5eb5b503b376: Download complete [2023-11-01T20:13:01.407Z] 2f39f015ded8: Download complete [2023-11-01T20:13:01.665Z] 5eb5b503b376: Pull complete [2023-11-01T20:13:01.923Z] 5c69ac0246d0: Pull complete [2023-11-01T20:13:02.181Z] ec43610c2a17: Pull complete [2023-11-01T20:13:02.441Z] 3a2ae6a8a46f: Pull complete [2023-11-01T20:13:02.701Z] 33b1e0a273af: Pull complete [2023-11-01T20:13:02.701Z] 5d3b04190fa2: Pull complete [2023-11-01T20:13:07.986Z] 2f39f015ded8: Pull complete [2023-11-01T20:13:07.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T20:13:07.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:13:07.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:13:08.076Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:13:08.109Z] $ 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 [2023-11-01T20:13:15.968Z] $ docker top 2dd55d4b51b4d44081f4a21358dca46ae003c6c2e717b7912162738f93d6f89c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:13:16.348Z] ---> job-cost.sh [2023-11-01T20:13:16.348Z] lf-activate-venv: SKIPPING [2023-11-01T20:13:16.348Z] INFO: No Stack... [2023-11-01T20:13:16.607Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T20:13:17.175Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T20:13:17.462Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2023-11-01T20:13:17.462Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T20:13:17.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [2023-11-01T20:13:17.481Z] Resource [jenkins-edgexfoundry-device-uart-main-15-stack-cost] did not exist. Created. [2023-11-01T20:13:17.481Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T20:13:17.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T20:13:17.808Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T20:13:17.814Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T20:13:17.838Z] $ docker stop --time=1 2dd55d4b51b4d44081f4a21358dca46ae003c6c2e717b7912162738f93d6f89c [2023-11-01T20:13:18.992Z] $ docker rm -f --volumes 2dd55d4b51b4d44081f4a21358dca46ae003c6c2e717b7912162738f93d6f89c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T20:14:04.034Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16284 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2023-11-01T20:14:04.050Z] Running in /w/workspace/device-uart/15 [Pipeline] { [Pipeline] checkout [2023-11-01T20:14:04.087Z] The recommended git tool is: git [2023-11-01T20:14:11.054Z] using credential edgex-jenkins-ssh [2023-11-01T20:14:11.079Z] Cloning the remote Git repository [2023-11-01T20:14:11.134Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-11-01T20:14:11.260Z] > git init /w/workspace/device-uart/15 # timeout=10 [2023-11-01T20:14:11.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-01T20:14:11.432Z] > git --version # timeout=10 [2023-11-01T20:14:11.458Z] > git --version # 'git version 2.25.1' [2023-11-01T20:14:11.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T20:14:11.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T20:14:12.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-01T20:14:12.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T20:14:13.796Z] Avoid second fetch [2023-11-01T20:14:13.797Z] Checking out Revision 5ecf853e9146b6aac4215f7018ae941eb175f8eb (main) [2023-11-01T20:14:14.382Z] Commit message: "Merge pull request #30 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.39" [2023-11-01T20:14:13.814Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T20:14:13.892Z] > git checkout -f 5ecf853e9146b6aac4215f7018ae941eb175f8eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:14:15.302Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T20:14:15.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T20:14:15.302Z] Dload Upload Total Spent Left Speed [2023-11-01T20:14:15.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-11-01T20:14:16.049Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T20:14:16.381Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T20:14:16.381Z] + sudo tee /etc/docker/daemon.new [2023-11-01T20:14:16.381Z] { [2023-11-01T20:14:16.381Z] "registry-mirrors": [ [2023-11-01T20:14:16.381Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T20:14:16.381Z] ], [2023-11-01T20:14:16.381Z] "bip": "10.250.0.254/24", [2023-11-01T20:14:16.381Z] "hosts": [ [2023-11-01T20:14:16.381Z] "tcp://0.0.0.0:5555", [2023-11-01T20:14:16.381Z] "unix:///var/run/docker.sock" [2023-11-01T20:14:16.381Z] ], [2023-11-01T20:14:16.381Z] "mtu": 1458, [2023-11-01T20:14:16.381Z] "selinux-enabled": true, [2023-11-01T20:14:16.381Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T20:14:16.381Z] } [Pipeline] sh [2023-11-01T20:14:16.744Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T20:14:17.098Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:14:35.381Z] provisioning config files... [2023-11-01T20:14:35.410Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/15@tmp/config4173048005945138292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:14:35.766Z] ---> docker-login.sh [2023-11-01T20:14:35.766Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:14:36.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:14:36.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:14:36.306Z] Configure a credential helper to remove this warning. See [2023-11-01T20:14:36.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:14:36.306Z] [2023-11-01T20:14:36.306Z] Login Succeeded [2023-11-01T20:14:36.306Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:14:36.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:14:36.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:14:36.842Z] Configure a credential helper to remove this warning. See [2023-11-01T20:14:36.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:14:36.842Z] [2023-11-01T20:14:36.842Z] Login Succeeded [2023-11-01T20:14:36.842Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:14:36.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:14:37.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:14:37.118Z] Configure a credential helper to remove this warning. See [2023-11-01T20:14:37.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:14:37.118Z] [2023-11-01T20:14:37.118Z] Login Succeeded [2023-11-01T20:14:37.118Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:14:37.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:14:37.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:14:37.389Z] Configure a credential helper to remove this warning. See [2023-11-01T20:14:37.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:14:37.389Z] [2023-11-01T20:14:37.389Z] Login Succeeded [2023-11-01T20:14:37.389Z] docker.io [2023-11-01T20:14:37.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:14:37.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:14:37.930Z] Configure a credential helper to remove this warning. See [2023-11-01T20:14:37.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:14:37.930Z] [2023-11-01T20:14:38.201Z] Login Succeeded [2023-11-01T20:14:38.201Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:14:38.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T20:14:38.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:14:38.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:14:38.523Z] ========================================================= [2023-11-01T20:14:38.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T20:14:38.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:14:38.886Z] + 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 . [2023-11-01T20:14:39.157Z] Sending build context to Docker daemon 5.642MB [2023-11-01T20:14:39.157Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:14:39.157Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T20:14:39.425Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T20:14:39.425Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T20:14:39.425Z] 5d54e960e981: Pulling fs layer [2023-11-01T20:14:39.425Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T20:14:39.425Z] f0e02332f6b5: Pulling fs layer [2023-11-01T20:14:39.425Z] cefa15bbcfad: Pulling fs layer [2023-11-01T20:14:39.425Z] 17808c966233: Pulling fs layer [2023-11-01T20:14:39.425Z] f4c1fc716caa: Pulling fs layer [2023-11-01T20:14:39.425Z] f0e02332f6b5: Waiting [2023-11-01T20:14:39.425Z] 17808c966233: Waiting [2023-11-01T20:14:39.425Z] cefa15bbcfad: Waiting [2023-11-01T20:14:39.425Z] f4c1fc716caa: Waiting [2023-11-01T20:14:39.425Z] 5d54e960e981: Verifying Checksum [2023-11-01T20:14:39.425Z] 5d54e960e981: Download complete [2023-11-01T20:14:39.697Z] f0e02332f6b5: Verifying Checksum [2023-11-01T20:14:39.697Z] f0e02332f6b5: Download complete [2023-11-01T20:14:39.697Z] cefa15bbcfad: Verifying Checksum [2023-11-01T20:14:39.697Z] cefa15bbcfad: Download complete [2023-11-01T20:14:39.697Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T20:14:39.697Z] 9fda8d8052c6: Download complete [2023-11-01T20:14:40.289Z] f4c1fc716caa: Verifying Checksum [2023-11-01T20:14:40.289Z] f4c1fc716caa: Download complete [2023-11-01T20:14:40.887Z] 9fda8d8052c6: Pull complete [2023-11-01T20:14:41.478Z] 5d54e960e981: Pull complete [2023-11-01T20:14:41.751Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T20:14:41.751Z] c4a7e357bf2a: Download complete [2023-11-01T20:14:42.727Z] 17808c966233: Verifying Checksum [2023-11-01T20:14:42.727Z] 17808c966233: Download complete [2023-11-01T20:14:55.067Z] c4a7e357bf2a: Pull complete [2023-11-01T20:14:55.067Z] f0e02332f6b5: Pull complete [2023-11-01T20:14:55.067Z] cefa15bbcfad: Pull complete [2023-11-01T20:15:03.283Z] 17808c966233: Pull complete [2023-11-01T20:15:03.869Z] f4c1fc716caa: Pull complete [2023-11-01T20:15:03.869Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T20:15:03.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T20:15:03.869Z] ---> ea914061e18c [2023-11-01T20:15:03.869Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:15:05.833Z] ---> Running in bd2e529cce0c [2023-11-01T20:15:06.102Z] Removing intermediate container bd2e529cce0c [2023-11-01T20:15:06.102Z] ---> 6b96f608b935 [2023-11-01T20:15:06.102Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:15:06.102Z] ---> Running in 5bc738d99a97 [2023-11-01T20:15:06.369Z] Removing intermediate container 5bc738d99a97 [2023-11-01T20:15:06.369Z] ---> 11bd52524bf0 [2023-11-01T20:15:06.369Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:15:06.642Z] ---> Running in 280c27cfd008 [2023-11-01T20:15:06.922Z] Removing intermediate container 280c27cfd008 [2023-11-01T20:15:06.922Z] ---> f31a029e9f62 [2023-11-01T20:15:06.922Z] Step 6/12 : WORKDIR /device-uart [2023-11-01T20:15:06.922Z] ---> Running in 2053bc9f253e [2023-11-01T20:15:07.612Z] Removing intermediate container 2053bc9f253e [2023-11-01T20:15:07.613Z] ---> e7e9b9e37ddc [2023-11-01T20:15:07.613Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:15:07.613Z] ---> Running in 516397721eae [2023-11-01T20:15:09.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:15:09.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:15:10.294Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T20:15:10.294Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T20:15:10.294Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T20:15:10.562Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T20:15:10.562Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:15:10.562Z] OK: 270 MiB in 56 packages [2023-11-01T20:15:12.223Z] Removing intermediate container 516397721eae [2023-11-01T20:15:12.223Z] ---> 9b4b2c8a6881 [2023-11-01T20:15:12.223Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-01T20:15:12.223Z] ---> bf994764bfbe [2023-11-01T20:15:12.223Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:15:12.498Z] ---> Running in 53874f0504fe [2023-11-01T20:16:34.161Z] Removing intermediate container 53874f0504fe [2023-11-01T20:16:34.161Z] ---> b3c138e68d8b [2023-11-01T20:16:34.161Z] Step 10/12 : COPY . . [2023-11-01T20:16:34.747Z] ---> e3f1d5cd60cd [2023-11-01T20:16:34.747Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:16:34.747Z] ---> Running in e261fbf138c9 [2023-11-01T20:16:35.018Z] Removing intermediate container e261fbf138c9 [2023-11-01T20:16:35.018Z] ---> 2f1d667fcf92 [2023-11-01T20:16:35.018Z] Step 12/12 : RUN ${MAKE} [2023-11-01T20:16:35.018Z] ---> Running in f4733d396b42 [2023-11-01T20:16:35.991Z] noop [2023-11-01T20:16:36.956Z] Removing intermediate container f4733d396b42 [2023-11-01T20:16:36.956Z] ---> dc755482e637 [2023-11-01T20:16:36.956Z] Successfully built dc755482e637 [2023-11-01T20:16:36.956Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:16:37.326Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T20:16:37.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:16:37.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-16284 does not seem to be running inside a container [2023-11-01T20:16:37.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/15 -v /w/workspace/device-uart/15:/w/workspace/device-uart/15:rw,z -v /w/workspace/device-uart/15@tmp:/w/workspace/device-uart/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T20:16:38.986Z] $ docker top 7ed56b8d6ccfa2e4f96c27450104ceac33aea36681fd6f720594e1a01150fb5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:16:39.860Z] + go version [2023-11-01T20:16:39.860Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T20:16:39.880Z] $ docker stop --time=1 7ed56b8d6ccfa2e4f96c27450104ceac33aea36681fd6f720594e1a01150fb5c [2023-11-01T20:16:41.528Z] $ docker rm -f --volumes 7ed56b8d6ccfa2e4f96c27450104ceac33aea36681fd6f720594e1a01150fb5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:16:42.106Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T20:16:42.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:16:42.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-16284 does not seem to be running inside a container [2023-11-01T20:16:42.367Z] $ 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/15 -v /w/workspace/device-uart/15:/w/workspace/device-uart/15:rw,z -v /w/workspace/device-uart/15@tmp:/w/workspace/device-uart/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T20:16:43.582Z] $ docker top 0ec82ecfd966ce9fa234b7b9300efc967e7fa682e72eade5db9eba6718c4aa87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:16:44.413Z] + git config --global --add safe.directory /w/workspace/device-uart/15 [Pipeline] fileExists [Pipeline] sh [2023-11-01T20:16:45.063Z] + make test [2023-11-01T20:16:45.063Z] go test ./... -coverprofile=coverage.out [2023-11-01T20:16:49.325Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-01T20:18:41.023Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-01T20:18:41.023Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-01T20:18:41.023Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T20:18:41.023Z] go vet ./... [2023-11-01T20:19:03.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T20:19:03.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T20:19:03.126Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T20:19:03.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T20:19:03.154Z] $ docker stop --time=1 0ec82ecfd966ce9fa234b7b9300efc967e7fa682e72eade5db9eba6718c4aa87 [2023-11-01T20:19:08.938Z] $ docker rm -f --volumes 0ec82ecfd966ce9fa234b7b9300efc967e7fa682e72eade5db9eba6718c4aa87 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:19:10.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T20:19:10.263Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T20:19:10.752Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:19:11.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T20:19:11.532Z] + ls -al . [2023-11-01T20:19:11.532Z] total 148 [2023-11-01T20:19:11.532Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 1 20:16 . [2023-11-01T20:19:11.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:14 .. [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 20:14 .dockerignore [2023-11-01T20:19:11.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:14 .git [2023-11-01T20:19:11.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:14 .github [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 1 20:14 .gitignore [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:14 .golangci.yml [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 1 20:14 Attribution.txt [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 1777 Nov 1 20:14 Dockerfile [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:14 GOVERNANCE.md [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 1 20:14 Jenkinsfile [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:14 LICENSE [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 1 20:14 Makefile [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 1 20:14 OWNERS.md [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 1 20:14 README.md [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 20:10 VERSION [2023-11-01T20:19:11.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:14 bin [2023-11-01T20:19:11.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:14 cmd [2023-11-01T20:19:11.532Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 1 20:16 coverage.out [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 3721 Nov 1 20:14 go.mod [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 35313 Nov 1 20:14 go.sum [2023-11-01T20:19:11.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:14 internal [2023-11-01T20:19:11.532Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 1 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:19:11.903Z] + 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=5ecf853e9146b6aac4215f7018ae941eb175f8eb --label arch=arm64 --label version=3.0.1-dev.9 . [2023-11-01T20:19:12.495Z] Sending build context to Docker daemon 5.643MB [2023-11-01T20:19:12.771Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:19:12.771Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T20:19:12.771Z] ---> dc755482e637 [2023-11-01T20:19:12.771Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:19:12.771Z] ---> Running in 4249f6c6b174 [2023-11-01T20:19:13.037Z] Removing intermediate container 4249f6c6b174 [2023-11-01T20:19:13.037Z] ---> 599339aa5083 [2023-11-01T20:19:13.037Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:19:13.304Z] ---> Running in 428820c78eb2 [2023-11-01T20:19:13.570Z] Removing intermediate container 428820c78eb2 [2023-11-01T20:19:13.570Z] ---> 79971379f210 [2023-11-01T20:19:13.570Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:19:13.570Z] ---> Running in 5869081af2b7 [2023-11-01T20:19:13.839Z] Removing intermediate container 5869081af2b7 [2023-11-01T20:19:13.839Z] ---> 54078237a2ad [2023-11-01T20:19:13.839Z] Step 6/25 : WORKDIR /device-uart [2023-11-01T20:19:14.105Z] ---> Running in 46aefb01b867 [2023-11-01T20:19:14.375Z] Removing intermediate container 46aefb01b867 [2023-11-01T20:19:14.375Z] ---> 6345c734ffb2 [2023-11-01T20:19:14.375Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:19:14.375Z] ---> Running in 026f736b32fb [2023-11-01T20:19:15.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:19:15.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:19:16.890Z] OK: 270 MiB in 56 packages [2023-11-01T20:19:18.313Z] Removing intermediate container 026f736b32fb [2023-11-01T20:19:18.313Z] ---> 4f6e37b9080b [2023-11-01T20:19:18.313Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-01T20:19:18.901Z] ---> 01597c9544d8 [2023-11-01T20:19:18.901Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:19:18.901Z] ---> Running in 9d20e621218f [2023-11-01T20:19:24.263Z] Removing intermediate container 9d20e621218f [2023-11-01T20:19:24.263Z] ---> 15593e4cefd6 [2023-11-01T20:19:24.263Z] Step 10/25 : COPY . . [2023-11-01T20:19:24.263Z] ---> dc641dcef41c [2023-11-01T20:19:24.263Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:19:24.536Z] ---> Running in cb9862e63524 [2023-11-01T20:19:24.804Z] Removing intermediate container cb9862e63524 [2023-11-01T20:19:24.804Z] ---> 00b10ad2492e [2023-11-01T20:19:24.804Z] Step 12/25 : RUN ${MAKE} [2023-11-01T20:19:24.804Z] ---> Running in 8c6b1b6db277 [2023-11-01T20:19:25.766Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-01T20:21:32.498Z] Removing intermediate container 8c6b1b6db277 [2023-11-01T20:21:32.498Z] ---> 27c34984ef24 [2023-11-01T20:21:32.498Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T20:21:32.498Z] 3.18: Pulling from library/alpine [2023-11-01T20:21:32.498Z] 579b34f0a95b: Pulling fs layer [2023-11-01T20:21:32.498Z] 579b34f0a95b: Verifying Checksum [2023-11-01T20:21:32.498Z] 579b34f0a95b: Pull complete [2023-11-01T20:21:32.498Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T20:21:32.498Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T20:21:32.498Z] ---> 3cc203321400 [2023-11-01T20:21:32.498Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-01T20:21:32.498Z] ---> Running in a5f096a1e971 [2023-11-01T20:21:32.498Z] Removing intermediate container a5f096a1e971 [2023-11-01T20:21:32.498Z] ---> 6846c47ad7a5 [2023-11-01T20:21:32.498Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T20:21:32.498Z] ---> Running in cf1707eceaa4 [2023-11-01T20:21:32.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:21:32.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:21:32.775Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T20:21:32.775Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:21:32.775Z] OK: 8 MiB in 16 packages [2023-11-01T20:21:34.205Z] Removing intermediate container cf1707eceaa4 [2023-11-01T20:21:34.205Z] ---> df574ff36263 [2023-11-01T20:21:34.205Z] Step 16/25 : WORKDIR / [2023-11-01T20:21:34.205Z] ---> Running in 892561cfa995 [2023-11-01T20:21:34.473Z] Removing intermediate container 892561cfa995 [2023-11-01T20:21:34.473Z] ---> c13e2533006c [2023-11-01T20:21:34.473Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-01T20:21:35.056Z] ---> b957d704e260 [2023-11-01T20:21:35.056Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-11-01T20:21:35.324Z] ---> f1a46bb21326 [2023-11-01T20:21:35.324Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-11-01T20:21:37.272Z] ---> 2878382d9df5 [2023-11-01T20:21:37.272Z] Step 20/25 : EXPOSE 59995 [2023-11-01T20:21:37.272Z] ---> Running in 92ae6cdde974 [2023-11-01T20:21:37.272Z] Removing intermediate container 92ae6cdde974 [2023-11-01T20:21:37.272Z] ---> c7c8cceca31d [2023-11-01T20:21:37.272Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-11-01T20:21:37.545Z] ---> Running in fa7e56dadf9e [2023-11-01T20:21:37.812Z] Removing intermediate container fa7e56dadf9e [2023-11-01T20:21:37.812Z] ---> 80c13e210c9d [2023-11-01T20:21:37.812Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T20:21:37.812Z] ---> Running in a0e3446d8976 [2023-11-01T20:21:38.085Z] Removing intermediate container a0e3446d8976 [2023-11-01T20:21:38.085Z] ---> c7d3be38a792 [2023-11-01T20:21:38.085Z] Step 23/25 : LABEL arch=arm64 [2023-11-01T20:21:38.085Z] ---> Running in ca01dfcf21b1 [2023-11-01T20:21:38.673Z] Removing intermediate container ca01dfcf21b1 [2023-11-01T20:21:38.673Z] ---> 089ee96b0ab4 [2023-11-01T20:21:38.673Z] Step 24/25 : LABEL git_sha=5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:21:38.673Z] ---> Running in 7a8c5c6f510d [2023-11-01T20:21:38.941Z] Removing intermediate container 7a8c5c6f510d [2023-11-01T20:21:38.941Z] ---> 556681ab7a40 [2023-11-01T20:21:38.941Z] Step 25/25 : LABEL version=3.0.1-dev.9 [2023-11-01T20:21:38.941Z] ---> Running in f7c795852694 [2023-11-01T20:21:39.212Z] Removing intermediate container f7c795852694 [2023-11-01T20:21:39.212Z] ---> a81d3220e80f [2023-11-01T20:21:39.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T20:21:39.212Z] Successfully built a81d3220e80f [2023-11-01T20:21:39.212Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:21:39.312Z] provisioning config files... [2023-11-01T20:21:39.328Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/15@tmp/config12858716983853764569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:21:39.686Z] ---> docker-login.sh [2023-11-01T20:21:39.686Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:21:39.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:21:39.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:21:39.953Z] Configure a credential helper to remove this warning. See [2023-11-01T20:21:39.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:21:39.953Z] [2023-11-01T20:21:39.953Z] Login Succeeded [2023-11-01T20:21:39.953Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:21:40.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:21:40.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:21:40.220Z] Configure a credential helper to remove this warning. See [2023-11-01T20:21:40.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:21:40.220Z] [2023-11-01T20:21:40.220Z] Login Succeeded [2023-11-01T20:21:40.220Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:21:40.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:21:40.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:21:40.758Z] Configure a credential helper to remove this warning. See [2023-11-01T20:21:40.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:21:40.758Z] [2023-11-01T20:21:40.758Z] Login Succeeded [2023-11-01T20:21:40.758Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:21:41.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:21:41.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:21:41.029Z] Configure a credential helper to remove this warning. See [2023-11-01T20:21:41.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:21:41.029Z] [2023-11-01T20:21:41.029Z] Login Succeeded [2023-11-01T20:21:41.029Z] docker.io [2023-11-01T20:21:41.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:21:41.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:21:41.883Z] Configure a credential helper to remove this warning. See [2023-11-01T20:21:41.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:21:41.883Z] [2023-11-01T20:21:41.883Z] Login Succeeded [2023-11-01T20:21:41.883Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:21:41.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T20:21:41.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:21:41.949Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2023-11-01T20:21:41.949Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:21:41.949Z] latest [2023-11-01T20:21:41.949Z] 3.0.1-dev.9 [2023-11-01T20:21:41.949Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:21:41.949Z] main [2023-11-01T20:21:41.949Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:42.306Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:43.610Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:21:43.610Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-01T20:21:43.611Z] 6f1a06ddc640: Preparing [2023-11-01T20:21:43.611Z] d784032fcc41: Preparing [2023-11-01T20:21:43.611Z] 5ad624764136: Preparing [2023-11-01T20:21:43.611Z] a19a294e3de9: Preparing [2023-11-01T20:21:43.611Z] 5f4d9fc4d98d: Preparing [2023-11-01T20:21:43.611Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T20:21:43.888Z] a19a294e3de9: Pushed [2023-11-01T20:21:43.889Z] 5ad624764136: Pushed [2023-11-01T20:21:43.889Z] d784032fcc41: Pushed [2023-11-01T20:21:49.223Z] 6f1a06ddc640: Pushed [2023-11-01T20:21:49.223Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb: digest: sha256:7a07dbe0e74b2b46029b6fd6d27bbf3fd0b29d89556e9fadec90c73f99817ccc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:49.581Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:49.926Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-11-01T20:21:49.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-01T20:21:49.926Z] 6f1a06ddc640: Preparing [2023-11-01T20:21:49.926Z] d784032fcc41: Preparing [2023-11-01T20:21:49.926Z] 5ad624764136: Preparing [2023-11-01T20:21:49.926Z] a19a294e3de9: Preparing [2023-11-01T20:21:49.926Z] 5f4d9fc4d98d: Preparing [2023-11-01T20:21:49.926Z] a19a294e3de9: Layer already exists [2023-11-01T20:21:49.926Z] 5ad624764136: Layer already exists [2023-11-01T20:21:49.926Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T20:21:49.926Z] d784032fcc41: Layer already exists [2023-11-01T20:21:49.926Z] 6f1a06ddc640: Layer already exists [2023-11-01T20:21:50.193Z] latest: digest: sha256:7a07dbe0e74b2b46029b6fd6d27bbf3fd0b29d89556e9fadec90c73f99817ccc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:50.542Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:50.895Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.9 [2023-11-01T20:21:50.895Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-01T20:21:50.895Z] 6f1a06ddc640: Preparing [2023-11-01T20:21:50.895Z] d784032fcc41: Preparing [2023-11-01T20:21:50.895Z] 5ad624764136: Preparing [2023-11-01T20:21:50.895Z] a19a294e3de9: Preparing [2023-11-01T20:21:50.895Z] 5f4d9fc4d98d: Preparing [2023-11-01T20:21:50.895Z] a19a294e3de9: Layer already exists [2023-11-01T20:21:50.895Z] 6f1a06ddc640: Layer already exists [2023-11-01T20:21:50.895Z] 5ad624764136: Layer already exists [2023-11-01T20:21:50.895Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T20:21:50.895Z] d784032fcc41: Layer already exists [2023-11-01T20:21:50.895Z] 3.0.1-dev.9: digest: sha256:7a07dbe0e74b2b46029b6fd6d27bbf3fd0b29d89556e9fadec90c73f99817ccc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:51.507Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:51.844Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:21:51.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-01T20:21:51.844Z] 6f1a06ddc640: Preparing [2023-11-01T20:21:51.844Z] d784032fcc41: Preparing [2023-11-01T20:21:51.844Z] 5ad624764136: Preparing [2023-11-01T20:21:51.844Z] a19a294e3de9: Preparing [2023-11-01T20:21:51.844Z] 5f4d9fc4d98d: Preparing [2023-11-01T20:21:51.844Z] 5ad624764136: Layer already exists [2023-11-01T20:21:51.844Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T20:21:51.844Z] d784032fcc41: Layer already exists [2023-11-01T20:21:51.844Z] a19a294e3de9: Layer already exists [2023-11-01T20:21:51.844Z] 6f1a06ddc640: Layer already exists [2023-11-01T20:21:51.844Z] 5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9: digest: sha256:7a07dbe0e74b2b46029b6fd6d27bbf3fd0b29d89556e9fadec90c73f99817ccc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:52.456Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:52.799Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2023-11-01T20:21:52.799Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2023-11-01T20:21:52.799Z] 6f1a06ddc640: Preparing [2023-11-01T20:21:52.799Z] d784032fcc41: Preparing [2023-11-01T20:21:52.799Z] 5ad624764136: Preparing [2023-11-01T20:21:52.799Z] a19a294e3de9: Preparing [2023-11-01T20:21:52.799Z] 5f4d9fc4d98d: Preparing [2023-11-01T20:21:52.799Z] a19a294e3de9: Layer already exists [2023-11-01T20:21:52.799Z] d784032fcc41: Layer already exists [2023-11-01T20:21:52.799Z] 5ad624764136: Layer already exists [2023-11-01T20:21:52.799Z] 6f1a06ddc640: Layer already exists [2023-11-01T20:21:52.799Z] 5f4d9fc4d98d: Layer already exists [2023-11-01T20:21:53.066Z] main: digest: sha256:7a07dbe0e74b2b46029b6fd6d27bbf3fd0b29d89556e9fadec90c73f99817ccc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-01T20:21:53.115Z] ===================================================== [Pipeline] echo [2023-11-01T20:21:53.124Z] taggedImages: [2023-11-01T20:21:53.124Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb [2023-11-01T20:21:53.124Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2023-11-01T20:21:53.124Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.9 [2023-11-01T20:21:53.124Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:5ecf853e9146b6aac4215f7018ae941eb175f8eb-3.0.1-dev.9 [2023-11-01T20:21:53.124Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:53.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:21:53.481Z] [2023-11-01T20:21:53.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:21:53.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:21:58.094Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T20:21:58.094Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T20:21:58.094Z] 04944245beec: Pulling fs layer [2023-11-01T20:21:58.094Z] 699f458cf7ca: Pulling fs layer [2023-11-01T20:21:58.094Z] 765212b225bb: Pulling fs layer [2023-11-01T20:21:58.094Z] f23df028b6ca: Pulling fs layer [2023-11-01T20:21:58.094Z] 765212b225bb: Waiting [2023-11-01T20:21:58.094Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T20:21:58.094Z] f23df028b6ca: Waiting [2023-11-01T20:21:58.094Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T20:21:58.094Z] d65c8cfc05b1: Waiting [2023-11-01T20:21:58.094Z] 2437ff75d9bd: Waiting [2023-11-01T20:21:58.094Z] 04944245beec: Verifying Checksum [2023-11-01T20:21:58.094Z] 04944245beec: Download complete [2023-11-01T20:21:58.094Z] 765212b225bb: Verifying Checksum [2023-11-01T20:21:58.094Z] 765212b225bb: Download complete [2023-11-01T20:21:58.094Z] f23df028b6ca: Verifying Checksum [2023-11-01T20:21:58.094Z] f23df028b6ca: Download complete [2023-11-01T20:21:58.094Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T20:21:58.094Z] d65c8cfc05b1: Download complete [2023-11-01T20:21:58.094Z] 699f458cf7ca: Verifying Checksum [2023-11-01T20:21:58.094Z] 699f458cf7ca: Download complete [2023-11-01T20:21:58.683Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T20:21:58.683Z] 8998bd30e6a1: Download complete [2023-11-01T20:22:01.279Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T20:22:01.279Z] 2437ff75d9bd: Download complete [2023-11-01T20:22:03.229Z] 8998bd30e6a1: Pull complete [2023-11-01T20:22:03.817Z] 04944245beec: Pull complete [2023-11-01T20:22:05.760Z] 699f458cf7ca: Pull complete [2023-11-01T20:22:05.760Z] 765212b225bb: Pull complete [2023-11-01T20:22:06.344Z] f23df028b6ca: Pull complete [2023-11-01T20:22:06.612Z] d65c8cfc05b1: Pull complete [2023-11-01T20:22:24.965Z] 2437ff75d9bd: Pull complete [2023-11-01T20:22:24.965Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T20:22:24.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:22:24.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:22:25.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-16284 does not seem to be running inside a container [2023-11-01T20:22:25.553Z] $ 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/15 -v /w/workspace/device-uart/15:/w/workspace/device-uart/15:rw,z -v /w/workspace/device-uart/15@tmp:/w/workspace/device-uart/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T20:22:28.335Z] $ docker top e42330e088a4aa265f6080f170798e89f9a9695b8acf766aff25d3d9064d8bfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:22:29.191Z] ---> job-cost.sh [2023-11-01T20:22:29.191Z] lf-activate-venv: SKIPPING [2023-11-01T20:22:29.191Z] INFO: No Stack... [2023-11-01T20:22:29.457Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T20:22:30.415Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T20:22:31.064Z] + cat /w/workspace/device-uart/15/archives/cost.csv [2023-11-01T20:22:31.064Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T20:22:31.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [2023-11-01T20:22:31.109Z] Resource [jenkins-edgexfoundry-device-uart-main-15-stack-cost] did not exist. Created. [2023-11-01T20:22:31.109Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T20:22:31.782Z] /w/workspace/device-uart/15@tmp/durable-e84d6c5c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T20:22:32.118Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T20:22:32.409Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T20:22:32.457Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T20:22:32.470Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T20:22:32.487Z] $ docker stop --time=1 e42330e088a4aa265f6080f170798e89f9a9695b8acf766aff25d3d9064d8bfb [2023-11-01T20:22:33.983Z] $ docker rm -f --volumes e42330e088a4aa265f6080f170798e89f9a9695b8acf766aff25d3d9064d8bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-01T20:22:34.391Z] provisioning config files... [2023-11-01T20:22:34.398Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14357765853989636474tmp [Pipeline] { [Pipeline] sh [2023-11-01T20:22:34.699Z] + set +x [2023-11-01T20:22:34.699Z] + bash -s -- [2023-11-01T20:22:34.699Z] + curl -s https://codecov.io/bash [2023-11-01T20:22:34.699Z] [2023-11-01T20:22:34.699Z] _____ _ [2023-11-01T20:22:34.699Z] / ____| | | [2023-11-01T20:22:34.700Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T20:22:34.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T20:22:34.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T20:22:34.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T20:22:34.700Z] Bash-1.0.6 [2023-11-01T20:22:34.700Z] [2023-11-01T20:22:34.700Z] [2023-11-01T20:22:34.700Z] ==> git version 2.25.1 found [2023-11-01T20:22:34.700Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-01T20:22:34.700Z] Release-Date: 2020-01-08 [2023-11-01T20:22:34.700Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T20:22:34.700Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T20:22:34.700Z] ==> Jenkins CI detected. [2023-11-01T20:22:34.700Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2023-11-01T20:22:34.700Z] project root: . [2023-11-01T20:22:34.700Z] --> token set from env [2023-11-01T20:22:34.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T20:22:34.700Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T20:22:34.700Z] ==> Python coveragepy not found [2023-11-01T20:22:34.700Z] ==> Searching for coverage reports in: [2023-11-01T20:22:34.700Z] + . [2023-11-01T20:22:34.700Z] -> Found 1 reports [2023-11-01T20:22:34.700Z] ==> Detecting git/mercurial file structure [2023-11-01T20:22:34.960Z] ==> Reading reports [2023-11-01T20:22:34.960Z] + ./coverage.out bytes=10 [2023-11-01T20:22:34.960Z] ==> Appending adjustments [2023-11-01T20:22:34.960Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T20:22:34.960Z] + Found adjustments [2023-11-01T20:22:34.960Z] ==> Gzipping contents [2023-11-01T20:22:34.960Z] 4.0K /tmp/codecov.2ogsTc.gz [2023-11-01T20:22:34.960Z] ==> Uploading reports [2023-11-01T20:22:34.960Z] url: https://codecov.io [2023-11-01T20:22:34.960Z] query: branch=main&commit=5ecf853e9146b6aac4215f7018ae941eb175f8eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T20:22:34.960Z] -> Pinging Codecov [2023-11-01T20:22:34.960Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=5ecf853e9146b6aac4215f7018ae941eb175f8eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T20:22:34.960Z] -> Uploading to [2023-11-01T20:22:34.960Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/B9AA6E0BBD74AE3A32605C7A7C664919/5ecf853e9146b6aac4215f7018ae941eb175f8eb/5292ccad-11c0-474a-bb38-18fd9ed899ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T202234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fef310ba27e8da93878ea76ebd29eb0f90b4b0107eff65932f9d322c1a970f6b [2023-11-01T20:22:34.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T20:22:34.960Z] Dload Upload Total Spent Left Speed [2023-11-01T20:22:35.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2383 --:--:-- --:--:-- --:--:-- 2383 [2023-11-01T20:22:35.220Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] } [2023-11-01T20:22:35.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-01T20:22:35.456Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-01T20:22:35.466Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:22:35.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T20:22:35.771Z] [2023-11-01T20:22:35.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:22:36.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T20:22:36.120Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-01T20:22:36.120Z] df9b9388f04a: Pulling fs layer [2023-11-01T20:22:36.120Z] 52dc419b0ee2: Pulling fs layer [2023-11-01T20:22:36.120Z] 25bc292e5bac: Pulling fs layer [2023-11-01T20:22:36.120Z] 114826534d7a: Pulling fs layer [2023-11-01T20:22:36.120Z] 4657fd5d0bcf: Pulling fs layer [2023-11-01T20:22:36.120Z] 6ad1cebc031e: Pulling fs layer [2023-11-01T20:22:36.120Z] 8a3aa393b2d8: Pulling fs layer [2023-11-01T20:22:36.120Z] 4657fd5d0bcf: Waiting [2023-11-01T20:22:36.120Z] 114826534d7a: Waiting [2023-11-01T20:22:36.120Z] 8a3aa393b2d8: Waiting [2023-11-01T20:22:36.120Z] 6ad1cebc031e: Waiting [2023-11-01T20:22:36.120Z] 25bc292e5bac: Verifying Checksum [2023-11-01T20:22:36.120Z] 25bc292e5bac: Download complete [2023-11-01T20:22:36.120Z] 52dc419b0ee2: Verifying Checksum [2023-11-01T20:22:36.120Z] 52dc419b0ee2: Download complete [2023-11-01T20:22:36.120Z] 4657fd5d0bcf: Verifying Checksum [2023-11-01T20:22:36.120Z] 4657fd5d0bcf: Download complete [2023-11-01T20:22:36.120Z] df9b9388f04a: Download complete [2023-11-01T20:22:36.381Z] df9b9388f04a: Pull complete [2023-11-01T20:22:36.381Z] 52dc419b0ee2: Pull complete [2023-11-01T20:22:36.381Z] 25bc292e5bac: Pull complete [2023-11-01T20:22:36.381Z] 6ad1cebc031e: Verifying Checksum [2023-11-01T20:22:36.381Z] 6ad1cebc031e: Download complete [2023-11-01T20:22:36.950Z] 114826534d7a: Verifying Checksum [2023-11-01T20:22:36.950Z] 114826534d7a: Download complete [2023-11-01T20:22:37.210Z] 8a3aa393b2d8: Verifying Checksum [2023-11-01T20:22:37.210Z] 8a3aa393b2d8: Download complete [2023-11-01T20:22:40.495Z] 114826534d7a: Pull complete [2023-11-01T20:22:40.495Z] 4657fd5d0bcf: Pull complete [2023-11-01T20:22:40.754Z] 6ad1cebc031e: Pull complete [2023-11-01T20:22:43.287Z] 8a3aa393b2d8: Pull complete [2023-11-01T20:22:43.287Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-01T20:22:43.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T20:22:43.287Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:22:43.439Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:22:43.470Z] $ 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 [2023-11-01T20:22:55.190Z] $ docker top 879d864641e096bcaf3c77b67ac890ea8952b1c21fd1f40df185af5212c2b647 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-01T20:22:55.252Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2023-11-01T20:22:55.535Z] + set -o pipefail [2023-11-01T20:22:55.535Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2023-11-01T20:23:00.806Z] [2023-11-01T20:23:00.806Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2023-11-01T20:23:00.806Z] [2023-11-01T20:23:00.806Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/55188337-d0ce-4255-9797-00013f17e582 [2023-11-01T20:23:00.806Z] [2023-11-01T20:23:00.806Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-01T20:23:00.806Z] [2023-11-01T20:23:01.375Z] [2023-11-01T20:23:01.375Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-01T20:23:01.375Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-01T20:23:01.375Z] More details here: https://snyk.co/ue1NS [2023-11-01T20:23:01.375Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-01T20:23:01.375Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-01T20:23:01.384Z] $ docker stop --time=1 879d864641e096bcaf3c77b67ac890ea8952b1c21fd1f40df185af5212c2b647 [2023-11-01T20:23:08.497Z] $ docker rm -f --volumes 879d864641e096bcaf3c77b67ac890ea8952b1c21fd1f40df185af5212c2b647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T20:23:09.262Z] + git log --format=format:%s -1 5ecf853e9146b6aac4215f7018ae941eb175f8eb [Pipeline] sh [2023-11-01T20:23:09.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T20:23:09.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:09.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:23:09.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:23:09.934Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:23:09.977Z] $ 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 [2023-11-01T20:23:10.598Z] $ docker top 7ff7dc41e713264a830ce8723549d9a8453c1094d6d72a97803eba23c9e664e2 -eo pid,comm [2023-11-01T20:23:10.642Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T20:23:10.642Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T20:23:10.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:23:10.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:23:10.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:23:10.797Z] $ docker exec 7ff7dc41e713264a830ce8723549d9a8453c1094d6d72a97803eba23c9e664e2 ssh-agent [2023-11-01T20:23:10.897Z] SSH_AUTH_SOCK=/tmp/ssh-ym1YbzeZz8Sr/agent.33 [2023-11-01T20:23:10.897Z] SSH_AGENT_PID=39 [2023-11-01T20:23:10.903Z] Running ssh-add (command line suppressed) [2023-11-01T20:23:10.991Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15901470234296101418.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15901470234296101418.key) [2023-11-01T20:23:11.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:23:11.303Z] + git semver tag [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,450 [run_tag] DEBUG tag force:False [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,450 [check_head_tag] DEBUG check head tag [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,451 [execute] INFO git cat-file --batch-check [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,454 [execute] INFO git cat-file --batch [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,463 [execute] INFO git tag -a v3.0.1-dev.9 -m v3.0.1-dev.9 [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,463 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.9', '-m', 'v3.0.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:23:11.564Z] 2023-11-01 20:23:11,468 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:11.564Z] 3.0.1-dev.9 [Pipeline] } [2023-11-01T20:23:11.576Z] $ docker exec --env ******** --env ******** 7ff7dc41e713264a830ce8723549d9a8453c1094d6d72a97803eba23c9e664e2 ssh-agent -k [2023-11-01T20:23:11.668Z] unset SSH_AUTH_SOCK; [2023-11-01T20:23:11.668Z] unset SSH_AGENT_PID; [2023-11-01T20:23:11.669Z] echo Agent pid 39 killed; [2023-11-01T20:23:11.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T20:23:11.992Z] + git semver [Pipeline] } [2023-11-01T20:23:12.264Z] $ docker stop --time=1 7ff7dc41e713264a830ce8723549d9a8453c1094d6d72a97803eba23c9e664e2 [2023-11-01T20:23:13.552Z] $ docker rm -f --volumes 7ff7dc41e713264a830ce8723549d9a8453c1094d6d72a97803eba23c9e664e2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:13.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T20:23:13.941Z] [2023-11-01T20:23:13.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:14.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T20:23:14.240Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-01T20:23:14.241Z] ab5ef0e58194: Pulling fs layer [2023-11-01T20:23:14.241Z] 9712f1f96733: Pulling fs layer [2023-11-01T20:23:14.241Z] 63f879dbbcfc: Pulling fs layer [2023-11-01T20:23:14.241Z] 0d9ebad4ef96: Pulling fs layer [2023-11-01T20:23:14.241Z] e9a5061849ea: Pulling fs layer [2023-11-01T20:23:14.241Z] d747dcd14b5f: Pulling fs layer [2023-11-01T20:23:14.241Z] 2de7ff778b66: Pulling fs layer [2023-11-01T20:23:14.241Z] 0d9ebad4ef96: Waiting [2023-11-01T20:23:14.241Z] e9a5061849ea: Waiting [2023-11-01T20:23:14.241Z] d747dcd14b5f: Waiting [2023-11-01T20:23:14.241Z] 2de7ff778b66: Waiting [2023-11-01T20:23:14.241Z] 9712f1f96733: Verifying Checksum [2023-11-01T20:23:14.241Z] 9712f1f96733: Download complete [2023-11-01T20:23:14.822Z] 63f879dbbcfc: Verifying Checksum [2023-11-01T20:23:14.822Z] 63f879dbbcfc: Download complete [2023-11-01T20:23:15.082Z] e9a5061849ea: Verifying Checksum [2023-11-01T20:23:15.082Z] e9a5061849ea: Download complete [2023-11-01T20:23:15.082Z] d747dcd14b5f: Verifying Checksum [2023-11-01T20:23:15.082Z] d747dcd14b5f: Download complete [2023-11-01T20:23:15.082Z] 0d9ebad4ef96: Verifying Checksum [2023-11-01T20:23:15.082Z] 0d9ebad4ef96: Download complete [2023-11-01T20:23:15.082Z] ab5ef0e58194: Verifying Checksum [2023-11-01T20:23:15.082Z] ab5ef0e58194: Download complete [2023-11-01T20:23:15.082Z] 2de7ff778b66: Verifying Checksum [2023-11-01T20:23:15.082Z] 2de7ff778b66: Download complete [2023-11-01T20:23:17.611Z] ab5ef0e58194: Pull complete [2023-11-01T20:23:17.611Z] 9712f1f96733: Pull complete [2023-11-01T20:23:18.178Z] 63f879dbbcfc: Pull complete [2023-11-01T20:23:22.380Z] 0d9ebad4ef96: Pull complete [2023-11-01T20:23:22.380Z] e9a5061849ea: Pull complete [2023-11-01T20:23:22.380Z] d747dcd14b5f: Pull complete [2023-11-01T20:23:23.316Z] 2de7ff778b66: Pull complete [2023-11-01T20:23:23.316Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-01T20:23:23.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T20:23:23.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:23:23.389Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:23:23.420Z] $ 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 [2023-11-01T20:23:32.614Z] $ docker top f00d75d3cecf1f1f2ff09f080a4acd1c11a44a546f24697237d81cf9441fba89 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:23:32.683Z] provisioning config files... [2023-11-01T20:23:32.690Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5862797140867379065tmp [2023-11-01T20:23:32.699Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12325351121135825765tmp [2023-11-01T20:23:32.709Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17403896897726746169tmp [Pipeline] { [Pipeline] echo [2023-11-01T20:23:32.721Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:33.002Z] ---> sigul-configuration.sh [2023-11-01T20:23:33.002Z] gpg: directory `/root/.gnupg' created [2023-11-01T20:23:33.002Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-01T20:23:33.002Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-01T20:23:33.002Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-01T20:23:33.002Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-01T20:23:33.002Z] gpg: CAST5 encrypted data [2023-11-01T20:23:33.002Z] gpg: encrypted with 1 passphrase [2023-11-01T20:23:33.002Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-01T20:23:33.298Z] + mkdir /home/jenkins [2023-11-01T20:23:33.298Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-01T20:23:33.586Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-01T20:23:33.603Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:33.887Z] ---> sigul-install.sh [2023-11-01T20:23:33.888Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-01T20:23:34.176Z] + git tag --list [2023-11-01T20:23:34.176Z] v0.0.0 [2023-11-01T20:23:34.176Z] v0.0.1-dev.1 [2023-11-01T20:23:34.176Z] v0.0.1-dev.2 [2023-11-01T20:23:34.176Z] v0.0.1-dev.3 [2023-11-01T20:23:34.176Z] v0.0.1-dev.4 [2023-11-01T20:23:34.176Z] v3.0.0 [2023-11-01T20:23:34.176Z] v3.0.1-dev.1 [2023-11-01T20:23:34.176Z] v3.0.1-dev.2 [2023-11-01T20:23:34.176Z] v3.0.1-dev.3 [2023-11-01T20:23:34.176Z] v3.0.1-dev.4 [2023-11-01T20:23:34.176Z] v3.0.1-dev.5 [2023-11-01T20:23:34.176Z] v3.0.1-dev.6 [2023-11-01T20:23:34.176Z] v3.0.1-dev.7 [2023-11-01T20:23:34.176Z] v3.0.1-dev.8 [2023-11-01T20:23:34.176Z] v3.0.1-dev.9 [Pipeline] sh [2023-11-01T20:23:34.466Z] + lftools sign git-tag v3.0.1-dev.9 [2023-11-01T20:23:35.036Z] Signing Git tag with Sigul... [2023-11-01T20:23:35.036Z] Signing v3.0.1-dev.9 [Pipeline] echo [2023-11-01T20:23:35.306Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:35.590Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-01T20:23:35.598Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-01T20:23:35.615Z] $ docker stop --time=1 f00d75d3cecf1f1f2ff09f080a4acd1c11a44a546f24697237d81cf9441fba89 [2023-11-01T20:23:36.994Z] $ docker rm -f --volumes f00d75d3cecf1f1f2ff09f080a4acd1c11a44a546f24697237d81cf9441fba89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-01T20:23:37.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T20:23:37.397Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:37.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:23:37.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:23:37.766Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:23:37.793Z] $ 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 [2023-11-01T20:23:38.130Z] $ docker top 3aab6f246e752a09ca5162ac57799c92b38f712ae0a8e551d15089eec5547a1c -eo pid,comm [2023-11-01T20:23:38.171Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T20:23:38.171Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T20:23:38.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:23:38.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:23:38.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:23:38.320Z] $ docker exec 3aab6f246e752a09ca5162ac57799c92b38f712ae0a8e551d15089eec5547a1c ssh-agent [2023-11-01T20:23:38.416Z] SSH_AUTH_SOCK=/tmp/ssh-ZRgfC7gfogEf/agent.31 [2023-11-01T20:23:38.416Z] SSH_AGENT_PID=37 [2023-11-01T20:23:38.420Z] Running ssh-add (command line suppressed) [2023-11-01T20:23:38.518Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12614288071277572006.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12614288071277572006.key) [2023-11-01T20:23:38.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:23:38.826Z] + git semver bump pre [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [bump_version] DEBUG bumping version:3.0.1-dev.9 on axis:pre with prefix:dev [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [bump_version] DEBUG bumped version:3.0.1-dev.10 [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [write_version] DEBUG write version:3.0.1-dev.10 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,005 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,007 [execute] INFO git cat-file --batch-check [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,012 [execute] INFO git cat-file --batch [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T20:23:39.086Z] 2023-11-01 20:23:39,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:39.086Z] 3.0.1-dev.10 [Pipeline] } [2023-11-01T20:23:39.095Z] $ docker exec --env ******** --env ******** 3aab6f246e752a09ca5162ac57799c92b38f712ae0a8e551d15089eec5547a1c ssh-agent -k [2023-11-01T20:23:39.188Z] unset SSH_AUTH_SOCK; [2023-11-01T20:23:39.189Z] unset SSH_AGENT_PID; [2023-11-01T20:23:39.189Z] echo Agent pid 37 killed; [2023-11-01T20:23:39.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T20:23:39.508Z] + git semver [Pipeline] } [2023-11-01T20:23:39.780Z] $ docker stop --time=1 3aab6f246e752a09ca5162ac57799c92b38f712ae0a8e551d15089eec5547a1c [2023-11-01T20:23:41.056Z] $ docker rm -f --volumes 3aab6f246e752a09ca5162ac57799c92b38f712ae0a8e551d15089eec5547a1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:23:41.423Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T20:23:41.423Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:41.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:23:41.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:23:41.909Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:23:41.936Z] $ 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 [2023-11-01T20:23:42.272Z] $ docker top 12b743a338744f3cecf4c7e2699b6c43cadb08803859879ed1cbea2d55546788 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T20:23:42.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:23:42.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:23:42.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:23:42.480Z] $ docker exec 12b743a338744f3cecf4c7e2699b6c43cadb08803859879ed1cbea2d55546788 ssh-agent [2023-11-01T20:23:42.599Z] SSH_AUTH_SOCK=/tmp/ssh-XMI6CvupEN1L/agent.32 [2023-11-01T20:23:42.600Z] SSH_AGENT_PID=38 [2023-11-01T20:23:42.604Z] Running ssh-add (command line suppressed) [2023-11-01T20:23:42.699Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_935976309833758978.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_935976309833758978.key) [2023-11-01T20:23:42.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:23:43.002Z] + git semver push [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,190 [run_push] DEBUG push [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,190 [execute] INFO git cat-file --batch-check [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,195 [execute] INFO git rev-list f52a257da5cd48f9c337d8130f9a3a0f1cd2cb6b -- [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,196 [execute] DEBUG Popen(['git', 'rev-list', 'f52a257da5cd48f9c337d8130f9a3a0f1cd2cb6b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,201 [execute] INFO git fetch -v origin [2023-11-01T20:23:43.268Z] 2023-11-01 20:23:43,201 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-01T20:23:43.838Z] 2023-11-01 20:23:43,744 [run_push] DEBUG no remote changes detected [2023-11-01T20:23:43.838Z] 2023-11-01 20:23:43,745 [execute] INFO git push origin semver [2023-11-01T20:23:43.838Z] 2023-11-01 20:23:43,745 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:23:45.219Z] 2023-11-01 20:23:44,782 [run_push] DEBUG push all version tags [2023-11-01T20:23:45.219Z] 2023-11-01 20:23:44,783 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-01T20:23:45.219Z] 2023-11-01 20:23:44,783 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:23:45.789Z] 2023-11-01 20:23:45,620 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2023-11-01T20:23:45.789Z] 3.0.1-dev.10 [Pipeline] } [2023-11-01T20:23:45.797Z] $ docker exec --env ******** --env ******** 12b743a338744f3cecf4c7e2699b6c43cadb08803859879ed1cbea2d55546788 ssh-agent -k [2023-11-01T20:23:45.910Z] unset SSH_AUTH_SOCK; [2023-11-01T20:23:45.911Z] unset SSH_AGENT_PID; [2023-11-01T20:23:45.911Z] echo Agent pid 38 killed; [2023-11-01T20:23:45.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T20:23:46.222Z] + git semver [Pipeline] } [2023-11-01T20:23:46.497Z] $ docker stop --time=1 12b743a338744f3cecf4c7e2699b6c43cadb08803859879ed1cbea2d55546788 [2023-11-01T20:23:47.921Z] $ docker rm -f --volumes 12b743a338744f3cecf4c7e2699b6c43cadb08803859879ed1cbea2d55546788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T20:23:48.515Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2023-11-01T20:23:48.515Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-01T20:23:48.515Z] total 16 [2023-11-01T20:23:48.515Z] drwxr-xr-x 3 root root 4096 Nov 1 20:13 . [2023-11-01T20:23:48.515Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:23 .. [2023-11-01T20:23:48.515Z] drwxr-xr-x 2 root root 4096 Nov 1 20:13 cost [2023-11-01T20:23:48.515Z] -rw-r--r-- 1 root root 82 Nov 1 20:13 cost.csv [2023-11-01T20:23:48.515Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-01T20:23:48.515Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2023-11-01T20:23:48.515Z] total 16 [2023-11-01T20:23:48.515Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:13 . [2023-11-01T20:23:48.515Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:23 .. [2023-11-01T20:23:48.515Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 20:13 cost [2023-11-01T20:23:48.515Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 1 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:48.805Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:49.665Z] ---> package-listing.sh [2023-11-01T20:23:49.665Z] ++ facter osfamily [2023-11-01T20:23:49.665Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T20:23:49.925Z] + OS_FAMILY=debian [2023-11-01T20:23:49.925Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2023-11-01T20:23:49.925Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T20:23:49.925Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T20:23:49.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T20:23:49.925Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T20:23:49.925Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-11-01T20:23:49.925Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T20:23:49.925Z] + case "${OS_FAMILY}" in [2023-11-01T20:23:49.925Z] + dpkg -l [2023-11-01T20:23:49.925Z] + grep '^ii' [2023-11-01T20:23:49.925Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T20:23:49.925Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T20:23:49.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T20:23:49.925Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2023-11-01T20:23:49.925Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2023-11-01T20:23:49.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2023-11-01T20:23:49.941Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T20:23:50.218Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:23:50.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:23:50.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:23:50.854Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2023-11-01T20:23:50.886Z] $ 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 [2023-11-01T20:23:51.153Z] $ docker top 7740ad7424f60ef1e6f1a0299acd0ef1ee0afd9c2393de2612f9068eabaf4fa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:23:51.497Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T20:23:51.782Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T20:23:52.077Z] + ls /var/log/sa-host [2023-11-01T20:23:52.077Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:23:52.146Z] provisioning config files... [2023-11-01T20:23:52.156Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11864136879970062428tmp [Pipeline] { [Pipeline] echo [2023-11-01T20:23:52.168Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:52.451Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T20:23:52.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:52.846Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T20:23:52.855Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:53.145Z] ---> sudo-logs.sh [2023-11-01T20:23:53.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T20:23:53.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:53.456Z] ---> job-cost.sh [2023-11-01T20:23:53.456Z] lf-activate-venv: SKIPPING [2023-11-01T20:23:53.456Z] DEBUG: total: 0.2199999988079071 [2023-11-01T20:23:53.456Z] INFO: Retrieving Stack Cost... [2023-11-01T20:23:54.024Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T20:23:54.284Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T20:23:54.297Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:23:54.580Z] ---> logs-deploy.sh [2023-11-01T20:23:54.580Z] lf-activate-venv: SKIPPING [2023-11-01T20:23:54.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/15 [2023-11-01T20:23:54.580Z] INFO: archiving workspace using pattern(s): [2023-11-01T20:23:55.516Z] Archives upload complete. [2023-11-01T20:23:55.516Z] INFO: archiving logs to Nexus