Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc279460de46d3a6d33425637d1308351b1bd8af 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-ssh3032177930834001674.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5627557902892046794.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh293116591621031255.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2034821410231547382.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-ssh9349217067158420114.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6808 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bc279460de46d3a6d33425637d1308351b1bd8af (main) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 Commit message: "Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git rev-list --no-walk 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-31T02:30:07.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-31T02:30:07.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-31T02:30:07.121Z] ========================================================= [2024-07-31T02:30:07.121Z] EdgeX Global Pipelines Version Info [2024-07-31T02:30:07.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:30:07.878Z] ------------------- [2024-07-31T02:30:07.878Z] stable info: [2024-07-31T02:30:07.878Z] ------------------- [2024-07-31T02:30:07.878Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:30:07.878Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T02:30:07.878Z] Message: update stable to v1.0.260 [2024-07-31T02:30:08.454Z] ------------------- [2024-07-31T02:30:08.454Z] experimental info: [2024-07-31T02:30:08.454Z] ------------------- [2024-07-31T02:30:08.454Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:30:08.454Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-31T02:30:08.454Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-31T02:30:08.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-07-31T02:30:08.567Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-07-31T02:30:08.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-31T02:30:08.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-31T02:30:08.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-31T02:30:08.666Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-31T02:30:08.695Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-31T02:30:08.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-31T02:30:08.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-31T02:30:08.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-31T02:30:08.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-31T02:30:08.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-07-31T02:30:08.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-31T02:30:08.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-31T02:30:08.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:30:08.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:30:08.944Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:30:08.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:30:09.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-31T02:30:09.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-31T02:30:09.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-31T02:30:09.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-31T02:30:09.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-31T02:30:09.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-31T02:30:09.166Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-31T02:30:09.193Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-31T02:30:09.226Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-31T02:30:09.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-31T02:30:09.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-31T02:30:09.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-31T02:30:09.326Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo [2024-07-31T02:30:09.354Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc27946 [Pipeline] echo [2024-07-31T02:30:09.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:30:09.436Z] provisioning config files... [2024-07-31T02:30:09.448Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3081890301904947753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:30:09.781Z] ---> ****-login.sh [2024-07-31T02:30:09.781Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:30:10.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:10.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:10.041Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:10.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:10.041Z] [2024-07-31T02:30:10.041Z] Login Succeeded [2024-07-31T02:30:10.041Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:30:10.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:10.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:10.042Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:10.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:10.042Z] [2024-07-31T02:30:10.042Z] Login Succeeded [2024-07-31T02:30:10.042Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:30:10.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:10.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:10.302Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:10.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:10.302Z] [2024-07-31T02:30:10.302Z] Login Succeeded [2024-07-31T02:30:10.302Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:30:10.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:10.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:10.303Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:10.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:10.303Z] [2024-07-31T02:30:10.303Z] Login Succeeded [2024-07-31T02:30:10.303Z] ****.io [2024-07-31T02:30:10.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:10.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:10.565Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:10.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:10.565Z] [2024-07-31T02:30:10.565Z] Login Succeeded [2024-07-31T02:30:10.565Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:30:10.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-31T02:30:10.984Z] + git rev-list -1 --merges bc279460de46d3a6d33425637d1308351b1bd8af~1..bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo [2024-07-31T02:30:11.011Z] -----------> git rev-list -1 --merges bc279460de46d3a6d33425637d1308351b1bd8af~1..bc279460de46d3a6d33425637d1308351b1bd8af bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:30:11.011Z] bc279460de46d3a6d33425637d1308351b1bd8af [false] [Pipeline] sh [2024-07-31T02:30:11.311Z] + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo [2024-07-31T02:30:11.327Z] ========================================================= [2024-07-31T02:30:11.327Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-31T02:30:11.327Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:30:11.676Z] + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] echo [2024-07-31T02:30:11.686Z] [semverPrep] GIT_COMMIT: bc279460de46d3a6d33425637d1308351b1bd8af, Commit Message: Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo [2024-07-31T02:30:11.697Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-31T02:30:12.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:30:12.051Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-31T02:30:12.051Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-31T02:30:12.051Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-31T02:30:12.051Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-07-31T02:30:12.051Z] tee -a /etc/ssh/ssh_known_hosts [2024-07-31T02:30:12.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:30:12.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:30:12.401Z] [2024-07-31T02:30:12.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:30:12.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:30:12.710Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-31T02:30:12.710Z] b85a868b505f: Pulling fs layer [2024-07-31T02:30:12.710Z] e2be974225ed: Pulling fs layer [2024-07-31T02:30:12.710Z] 339a4e72a1f5: Pulling fs layer [2024-07-31T02:30:12.710Z] 988bab9f4d93: Pulling fs layer [2024-07-31T02:30:12.710Z] 1469e6f7b9e6: Pulling fs layer [2024-07-31T02:30:12.710Z] eaf3925da568: Pulling fs layer [2024-07-31T02:30:12.710Z] bab4dde63d76: Pulling fs layer [2024-07-31T02:30:12.710Z] 1469e6f7b9e6: Waiting [2024-07-31T02:30:12.710Z] 988bab9f4d93: Waiting [2024-07-31T02:30:12.710Z] eaf3925da568: Waiting [2024-07-31T02:30:12.710Z] bde34c3a00c8: Pulling fs layer [2024-07-31T02:30:12.710Z] b352a97aabf1: Pulling fs layer [2024-07-31T02:30:12.710Z] 4872d77fe225: Pulling fs layer [2024-07-31T02:30:12.710Z] bab4dde63d76: Waiting [2024-07-31T02:30:12.710Z] bde34c3a00c8: Waiting [2024-07-31T02:30:12.710Z] b352a97aabf1: Waiting [2024-07-31T02:30:12.710Z] 5851b861e8e6: Pulling fs layer [2024-07-31T02:30:12.710Z] 5851b861e8e6: Waiting [2024-07-31T02:30:12.710Z] 4872d77fe225: Waiting [2024-07-31T02:30:12.710Z] e2be974225ed: Download complete [2024-07-31T02:30:12.710Z] 988bab9f4d93: Verifying Checksum [2024-07-31T02:30:12.710Z] 988bab9f4d93: Download complete [2024-07-31T02:30:12.710Z] 1469e6f7b9e6: Verifying Checksum [2024-07-31T02:30:12.710Z] 1469e6f7b9e6: Download complete [2024-07-31T02:30:12.970Z] 339a4e72a1f5: Verifying Checksum [2024-07-31T02:30:12.970Z] 339a4e72a1f5: Download complete [2024-07-31T02:30:12.970Z] eaf3925da568: Verifying Checksum [2024-07-31T02:30:12.970Z] eaf3925da568: Download complete [2024-07-31T02:30:12.970Z] bde34c3a00c8: Verifying Checksum [2024-07-31T02:30:12.970Z] bde34c3a00c8: Download complete [2024-07-31T02:30:12.970Z] b352a97aabf1: Download complete [2024-07-31T02:30:12.970Z] 4872d77fe225: Verifying Checksum [2024-07-31T02:30:12.970Z] 4872d77fe225: Download complete [2024-07-31T02:30:12.970Z] 5851b861e8e6: Download complete [2024-07-31T02:30:12.970Z] b85a868b505f: Verifying Checksum [2024-07-31T02:30:12.970Z] b85a868b505f: Download complete [2024-07-31T02:30:13.228Z] bab4dde63d76: Verifying Checksum [2024-07-31T02:30:13.228Z] bab4dde63d76: Download complete [2024-07-31T02:30:14.180Z] b85a868b505f: Pull complete [2024-07-31T02:30:14.440Z] e2be974225ed: Pull complete [2024-07-31T02:30:15.009Z] 339a4e72a1f5: Pull complete [2024-07-31T02:30:15.009Z] 988bab9f4d93: Pull complete [2024-07-31T02:30:15.578Z] 1469e6f7b9e6: Pull complete [2024-07-31T02:30:15.578Z] eaf3925da568: Pull complete [2024-07-31T02:30:17.501Z] bab4dde63d76: Pull complete [2024-07-31T02:30:17.501Z] bde34c3a00c8: Pull complete [2024-07-31T02:30:17.501Z] b352a97aabf1: Pull complete [2024-07-31T02:30:17.501Z] 4872d77fe225: Pull complete [2024-07-31T02:30:17.765Z] 5851b861e8e6: Pull complete [2024-07-31T02:30:17.766Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-31T02:30:17.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:30:17.766Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:30:17.930Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:30:17.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T02:30:28.792Z] $ docker top fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f -eo pid,comm [2024-07-31T02:30:28.857Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-31T02:30:28.857Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:30:28.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:30:28.922Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:30:29.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:30:29.044Z] $ docker exec fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent [2024-07-31T02:30:29.155Z] SSH_AUTH_SOCK=/tmp/ssh-UAVphwTM4E1T/agent.31 [2024-07-31T02:30:29.155Z] SSH_AGENT_PID=37 [2024-07-31T02:30:29.161Z] Running ssh-add (command line suppressed) [2024-07-31T02:30:29.271Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3209952312515524936.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3209952312515524936.key) [2024-07-31T02:30:29.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:30:29.577Z] + git tag --points-at HEAD [Pipeline] } [2024-07-31T02:30:29.587Z] $ docker exec --env ******** --env ******** fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent -k [2024-07-31T02:30:29.687Z] unset SSH_AUTH_SOCK; [2024-07-31T02:30:29.688Z] unset SSH_AGENT_PID; [2024-07-31T02:30:29.688Z] echo Agent pid 37 killed; [2024-07-31T02:30:29.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-31T02:30:29.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:30:29.749Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:30:29.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:30:29.878Z] $ docker exec fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent [2024-07-31T02:30:29.995Z] SSH_AUTH_SOCK=/tmp/ssh-BGGMSibPWc5z/agent.70 [2024-07-31T02:30:29.995Z] SSH_AGENT_PID=76 [2024-07-31T02:30:30.002Z] Running ssh-add (command line suppressed) [2024-07-31T02:30:30.105Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11098619493864666153.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11098619493864666153.key) [2024-07-31T02:30:30.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:30:30.432Z] + git semver init [2024-07-31T02:30:30.692Z] 2024-07-31 02:30:30,637 [run_init] DEBUG init version:0.0.0 force:False [2024-07-31T02:30:30.692Z] 2024-07-31 02:30:30,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2024-07-31T02:30:30.692Z] 2024-07-31 02:30:30,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2024-07-31T02:30:30.692Z] 2024-07-31 02:30:30,638 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:30:32.086Z] 2024-07-31 02:30:31,856 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2024-07-31T02:30:32.086Z] 2024-07-31 02:30:31,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2024-07-31T02:30:32.086Z] 2024-07-31 02:30:31,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:30:32.086Z] 2024-07-31 02:30:31,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:30:32.086Z] 3.0.1-dev.28 [Pipeline] } [2024-07-31T02:30:32.095Z] $ docker exec --env ******** --env ******** fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f ssh-agent -k [2024-07-31T02:30:32.209Z] unset SSH_AUTH_SOCK; [2024-07-31T02:30:32.209Z] unset SSH_AGENT_PID; [2024-07-31T02:30:32.209Z] echo Agent pid 76 killed; [2024-07-31T02:30:32.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:30:32.547Z] + git semver [Pipeline] } [2024-07-31T02:30:32.820Z] $ docker stop --time=1 fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f [2024-07-31T02:30:34.110Z] $ docker rm -f --volumes fe97112468033d38f779f70075ab0f17224af43b88ebc87e670d31888c93b66f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:30:34.466Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-31T02:30:34.698Z] Stashed 1 file(s) [Pipeline] echo [2024-07-31T02:30:34.701Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.28 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:30:34.983Z] provisioning config files... [2024-07-31T02:30:34.993Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17503494351424206913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:30:35.301Z] ---> ****-login.sh [2024-07-31T02:30:35.301Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:30:35.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:35.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:35.301Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:35.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:35.301Z] [2024-07-31T02:30:35.301Z] Login Succeeded [2024-07-31T02:30:35.301Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:30:35.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:35.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:35.302Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:35.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:35.302Z] [2024-07-31T02:30:35.302Z] Login Succeeded [2024-07-31T02:30:35.302Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:30:35.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:35.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:35.561Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:35.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:35.561Z] [2024-07-31T02:30:35.561Z] Login Succeeded [2024-07-31T02:30:35.562Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:30:35.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:35.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:35.562Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:35.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:35.562Z] [2024-07-31T02:30:35.562Z] Login Succeeded [2024-07-31T02:30:35.562Z] ****.io [2024-07-31T02:30:35.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:30:35.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:30:35.821Z] Configure a credential helper to remove this warning. See [2024-07-31T02:30:35.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:30:35.821Z] [2024-07-31T02:30:35.821Z] Login Succeeded [2024-07-31T02:30:35.821Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:30:35.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:30:35.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:30:35.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:30:35.977Z] ========================================================= [2024-07-31T02:30:35.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-31T02:30:35.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:30:36.354Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T02:30:36.354Z] Sending build context to Docker daemon 25.53MB [2024-07-31T02:30:36.354Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:30:36.354Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:30:36.637Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-31T02:30:36.637Z] 619be1103602: Pulling fs layer [2024-07-31T02:30:36.637Z] 7862e08f4a3e: Pulling fs layer [2024-07-31T02:30:36.637Z] 5df492c9dc93: Pulling fs layer [2024-07-31T02:30:36.637Z] 7629e6793208: Pulling fs layer [2024-07-31T02:30:36.637Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:30:36.637Z] fb5054dd5b73: Pulling fs layer [2024-07-31T02:30:36.637Z] eeca6798cff9: Pulling fs layer [2024-07-31T02:30:36.637Z] aa269ceb94a6: Pulling fs layer [2024-07-31T02:30:36.637Z] ada007ff1a6a: Pulling fs layer [2024-07-31T02:30:36.637Z] fb5054dd5b73: Waiting [2024-07-31T02:30:36.637Z] eeca6798cff9: Waiting [2024-07-31T02:30:36.637Z] 4f4fb700ef54: Waiting [2024-07-31T02:30:36.637Z] aa269ceb94a6: Waiting [2024-07-31T02:30:36.637Z] ada007ff1a6a: Waiting [2024-07-31T02:30:36.637Z] 7629e6793208: Waiting [2024-07-31T02:30:36.637Z] 7862e08f4a3e: Verifying Checksum [2024-07-31T02:30:36.637Z] 7862e08f4a3e: Download complete [2024-07-31T02:30:36.637Z] 7629e6793208: Verifying Checksum [2024-07-31T02:30:36.637Z] 7629e6793208: Download complete [2024-07-31T02:30:36.637Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:30:36.637Z] 4f4fb700ef54: Download complete [2024-07-31T02:30:36.637Z] fb5054dd5b73: Verifying Checksum [2024-07-31T02:30:36.637Z] fb5054dd5b73: Download complete [2024-07-31T02:30:36.637Z] 619be1103602: Verifying Checksum [2024-07-31T02:30:36.637Z] 619be1103602: Download complete [2024-07-31T02:30:36.637Z] eeca6798cff9: Verifying Checksum [2024-07-31T02:30:36.637Z] eeca6798cff9: Download complete [2024-07-31T02:30:36.637Z] 619be1103602: Pull complete [2024-07-31T02:30:36.895Z] ada007ff1a6a: Verifying Checksum [2024-07-31T02:30:36.895Z] ada007ff1a6a: Download complete [2024-07-31T02:30:36.895Z] 7862e08f4a3e: Pull complete [2024-07-31T02:30:37.155Z] 5df492c9dc93: Verifying Checksum [2024-07-31T02:30:37.155Z] 5df492c9dc93: Download complete [2024-07-31T02:30:37.415Z] aa269ceb94a6: Verifying Checksum [2024-07-31T02:30:37.415Z] aa269ceb94a6: Download complete [2024-07-31T02:30:40.731Z] 5df492c9dc93: Pull complete [2024-07-31T02:30:40.731Z] 7629e6793208: Pull complete [2024-07-31T02:30:40.991Z] 4f4fb700ef54: Pull complete [2024-07-31T02:30:41.326Z] fb5054dd5b73: Pull complete [2024-07-31T02:30:41.584Z] eeca6798cff9: Pull complete [2024-07-31T02:30:44.885Z] aa269ceb94a6: Pull complete [2024-07-31T02:30:45.453Z] ada007ff1a6a: Pull complete [2024-07-31T02:30:45.714Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-31T02:30:45.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-31T02:30:45.990Z] ---> f489d0715acc [2024-07-31T02:30:45.990Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:30:49.844Z] Still waiting to schedule task [2024-07-31T02:30:49.844Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-31T02:30:58.255Z] ---> Running in f9ede7bc2d2f [2024-07-31T02:30:58.255Z] Removing intermediate container f9ede7bc2d2f [2024-07-31T02:30:58.255Z] ---> 29be09c92b40 [2024-07-31T02:30:58.255Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:30:58.255Z] ---> Running in d8f22d364bc0 [2024-07-31T02:30:58.516Z] Removing intermediate container d8f22d364bc0 [2024-07-31T02:30:58.516Z] ---> 0121f673a9be [2024-07-31T02:30:58.516Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:30:58.516Z] ---> Running in 4c226b6cccab [2024-07-31T02:30:58.774Z] Removing intermediate container 4c226b6cccab [2024-07-31T02:30:58.774Z] ---> b4cf0b1b00f8 [2024-07-31T02:30:58.774Z] Step 6/12 : WORKDIR /device-uart [2024-07-31T02:30:58.774Z] ---> Running in 7cf77544d0f2 [2024-07-31T02:30:59.035Z] Removing intermediate container 7cf77544d0f2 [2024-07-31T02:30:59.035Z] ---> a775dac37ec0 [2024-07-31T02:30:59.035Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:30:59.035Z] ---> Running in ff5fd902fc50 [2024-07-31T02:30:59.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:30:59.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:30:59.817Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:30:59.817Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:30:59.817Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:30:59.817Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:30:59.817Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:30:59.817Z] OK: 268 MiB in 56 packages [2024-07-31T02:31:01.196Z] Removing intermediate container ff5fd902fc50 [2024-07-31T02:31:01.196Z] ---> 91aa1c599ee3 [2024-07-31T02:31:01.196Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-31T02:31:01.467Z] ---> d7027c32c5f2 [2024-07-31T02:31:01.467Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:31:01.727Z] ---> Running in 184a16ea190c [2024-07-31T02:32:09.484Z] Removing intermediate container 184a16ea190c [2024-07-31T02:32:09.484Z] ---> 407daa6a563e [2024-07-31T02:32:09.484Z] Step 10/12 : COPY . . [2024-07-31T02:32:09.484Z] ---> 687f4910f801 [2024-07-31T02:32:09.484Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:32:09.484Z] ---> Running in d127b53a1988 [2024-07-31T02:32:09.484Z] Removing intermediate container d127b53a1988 [2024-07-31T02:32:09.484Z] ---> beb490e30449 [2024-07-31T02:32:09.484Z] Step 12/12 : RUN ${MAKE} [2024-07-31T02:32:09.484Z] ---> Running in 949f926b9861 [2024-07-31T02:32:09.484Z] noop [2024-07-31T02:32:09.484Z] Removing intermediate container 949f926b9861 [2024-07-31T02:32:09.484Z] ---> 6cc7222f8803 [2024-07-31T02:32:09.484Z] Successfully built 6cc7222f8803 [2024-07-31T02:32:09.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:09.831Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:32:09.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:32:09.922Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:32:09.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T02:32:10.601Z] $ docker top 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:32:10.960Z] + go version [2024-07-31T02:32:10.960Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-31T02:32:10.970Z] $ docker stop --time=1 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c [2024-07-31T02:32:12.298Z] $ docker rm -f --volumes 52dabfecbd6a4cd372e3dc167b17f4d3210a0f51319778c3436e046414742e2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:12.760Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:32:12.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:32:12.854Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:32:12.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T02:32:13.259Z] $ docker top 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:32:13.622Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:32:13.933Z] + make test [2024-07-31T02:32:13.933Z] go test ./... -coverprofile=coverage.out [2024-07-31T02:32:15.836Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-31T02:32:33.917Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-31T02:32:33.918Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-31T02:32:43.886Z] go vet ./... [2024-07-31T02:32:48.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:32:48.089Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:32:48.089Z] ./bin/test-attribution-txt.sh [2024-07-31T02:32:48.089Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:32:48.089Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:32:48.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:32:48.123Z] $ docker stop --time=1 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d [2024-07-31T02:32:55.079Z] $ docker rm -f --volumes 188deb4bcf663e8de242a2843cffe098d29364f21bf0895f5d192cdd5f0d289d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:32:55.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:32:55.662Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-31T02:32:56.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:32:56.406Z] + ls -al . [2024-07-31T02:32:56.406Z] total 224 [2024-07-31T02:32:56.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:32 . [2024-07-31T02:32:56.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:30 .. [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:30 .dockerignore [2024-07-31T02:32:56.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:32 .git [2024-07-31T02:32:56.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 .github [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 02:30 .gitignore [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:30 .golangci.yml [2024-07-31T02:32:56.406Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:30 .semver [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 31 02:30 Attribution.txt [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 31 02:30 CHANGELOG.md [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 31 02:30 Dockerfile [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:30 GOVERNANCE.md [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 31 02:30 Jenkinsfile [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:30 LICENSE [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 31 02:30 Makefile [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 02:30 OWNERS.md [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 31 02:30 README.md [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:30 VERSION [2024-07-31T02:32:56.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:30 bin [2024-07-31T02:32:56.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 cmd [2024-07-31T02:32:56.406Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 31 02:32 coverage.out [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 31 02:30 go.mod [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 31 02:30 go.sum [2024-07-31T02:32:56.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:30 internal [2024-07-31T02:32:56.406Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:56.740Z] + 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=bc279460de46d3a6d33425637d1308351b1bd8af --label arch=amd64 --label version=3.0.1-dev.28 . [2024-07-31T02:32:56.740Z] Sending build context to Docker daemon 25.53MB [2024-07-31T02:32:56.740Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:32:56.740Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-31T02:32:56.740Z] ---> 6cc7222f8803 [2024-07-31T02:32:56.740Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:32:56.999Z] ---> Running in 5823c4da807c [2024-07-31T02:32:57.257Z] Removing intermediate container 5823c4da807c [2024-07-31T02:32:57.257Z] ---> 398d0b2566d0 [2024-07-31T02:32:57.257Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:32:57.257Z] ---> Running in bc8066440db5 [2024-07-31T02:32:57.257Z] Removing intermediate container bc8066440db5 [2024-07-31T02:32:57.257Z] ---> a363bdf3c508 [2024-07-31T02:32:57.257Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:32:57.257Z] ---> Running in 349763c1e351 [2024-07-31T02:32:57.516Z] Removing intermediate container 349763c1e351 [2024-07-31T02:32:57.516Z] ---> d855430249d6 [2024-07-31T02:32:57.516Z] Step 6/26 : WORKDIR /device-uart [2024-07-31T02:32:57.516Z] ---> Running in e313b4d1cfb6 [2024-07-31T02:32:57.516Z] Removing intermediate container e313b4d1cfb6 [2024-07-31T02:32:57.516Z] ---> 601155c9e9de [2024-07-31T02:32:57.516Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:32:57.516Z] ---> Running in a1d3c4142589 [2024-07-31T02:32:57.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:58.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:58.296Z] OK: 268 MiB in 56 packages [2024-07-31T02:32:58.555Z] Removing intermediate container a1d3c4142589 [2024-07-31T02:32:58.555Z] ---> 531b400f6527 [2024-07-31T02:32:58.555Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-31T02:32:58.815Z] ---> cd8237fc611c [2024-07-31T02:32:58.815Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:32:58.815Z] ---> Running in e86e50cad19f [2024-07-31T02:32:59.383Z] Removing intermediate container e86e50cad19f [2024-07-31T02:32:59.383Z] ---> 17e1b32daf66 [2024-07-31T02:32:59.383Z] Step 10/26 : COPY . . [2024-07-31T02:32:59.950Z] ---> 5158367d0641 [2024-07-31T02:32:59.950Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:32:59.950Z] ---> Running in 0646bceca6ad [2024-07-31T02:32:59.950Z] Removing intermediate container 0646bceca6ad [2024-07-31T02:32:59.950Z] ---> aa82ad932cc3 [2024-07-31T02:32:59.950Z] Step 12/26 : RUN ${MAKE} [2024-07-31T02:32:59.950Z] ---> Running in a29c000821f4 [2024-07-31T02:33:00.209Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-31T02:33:39.064Z] Removing intermediate container a29c000821f4 [2024-07-31T02:33:39.064Z] ---> 2f7d20bd67bd [2024-07-31T02:33:39.064Z] Step 13/26 : FROM alpine:3.18 [2024-07-31T02:33:39.064Z] 3.18: Pulling from library/alpine [2024-07-31T02:33:39.064Z] 930bdd4d222e: Pulling fs layer [2024-07-31T02:33:39.324Z] 930bdd4d222e: Download complete [2024-07-31T02:33:39.582Z] 930bdd4d222e: Pull complete [2024-07-31T02:33:39.582Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:33:39.582Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:33:39.582Z] ---> 18f865063206 [2024-07-31T02:33:39.582Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-31T02:33:39.582Z] ---> Running in f7cdeec67e23 [2024-07-31T02:33:39.582Z] Removing intermediate container f7cdeec67e23 [2024-07-31T02:33:39.582Z] ---> 9da877bee533 [2024-07-31T02:33:39.582Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:33:39.582Z] ---> Running in c1bd91ddfcca [2024-07-31T02:33:39.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:40.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:40.361Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:33:40.361Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:33:40.361Z] OK: 7 MiB in 16 packages [2024-07-31T02:33:40.622Z] Removing intermediate container c1bd91ddfcca [2024-07-31T02:33:40.622Z] ---> b5a905ac8293 [2024-07-31T02:33:40.622Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-31T02:33:40.622Z] ---> Running in e27b28a7b3e5 [2024-07-31T02:33:40.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:40.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:41.142Z] OK: 7 MiB in 16 packages [2024-07-31T02:33:41.401Z] Removing intermediate container e27b28a7b3e5 [2024-07-31T02:33:41.401Z] ---> 95392d061723 [2024-07-31T02:33:41.401Z] Step 17/26 : WORKDIR / [2024-07-31T02:33:41.401Z] ---> Running in ccbb5c95ef89 [2024-07-31T02:33:41.720Z] Removing intermediate container ccbb5c95ef89 [2024-07-31T02:33:41.720Z] ---> 230bae7a1278 [2024-07-31T02:33:41.720Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-31T02:33:41.720Z] ---> 78a9f1301bc5 [2024-07-31T02:33:41.720Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-31T02:33:41.979Z] ---> 4342d779ae1f [2024-07-31T02:33:41.979Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-31T02:33:43.524Z] ---> ff7b36741bef [2024-07-31T02:33:43.524Z] Step 21/26 : EXPOSE 59995 [2024-07-31T02:33:43.524Z] ---> Running in f983c529bc4b [2024-07-31T02:33:43.524Z] Removing intermediate container f983c529bc4b [2024-07-31T02:33:43.524Z] ---> a805a900731e [2024-07-31T02:33:43.524Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-31T02:33:43.524Z] ---> Running in 9f8246437292 [2024-07-31T02:33:43.524Z] Removing intermediate container 9f8246437292 [2024-07-31T02:33:43.524Z] ---> 1fb327044b38 [2024-07-31T02:33:43.524Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-31T02:33:43.524Z] ---> Running in 18d7eb55f072 [2024-07-31T02:33:43.524Z] Removing intermediate container 18d7eb55f072 [2024-07-31T02:33:43.524Z] ---> cffbd392b46c [2024-07-31T02:33:43.524Z] Step 24/26 : LABEL arch=amd64 [2024-07-31T02:33:43.524Z] ---> Running in 723e3651ac30 [2024-07-31T02:33:43.524Z] Removing intermediate container 723e3651ac30 [2024-07-31T02:33:43.524Z] ---> 14bdf162d312 [2024-07-31T02:33:43.524Z] Step 25/26 : LABEL git_sha=bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:33:43.524Z] ---> Running in f0ab024fc963 [2024-07-31T02:33:43.524Z] Removing intermediate container f0ab024fc963 [2024-07-31T02:33:43.524Z] ---> 9832dd05a9d8 [2024-07-31T02:33:43.524Z] Step 26/26 : LABEL version=3.0.1-dev.28 [2024-07-31T02:33:43.785Z] ---> Running in 3fdd385b00d7 [2024-07-31T02:33:43.785Z] Removing intermediate container 3fdd385b00d7 [2024-07-31T02:33:43.785Z] ---> fc0656e1972f [2024-07-31T02:33:43.785Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:33:43.785Z] Successfully built fc0656e1972f [2024-07-31T02:33:43.785Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:33:43.945Z] provisioning config files... [2024-07-31T02:33:43.956Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14341097961919241156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:33:44.267Z] ---> ****-login.sh [2024-07-31T02:33:44.267Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:33:44.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:33:44.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:33:44.267Z] Configure a credential helper to remove this warning. See [2024-07-31T02:33:44.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:33:44.267Z] [2024-07-31T02:33:44.267Z] Login Succeeded [2024-07-31T02:33:44.267Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:33:44.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:33:44.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:33:44.267Z] Configure a credential helper to remove this warning. See [2024-07-31T02:33:44.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:33:44.267Z] [2024-07-31T02:33:44.267Z] Login Succeeded [2024-07-31T02:33:44.267Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:33:44.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:33:44.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:33:44.530Z] Configure a credential helper to remove this warning. See [2024-07-31T02:33:44.530Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:33:44.530Z] [2024-07-31T02:33:44.530Z] Login Succeeded [2024-07-31T02:33:44.530Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:33:44.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:33:44.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:33:44.531Z] Configure a credential helper to remove this warning. See [2024-07-31T02:33:44.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:33:44.531Z] [2024-07-31T02:33:44.531Z] Login Succeeded [2024-07-31T02:33:44.531Z] ****.io [2024-07-31T02:33:44.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:33:44.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:33:44.790Z] Configure a credential helper to remove this warning. See [2024-07-31T02:33:44.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:33:44.790Z] [2024-07-31T02:33:44.790Z] Login Succeeded [2024-07-31T02:33:44.790Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:33:44.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:33:44.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:33:44.891Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2024-07-31T02:33:44.891Z] bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:33:44.891Z] latest [2024-07-31T02:33:44.891Z] 3.0.1-dev.28 [2024-07-31T02:33:44.891Z] bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:33:44.891Z] main [2024-07-31T02:33:44.891Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:45.262Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:45.593Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:33:45.593Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-07-31T02:33:45.594Z] 2491f3ef34ed: Preparing [2024-07-31T02:33:45.594Z] d265e361453c: Preparing [2024-07-31T02:33:45.594Z] 3b063c9fcb82: Preparing [2024-07-31T02:33:45.594Z] 2045ee276f8e: Preparing [2024-07-31T02:33:45.594Z] 39a91a79392d: Preparing [2024-07-31T02:33:45.594Z] ce7f800efff9: Preparing [2024-07-31T02:33:45.594Z] ce7f800efff9: Waiting [2024-07-31T02:33:45.594Z] 2045ee276f8e: Pushed [2024-07-31T02:33:45.594Z] 3b063c9fcb82: Pushed [2024-07-31T02:33:45.594Z] d265e361453c: Pushed [2024-07-31T02:33:45.594Z] 39a91a79392d: Pushed [2024-07-31T02:33:45.594Z] ce7f800efff9: Layer already exists [2024-07-31T02:33:49.789Z] 2491f3ef34ed: Pushed [2024-07-31T02:33:49.789Z] bc279460de46d3a6d33425637d1308351b1bd8af: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:50.126Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:50.453Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2024-07-31T02:33:50.453Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-07-31T02:33:50.453Z] 2491f3ef34ed: Preparing [2024-07-31T02:33:50.453Z] d265e361453c: Preparing [2024-07-31T02:33:50.453Z] 3b063c9fcb82: Preparing [2024-07-31T02:33:50.453Z] 2045ee276f8e: Preparing [2024-07-31T02:33:50.453Z] 39a91a79392d: Preparing [2024-07-31T02:33:50.453Z] ce7f800efff9: Preparing [2024-07-31T02:33:50.453Z] ce7f800efff9: Waiting [2024-07-31T02:33:50.453Z] 39a91a79392d: Layer already exists [2024-07-31T02:33:50.453Z] 3b063c9fcb82: Layer already exists [2024-07-31T02:33:50.453Z] 2045ee276f8e: Layer already exists [2024-07-31T02:33:50.453Z] 2491f3ef34ed: Layer already exists [2024-07-31T02:33:50.453Z] d265e361453c: Layer already exists [2024-07-31T02:33:50.453Z] ce7f800efff9: Layer already exists [2024-07-31T02:33:50.453Z] latest: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:50.788Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:51.109Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 [2024-07-31T02:33:51.110Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-07-31T02:33:51.110Z] 2491f3ef34ed: Preparing [2024-07-31T02:33:51.110Z] d265e361453c: Preparing [2024-07-31T02:33:51.110Z] 3b063c9fcb82: Preparing [2024-07-31T02:33:51.110Z] 2045ee276f8e: Preparing [2024-07-31T02:33:51.110Z] 39a91a79392d: Preparing [2024-07-31T02:33:51.110Z] ce7f800efff9: Preparing [2024-07-31T02:33:51.110Z] ce7f800efff9: Waiting [2024-07-31T02:33:51.110Z] 3b063c9fcb82: Layer already exists [2024-07-31T02:33:51.110Z] 2045ee276f8e: Layer already exists [2024-07-31T02:33:51.110Z] d265e361453c: Layer already exists [2024-07-31T02:33:51.110Z] 2491f3ef34ed: Layer already exists [2024-07-31T02:33:51.110Z] 39a91a79392d: Layer already exists [2024-07-31T02:33:51.110Z] ce7f800efff9: Layer already exists [2024-07-31T02:33:51.110Z] 3.0.1-dev.28: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:51.448Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:51.598Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6823 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2024-07-31T02:33:51.616Z] Running in /w/workspace/device-uart/35 [Pipeline] { [Pipeline] checkout [2024-07-31T02:33:51.778Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:33:51.778Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-07-31T02:33:51.778Z] 2491f3ef34ed: Preparing [2024-07-31T02:33:51.778Z] d265e361453c: Preparing [2024-07-31T02:33:51.778Z] 3b063c9fcb82: Preparing [2024-07-31T02:33:51.778Z] 2045ee276f8e: Preparing [2024-07-31T02:33:51.778Z] 39a91a79392d: Preparing [2024-07-31T02:33:51.778Z] ce7f800efff9: Preparing [2024-07-31T02:33:51.778Z] ce7f800efff9: Waiting [2024-07-31T02:33:51.778Z] d265e361453c: Layer already exists [2024-07-31T02:33:51.778Z] 39a91a79392d: Layer already exists [2024-07-31T02:33:51.778Z] 2491f3ef34ed: Layer already exists [2024-07-31T02:33:51.778Z] 3b063c9fcb82: Layer already exists [2024-07-31T02:33:51.778Z] 2045ee276f8e: Layer already exists [2024-07-31T02:33:51.778Z] ce7f800efff9: Layer already exists [2024-07-31T02:33:51.778Z] bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [2024-07-31T02:33:54.677Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:54.993Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:55.321Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2024-07-31T02:33:55.321Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-07-31T02:33:55.321Z] 2491f3ef34ed: Preparing [2024-07-31T02:33:55.321Z] d265e361453c: Preparing [2024-07-31T02:33:55.321Z] 3b063c9fcb82: Preparing [2024-07-31T02:33:55.321Z] 2045ee276f8e: Preparing [2024-07-31T02:33:55.321Z] 39a91a79392d: Preparing [2024-07-31T02:33:55.321Z] ce7f800efff9: Preparing [2024-07-31T02:33:55.321Z] ce7f800efff9: Waiting [2024-07-31T02:33:55.321Z] 39a91a79392d: Layer already exists [2024-07-31T02:33:55.321Z] 2045ee276f8e: Layer already exists [2024-07-31T02:33:55.321Z] 3b063c9fcb82: Layer already exists [2024-07-31T02:33:55.321Z] 2491f3ef34ed: Layer already exists [2024-07-31T02:33:55.321Z] d265e361453c: Layer already exists [2024-07-31T02:33:55.321Z] ce7f800efff9: Layer already exists [2024-07-31T02:33:55.321Z] main: digest: sha256:e5f1c83d822a9047223bd35c64e48dad51604d8e4d4870ee022a5efcb184d1e0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:33:55.400Z] ===================================================== [Pipeline] echo [2024-07-31T02:33:55.422Z] taggedImages: [2024-07-31T02:33:55.422Z] - nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:33:55.422Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2024-07-31T02:33:55.422Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.28 [2024-07-31T02:33:55.422Z] - nexus3.edgexfoundry.org:10004/device-uart:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:33:55.422Z] - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:55.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:33:55.844Z] [2024-07-31T02:33:55.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:56.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:33:56.153Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-31T02:33:56.153Z] 5eb5b503b376: Pulling fs layer [2024-07-31T02:33:56.153Z] 5c69ac0246d0: Pulling fs layer [2024-07-31T02:33:56.153Z] ec43610c2a17: Pulling fs layer [2024-07-31T02:33:56.153Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-31T02:33:56.153Z] 33b1e0a273af: Pulling fs layer [2024-07-31T02:33:56.153Z] 5d3b04190fa2: Pulling fs layer [2024-07-31T02:33:56.153Z] 2f39f015ded8: Pulling fs layer [2024-07-31T02:33:56.153Z] 3a2ae6a8a46f: Waiting [2024-07-31T02:33:56.153Z] 5d3b04190fa2: Waiting [2024-07-31T02:33:56.153Z] 33b1e0a273af: Waiting [2024-07-31T02:33:56.153Z] 5c69ac0246d0: Verifying Checksum [2024-07-31T02:33:56.153Z] 5c69ac0246d0: Download complete [2024-07-31T02:33:56.153Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-31T02:33:56.153Z] 3a2ae6a8a46f: Download complete [2024-07-31T02:33:56.153Z] 33b1e0a273af: Verifying Checksum [2024-07-31T02:33:56.153Z] 33b1e0a273af: Download complete [2024-07-31T02:33:56.153Z] 5d3b04190fa2: Verifying Checksum [2024-07-31T02:33:56.153Z] 5d3b04190fa2: Download complete [2024-07-31T02:33:56.153Z] ec43610c2a17: Download complete [2024-07-31T02:33:56.410Z] 5eb5b503b376: Download complete [2024-07-31T02:33:56.975Z] 2f39f015ded8: Download complete [2024-07-31T02:33:57.539Z] 5eb5b503b376: Pull complete [2024-07-31T02:33:57.539Z] 5c69ac0246d0: Pull complete [2024-07-31T02:33:58.105Z] ec43610c2a17: Pull complete [2024-07-31T02:33:58.105Z] 3a2ae6a8a46f: Pull complete [2024-07-31T02:33:58.364Z] 33b1e0a273af: Pull complete [2024-07-31T02:33:58.364Z] 5d3b04190fa2: Pull complete [2024-07-31T02:34:00.685Z] using credential edgex-jenkins-ssh [2024-07-31T02:34:00.707Z] Cloning the remote Git repository [2024-07-31T02:34:00.759Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-07-31T02:34:00.876Z] > git init /w/workspace/device-uart/35 # timeout=10 [2024-07-31T02:34:01.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-31T02:34:01.072Z] > git --version # timeout=10 [2024-07-31T02:34:01.099Z] > git --version # 'git version 2.25.1' [2024-07-31T02:34:01.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T02:34:01.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:34:02.546Z] 2f39f015ded8: Pull complete [2024-07-31T02:34:02.546Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-31T02:34:02.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:34:02.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:34:02.658Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:34:02.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-31T02:34:03.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-31T02:34:03.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:34:05.036Z] Avoid second fetch [2024-07-31T02:34:05.037Z] Checking out Revision bc279460de46d3a6d33425637d1308351b1bd8af (main) [2024-07-31T02:34:06.024Z] Commit message: "Merge pull request #63 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" [2024-07-31T02:34:05.063Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T02:34:05.151Z] > git checkout -f bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 [2024-07-31T02:34:08.941Z] $ docker top d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:34:09.329Z] ---> job-cost.sh [2024-07-31T02:34:09.329Z] lf-activate-venv: SKIPPING [2024-07-31T02:34:09.329Z] INFO: No Stack... [2024-07-31T02:34:09.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:34:10.156Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:34:10.398Z] [2024-07-31T02:34:10.399Z] GitHub has been notified of this commit’s build result [2024-07-31T02:34:10.399Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-07-31T02:34:10.447Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2024-07-31T02:34:10.447Z] + cut -d, -f6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] lock [2024-07-31T02:34:10.469Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [2024-07-31T02:34:10.487Z] Resource [jenkins-edgexfoundry-device-uart-main-35-stack-cost] did not exist. Created. [2024-07-31T02:34:10.494Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:34:10.812Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-31T02:34:10.915Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:34:10.924Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:34:10.949Z] $ docker stop --time=1 d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 [2024-07-31T02:34:11.241Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-31T02:34:11.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:34:11.241Z] Dload Upload Total Spent Left Speed [2024-07-31T02:34:11.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [2024-07-31T02:34:12.094Z] $ docker rm -f --volumes d92d35050e9d53baff5020f26d346fd3de537dbad506d0b5df8850c8838bca51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-31T02:34:12.493Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-31T02:34:12.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-31T02:34:12.875Z] + sudo tee /etc/docker/daemon.new [2024-07-31T02:34:12.875Z] { [2024-07-31T02:34:12.875Z] "registry-mirrors": [ [2024-07-31T02:34:12.875Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-31T02:34:12.875Z] ], [2024-07-31T02:34:12.875Z] "bip": "10.250.0.254/24", [2024-07-31T02:34:12.875Z] "hosts": [ [2024-07-31T02:34:12.875Z] "tcp://0.0.0.0:5555", [2024-07-31T02:34:12.875Z] "unix:///var/run/docker.sock" [2024-07-31T02:34:12.875Z] ], [2024-07-31T02:34:12.875Z] "mtu": 1458, [2024-07-31T02:34:12.875Z] "selinux-enabled": true, [2024-07-31T02:34:12.875Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-31T02:34:12.875Z] } [Pipeline] sh [2024-07-31T02:34:13.231Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-31T02:34:13.618Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:34:31.974Z] provisioning config files... [2024-07-31T02:34:32.012Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/35@tmp/config14143805147657269665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:34:32.535Z] ---> ****-login.sh [2024-07-31T02:34:32.535Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:34:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:33.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:33.408Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:33.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:33.409Z] [2024-07-31T02:34:33.409Z] Login Succeeded [2024-07-31T02:34:33.409Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:34:33.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:33.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:33.681Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:33.681Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:33.681Z] [2024-07-31T02:34:33.681Z] Login Succeeded [2024-07-31T02:34:33.681Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:34:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:34.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:34.239Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:34.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:34.239Z] [2024-07-31T02:34:34.239Z] Login Succeeded [2024-07-31T02:34:34.239Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:34:34.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:34.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:34.512Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:34.512Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:34.512Z] [2024-07-31T02:34:34.512Z] Login Succeeded [2024-07-31T02:34:34.512Z] ****.io [2024-07-31T02:34:34.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:35.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:35.061Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:35.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:35.061Z] [2024-07-31T02:34:35.061Z] Login Succeeded [2024-07-31T02:34:35.061Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:34:35.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:34:35.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:34:35.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:34:35.563Z] ========================================================= [2024-07-31T02:34:35.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-31T02:34:35.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:35.974Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T02:34:36.720Z] Sending build context to Docker daemon 12.83MB [2024-07-31T02:34:36.720Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:34:36.720Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:34:36.720Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-31T02:34:36.720Z] c6b39de5b339: Pulling fs layer [2024-07-31T02:34:36.720Z] a69c41024577: Pulling fs layer [2024-07-31T02:34:36.720Z] d6de4b400683: Pulling fs layer [2024-07-31T02:34:36.720Z] 35cb2a7552d0: Pulling fs layer [2024-07-31T02:34:36.720Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:34:36.720Z] 464afbd9ba4c: Pulling fs layer [2024-07-31T02:34:36.720Z] 00f215d4a9da: Pulling fs layer [2024-07-31T02:34:36.720Z] d496ad576159: Pulling fs layer [2024-07-31T02:34:36.720Z] 4f4fb700ef54: Waiting [2024-07-31T02:34:36.720Z] 464afbd9ba4c: Waiting [2024-07-31T02:34:36.720Z] 35cb2a7552d0: Waiting [2024-07-31T02:34:36.720Z] 00f215d4a9da: Waiting [2024-07-31T02:34:36.720Z] d496ad576159: Waiting [2024-07-31T02:34:36.720Z] a69c41024577: Verifying Checksum [2024-07-31T02:34:36.720Z] a69c41024577: Download complete [2024-07-31T02:34:36.999Z] 35cb2a7552d0: Verifying Checksum [2024-07-31T02:34:36.999Z] 35cb2a7552d0: Download complete [2024-07-31T02:34:36.999Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:34:36.999Z] 4f4fb700ef54: Download complete [2024-07-31T02:34:36.999Z] c6b39de5b339: Verifying Checksum [2024-07-31T02:34:36.999Z] c6b39de5b339: Download complete [2024-07-31T02:34:36.999Z] 464afbd9ba4c: Verifying Checksum [2024-07-31T02:34:36.999Z] 464afbd9ba4c: Download complete [2024-07-31T02:34:37.603Z] d496ad576159: Verifying Checksum [2024-07-31T02:34:37.884Z] c6b39de5b339: Pull complete [2024-07-31T02:34:38.886Z] a69c41024577: Pull complete [2024-07-31T02:34:38.886Z] d6de4b400683: Verifying Checksum [2024-07-31T02:34:38.886Z] d6de4b400683: Download complete [2024-07-31T02:34:40.312Z] 00f215d4a9da: Verifying Checksum [2024-07-31T02:34:40.312Z] 00f215d4a9da: Download complete [2024-07-31T02:34:52.689Z] d6de4b400683: Pull complete [2024-07-31T02:34:52.689Z] 35cb2a7552d0: Pull complete [2024-07-31T02:34:52.689Z] 4f4fb700ef54: Pull complete [2024-07-31T02:34:52.964Z] 464afbd9ba4c: Pull complete [2024-07-31T02:35:03.138Z] 00f215d4a9da: Pull complete [2024-07-31T02:35:04.117Z] d496ad576159: Pull complete [2024-07-31T02:35:04.117Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-31T02:35:04.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-31T02:35:04.117Z] ---> f246e2811388 [2024-07-31T02:35:04.117Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:35:05.084Z] ---> Running in 341849bbe295 [2024-07-31T02:35:05.678Z] Removing intermediate container 341849bbe295 [2024-07-31T02:35:05.678Z] ---> af3b5e47868f [2024-07-31T02:35:05.678Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:35:05.678Z] ---> Running in 2e43d937d6ae [2024-07-31T02:35:05.947Z] Removing intermediate container 2e43d937d6ae [2024-07-31T02:35:05.947Z] ---> c732f07ec410 [2024-07-31T02:35:05.947Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:35:06.238Z] ---> Running in e9ec56478853 [2024-07-31T02:35:06.511Z] Removing intermediate container e9ec56478853 [2024-07-31T02:35:06.511Z] ---> d5c0189f5a26 [2024-07-31T02:35:06.511Z] Step 6/12 : WORKDIR /device-uart [2024-07-31T02:35:06.783Z] ---> Running in 3b58c2c28e74 [2024-07-31T02:35:07.073Z] Removing intermediate container 3b58c2c28e74 [2024-07-31T02:35:07.073Z] ---> 880581e9dcbb [2024-07-31T02:35:07.073Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:35:07.073Z] ---> Running in d6fc84e68db3 [2024-07-31T02:35:08.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:35:09.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:35:10.060Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:35:10.061Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:35:10.061Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:35:10.061Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:35:10.061Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:35:10.061Z] OK: 271 MiB in 56 packages [2024-07-31T02:35:11.494Z] Removing intermediate container d6fc84e68db3 [2024-07-31T02:35:11.494Z] ---> f6d4e06d3868 [2024-07-31T02:35:11.494Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-31T02:35:11.762Z] ---> d6a03a1b3e36 [2024-07-31T02:35:11.762Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:35:12.046Z] ---> Running in 60d913fd314e [2024-07-31T02:37:18.823Z] Removing intermediate container 60d913fd314e [2024-07-31T02:37:18.824Z] ---> 25d74e5460de [2024-07-31T02:37:18.824Z] Step 10/12 : COPY . . [2024-07-31T02:37:18.824Z] ---> da97892da597 [2024-07-31T02:37:18.824Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:37:18.824Z] ---> Running in ec97ad8dabaa [2024-07-31T02:37:18.824Z] Removing intermediate container ec97ad8dabaa [2024-07-31T02:37:18.824Z] ---> 8b2497d7a019 [2024-07-31T02:37:18.824Z] Step 12/12 : RUN ${MAKE} [2024-07-31T02:37:18.824Z] ---> Running in 767e9161f2d5 [2024-07-31T02:37:18.824Z] noop [2024-07-31T02:37:18.824Z] Removing intermediate container 767e9161f2d5 [2024-07-31T02:37:18.824Z] ---> 940876ebf1d3 [2024-07-31T02:37:18.824Z] Successfully built 940876ebf1d3 [2024-07-31T02:37:18.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:37:19.277Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:37:19.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:37:19.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container [2024-07-31T02:37:19.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T02:37:21.121Z] $ docker top a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:37:22.091Z] + go version [2024-07-31T02:37:22.091Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-31T02:37:22.109Z] $ docker stop --time=1 a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 [2024-07-31T02:37:23.900Z] $ docker rm -f --volumes a696b9cffa4b641722a0455eff146bb2d3c627220995d901a3b3fb9938d6eff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:37:24.555Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:37:24.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:37:24.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container [2024-07-31T02:37:24.909Z] $ 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/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T02:37:26.335Z] $ docker top 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:37:27.074Z] + git config --global --add safe.directory /w/workspace/device-uart/35 [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:37:27.768Z] + make test [2024-07-31T02:37:27.768Z] go test ./... -coverprofile=coverage.out [2024-07-31T02:37:34.445Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-31T02:42:11.429Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-31T02:42:11.429Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-31T02:42:11.429Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-31T02:42:11.429Z] go vet ./... [2024-07-31T02:42:58.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:42:58.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:42:58.306Z] ./bin/test-attribution-txt.sh [2024-07-31T02:42:58.306Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:42:58.306Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:42:58.575Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:42:58.575Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:42:58.575Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:42:58.575Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:42:58.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:42:58.612Z] $ docker stop --time=1 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f [2024-07-31T02:43:00.682Z] $ docker rm -f --volumes 8869c2ed72a66ccb40c2d7a4d5df4d71b070a893a593acc0e7764a6ee0f13d0f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:43:02.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:43:02.463Z] Warning: overwriting stash ‘coverage-report’ [2024-07-31T02:43:02.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:43:03.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:43:03.765Z] + ls -al . [2024-07-31T02:43:03.765Z] total 220 [2024-07-31T02:43:03.765Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 31 02:37 . [2024-07-31T02:43:03.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:34 .. [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:34 .dockerignore [2024-07-31T02:43:03.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:34 .git [2024-07-31T02:43:03.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 .github [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 02:34 .gitignore [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:34 .golangci.yml [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 31 02:34 Attribution.txt [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 31 02:34 CHANGELOG.md [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 31 02:34 Dockerfile [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:34 GOVERNANCE.md [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 31 02:34 Jenkinsfile [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:34 LICENSE [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 31 02:34 Makefile [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 02:34 OWNERS.md [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 31 02:34 README.md [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:30 VERSION [2024-07-31T02:43:03.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:34 bin [2024-07-31T02:43:03.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 cmd [2024-07-31T02:43:03.765Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 31 02:37 coverage.out [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 31 02:34 go.mod [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 31 02:34 go.sum [2024-07-31T02:43:03.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:34 internal [2024-07-31T02:43:03.765Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:43:04.132Z] + 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=bc279460de46d3a6d33425637d1308351b1bd8af --label arch=arm64 --label version=3.0.1-dev.28 . [2024-07-31T02:43:04.721Z] Sending build context to Docker daemon 12.83MB [2024-07-31T02:43:04.721Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:43:04.721Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-31T02:43:04.721Z] ---> 940876ebf1d3 [2024-07-31T02:43:04.721Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:43:04.989Z] ---> Running in bf6c5912f778 [2024-07-31T02:43:05.264Z] Removing intermediate container bf6c5912f778 [2024-07-31T02:43:05.264Z] ---> bb49b90464fa [2024-07-31T02:43:05.264Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:43:05.264Z] ---> Running in 7754d74690da [2024-07-31T02:43:05.861Z] Removing intermediate container 7754d74690da [2024-07-31T02:43:05.861Z] ---> 140d962ca193 [2024-07-31T02:43:05.861Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:43:05.861Z] ---> Running in 1f9ee8f73ffd [2024-07-31T02:43:06.148Z] Removing intermediate container 1f9ee8f73ffd [2024-07-31T02:43:06.148Z] ---> 946ede689d8d [2024-07-31T02:43:06.148Z] Step 6/26 : WORKDIR /device-uart [2024-07-31T02:43:06.417Z] ---> Running in 6f3b17e67601 [2024-07-31T02:43:06.692Z] Removing intermediate container 6f3b17e67601 [2024-07-31T02:43:06.692Z] ---> fd3247ed7bb6 [2024-07-31T02:43:06.692Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:43:06.692Z] ---> Running in 7f36da294a93 [2024-07-31T02:43:08.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:43:08.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:43:09.687Z] OK: 271 MiB in 56 packages [2024-07-31T02:43:11.113Z] Removing intermediate container 7f36da294a93 [2024-07-31T02:43:11.113Z] ---> 1d67229327e7 [2024-07-31T02:43:11.113Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-31T02:43:11.708Z] ---> 42d43aa6ed3a [2024-07-31T02:43:11.708Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:43:11.708Z] ---> Running in 8caf3750f68a [2024-07-31T02:43:14.459Z] Removing intermediate container 8caf3750f68a [2024-07-31T02:43:14.459Z] ---> 8d810f5800b8 [2024-07-31T02:43:14.459Z] Step 10/26 : COPY . . [2024-07-31T02:43:15.889Z] ---> f12f096fc636 [2024-07-31T02:43:15.889Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:43:16.161Z] ---> Running in d887515417fa [2024-07-31T02:43:16.433Z] Removing intermediate container d887515417fa [2024-07-31T02:43:16.433Z] ---> 6acdf419ee86 [2024-07-31T02:43:16.433Z] Step 12/26 : RUN ${MAKE} [2024-07-31T02:43:16.433Z] ---> Running in 40e1fbe13649 [2024-07-31T02:43:17.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-31T02:47:54.831Z] Removing intermediate container 40e1fbe13649 [2024-07-31T02:47:54.831Z] ---> 0ef877334a0f [2024-07-31T02:47:54.831Z] Step 13/26 : FROM alpine:3.18 [2024-07-31T02:47:54.831Z] 3.18: Pulling from library/alpine [2024-07-31T02:47:54.831Z] 4983c3fe2029: Pulling fs layer [2024-07-31T02:47:54.831Z] 4983c3fe2029: Verifying Checksum [2024-07-31T02:47:54.831Z] 4983c3fe2029: Download complete [2024-07-31T02:47:54.831Z] 4983c3fe2029: Pull complete [2024-07-31T02:47:54.831Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:47:54.831Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:47:54.831Z] ---> a0237000ae83 [2024-07-31T02:47:54.831Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-31T02:47:54.831Z] ---> Running in 59eeb7056433 [2024-07-31T02:47:54.831Z] Removing intermediate container 59eeb7056433 [2024-07-31T02:47:54.831Z] ---> 885dcd33cb97 [2024-07-31T02:47:54.831Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:47:54.831Z] ---> Running in 16d0733da423 [2024-07-31T02:47:54.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:47:54.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:47:54.831Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:47:54.831Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:47:54.831Z] OK: 8 MiB in 16 packages [2024-07-31T02:47:54.831Z] Removing intermediate container 16d0733da423 [2024-07-31T02:47:54.831Z] ---> a577df755c88 [2024-07-31T02:47:54.831Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-31T02:47:54.831Z] ---> Running in faa664e6ecc5 [2024-07-31T02:47:54.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:47:54.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:47:54.831Z] OK: 8 MiB in 16 packages [2024-07-31T02:47:54.831Z] Removing intermediate container faa664e6ecc5 [2024-07-31T02:47:54.831Z] ---> 7bc6023f5bf2 [2024-07-31T02:47:54.831Z] Step 17/26 : WORKDIR / [2024-07-31T02:47:54.831Z] ---> Running in 2408e74d6baa [2024-07-31T02:47:54.831Z] Removing intermediate container 2408e74d6baa [2024-07-31T02:47:54.831Z] ---> 9953fe5e62e4 [2024-07-31T02:47:54.831Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-31T02:47:54.831Z] ---> 3775334eb7b8 [2024-07-31T02:47:54.831Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-31T02:47:55.412Z] ---> ebc599481e8f [2024-07-31T02:47:55.412Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-31T02:47:57.990Z] ---> 3f95ee9f422e [2024-07-31T02:47:57.990Z] Step 21/26 : EXPOSE 59995 [2024-07-31T02:47:57.990Z] ---> Running in 3d3fe8b53eaa [2024-07-31T02:47:57.990Z] Removing intermediate container 3d3fe8b53eaa [2024-07-31T02:47:57.990Z] ---> 4c139b2e4dab [2024-07-31T02:47:57.990Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-31T02:47:58.258Z] ---> Running in 2d0e7134d618 [2024-07-31T02:47:58.525Z] Removing intermediate container 2d0e7134d618 [2024-07-31T02:47:58.525Z] ---> 047b9c89a16c [2024-07-31T02:47:58.525Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-31T02:47:58.525Z] ---> Running in 901d2c52ede8 [2024-07-31T02:47:58.793Z] Removing intermediate container 901d2c52ede8 [2024-07-31T02:47:58.793Z] ---> 1129a2bfc357 [2024-07-31T02:47:58.793Z] Step 24/26 : LABEL arch=arm64 [2024-07-31T02:47:59.061Z] ---> Running in 7e567182b508 [2024-07-31T02:47:59.329Z] Removing intermediate container 7e567182b508 [2024-07-31T02:47:59.329Z] ---> 95cc9457d932 [2024-07-31T02:47:59.329Z] Step 25/26 : LABEL git_sha=bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:47:59.329Z] ---> Running in 5087c02995fb [2024-07-31T02:47:59.596Z] Removing intermediate container 5087c02995fb [2024-07-31T02:47:59.596Z] ---> c938bbcd1b40 [2024-07-31T02:47:59.596Z] Step 26/26 : LABEL version=3.0.1-dev.28 [2024-07-31T02:47:59.868Z] ---> Running in a17d68aaa6ce [2024-07-31T02:48:00.135Z] Removing intermediate container a17d68aaa6ce [2024-07-31T02:48:00.135Z] ---> 48dbfcf51714 [2024-07-31T02:48:00.135Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:48:00.135Z] Successfully built 48dbfcf51714 [2024-07-31T02:48:00.135Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:48:00.290Z] provisioning config files... [2024-07-31T02:48:00.308Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/35@tmp/config11150843558349476238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:00.672Z] ---> ****-login.sh [2024-07-31T02:48:00.672Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:48:00.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:00.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:00.941Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:00.941Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:00.941Z] [2024-07-31T02:48:00.941Z] Login Succeeded [2024-07-31T02:48:00.941Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:48:01.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:01.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:01.477Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:01.477Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:01.477Z] [2024-07-31T02:48:01.477Z] Login Succeeded [2024-07-31T02:48:01.477Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:48:01.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:01.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:01.745Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:01.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:01.745Z] [2024-07-31T02:48:01.745Z] Login Succeeded [2024-07-31T02:48:01.745Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:48:02.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:02.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:02.283Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:02.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:02.283Z] [2024-07-31T02:48:02.283Z] Login Succeeded [2024-07-31T02:48:02.283Z] ****.io [2024-07-31T02:48:02.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:02.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:02.818Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:02.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:02.818Z] [2024-07-31T02:48:02.818Z] Login Succeeded [2024-07-31T02:48:02.818Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:48:02.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:48:02.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:48:02.911Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2024-07-31T02:48:02.911Z] bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:48:02.911Z] latest [2024-07-31T02:48:02.911Z] 3.0.1-dev.28 [2024-07-31T02:48:02.911Z] bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:48:02.911Z] main [2024-07-31T02:48:02.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:03.281Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:03.648Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:48:03.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-07-31T02:48:03.648Z] 67de3bcc0283: Preparing [2024-07-31T02:48:03.648Z] 1900ab135204: Preparing [2024-07-31T02:48:03.648Z] 16cc0cb3ddd7: Preparing [2024-07-31T02:48:03.648Z] 2fd37adcb7d6: Preparing [2024-07-31T02:48:03.648Z] 6ef66f2790b8: Preparing [2024-07-31T02:48:03.648Z] 3c20671a5817: Preparing [2024-07-31T02:48:03.648Z] 3c20671a5817: Waiting [2024-07-31T02:48:03.915Z] 1900ab135204: Pushed [2024-07-31T02:48:03.915Z] 16cc0cb3ddd7: Pushed [2024-07-31T02:48:03.915Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:03.915Z] 2fd37adcb7d6: Pushed [2024-07-31T02:48:03.915Z] 6ef66f2790b8: Pushed [2024-07-31T02:48:12.110Z] 67de3bcc0283: Pushed [2024-07-31T02:48:12.378Z] bc279460de46d3a6d33425637d1308351b1bd8af: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:12.748Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:13.116Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-07-31T02:48:13.116Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-07-31T02:48:13.116Z] 67de3bcc0283: Preparing [2024-07-31T02:48:13.116Z] 1900ab135204: Preparing [2024-07-31T02:48:13.116Z] 16cc0cb3ddd7: Preparing [2024-07-31T02:48:13.116Z] 2fd37adcb7d6: Preparing [2024-07-31T02:48:13.116Z] 6ef66f2790b8: Preparing [2024-07-31T02:48:13.116Z] 3c20671a5817: Preparing [2024-07-31T02:48:13.116Z] 3c20671a5817: Waiting [2024-07-31T02:48:13.116Z] 67de3bcc0283: Layer already exists [2024-07-31T02:48:13.116Z] 6ef66f2790b8: Layer already exists [2024-07-31T02:48:13.116Z] 1900ab135204: Layer already exists [2024-07-31T02:48:13.116Z] 16cc0cb3ddd7: Layer already exists [2024-07-31T02:48:13.116Z] 2fd37adcb7d6: Layer already exists [2024-07-31T02:48:13.116Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:13.388Z] latest: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:13.776Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:14.150Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 [2024-07-31T02:48:14.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-07-31T02:48:14.150Z] 67de3bcc0283: Preparing [2024-07-31T02:48:14.150Z] 1900ab135204: Preparing [2024-07-31T02:48:14.150Z] 16cc0cb3ddd7: Preparing [2024-07-31T02:48:14.150Z] 2fd37adcb7d6: Preparing [2024-07-31T02:48:14.150Z] 6ef66f2790b8: Preparing [2024-07-31T02:48:14.150Z] 3c20671a5817: Preparing [2024-07-31T02:48:14.150Z] 3c20671a5817: Waiting [2024-07-31T02:48:14.150Z] 1900ab135204: Layer already exists [2024-07-31T02:48:14.150Z] 6ef66f2790b8: Layer already exists [2024-07-31T02:48:14.150Z] 67de3bcc0283: Layer already exists [2024-07-31T02:48:14.150Z] 2fd37adcb7d6: Layer already exists [2024-07-31T02:48:14.150Z] 16cc0cb3ddd7: Layer already exists [2024-07-31T02:48:14.150Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:14.419Z] 3.0.1-dev.28: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:14.782Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:15.139Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:48:15.139Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-07-31T02:48:15.139Z] 67de3bcc0283: Preparing [2024-07-31T02:48:15.139Z] 1900ab135204: Preparing [2024-07-31T02:48:15.139Z] 16cc0cb3ddd7: Preparing [2024-07-31T02:48:15.139Z] 2fd37adcb7d6: Preparing [2024-07-31T02:48:15.139Z] 6ef66f2790b8: Preparing [2024-07-31T02:48:15.139Z] 3c20671a5817: Preparing [2024-07-31T02:48:15.139Z] 3c20671a5817: Waiting [2024-07-31T02:48:15.139Z] 67de3bcc0283: Layer already exists [2024-07-31T02:48:15.139Z] 2fd37adcb7d6: Layer already exists [2024-07-31T02:48:15.139Z] 1900ab135204: Layer already exists [2024-07-31T02:48:15.139Z] 16cc0cb3ddd7: Layer already exists [2024-07-31T02:48:15.139Z] 6ef66f2790b8: Layer already exists [2024-07-31T02:48:15.139Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:15.406Z] bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:15.781Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:16.148Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2024-07-31T02:48:16.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-07-31T02:48:16.148Z] 67de3bcc0283: Preparing [2024-07-31T02:48:16.148Z] 1900ab135204: Preparing [2024-07-31T02:48:16.148Z] 16cc0cb3ddd7: Preparing [2024-07-31T02:48:16.148Z] 2fd37adcb7d6: Preparing [2024-07-31T02:48:16.148Z] 6ef66f2790b8: Preparing [2024-07-31T02:48:16.148Z] 3c20671a5817: Preparing [2024-07-31T02:48:16.148Z] 3c20671a5817: Waiting [2024-07-31T02:48:16.148Z] 2fd37adcb7d6: Layer already exists [2024-07-31T02:48:16.148Z] 6ef66f2790b8: Layer already exists [2024-07-31T02:48:16.148Z] 1900ab135204: Layer already exists [2024-07-31T02:48:16.148Z] 16cc0cb3ddd7: Layer already exists [2024-07-31T02:48:16.148Z] 67de3bcc0283: Layer already exists [2024-07-31T02:48:16.148Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:16.415Z] main: digest: sha256:f962ebc0d50d6d32abaf663885cf490e9177e7697361cf54f9081cdc3c7ecd7f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:48:16.495Z] ===================================================== [Pipeline] echo [2024-07-31T02:48:16.512Z] taggedImages: [2024-07-31T02:48:16.512Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af [2024-07-31T02:48:16.512Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-07-31T02:48:16.512Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.28 [2024-07-31T02:48:16.512Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:bc279460de46d3a6d33425637d1308351b1bd8af-3.0.1-dev.28 [2024-07-31T02:48:16.512Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:16.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:48:16.925Z] [2024-07-31T02:48:16.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:17.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:48:17.541Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-31T02:48:17.541Z] 8998bd30e6a1: Pulling fs layer [2024-07-31T02:48:17.541Z] 04944245beec: Pulling fs layer [2024-07-31T02:48:17.541Z] 699f458cf7ca: Pulling fs layer [2024-07-31T02:48:17.541Z] 765212b225bb: Pulling fs layer [2024-07-31T02:48:17.541Z] f23df028b6ca: Pulling fs layer [2024-07-31T02:48:17.541Z] d65c8cfc05b1: Pulling fs layer [2024-07-31T02:48:17.541Z] 2437ff75d9bd: Pulling fs layer [2024-07-31T02:48:17.541Z] f23df028b6ca: Waiting [2024-07-31T02:48:17.541Z] 765212b225bb: Waiting [2024-07-31T02:48:17.541Z] d65c8cfc05b1: Waiting [2024-07-31T02:48:17.541Z] 2437ff75d9bd: Waiting [2024-07-31T02:48:17.541Z] 04944245beec: Verifying Checksum [2024-07-31T02:48:17.541Z] 04944245beec: Download complete [2024-07-31T02:48:17.541Z] 765212b225bb: Verifying Checksum [2024-07-31T02:48:17.541Z] 765212b225bb: Download complete [2024-07-31T02:48:17.541Z] f23df028b6ca: Verifying Checksum [2024-07-31T02:48:17.541Z] f23df028b6ca: Download complete [2024-07-31T02:48:17.541Z] d65c8cfc05b1: Verifying Checksum [2024-07-31T02:48:17.541Z] d65c8cfc05b1: Download complete [2024-07-31T02:48:17.810Z] 699f458cf7ca: Verifying Checksum [2024-07-31T02:48:17.810Z] 699f458cf7ca: Download complete [2024-07-31T02:48:18.395Z] 8998bd30e6a1: Verifying Checksum [2024-07-31T02:48:18.395Z] 8998bd30e6a1: Download complete [2024-07-31T02:48:20.976Z] 2437ff75d9bd: Verifying Checksum [2024-07-31T02:48:20.976Z] 2437ff75d9bd: Download complete [2024-07-31T02:48:22.923Z] 8998bd30e6a1: Pull complete [2024-07-31T02:48:23.506Z] 04944245beec: Pull complete [2024-07-31T02:48:25.453Z] 699f458cf7ca: Pull complete [2024-07-31T02:48:25.453Z] 765212b225bb: Pull complete [2024-07-31T02:48:26.417Z] f23df028b6ca: Pull complete [2024-07-31T02:48:26.684Z] d65c8cfc05b1: Pull complete [2024-07-31T02:48:44.894Z] 2437ff75d9bd: Pull complete [2024-07-31T02:48:44.894Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-31T02:48:44.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:48:44.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:45.125Z] prd-ubuntu20.04-docker-arm64-4c-16g-6823 does not seem to be running inside a container [2024-07-31T02:48:45.179Z] $ 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/35 -v /w/workspace/device-uart/35:/w/workspace/device-uart/35:rw,z -v /w/workspace/device-uart/35@tmp:/w/workspace/device-uart/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-31T02:48:48.117Z] $ docker top 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:48.642Z] ---> job-cost.sh [2024-07-31T02:48:48.906Z] lf-activate-venv: SKIPPING [2024-07-31T02:48:48.906Z] INFO: No Stack... [2024-07-31T02:48:49.171Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-31T02:48:50.125Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:48:50.446Z] + cat /w/workspace/device-uart/35/archives/cost.csv [2024-07-31T02:48:50.446Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T02:48:50.483Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [2024-07-31T02:48:50.495Z] Resource [jenkins-edgexfoundry-device-uart-main-35-stack-cost] did not exist. Created. [2024-07-31T02:48:50.507Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:48:50.847Z] /w/workspace/device-uart/35@tmp/durable-deaa67cd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-31T02:48:51.439Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-31T02:48:51.454Z] Warning: overwriting stash ‘stack-cost’ [2024-07-31T02:48:51.503Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:48:51.518Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:48:51.541Z] $ docker stop --time=1 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 [2024-07-31T02:48:53.019Z] $ docker rm -f --volumes 39afb1a13c1ba069cca69cf79d617f287819cf2641d7d9a66512b8ac6b1d4c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-31T02:48:53.516Z] provisioning config files... [2024-07-31T02:48:53.532Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16757054427687162354tmp [Pipeline] { [Pipeline] sh [2024-07-31T02:48:53.870Z] + set +x [2024-07-31T02:48:53.870Z] + curl -s https://codecov.io/bash [2024-07-31T02:48:53.870Z] + bash -s -- [2024-07-31T02:48:53.870Z] [2024-07-31T02:48:53.870Z] _____ _ [2024-07-31T02:48:53.870Z] / ____| | | [2024-07-31T02:48:53.870Z] | | ___ __| | ___ ___ _____ __ [2024-07-31T02:48:53.870Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-31T02:48:53.870Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-31T02:48:53.870Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-31T02:48:53.870Z] Bash-1.0.6 [2024-07-31T02:48:53.870Z] [2024-07-31T02:48:53.870Z] [2024-07-31T02:48:53.870Z] ==> git version 2.25.1 found [2024-07-31T02:48:53.870Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-31T02:48:53.870Z] Release-Date: 2020-01-08 [2024-07-31T02:48:53.870Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-31T02:48:53.870Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-31T02:48:53.870Z] ==> Jenkins CI detected. [2024-07-31T02:48:53.870Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2024-07-31T02:48:53.870Z] project root: . [2024-07-31T02:48:53.870Z] --> token set from env [2024-07-31T02:48:53.870Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-31T02:48:53.870Z] ==> Running gcov in . (disable via -X gcov) [2024-07-31T02:48:53.870Z] ==> Python coveragepy not found [2024-07-31T02:48:53.870Z] ==> Searching for coverage reports in: [2024-07-31T02:48:53.870Z] + . [2024-07-31T02:48:53.870Z] -> Found 1 reports [2024-07-31T02:48:53.870Z] ==> Detecting git/mercurial file structure [2024-07-31T02:48:53.870Z] ==> Reading reports [2024-07-31T02:48:53.870Z] + ./coverage.out bytes=10 [2024-07-31T02:48:53.870Z] ==> Appending adjustments [2024-07-31T02:48:53.870Z] https://docs.codecov.io/docs/fixing-reports [2024-07-31T02:48:53.870Z] + Found adjustments [2024-07-31T02:48:54.159Z] ==> Gzipping contents [2024-07-31T02:48:54.159Z] 4.0K /tmp/codecov.vkEBck.gz [2024-07-31T02:48:54.159Z] ==> Uploading reports [2024-07-31T02:48:54.159Z] url: https://codecov.io [2024-07-31T02:48:54.159Z] query: branch=main&commit=bc279460de46d3a6d33425637d1308351b1bd8af&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:48:54.159Z] -> Pinging Codecov [2024-07-31T02:48:54.159Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=bc279460de46d3a6d33425637d1308351b1bd8af&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:48:54.440Z] -> Uploading to [2024-07-31T02:48:54.440Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-31/B9AA6E0BBD74AE3A32605C7A7C664919/bc279460de46d3a6d33425637d1308351b1bd8af/6fc1325d-5e01-4f16-84a9-7a4750b3706b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T024854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c64102e5733b2d79150d7a90da1075823b87feb27c82a22b898ec235299fe5dc [2024-07-31T02:48:54.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:48:54.440Z] Dload Upload Total Spent Left Speed [2024-07-31T02:48:54.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2565 --:--:-- --:--:-- --:--:-- 2565 [2024-07-31T02:48:54.721Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] } [2024-07-31T02:48:54.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-31T02:48:54.903Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-31T02:48:54.927Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:55.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:48:55.240Z] [2024-07-31T02:48:55.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:55.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:48:56.115Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-31T02:48:56.115Z] 619be1103602: Already exists [2024-07-31T02:48:56.374Z] f8ea3408117e: Pulling fs layer [2024-07-31T02:48:56.374Z] 91320369b822: Pulling fs layer [2024-07-31T02:48:56.374Z] 0406650e8295: Pulling fs layer [2024-07-31T02:48:56.374Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:48:56.374Z] 96d80e3f36e1: Pulling fs layer [2024-07-31T02:48:56.374Z] bcf3aedb951c: Pulling fs layer [2024-07-31T02:48:56.374Z] 4f4fb700ef54: Waiting [2024-07-31T02:48:56.374Z] 96d80e3f36e1: Waiting [2024-07-31T02:48:56.374Z] bcf3aedb951c: Waiting [2024-07-31T02:48:56.374Z] 0406650e8295: Verifying Checksum [2024-07-31T02:48:56.374Z] 0406650e8295: Download complete [2024-07-31T02:48:56.374Z] f8ea3408117e: Verifying Checksum [2024-07-31T02:48:56.374Z] f8ea3408117e: Download complete [2024-07-31T02:48:56.688Z] 96d80e3f36e1: Verifying Checksum [2024-07-31T02:48:56.688Z] 96d80e3f36e1: Download complete [2024-07-31T02:48:56.945Z] f8ea3408117e: Pull complete [2024-07-31T02:48:56.945Z] 91320369b822: Verifying Checksum [2024-07-31T02:48:56.945Z] 91320369b822: Download complete [2024-07-31T02:48:57.511Z] bcf3aedb951c: Verifying Checksum [2024-07-31T02:48:57.511Z] bcf3aedb951c: Download complete [2024-07-31T02:49:00.789Z] 91320369b822: Pull complete [2024-07-31T02:49:00.789Z] 0406650e8295: Pull complete [2024-07-31T02:49:01.047Z] 4f4fb700ef54: Pull complete [2024-07-31T02:49:01.306Z] 96d80e3f36e1: Pull complete [2024-07-31T02:49:09.421Z] bcf3aedb951c: Pull complete [2024-07-31T02:49:09.421Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-31T02:49:09.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:49:09.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:49:09.525Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:49:09.562Z] $ 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:latest cat [2024-07-31T02:49:16.973Z] $ docker top 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:49:17.334Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo [2024-07-31T02:49:17.345Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2024-07-31T02:49:17.627Z] + set -o pipefail [2024-07-31T02:49:17.628Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2024-07-31T02:49:25.751Z] [2024-07-31T02:49:25.751Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2024-07-31T02:49:25.751Z] [2024-07-31T02:49:25.751Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/6c0db509-1d6a-4138-ae13-6cb1bd42efd6 [2024-07-31T02:49:25.751Z] [2024-07-31T02:49:25.751Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-31T02:49:25.751Z] [2024-07-31T02:49:25.751Z] [2024-07-31T02:49:25.751Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-31T02:49:25.751Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-31T02:49:25.761Z] $ docker stop --time=1 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 [2024-07-31T02:49:36.421Z] $ docker rm -f --volumes 5086e1fe0713eb56cabdf47a1c59dfdcc40fb3769fc94fdf83e5255c2a7cd832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:49:37.507Z] + git log --format=format:%s -1 bc279460de46d3a6d33425637d1308351b1bd8af [Pipeline] sh [2024-07-31T02:49:37.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:49:37.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:49:38.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:49:38.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:49:38.205Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:49:38.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T02:49:38.766Z] $ docker top f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 -eo pid,comm [2024-07-31T02:49:38.812Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-31T02:49:38.812Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:49:38.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:49:38.876Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:49:38.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:49:38.979Z] $ docker exec f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 ssh-agent [2024-07-31T02:49:39.089Z] SSH_AUTH_SOCK=/tmp/ssh-KxIDbtZeDwbC/agent.33 [2024-07-31T02:49:39.089Z] SSH_AGENT_PID=39 [2024-07-31T02:49:39.094Z] Running ssh-add (command line suppressed) [2024-07-31T02:49:39.203Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17496367252078006063.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17496367252078006063.key) [2024-07-31T02:49:39.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:49:39.518Z] + git semver tag [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,698 [run_tag] DEBUG tag force:False [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,699 [check_head_tag] DEBUG check head tag [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,700 [execute] INFO git cat-file --batch-check [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,704 [execute] INFO git cat-file --batch [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,719 [execute] INFO git tag -a v3.0.1-dev.28 -m v3.0.1-dev.28 [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,719 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.28', '-m', 'v3.0.1-dev.28'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:49:39.778Z] 2024-07-31 02:49:39,723 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:49:39.778Z] 3.0.1-dev.28 [Pipeline] } [2024-07-31T02:49:39.785Z] $ docker exec --env ******** --env ******** f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 ssh-agent -k [2024-07-31T02:49:39.869Z] unset SSH_AUTH_SOCK; [2024-07-31T02:49:39.870Z] unset SSH_AGENT_PID; [2024-07-31T02:49:39.870Z] echo Agent pid 39 killed; [2024-07-31T02:49:39.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:49:40.202Z] + git semver [Pipeline] } [2024-07-31T02:49:40.470Z] $ docker stop --time=1 f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 [2024-07-31T02:49:42.165Z] $ docker rm -f --volumes f9d4599c3ea297beb85e6ea67b5497b57e0884eb2da6b22a633698a9d8b9b556 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:49:42.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:49:42.638Z] [2024-07-31T02:49:42.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:49:42.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:49:42.940Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-31T02:49:42.940Z] ab5ef0e58194: Pulling fs layer [2024-07-31T02:49:42.940Z] 9712f1f96733: Pulling fs layer [2024-07-31T02:49:42.940Z] 63f879dbbcfc: Pulling fs layer [2024-07-31T02:49:42.940Z] 0d9ebad4ef96: Pulling fs layer [2024-07-31T02:49:42.940Z] e9a5061849ea: Pulling fs layer [2024-07-31T02:49:42.940Z] d747dcd14b5f: Pulling fs layer [2024-07-31T02:49:42.940Z] 2de7ff778b66: Pulling fs layer [2024-07-31T02:49:42.940Z] 0d9ebad4ef96: Waiting [2024-07-31T02:49:42.940Z] 2de7ff778b66: Waiting [2024-07-31T02:49:42.940Z] e9a5061849ea: Waiting [2024-07-31T02:49:42.940Z] 9712f1f96733: Download complete [2024-07-31T02:49:43.198Z] 63f879dbbcfc: Verifying Checksum [2024-07-31T02:49:43.198Z] 63f879dbbcfc: Download complete [2024-07-31T02:49:43.456Z] e9a5061849ea: Verifying Checksum [2024-07-31T02:49:43.457Z] e9a5061849ea: Download complete [2024-07-31T02:49:43.457Z] ab5ef0e58194: Verifying Checksum [2024-07-31T02:49:43.457Z] ab5ef0e58194: Download complete [2024-07-31T02:49:43.457Z] 0d9ebad4ef96: Verifying Checksum [2024-07-31T02:49:43.457Z] 0d9ebad4ef96: Download complete [2024-07-31T02:49:43.714Z] 2de7ff778b66: Verifying Checksum [2024-07-31T02:49:43.714Z] 2de7ff778b66: Download complete [2024-07-31T02:49:46.243Z] ab5ef0e58194: Pull complete [2024-07-31T02:49:46.244Z] 9712f1f96733: Pull complete [2024-07-31T02:49:46.810Z] 63f879dbbcfc: Pull complete [2024-07-31T02:49:50.999Z] 0d9ebad4ef96: Pull complete [2024-07-31T02:49:50.999Z] e9a5061849ea: Pull complete [2024-07-31T02:49:50.999Z] d747dcd14b5f: Pull complete [2024-07-31T02:49:51.932Z] 2de7ff778b66: Pull complete [2024-07-31T02:49:51.932Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-31T02:49:51.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:49:51.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:49:52.041Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:49:52.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-31T02:49:58.348Z] $ docker top 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:49:58.434Z] provisioning config files... [2024-07-31T02:49:58.440Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8153913826677170690tmp [2024-07-31T02:49:58.451Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14361977595871515904tmp [2024-07-31T02:49:58.461Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1091137890335423130tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:49:58.491Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:49:58.786Z] ---> sigul-configuration.sh [2024-07-31T02:49:58.786Z] gpg: directory `/root/.gnupg' created [2024-07-31T02:49:58.786Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-31T02:49:58.786Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-31T02:49:58.787Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-31T02:49:58.787Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-31T02:49:58.787Z] gpg: CAST5 encrypted data [2024-07-31T02:49:58.787Z] gpg: encrypted with 1 passphrase [2024-07-31T02:49:58.787Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-31T02:49:59.083Z] + mkdir /home/jenkins [2024-07-31T02:49:59.083Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-31T02:49:59.380Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-07-31T02:49:59.395Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:49:59.683Z] ---> sigul-install.sh [2024-07-31T02:49:59.683Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-31T02:49:59.970Z] + git tag --list [2024-07-31T02:49:59.970Z] v0.0.0 [2024-07-31T02:49:59.970Z] v0.0.1-dev.1 [2024-07-31T02:49:59.970Z] v0.0.1-dev.2 [2024-07-31T02:49:59.970Z] v0.0.1-dev.3 [2024-07-31T02:49:59.970Z] v0.0.1-dev.4 [2024-07-31T02:49:59.970Z] v3.0.0 [2024-07-31T02:49:59.970Z] v3.0.1-dev.1 [2024-07-31T02:49:59.970Z] v3.0.1-dev.10 [2024-07-31T02:49:59.970Z] v3.0.1-dev.11 [2024-07-31T02:49:59.970Z] v3.0.1-dev.12 [2024-07-31T02:49:59.970Z] v3.0.1-dev.13 [2024-07-31T02:49:59.970Z] v3.0.1-dev.14 [2024-07-31T02:49:59.970Z] v3.0.1-dev.15 [2024-07-31T02:49:59.970Z] v3.0.1-dev.16 [2024-07-31T02:49:59.970Z] v3.0.1-dev.17 [2024-07-31T02:49:59.970Z] v3.0.1-dev.18 [2024-07-31T02:49:59.970Z] v3.0.1-dev.19 [2024-07-31T02:49:59.970Z] v3.0.1-dev.2 [2024-07-31T02:49:59.970Z] v3.0.1-dev.20 [2024-07-31T02:49:59.970Z] v3.0.1-dev.21 [2024-07-31T02:49:59.970Z] v3.0.1-dev.22 [2024-07-31T02:49:59.970Z] v3.0.1-dev.23 [2024-07-31T02:49:59.970Z] v3.0.1-dev.24 [2024-07-31T02:49:59.970Z] v3.0.1-dev.25 [2024-07-31T02:49:59.970Z] v3.0.1-dev.26 [2024-07-31T02:49:59.970Z] v3.0.1-dev.27 [2024-07-31T02:49:59.970Z] v3.0.1-dev.28 [2024-07-31T02:49:59.970Z] v3.0.1-dev.3 [2024-07-31T02:49:59.970Z] v3.0.1-dev.4 [2024-07-31T02:49:59.970Z] v3.0.1-dev.5 [2024-07-31T02:49:59.970Z] v3.0.1-dev.6 [2024-07-31T02:49:59.970Z] v3.0.1-dev.7 [2024-07-31T02:49:59.970Z] v3.0.1-dev.8 [2024-07-31T02:49:59.970Z] v3.0.1-dev.9 [2024-07-31T02:49:59.970Z] v3.1 [2024-07-31T02:49:59.970Z] v3.1.0 [2024-07-31T02:49:59.970Z] v3.1.1 [2024-07-31T02:49:59.970Z] v3.1.1-dev.1 [Pipeline] sh [2024-07-31T02:50:00.261Z] + lftools sign git-tag v3.0.1-dev.28 [2024-07-31T02:50:00.830Z] Signing Git tag with Sigul... [2024-07-31T02:50:00.830Z] Signing v3.0.1-dev.28 [Pipeline] echo [2024-07-31T02:50:01.800Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:02.100Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-31T02:50:02.106Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-31T02:50:02.130Z] $ docker stop --time=1 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 [2024-07-31T02:50:03.383Z] $ docker rm -f --volumes 135ee493ffc3c52fc99c06bc7431354aa074d2aa3273bbe5f405a1bc1a8fa4b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-31T02:50:03.848Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:50:03.848Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:04.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:50:04.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:04.232Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:50:04.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T02:50:04.581Z] $ docker top a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:50:04.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:50:04.693Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:50:04.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:50:04.802Z] $ docker exec a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 ssh-agent [2024-07-31T02:50:04.929Z] SSH_AUTH_SOCK=/tmp/ssh-62ayHt2CAVKo/agent.31 [2024-07-31T02:50:04.929Z] SSH_AGENT_PID=37 [2024-07-31T02:50:04.933Z] Running ssh-add (command line suppressed) [2024-07-31T02:50:05.035Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11433800240243017813.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11433800240243017813.key) [2024-07-31T02:50:05.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:50:05.344Z] + git semver bump pre [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,516 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,517 [bump_version] DEBUG bumping version:3.0.1-dev.28 on axis:pre with prefix:dev [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,517 [bump_version] DEBUG bumped version:3.0.1-dev.29 [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,517 [write_version] DEBUG write version:3.0.1-dev.29 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,517 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,519 [execute] INFO git cat-file --batch-check [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,523 [execute] INFO git cat-file --batch [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:05.603Z] 2024-07-31 02:50:05,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:50:05.603Z] 3.0.1-dev.29 [Pipeline] } [2024-07-31T02:50:05.610Z] $ docker exec --env ******** --env ******** a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 ssh-agent -k [2024-07-31T02:50:05.705Z] unset SSH_AUTH_SOCK; [2024-07-31T02:50:05.706Z] unset SSH_AGENT_PID; [2024-07-31T02:50:05.706Z] echo Agent pid 37 killed; [2024-07-31T02:50:05.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:50:06.040Z] + git semver [Pipeline] } [2024-07-31T02:50:06.305Z] $ docker stop --time=1 a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 [2024-07-31T02:50:07.569Z] $ docker rm -f --volumes a30db6786746685fed2d09586cb5719f8167ca4f4199bf4cb5d107838ea97210 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:50:07.933Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:50:07.933Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:08.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:50:08.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:08.343Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:50:08.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T02:50:08.689Z] $ docker top 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 -eo pid,comm [2024-07-31T02:50:08.736Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-31T02:50:08.737Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:50:08.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:50:08.806Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:50:08.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:50:08.913Z] $ docker exec 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 ssh-agent [2024-07-31T02:50:09.026Z] SSH_AUTH_SOCK=/tmp/ssh-ituEop7clIEw/agent.32 [2024-07-31T02:50:09.026Z] SSH_AGENT_PID=38 [2024-07-31T02:50:09.030Z] Running ssh-add (command line suppressed) [2024-07-31T02:50:09.122Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11398337099594987323.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11398337099594987323.key) [2024-07-31T02:50:09.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:50:09.441Z] + git semver push [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,620 [run_push] DEBUG push [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,620 [execute] INFO git cat-file --batch-check [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,624 [execute] INFO git rev-list e049add78115ce700759d521ce22d13574da7de8 -- [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,624 [execute] DEBUG Popen(['git', 'rev-list', 'e049add78115ce700759d521ce22d13574da7de8', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,630 [execute] INFO git fetch -v origin [2024-07-31T02:50:09.700Z] 2024-07-31 02:50:09,630 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-31T02:50:10.267Z] 2024-07-31 02:50:10,079 [run_push] DEBUG no remote changes detected [2024-07-31T02:50:10.267Z] 2024-07-31 02:50:10,080 [execute] INFO git push origin semver [2024-07-31T02:50:10.267Z] 2024-07-31 02:50:10,080 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:10.837Z] 2024-07-31 02:50:10,799 [run_push] DEBUG push all version tags [2024-07-31T02:50:10.837Z] 2024-07-31 02:50:10,800 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-31T02:50:10.837Z] 2024-07-31 02:50:10,800 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:11.777Z] 2024-07-31 02:50:11,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-07-31T02:50:11.777Z] 3.0.1-dev.29 [Pipeline] } [2024-07-31T02:50:11.784Z] $ docker exec --env ******** --env ******** 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 ssh-agent -k [2024-07-31T02:50:11.894Z] unset SSH_AUTH_SOCK; [2024-07-31T02:50:11.894Z] unset SSH_AGENT_PID; [2024-07-31T02:50:11.894Z] echo Agent pid 38 killed; [2024-07-31T02:50:11.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:50:12.236Z] + git semver [Pipeline] } [2024-07-31T02:50:12.517Z] $ docker stop --time=1 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 [2024-07-31T02:50:13.785Z] $ docker rm -f --volumes 2ce3b972d299263beeb6064a9f4068cd0b1794dd3ba52223662c0d47176d6752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-31T02:50:14.491Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2024-07-31T02:50:14.491Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-07-31T02:50:14.491Z] total 16 [2024-07-31T02:50:14.491Z] drwxr-xr-x 3 root root 4096 Jul 31 02:34 . [2024-07-31T02:50:14.491Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:49 .. [2024-07-31T02:50:14.491Z] drwxr-xr-x 2 root root 4096 Jul 31 02:34 cost [2024-07-31T02:50:14.491Z] -rw-r--r-- 1 root root 82 Jul 31 02:34 cost.csv [2024-07-31T02:50:14.491Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2024-07-31T02:50:14.492Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-07-31T02:50:14.492Z] total 16 [2024-07-31T02:50:14.492Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:34 . [2024-07-31T02:50:14.492Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:49 .. [2024-07-31T02:50:14.492Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:34 cost [2024-07-31T02:50:14.492Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 31 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:14.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:15.648Z] ---> package-listing.sh [2024-07-31T02:50:15.648Z] ++ facter osfamily [2024-07-31T02:50:15.648Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-31T02:50:15.909Z] + OS_FAMILY=debian [2024-07-31T02:50:15.909Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2024-07-31T02:50:15.909Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-31T02:50:15.909Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-31T02:50:15.909Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-31T02:50:15.909Z] + PACKAGES=/tmp/packages_start.txt [2024-07-31T02:50:15.909Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-07-31T02:50:15.909Z] + PACKAGES=/tmp/packages_end.txt [2024-07-31T02:50:15.909Z] + case "${OS_FAMILY}" in [2024-07-31T02:50:15.909Z] + dpkg -l [2024-07-31T02:50:15.909Z] + grep '^ii' [2024-07-31T02:50:15.909Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-31T02:50:15.909Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-31T02:50:15.909Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-31T02:50:15.909Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-07-31T02:50:15.909Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2024-07-31T02:50:15.909Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2024-07-31T02:50:15.919Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-31T02:50:16.197Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:16.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:50:16.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:16.843Z] prd-ubuntu20.04-docker-8c-8g-6808 does not seem to be running inside a container [2024-07-31T02:50:16.871Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-31T02:50:17.074Z] $ docker top 69a8b72d5d36093e01807fedc53d097ec821e9df39a6afb3d07a32c535909652 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:50:17.438Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-31T02:50:17.724Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-31T02:50:18.007Z] + ls /var/log/sa-host [2024-07-31T02:50:18.007Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:50:18.093Z] provisioning config files... [2024-07-31T02:50:18.100Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8907895284610810424tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:50:18.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:18.401Z] ---> create-netrc.sh [Pipeline] } [2024-07-31T02:50:18.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:18.750Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-31T02:50:18.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:19.044Z] ---> sudo-logs.sh [2024-07-31T02:50:19.044Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-31T02:50:19.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:19.366Z] ---> job-cost.sh [2024-07-31T02:50:19.366Z] lf-activate-venv: SKIPPING [2024-07-31T02:50:19.366Z] DEBUG: total: 0.2199999988079071 [2024-07-31T02:50:19.366Z] INFO: Retrieving Stack Cost... [2024-07-31T02:50:19.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:50:19.891Z] INFO: Archiving Costs [Pipeline] echo [2024-07-31T02:50:19.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:20.195Z] ---> logs-deploy.sh [2024-07-31T02:50:20.195Z] lf-activate-venv: SKIPPING [2024-07-31T02:50:20.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/35 [2024-07-31T02:50:20.195Z] INFO: archiving workspace using pattern(s): [2024-07-31T02:50:21.131Z] Archives upload complete. [2024-07-31T02:50:21.131Z] INFO: archiving logs to Nexus