Pull request #64 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5+456606cc1479f447ad62a94b16c6a77590d7088f (d2a9b4f6828df6397716bef3f2e569fd28b2358a) 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-ssh13177100328389866377.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-ssh2278427417719672598.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/PR-64/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/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5074408087102486197.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-ssh11510335235007882839.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/PR-64/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/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6983297685294317333.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-7366 in /w/workspace/edgexfoundry_device-uart_PR-64 [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_PR-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 Merge succeeded, producing 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 Checking out Revision 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 (PR-64) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 # timeout=10 > git rev-list --no-walk d8d80456c4c454ab8bd409ec840752c6b5f05760 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-08T04:49:16.772Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-08T04:49:16.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-08T04:49:16.883Z] ========================================================= [2024-08-08T04:49:16.883Z] EdgeX Global Pipelines Version Info [2024-08-08T04:49:16.883Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-08T04:49:17.638Z] ------------------- [2024-08-08T04:49:17.638Z] stable info: [2024-08-08T04:49:17.638Z] ------------------- [2024-08-08T04:49:17.638Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-08T04:49:17.638Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-08T04:49:17.638Z] Message: update stable to v1.0.260 [2024-08-08T04:49:18.208Z] ------------------- [2024-08-08T04:49:18.208Z] experimental info: [2024-08-08T04:49:18.208Z] ------------------- [2024-08-08T04:49:18.208Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-08T04:49:18.208Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-08T04:49:18.208Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-08T04:49:18.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-08-08T04:49:18.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-08-08T04:49:18.347Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-08T04:49:18.371Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-08T04:49:18.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-08T04:49:18.419Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-08T04:49:18.444Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-08T04:49:18.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-08T04:49:18.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-08T04:49:18.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-08T04:49:18.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-08T04:49:18.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-08-08T04:49:18.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-08T04:49:18.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-08T04:49:18.628Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-08T04:49:18.652Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-08T04:49:18.678Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-08T04:49:18.703Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-08T04:49:18.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-08T04:49:18.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-08T04:49:18.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-08T04:49:18.806Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-08T04:49:18.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-08T04:49:18.858Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-08T04:49:18.882Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-08T04:49:18.907Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-08T04:49:18.936Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-08T04:49:18.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2024-08-08T04:49:18.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2024-08-08T04:49:19.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2024-08-08T04:49:19.041Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [Pipeline] echo [2024-08-08T04:49:19.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1332634 [Pipeline] echo [2024-08-08T04:49:19.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T04:49:19.155Z] provisioning config files... [2024-08-08T04:49:19.168Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-64@tmp/config8236008536069812871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T04:49:19.499Z] ---> ****-login.sh [2024-08-08T04:49:19.499Z] nexus3.edgexfoundry.org:10001 [2024-08-08T04:49:19.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:19.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:19.760Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:19.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:19.760Z] [2024-08-08T04:49:19.760Z] Login Succeeded [2024-08-08T04:49:19.760Z] nexus3.edgexfoundry.org:10002 [2024-08-08T04:49:20.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:20.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:20.020Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:20.020Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:20.020Z] [2024-08-08T04:49:20.020Z] Login Succeeded [2024-08-08T04:49:20.020Z] nexus3.edgexfoundry.org:10003 [2024-08-08T04:49:20.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:20.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:20.020Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:20.020Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:20.020Z] [2024-08-08T04:49:20.020Z] Login Succeeded [2024-08-08T04:49:20.020Z] nexus3.edgexfoundry.org:10004 [2024-08-08T04:49:20.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:20.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:20.280Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:20.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:20.280Z] [2024-08-08T04:49:20.280Z] Login Succeeded [2024-08-08T04:49:20.280Z] ****.io [2024-08-08T04:49:20.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:20.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:20.539Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:20.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:20.539Z] [2024-08-08T04:49:20.539Z] Login Succeeded [2024-08-08T04:49:20.539Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T04:49:20.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-08T04:49:20.937Z] + git rev-list -1 --merges 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5~1..1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [Pipeline] echo [2024-08-08T04:49:20.964Z] -----------> git rev-list -1 --merges 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5~1..1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [false] [Pipeline] sh [2024-08-08T04:49:21.272Z] + git log --format=format:%s -1 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [Pipeline] echo [2024-08-08T04:49:21.286Z] ========================================================= [2024-08-08T04:49:21.286Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-08T04:49:21.286Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T04:49:21.627Z] + git log --format=format:%s -1 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [Pipeline] echo [2024-08-08T04:49:21.638Z] [semverPrep] GIT_COMMIT: 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-08T04:49:21.654Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-08T04:49:22.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-08T04:49:22.030Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-08T04:49:22.030Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-08T04:49:22.030Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-08T04:49:22.030Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-08T04:49:22.030Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-08T04:49:22.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:49:22.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T04:49:22.413Z] [2024-08-08T04:49:22.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:49:22.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T04:49:22.719Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-08T04:49:22.719Z] b85a868b505f: Pulling fs layer [2024-08-08T04:49:22.719Z] e2be974225ed: Pulling fs layer [2024-08-08T04:49:22.719Z] 339a4e72a1f5: Pulling fs layer [2024-08-08T04:49:22.719Z] 988bab9f4d93: Pulling fs layer [2024-08-08T04:49:22.719Z] 1469e6f7b9e6: Pulling fs layer [2024-08-08T04:49:22.719Z] eaf3925da568: Pulling fs layer [2024-08-08T04:49:22.719Z] bab4dde63d76: Pulling fs layer [2024-08-08T04:49:22.719Z] 988bab9f4d93: Waiting [2024-08-08T04:49:22.719Z] 1469e6f7b9e6: Waiting [2024-08-08T04:49:22.719Z] eaf3925da568: Waiting [2024-08-08T04:49:22.719Z] bab4dde63d76: Waiting [2024-08-08T04:49:22.719Z] bde34c3a00c8: Pulling fs layer [2024-08-08T04:49:22.719Z] b352a97aabf1: Pulling fs layer [2024-08-08T04:49:22.719Z] 4872d77fe225: Pulling fs layer [2024-08-08T04:49:22.719Z] 5851b861e8e6: Pulling fs layer [2024-08-08T04:49:22.719Z] bde34c3a00c8: Waiting [2024-08-08T04:49:22.719Z] b352a97aabf1: Waiting [2024-08-08T04:49:22.719Z] 4872d77fe225: Waiting [2024-08-08T04:49:22.719Z] 5851b861e8e6: Waiting [2024-08-08T04:49:22.982Z] e2be974225ed: Verifying Checksum [2024-08-08T04:49:22.982Z] e2be974225ed: Download complete [2024-08-08T04:49:22.982Z] 988bab9f4d93: Download complete [2024-08-08T04:49:22.982Z] 1469e6f7b9e6: Verifying Checksum [2024-08-08T04:49:22.982Z] 1469e6f7b9e6: Download complete [2024-08-08T04:49:22.982Z] 339a4e72a1f5: Verifying Checksum [2024-08-08T04:49:22.982Z] 339a4e72a1f5: Download complete [2024-08-08T04:49:22.982Z] eaf3925da568: Download complete [2024-08-08T04:49:22.982Z] bde34c3a00c8: Verifying Checksum [2024-08-08T04:49:22.982Z] bde34c3a00c8: Download complete [2024-08-08T04:49:22.982Z] b352a97aabf1: Verifying Checksum [2024-08-08T04:49:22.982Z] b352a97aabf1: Download complete [2024-08-08T04:49:22.982Z] 4872d77fe225: Verifying Checksum [2024-08-08T04:49:22.982Z] 4872d77fe225: Download complete [2024-08-08T04:49:22.982Z] 5851b861e8e6: Download complete [2024-08-08T04:49:23.241Z] b85a868b505f: Verifying Checksum [2024-08-08T04:49:23.241Z] b85a868b505f: Download complete [2024-08-08T04:49:23.498Z] bab4dde63d76: Verifying Checksum [2024-08-08T04:49:23.498Z] bab4dde63d76: Download complete [2024-08-08T04:49:24.454Z] b85a868b505f: Pull complete [2024-08-08T04:49:24.454Z] e2be974225ed: Pull complete [2024-08-08T04:49:25.418Z] 339a4e72a1f5: Pull complete [2024-08-08T04:49:25.418Z] 988bab9f4d93: Pull complete [2024-08-08T04:49:25.989Z] 1469e6f7b9e6: Pull complete [2024-08-08T04:49:25.989Z] eaf3925da568: Pull complete [2024-08-08T04:49:27.891Z] bab4dde63d76: Pull complete [2024-08-08T04:49:27.891Z] bde34c3a00c8: Pull complete [2024-08-08T04:49:27.891Z] b352a97aabf1: Pull complete [2024-08-08T04:49:28.150Z] 4872d77fe225: Pull complete [2024-08-08T04:49:28.150Z] 5851b861e8e6: Pull complete [2024-08-08T04:49:28.150Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-08T04:49:28.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T04:49:28.150Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:49:28.298Z] prd-ubuntu20.04-docker-8c-8g-7366 does not seem to be running inside a container [2024-08-08T04:49:28.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-64 -v /w/workspace/edgexfoundry_device-uart_PR-64:/w/workspace/edgexfoundry_device-uart_PR-64:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-64@tmp:/w/workspace/edgexfoundry_device-uart_PR-64@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-08T04:49:31.391Z] $ docker top f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 -eo pid,comm [2024-08-08T04:49:31.446Z] 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-08-08T04:49:31.446Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-08T04:49:31.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-08T04:49:31.506Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-08T04:49:31.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-08T04:49:31.613Z] $ docker exec f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 ssh-agent [2024-08-08T04:49:31.715Z] SSH_AUTH_SOCK=/tmp/ssh-gfMKqW01V6u9/agent.31 [2024-08-08T04:49:31.715Z] SSH_AGENT_PID=38 [2024-08-08T04:49:31.721Z] Running ssh-add (command line suppressed) [2024-08-08T04:49:31.828Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-64@tmp/private_key_8687372812856353398.key (/w/workspace/edgexfoundry_device-uart_PR-64@tmp/private_key_8687372812856353398.key) [2024-08-08T04:49:31.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-08T04:49:32.133Z] + git tag --points-at HEAD [Pipeline] } [2024-08-08T04:49:32.146Z] $ docker exec --env ******** --env ******** f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 ssh-agent -k [2024-08-08T04:49:32.250Z] unset SSH_AUTH_SOCK; [2024-08-08T04:49:32.251Z] unset SSH_AGENT_PID; [2024-08-08T04:49:32.251Z] echo Agent pid 38 killed; [2024-08-08T04:49:32.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-08T04:49:32.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-08T04:49:32.306Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-08T04:49:32.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-08T04:49:32.421Z] $ docker exec f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 ssh-agent [2024-08-08T04:49:32.528Z] SSH_AUTH_SOCK=/tmp/ssh-Nohl1fiWa1OV/agent.71 [2024-08-08T04:49:32.528Z] SSH_AGENT_PID=77 [2024-08-08T04:49:32.532Z] Running ssh-add (command line suppressed) [2024-08-08T04:49:32.633Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-64@tmp/private_key_3465684522477184497.key (/w/workspace/edgexfoundry_device-uart_PR-64@tmp/private_key_3465684522477184497.key) [2024-08-08T04:49:32.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-08T04:49:32.992Z] + git semver init [2024-08-08T04:49:33.263Z] 2024-08-08 04:49:33,150 [run_init] DEBUG init version:0.0.0 force:False [2024-08-08T04:49:33.263Z] 2024-08-08 04:49:33,150 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-64/.semver [2024-08-08T04:49:33.263Z] 2024-08-08 04:49:33,151 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-64/.semver [2024-08-08T04:49:33.263Z] 2024-08-08 04:49:33,151 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-64/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-64, universal_newlines=False, shell=None, istream=None) [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,336 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-64/.git/info/exclude [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-64/.semver/PR-64 with force:False [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,337 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-64/.semver/PR-64 [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,341 [execute] INFO git cat-file --batch-check [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,346 [execute] INFO git cat-file --batch [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2024-08-08T04:49:34.718Z] 2024-08-08 04:49:34,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-64/.semver/PR-64 [2024-08-08T04:49:34.718Z] 0.0.0 [Pipeline] } [2024-08-08T04:49:34.727Z] $ docker exec --env ******** --env ******** f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 ssh-agent -k [2024-08-08T04:49:34.840Z] unset SSH_AUTH_SOCK; [2024-08-08T04:49:34.840Z] unset SSH_AGENT_PID; [2024-08-08T04:49:34.840Z] echo Agent pid 77 killed; [2024-08-08T04:49:34.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-08T04:49:35.269Z] + git semver [Pipeline] } [2024-08-08T04:49:35.551Z] $ docker stop --time=1 f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 [2024-08-08T04:49:37.073Z] $ docker rm -f --volumes f0ede8039ecd20ca251653afb10ed240d9e96e97eb7d738771fbce6a19bb40a8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T04:49:37.545Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-08T04:49:37.937Z] Stashed 1 file(s) [Pipeline] echo [2024-08-08T04:49:37.941Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-08-08T04:49:38.125Z] provisioning config files... [2024-08-08T04:49:38.136Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-64@tmp/config17854579537453265266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T04:49:38.446Z] ---> ****-login.sh [2024-08-08T04:49:38.446Z] nexus3.edgexfoundry.org:10001 [2024-08-08T04:49:38.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:38.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:38.447Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:38.447Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:38.447Z] [2024-08-08T04:49:38.447Z] Login Succeeded [2024-08-08T04:49:38.447Z] nexus3.edgexfoundry.org:10002 [2024-08-08T04:49:38.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:38.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:38.707Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:38.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:38.707Z] [2024-08-08T04:49:38.707Z] Login Succeeded [2024-08-08T04:49:38.708Z] nexus3.edgexfoundry.org:10003 [2024-08-08T04:49:38.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:38.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:38.708Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:38.708Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:38.708Z] [2024-08-08T04:49:38.708Z] Login Succeeded [2024-08-08T04:49:38.708Z] nexus3.edgexfoundry.org:10004 [2024-08-08T04:49:38.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:38.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:38.977Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:38.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:38.977Z] [2024-08-08T04:49:38.977Z] Login Succeeded [2024-08-08T04:49:38.977Z] ****.io [2024-08-08T04:49:38.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:49:39.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:49:39.236Z] Configure a credential helper to remove this warning. See [2024-08-08T04:49:39.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:49:39.236Z] [2024-08-08T04:49:39.236Z] Login Succeeded [2024-08-08T04:49:39.236Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T04:49:39.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-08T04:49:39.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T04:49:39.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T04:49:39.425Z] ========================================================= [2024-08-08T04:49:39.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-08T04:49:39.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:49:39.780Z] + 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-08-08T04:49:40.040Z] Sending build context to Docker daemon 25.56MB [2024-08-08T04:49:40.040Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T04:49:40.040Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-08T04:49:40.298Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-08T04:49:40.298Z] 619be1103602: Pulling fs layer [2024-08-08T04:49:40.298Z] 7862e08f4a3e: Pulling fs layer [2024-08-08T04:49:40.298Z] 5df492c9dc93: Pulling fs layer [2024-08-08T04:49:40.298Z] 7629e6793208: Pulling fs layer [2024-08-08T04:49:40.298Z] 4f4fb700ef54: Pulling fs layer [2024-08-08T04:49:40.298Z] fb5054dd5b73: Pulling fs layer [2024-08-08T04:49:40.298Z] eeca6798cff9: Pulling fs layer [2024-08-08T04:49:40.298Z] aa269ceb94a6: Pulling fs layer [2024-08-08T04:49:40.299Z] ada007ff1a6a: Pulling fs layer [2024-08-08T04:49:40.299Z] 7629e6793208: Waiting [2024-08-08T04:49:40.299Z] 4f4fb700ef54: Waiting [2024-08-08T04:49:40.299Z] fb5054dd5b73: Waiting [2024-08-08T04:49:40.299Z] eeca6798cff9: Waiting [2024-08-08T04:49:40.299Z] aa269ceb94a6: Waiting [2024-08-08T04:49:40.299Z] ada007ff1a6a: Waiting [2024-08-08T04:49:40.299Z] 619be1103602: Verifying Checksum [2024-08-08T04:49:40.299Z] 619be1103602: Download complete [2024-08-08T04:49:40.299Z] 7629e6793208: Download complete [2024-08-08T04:49:40.299Z] 4f4fb700ef54: Verifying Checksum [2024-08-08T04:49:40.299Z] 4f4fb700ef54: Download complete [2024-08-08T04:49:40.299Z] 7862e08f4a3e: Download complete [2024-08-08T04:49:40.558Z] eeca6798cff9: Verifying Checksum [2024-08-08T04:49:40.558Z] eeca6798cff9: Download complete [2024-08-08T04:49:40.558Z] fb5054dd5b73: Verifying Checksum [2024-08-08T04:49:40.558Z] fb5054dd5b73: Download complete [2024-08-08T04:49:40.817Z] ada007ff1a6a: Verifying Checksum [2024-08-08T04:49:40.817Z] ada007ff1a6a: Download complete [2024-08-08T04:49:41.076Z] 619be1103602: Pull complete [2024-08-08T04:49:41.335Z] 5df492c9dc93: Verifying Checksum [2024-08-08T04:49:41.335Z] 5df492c9dc93: Download complete [2024-08-08T04:49:41.335Z] 7862e08f4a3e: Pull complete [2024-08-08T04:49:41.592Z] aa269ceb94a6: Verifying Checksum [2024-08-08T04:49:41.592Z] aa269ceb94a6: Download complete [2024-08-08T04:49:46.857Z] 5df492c9dc93: Pull complete [2024-08-08T04:49:47.423Z] 7629e6793208: Pull complete [2024-08-08T04:49:48.363Z] 4f4fb700ef54: Pull complete [2024-08-08T04:49:49.301Z] fb5054dd5b73: Pull complete [2024-08-08T04:49:50.305Z] eeca6798cff9: Pull complete [2024-08-08T04:49:53.069Z] Still waiting to schedule task [2024-08-08T04:49:53.070Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7364’ [2024-08-08T04:49:54.553Z] aa269ceb94a6: Pull complete [2024-08-08T04:49:54.812Z] ada007ff1a6a: Pull complete [2024-08-08T04:49:55.104Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-08T04:49:55.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-08T04:49:55.365Z] ---> f489d0715acc [2024-08-08T04:49:55.365Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T04:50:07.717Z] ---> Running in 79273d2ba73c [2024-08-08T04:50:07.717Z] Removing intermediate container 79273d2ba73c [2024-08-08T04:50:07.717Z] ---> 4058ec743351 [2024-08-08T04:50:07.717Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T04:50:07.717Z] ---> Running in 1453a670407d [2024-08-08T04:50:07.717Z] Removing intermediate container 1453a670407d [2024-08-08T04:50:07.717Z] ---> eeceb54c6068 [2024-08-08T04:50:07.717Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-08T04:50:07.717Z] ---> Running in e7f7f9246dd9 [2024-08-08T04:50:07.717Z] Removing intermediate container e7f7f9246dd9 [2024-08-08T04:50:07.717Z] ---> 7df8aba88bac [2024-08-08T04:50:07.717Z] Step 6/12 : WORKDIR /device-uart [2024-08-08T04:50:07.717Z] ---> Running in 1dc34176bae2 [2024-08-08T04:50:07.717Z] Removing intermediate container 1dc34176bae2 [2024-08-08T04:50:07.717Z] ---> 380868674c52 [2024-08-08T04:50:07.717Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T04:50:07.717Z] ---> Running in 59c1200d04cc [2024-08-08T04:50:07.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T04:50:07.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T04:50:07.717Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-08T04:50:07.717Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-08T04:50:07.717Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-08T04:50:07.717Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-08T04:50:07.717Z] Executing busybox-1.36.1-r5.trigger [2024-08-08T04:50:07.717Z] OK: 268 MiB in 56 packages [2024-08-08T04:50:07.979Z] Removing intermediate container 59c1200d04cc [2024-08-08T04:50:07.979Z] ---> 6806768ad980 [2024-08-08T04:50:07.979Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-08T04:50:07.979Z] ---> 7f48e042e357 [2024-08-08T04:50:07.979Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T04:50:08.241Z] ---> Running in d85ab35994cd [2024-08-08T04:51:05.166Z] Removing intermediate container d85ab35994cd [2024-08-08T04:51:05.166Z] ---> 00c3f5f7a720 [2024-08-08T04:51:05.166Z] Step 10/12 : COPY . . [2024-08-08T04:51:05.166Z] ---> ad6c88f48d53 [2024-08-08T04:51:05.166Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T04:51:05.166Z] ---> Running in 44aed090341f [2024-08-08T04:51:05.166Z] Removing intermediate container 44aed090341f [2024-08-08T04:51:05.166Z] ---> f19960832573 [2024-08-08T04:51:05.166Z] Step 12/12 : RUN ${MAKE} [2024-08-08T04:51:05.166Z] ---> Running in ff61e8e24e49 [2024-08-08T04:51:05.166Z] noop [2024-08-08T04:51:05.166Z] Removing intermediate container ff61e8e24e49 [2024-08-08T04:51:05.166Z] ---> 3e5983a8afc8 [2024-08-08T04:51:05.166Z] Successfully built 3e5983a8afc8 [2024-08-08T04:51:05.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:51:05.497Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-08T04:51:05.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:51:05.569Z] prd-ubuntu20.04-docker-8c-8g-7366 does not seem to be running inside a container [2024-08-08T04:51:05.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-64 -v /w/workspace/edgexfoundry_device-uart_PR-64:/w/workspace/edgexfoundry_device-uart_PR-64:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-64@tmp:/w/workspace/edgexfoundry_device-uart_PR-64@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-08T04:51:05.888Z] $ docker top bc1d940bcd3ffacb16603bb378b795541858ea6ddaf5d35fac184557f414060f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T04:51:06.241Z] + go version [2024-08-08T04:51:06.241Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-08T04:51:06.252Z] $ docker stop --time=1 bc1d940bcd3ffacb16603bb378b795541858ea6ddaf5d35fac184557f414060f [2024-08-08T04:51:07.481Z] $ docker rm -f --volumes bc1d940bcd3ffacb16603bb378b795541858ea6ddaf5d35fac184557f414060f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:51:07.927Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-08T04:51:07.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:51:08.008Z] prd-ubuntu20.04-docker-8c-8g-7366 does not seem to be running inside a container [2024-08-08T04:51:08.040Z] $ 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_PR-64 -v /w/workspace/edgexfoundry_device-uart_PR-64:/w/workspace/edgexfoundry_device-uart_PR-64:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-64@tmp:/w/workspace/edgexfoundry_device-uart_PR-64@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-08T04:51:08.360Z] $ docker top fe1996984c346f4a37c4c2f82a082a48d626a8f5f5d18072c037921b3ff594f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T04:51:08.710Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-64 [Pipeline] fileExists [Pipeline] sh [2024-08-08T04:51:09.015Z] + make test [2024-08-08T04:51:09.015Z] go test ./... -coverprofile=coverage.out [2024-08-08T04:51:10.917Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-08-08T04:51:28.988Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-08-08T04:51:28.988Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-08-08T04:51:37.094Z] go vet ./... [2024-08-08T04:51:41.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-08T04:51:41.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-08T04:51:41.559Z] ./bin/test-attribution-txt.sh [2024-08-08T04:51:41.559Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.559Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-08T04:51:41.560Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-08T04:51:41.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-08T04:51:41.600Z] $ docker stop --time=1 fe1996984c346f4a37c4c2f82a082a48d626a8f5f5d18072c037921b3ff594f5 [2024-08-08T04:51:50.500Z] $ docker rm -f --volumes fe1996984c346f4a37c4c2f82a082a48d626a8f5f5d18072c037921b3ff594f5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T04:51:51.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-08T04:51:51.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-08T04:51:51.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-08T04:51:51.829Z] + ls -al . [2024-08-08T04:51:51.829Z] total 224 [2024-08-08T04:51:51.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:51 . [2024-08-08T04:51:51.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 04:49 .. [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 04:49 .dockerignore [2024-08-08T04:51:51.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:51 .git [2024-08-08T04:51:51.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:49 .github [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 04:49 .gitignore [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 04:49 .golangci.yml [2024-08-08T04:51:51.829Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 04:49 .semver [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 8 04:49 Attribution.txt [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 1908 Aug 8 04:49 CHANGELOG.md [2024-08-08T04:51:51.829Z] -rw-rw-r-- 1 jenkins jenkins 1886 Aug 8 04:49 Dockerfile [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 04:49 GOVERNANCE.md [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 04:49 Jenkinsfile [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 04:49 LICENSE [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 8 04:49 Makefile [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 04:49 OWNERS.md [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 8892 Aug 8 04:49 README.md [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 04:49 VERSION [2024-08-08T04:51:51.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 04:49 bin [2024-08-08T04:51:51.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:49 cmd [2024-08-08T04:51:51.830Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 8 04:51 coverage.out [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 6964 Aug 8 04:49 go.mod [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 101892 Aug 8 04:49 go.sum [2024-08-08T04:51:51.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:49 internal [2024-08-08T04:51:51.830Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:51:52.160Z] + 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=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 --label arch=amd64 --label version=0.0.0 . [2024-08-08T04:51:52.161Z] Sending build context to Docker daemon 25.56MB [2024-08-08T04:51:52.161Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T04:51:52.161Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-08T04:51:52.161Z] ---> 3e5983a8afc8 [2024-08-08T04:51:52.161Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T04:51:52.422Z] ---> Running in 8a222b883db6 [2024-08-08T04:51:52.681Z] Removing intermediate container 8a222b883db6 [2024-08-08T04:51:52.681Z] ---> be2e5d12ab06 [2024-08-08T04:51:52.681Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T04:51:52.681Z] ---> Running in 49aef4ba931e [2024-08-08T04:51:52.681Z] Removing intermediate container 49aef4ba931e [2024-08-08T04:51:52.681Z] ---> 83764cc04336 [2024-08-08T04:51:52.681Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-08T04:51:52.681Z] ---> Running in 1a055e54b3e5 [2024-08-08T04:51:52.681Z] Removing intermediate container 1a055e54b3e5 [2024-08-08T04:51:52.681Z] ---> 585ae106cfb4 [2024-08-08T04:51:52.681Z] Step 6/26 : WORKDIR /device-uart [2024-08-08T04:51:52.681Z] ---> Running in 0a690ebfe0a1 [2024-08-08T04:51:52.939Z] Removing intermediate container 0a690ebfe0a1 [2024-08-08T04:51:52.939Z] ---> e75ba620b20f [2024-08-08T04:51:52.939Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T04:51:52.939Z] ---> Running in 53be7633ef55 [2024-08-08T04:51:53.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T04:51:53.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T04:51:53.458Z] OK: 268 MiB in 56 packages [2024-08-08T04:51:54.024Z] Removing intermediate container 53be7633ef55 [2024-08-08T04:51:54.024Z] ---> 6301332ba007 [2024-08-08T04:51:54.024Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-08T04:51:54.024Z] ---> 929167a393fb [2024-08-08T04:51:54.024Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T04:51:54.024Z] ---> Running in 8ebd2b269d13 [2024-08-08T04:51:54.593Z] Removing intermediate container 8ebd2b269d13 [2024-08-08T04:51:54.593Z] ---> acf64c9a7ea9 [2024-08-08T04:51:54.593Z] Step 10/26 : COPY . . [2024-08-08T04:51:55.160Z] ---> 86ff52731187 [2024-08-08T04:51:55.160Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T04:51:55.160Z] ---> Running in ffdbc1eae3fe [2024-08-08T04:51:55.418Z] Removing intermediate container ffdbc1eae3fe [2024-08-08T04:51:55.418Z] ---> 336429ffe897 [2024-08-08T04:51:55.418Z] Step 12/26 : RUN ${MAKE} [2024-08-08T04:51:55.418Z] ---> Running in 58b7ed97c97e [2024-08-08T04:51:55.676Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.30" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-08-08T04:52:27.756Z] Removing intermediate container 58b7ed97c97e [2024-08-08T04:52:27.756Z] ---> 81e057519818 [2024-08-08T04:52:27.756Z] Step 13/26 : FROM alpine:3.18 [2024-08-08T04:52:28.755Z] 3.18: Pulling from library/alpine [2024-08-08T04:52:28.755Z] 930bdd4d222e: Pulling fs layer [2024-08-08T04:52:28.755Z] 930bdd4d222e: Verifying Checksum [2024-08-08T04:52:28.755Z] 930bdd4d222e: Download complete [2024-08-08T04:52:29.016Z] 930bdd4d222e: Pull complete [2024-08-08T04:52:29.016Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-08T04:52:29.016Z] Status: Downloaded newer image for alpine:3.18 [2024-08-08T04:52:29.016Z] ---> 18f865063206 [2024-08-08T04:52:29.016Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-08T04:52:29.016Z] ---> Running in d1cbd257bdb5 [2024-08-08T04:52:29.276Z] Removing intermediate container d1cbd257bdb5 [2024-08-08T04:52:29.276Z] ---> 3ffec6adc9a6 [2024-08-08T04:52:29.276Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-08T04:52:29.276Z] ---> Running in 7b5b99f827d0 [2024-08-08T04:52:29.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T04:52:29.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T04:52:29.796Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-08T04:52:29.796Z] Executing busybox-1.36.1-r7.trigger [2024-08-08T04:52:29.796Z] OK: 7 MiB in 16 packages [2024-08-08T04:52:30.056Z] Removing intermediate container 7b5b99f827d0 [2024-08-08T04:52:30.056Z] ---> 88beaec8f4da [2024-08-08T04:52:30.056Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-08T04:52:30.056Z] ---> Running in 1d44897e1ef4 [2024-08-08T04:52:30.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T04:52:30.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T04:52:30.849Z] OK: 7 MiB in 16 packages [2024-08-08T04:52:31.120Z] Removing intermediate container 1d44897e1ef4 [2024-08-08T04:52:31.120Z] ---> 34251d364277 [2024-08-08T04:52:31.120Z] Step 17/26 : WORKDIR / [2024-08-08T04:52:31.120Z] ---> Running in d5668f625370 [2024-08-08T04:52:31.120Z] Removing intermediate container d5668f625370 [2024-08-08T04:52:31.120Z] ---> c17735050b5b [2024-08-08T04:52:31.120Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-08-08T04:52:31.401Z] ---> 1940b25b1116 [2024-08-08T04:52:31.401Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-08-08T04:52:31.401Z] ---> d76832d3faea [2024-08-08T04:52:31.401Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-08-08T04:52:33.309Z] ---> 7e36d62e8a7f [2024-08-08T04:52:33.309Z] Step 21/26 : EXPOSE 59995 [2024-08-08T04:52:33.309Z] ---> Running in d01d1ff0bc5e [2024-08-08T04:52:33.309Z] Removing intermediate container d01d1ff0bc5e [2024-08-08T04:52:33.309Z] ---> b0f68bf808ae [2024-08-08T04:52:33.309Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-08-08T04:52:33.309Z] ---> Running in 17159c2e65ed [2024-08-08T04:52:33.309Z] Removing intermediate container 17159c2e65ed [2024-08-08T04:52:33.309Z] ---> bff629d1f963 [2024-08-08T04:52:33.309Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-08T04:52:33.309Z] ---> Running in 8a5cdc214524 [2024-08-08T04:52:33.309Z] Removing intermediate container 8a5cdc214524 [2024-08-08T04:52:33.310Z] ---> fbad2a2ecdb9 [2024-08-08T04:52:33.310Z] Step 24/26 : LABEL arch=amd64 [2024-08-08T04:52:33.310Z] ---> Running in 8572413ce082 [2024-08-08T04:52:33.310Z] Removing intermediate container 8572413ce082 [2024-08-08T04:52:33.310Z] ---> f9b03a37218e [2024-08-08T04:52:33.310Z] Step 25/26 : LABEL git_sha=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [2024-08-08T04:52:33.310Z] ---> Running in 355f7c020c49 [2024-08-08T04:52:33.569Z] Removing intermediate container 355f7c020c49 [2024-08-08T04:52:33.569Z] ---> e653d9b78f02 [2024-08-08T04:52:33.569Z] Step 26/26 : LABEL version=0.0.0 [2024-08-08T04:52:33.569Z] ---> Running in 6d17a8e8c429 [2024-08-08T04:52:33.569Z] Removing intermediate container 6d17a8e8c429 [2024-08-08T04:52:33.569Z] ---> 2b7bb4cb8db4 [2024-08-08T04:52:33.569Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-08T04:52:33.569Z] Successfully built 2b7bb4cb8db4 [2024-08-08T04:52:33.569Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [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-08-08T04:52:34.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T04:52:34.093Z] [2024-08-08T04:52:34.093Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:52:34.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T04:52:34.412Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-08T04:52:34.412Z] 5eb5b503b376: Pulling fs layer [2024-08-08T04:52:34.412Z] 5c69ac0246d0: Pulling fs layer [2024-08-08T04:52:34.412Z] ec43610c2a17: Pulling fs layer [2024-08-08T04:52:34.412Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-08T04:52:34.412Z] 33b1e0a273af: Pulling fs layer [2024-08-08T04:52:34.412Z] 5d3b04190fa2: Pulling fs layer [2024-08-08T04:52:34.412Z] 2f39f015ded8: Pulling fs layer [2024-08-08T04:52:34.412Z] 5d3b04190fa2: Waiting [2024-08-08T04:52:34.412Z] 2f39f015ded8: Waiting [2024-08-08T04:52:34.412Z] 33b1e0a273af: Waiting [2024-08-08T04:52:34.412Z] 3a2ae6a8a46f: Waiting [2024-08-08T04:52:34.412Z] 5c69ac0246d0: Verifying Checksum [2024-08-08T04:52:34.412Z] 5c69ac0246d0: Download complete [2024-08-08T04:52:34.412Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-08T04:52:34.412Z] 3a2ae6a8a46f: Download complete [2024-08-08T04:52:34.412Z] 33b1e0a273af: Verifying Checksum [2024-08-08T04:52:34.412Z] 33b1e0a273af: Download complete [2024-08-08T04:52:34.412Z] 5d3b04190fa2: Verifying Checksum [2024-08-08T04:52:34.412Z] 5d3b04190fa2: Download complete [2024-08-08T04:52:34.673Z] ec43610c2a17: Verifying Checksum [2024-08-08T04:52:34.673Z] 5eb5b503b376: Verifying Checksum [2024-08-08T04:52:34.673Z] 5eb5b503b376: Download complete [2024-08-08T04:52:35.240Z] 2f39f015ded8: Download complete [2024-08-08T04:52:35.811Z] 5eb5b503b376: Pull complete [2024-08-08T04:52:35.811Z] 5c69ac0246d0: Pull complete [2024-08-08T04:52:36.379Z] ec43610c2a17: Pull complete [2024-08-08T04:52:36.380Z] 3a2ae6a8a46f: Pull complete [2024-08-08T04:52:36.640Z] 33b1e0a273af: Pull complete [2024-08-08T04:52:36.640Z] 5d3b04190fa2: Pull complete [2024-08-08T04:52:40.830Z] 2f39f015ded8: Pull complete [2024-08-08T04:52:40.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-08T04:52:40.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T04:52:40.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:52:40.939Z] prd-ubuntu20.04-docker-8c-8g-7366 does not seem to be running inside a container [2024-08-08T04:52:40.971Z] $ 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_PR-64 -v /w/workspace/edgexfoundry_device-uart_PR-64:/w/workspace/edgexfoundry_device-uart_PR-64:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-64@tmp:/w/workspace/edgexfoundry_device-uart_PR-64@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-08T04:52:45.736Z] $ docker top c9a1b88e675138565e2754616c9c0094f316c3a6fe7b7c9e2c25c64f561632a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T04:52:46.125Z] ---> job-cost.sh [2024-08-08T04:52:46.125Z] lf-activate-venv: SKIPPING [2024-08-08T04:52:46.125Z] INFO: No Stack... [2024-08-08T04:52:46.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-08T04:52:46.645Z] INFO: Archiving Costs [Pipeline] sh [2024-08-08T04:52:46.949Z] + cat /w/workspace/edgexfoundry_device-uart_PR-64/archives/cost.csv [2024-08-08T04:52:46.949Z] + cut -d, -f6 [Pipeline] lock [2024-08-08T04:52:46.964Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [2024-08-08T04:52:46.972Z] Resource [jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] did not exist. Created. [2024-08-08T04:52:46.978Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-08T04:52:47.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-08T04:52:47.332Z] Stashed 1 file(s) [Pipeline] } [2024-08-08T04:52:47.340Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-08T04:52:47.366Z] $ docker stop --time=1 c9a1b88e675138565e2754616c9c0094f316c3a6fe7b7c9e2c25c64f561632a6 [2024-08-08T04:52:48.516Z] $ docker rm -f --volumes c9a1b88e675138565e2754616c9c0094f316c3a6fe7b7c9e2c25c64f561632a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-08T04:53:33.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7367 in /w/workspace/edgexfoundry_device-uart_PR-64 [Pipeline] { [Pipeline] ws [2024-08-08T04:53:33.755Z] Running in /w/workspace/device-uart/3 [Pipeline] { [Pipeline] checkout [2024-08-08T04:53:33.823Z] The recommended git tool is: git [2024-08-08T04:53:42.358Z] using credential edgex-jenkins-ssh [2024-08-08T04:53:42.402Z] Cloning the remote Git repository [2024-08-08T04:53:42.459Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-08-08T04:53:42.586Z] > git init /w/workspace/device-uart/3 # timeout=10 [2024-08-08T04:53:42.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-08-08T04:53:42.794Z] > git --version # timeout=10 [2024-08-08T04:53:42.833Z] > git --version # 'git version 2.25.1' [2024-08-08T04:53:42.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T04:53:43.099Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-08T04:53:45.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-08-08T04:53:45.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-08T04:53:47.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-08-08T04:53:47.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-08-08T04:53:47.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T04:53:47.230Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-08T04:53:47.721Z] Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [2024-08-08T04:53:48.051Z] Merge succeeded, producing 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [2024-08-08T04:53:48.051Z] Checking out Revision 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 (PR-64) [2024-08-08T04:53:48.676Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-08T04:53:47.738Z] > git config core.sparsecheckout # timeout=10 [2024-08-08T04:53:47.825Z] > git checkout -f 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 # timeout=10 [2024-08-08T04:53:47.924Z] > git remote # timeout=10 [2024-08-08T04:53:47.951Z] > git config --get remote.origin.url # timeout=10 [2024-08-08T04:53:47.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T04:53:47.999Z] > git merge 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 [2024-08-08T04:53:48.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-08T04:53:48.056Z] > git config core.sparsecheckout # timeout=10 [2024-08-08T04:53:48.070Z] > git checkout -f 1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T04:53:53.423Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-08T04:53:53.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-08T04:53:53.423Z] Dload Upload Total Spent Left Speed [2024-08-08T04:53:53.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-08-08T04:53:53.769Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-08T04:53:54.113Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-08T04:53:54.114Z] + sudo tee /etc/docker/daemon.new [2024-08-08T04:53:54.114Z] { [2024-08-08T04:53:54.114Z] "registry-mirrors": [ [2024-08-08T04:53:54.114Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-08T04:53:54.114Z] ], [2024-08-08T04:53:54.114Z] "bip": "10.250.0.254/24", [2024-08-08T04:53:54.114Z] "hosts": [ [2024-08-08T04:53:54.114Z] "tcp://0.0.0.0:5555", [2024-08-08T04:53:54.114Z] "unix:///var/run/docker.sock" [2024-08-08T04:53:54.114Z] ], [2024-08-08T04:53:54.114Z] "mtu": 1458, [2024-08-08T04:53:54.114Z] "selinux-enabled": true, [2024-08-08T04:53:54.114Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-08T04:53:54.114Z] } [Pipeline] sh [2024-08-08T04:53:54.448Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-08T04:53:54.781Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T04:54:13.065Z] provisioning config files... [2024-08-08T04:54:13.092Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/3@tmp/config5641704501735737941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T04:54:13.545Z] ---> ****-login.sh [2024-08-08T04:54:13.545Z] nexus3.edgexfoundry.org:10001 [2024-08-08T04:54:14.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:54:14.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:54:14.133Z] Configure a credential helper to remove this warning. See [2024-08-08T04:54:14.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:54:14.133Z] [2024-08-08T04:54:14.133Z] Login Succeeded [2024-08-08T04:54:14.133Z] nexus3.edgexfoundry.org:10002 [2024-08-08T04:54:14.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:54:14.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:54:14.676Z] Configure a credential helper to remove this warning. See [2024-08-08T04:54:14.676Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:54:14.676Z] [2024-08-08T04:54:14.676Z] Login Succeeded [2024-08-08T04:54:14.676Z] nexus3.edgexfoundry.org:10003 [2024-08-08T04:54:14.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:54:14.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:54:14.946Z] Configure a credential helper to remove this warning. See [2024-08-08T04:54:14.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:54:14.946Z] [2024-08-08T04:54:14.946Z] Login Succeeded [2024-08-08T04:54:14.946Z] nexus3.edgexfoundry.org:10004 [2024-08-08T04:54:15.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:54:15.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:54:15.219Z] Configure a credential helper to remove this warning. See [2024-08-08T04:54:15.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:54:15.219Z] [2024-08-08T04:54:15.219Z] Login Succeeded [2024-08-08T04:54:15.219Z] ****.io [2024-08-08T04:54:15.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T04:54:15.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T04:54:15.774Z] Configure a credential helper to remove this warning. See [2024-08-08T04:54:15.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T04:54:15.774Z] [2024-08-08T04:54:15.774Z] Login Succeeded [2024-08-08T04:54:15.774Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T04:54:15.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-08T04:54:16.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T04:54:16.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T04:54:16.244Z] ========================================================= [2024-08-08T04:54:16.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-08T04:54:16.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:54:16.618Z] + 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-08-08T04:54:17.210Z] Sending build context to Docker daemon 12.85MB [2024-08-08T04:54:17.210Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T04:54:17.210Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-08T04:54:17.210Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-08T04:54:17.210Z] c6b39de5b339: Pulling fs layer [2024-08-08T04:54:17.210Z] a69c41024577: Pulling fs layer [2024-08-08T04:54:17.210Z] d6de4b400683: Pulling fs layer [2024-08-08T04:54:17.210Z] 35cb2a7552d0: Pulling fs layer [2024-08-08T04:54:17.210Z] 4f4fb700ef54: Pulling fs layer [2024-08-08T04:54:17.210Z] 464afbd9ba4c: Pulling fs layer [2024-08-08T04:54:17.210Z] 00f215d4a9da: Pulling fs layer [2024-08-08T04:54:17.210Z] d496ad576159: Pulling fs layer [2024-08-08T04:54:17.210Z] 4f4fb700ef54: Waiting [2024-08-08T04:54:17.482Z] 35cb2a7552d0: Waiting [2024-08-08T04:54:17.482Z] 00f215d4a9da: Waiting [2024-08-08T04:54:17.482Z] 464afbd9ba4c: Waiting [2024-08-08T04:54:17.482Z] d496ad576159: Waiting [2024-08-08T04:54:17.482Z] a69c41024577: Verifying Checksum [2024-08-08T04:54:17.482Z] a69c41024577: Download complete [2024-08-08T04:54:17.482Z] 35cb2a7552d0: Verifying Checksum [2024-08-08T04:54:17.482Z] 35cb2a7552d0: Download complete [2024-08-08T04:54:17.482Z] 4f4fb700ef54: Verifying Checksum [2024-08-08T04:54:17.482Z] 4f4fb700ef54: Download complete [2024-08-08T04:54:17.482Z] 464afbd9ba4c: Verifying Checksum [2024-08-08T04:54:17.482Z] 464afbd9ba4c: Download complete [2024-08-08T04:54:17.482Z] c6b39de5b339: Verifying Checksum [2024-08-08T04:54:17.482Z] c6b39de5b339: Download complete [2024-08-08T04:54:18.077Z] d496ad576159: Verifying Checksum [2024-08-08T04:54:18.077Z] d496ad576159: Download complete [2024-08-08T04:54:18.348Z] c6b39de5b339: Pull complete [2024-08-08T04:54:18.940Z] a69c41024577: Pull complete [2024-08-08T04:54:19.532Z] d6de4b400683: Verifying Checksum [2024-08-08T04:54:19.532Z] d6de4b400683: Download complete [2024-08-08T04:54:20.509Z] 00f215d4a9da: Verifying Checksum [2024-08-08T04:54:20.509Z] 00f215d4a9da: Download complete [2024-08-08T04:54:32.825Z] d6de4b400683: Pull complete [2024-08-08T04:54:33.094Z] 35cb2a7552d0: Pull complete [2024-08-08T04:54:33.365Z] 4f4fb700ef54: Pull complete [2024-08-08T04:54:33.634Z] 464afbd9ba4c: Pull complete [2024-08-08T04:54:43.735Z] 00f215d4a9da: Pull complete [2024-08-08T04:54:44.329Z] d496ad576159: Pull complete [2024-08-08T04:54:44.330Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-08T04:54:44.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-08T04:54:44.330Z] ---> f246e2811388 [2024-08-08T04:54:44.330Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T04:54:45.295Z] ---> Running in de40be300492 [2024-08-08T04:54:45.564Z] Removing intermediate container de40be300492 [2024-08-08T04:54:45.564Z] ---> 6ea699b8008a [2024-08-08T04:54:45.564Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T04:54:45.564Z] ---> Running in 8501f809f5e9 [2024-08-08T04:54:45.831Z] Removing intermediate container 8501f809f5e9 [2024-08-08T04:54:45.831Z] ---> cfd518afe9d3 [2024-08-08T04:54:45.831Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-08T04:54:45.831Z] ---> Running in 87857afd619a [2024-08-08T04:54:46.110Z] Removing intermediate container 87857afd619a [2024-08-08T04:54:46.110Z] ---> bddaffc04dff [2024-08-08T04:54:46.110Z] Step 6/12 : WORKDIR /device-uart [2024-08-08T04:54:46.381Z] ---> Running in 12e515412b73 [2024-08-08T04:54:46.652Z] Removing intermediate container 12e515412b73 [2024-08-08T04:54:46.652Z] ---> 8b38a404e893 [2024-08-08T04:54:46.652Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T04:54:46.652Z] ---> Running in a1ddf39cc2c2 [2024-08-08T04:54:49.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T04:54:49.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T04:54:50.481Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-08T04:54:50.481Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-08T04:54:50.481Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-08T04:54:50.481Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-08T04:54:50.481Z] Executing busybox-1.36.1-r5.trigger [2024-08-08T04:54:50.481Z] OK: 271 MiB in 56 packages [2024-08-08T04:54:51.455Z] Removing intermediate container a1ddf39cc2c2 [2024-08-08T04:54:51.455Z] ---> 55ba8fadb0e3 [2024-08-08T04:54:51.455Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-08T04:54:52.041Z] ---> af7b13ecf3df [2024-08-08T04:54:52.041Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T04:54:52.041Z] ---> Running in 86ea57f94e5b [2024-08-08T04:56:43.722Z] Removing intermediate container 86ea57f94e5b [2024-08-08T04:56:43.722Z] ---> d29af7dcd41a [2024-08-08T04:56:43.722Z] Step 10/12 : COPY . . [2024-08-08T04:56:43.722Z] ---> 4521cc79e4f8 [2024-08-08T04:56:43.722Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T04:56:43.722Z] ---> Running in 581b9719fab5 [2024-08-08T04:56:43.722Z] Removing intermediate container 581b9719fab5 [2024-08-08T04:56:43.722Z] ---> c6ead3b7c5ec [2024-08-08T04:56:43.722Z] Step 12/12 : RUN ${MAKE} [2024-08-08T04:56:43.722Z] ---> Running in 448956513d6c [2024-08-08T04:56:43.722Z] noop [2024-08-08T04:56:43.722Z] Removing intermediate container 448956513d6c [2024-08-08T04:56:43.722Z] ---> 0de32f3063bb [2024-08-08T04:56:43.722Z] Successfully built 0de32f3063bb [2024-08-08T04:56:43.722Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:56:44.102Z] + docker inspect -f . ci-base-image-arm64 [2024-08-08T04:56:44.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:56:44.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-7367 does not seem to be running inside a container [2024-08-08T04:56:44.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-08T04:56:45.719Z] $ docker top c3cfa328be975f4413c24404f44c9beb85d386aa4ecaf41068571e97d6082ba5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T04:56:46.591Z] + go version [2024-08-08T04:56:46.591Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-08T04:56:46.610Z] $ docker stop --time=1 c3cfa328be975f4413c24404f44c9beb85d386aa4ecaf41068571e97d6082ba5 [2024-08-08T04:56:48.276Z] $ docker rm -f --volumes c3cfa328be975f4413c24404f44c9beb85d386aa4ecaf41068571e97d6082ba5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T04:56:48.862Z] + docker inspect -f . ci-base-image-arm64 [2024-08-08T04:56:48.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T04:56:49.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-7367 does not seem to be running inside a container [2024-08-08T04:56:49.109Z] $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-08T04:56:50.342Z] $ docker top 55b0d0087f8a2250d15ec18f1112eb6850109ab524ad43acaae68d8e78b78a0e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T04:56:51.179Z] + git config --global --add safe.directory /w/workspace/device-uart/3 [Pipeline] fileExists [Pipeline] sh [2024-08-08T04:56:51.835Z] + make test [2024-08-08T04:56:51.835Z] go test ./... -coverprofile=coverage.out [2024-08-08T04:56:58.489Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-08-08T05:00:25.112Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-08-08T05:00:25.112Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-08-08T05:00:25.112Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-08T05:00:25.112Z] go vet ./... [2024-08-08T05:00:54.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-08T05:00:54.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-08T05:00:54.002Z] ./bin/test-attribution-txt.sh [2024-08-08T05:00:54.002Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-08T05:00:54.002Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-08T05:00:54.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-08T05:00:54.047Z] $ docker stop --time=1 55b0d0087f8a2250d15ec18f1112eb6850109ab524ad43acaae68d8e78b78a0e [2024-08-08T05:00:55.856Z] $ docker rm -f --volumes 55b0d0087f8a2250d15ec18f1112eb6850109ab524ad43acaae68d8e78b78a0e [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T05:00:57.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-08T05:00:57.279Z] Warning: overwriting stash ‘coverage-report’ [2024-08-08T05:00:57.687Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T05:00:58.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-08T05:00:58.474Z] + ls -al . [2024-08-08T05:00:58.474Z] total 220 [2024-08-08T05:00:58.474Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 8 04:56 . [2024-08-08T05:00:58.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 04:53 .. [2024-08-08T05:00:58.474Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 04:53 .dockerignore [2024-08-08T05:00:58.474Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:53 .git [2024-08-08T05:00:58.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:53 .github [2024-08-08T05:00:58.474Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 04:53 .gitignore [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 04:53 .golangci.yml [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 8 04:53 Attribution.txt [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 1908 Aug 8 04:53 CHANGELOG.md [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 1886 Aug 8 04:53 Dockerfile [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 04:53 GOVERNANCE.md [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 04:53 Jenkinsfile [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 04:53 LICENSE [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 8 04:53 Makefile [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 04:53 OWNERS.md [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 8892 Aug 8 04:53 README.md [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 04:49 VERSION [2024-08-08T05:00:58.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 04:53 bin [2024-08-08T05:00:58.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:53 cmd [2024-08-08T05:00:58.475Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 8 04:56 coverage.out [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 6964 Aug 8 04:53 go.mod [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 101892 Aug 8 04:53 go.sum [2024-08-08T05:00:58.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:53 internal [2024-08-08T05:00:58.475Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T05:00:58.849Z] + 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=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 --label arch=arm64 --label version=0.0.0 . [2024-08-08T05:00:59.120Z] Sending build context to Docker daemon 12.85MB [2024-08-08T05:00:59.388Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T05:00:59.388Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-08T05:00:59.388Z] ---> 0de32f3063bb [2024-08-08T05:00:59.388Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T05:00:59.388Z] ---> Running in c5e1436987b5 [2024-08-08T05:00:59.653Z] Removing intermediate container c5e1436987b5 [2024-08-08T05:00:59.653Z] ---> 5b9af21a4dc3 [2024-08-08T05:00:59.653Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T05:00:59.653Z] ---> Running in 434514830d69 [2024-08-08T05:00:59.919Z] Removing intermediate container 434514830d69 [2024-08-08T05:00:59.919Z] ---> c11b468174ec [2024-08-08T05:00:59.919Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-08T05:01:00.183Z] ---> Running in da2835dadd42 [2024-08-08T05:01:00.448Z] Removing intermediate container da2835dadd42 [2024-08-08T05:01:00.448Z] ---> 0f7f514d340e [2024-08-08T05:01:00.448Z] Step 6/26 : WORKDIR /device-uart [2024-08-08T05:01:00.448Z] ---> Running in 2ba8d775f565 [2024-08-08T05:01:00.713Z] Removing intermediate container 2ba8d775f565 [2024-08-08T05:01:00.713Z] ---> 3eb70ecc9c25 [2024-08-08T05:01:00.713Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T05:01:00.713Z] ---> Running in efd75fca1222 [2024-08-08T05:01:01.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T05:01:02.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T05:01:03.207Z] OK: 271 MiB in 56 packages [2024-08-08T05:01:04.168Z] Removing intermediate container efd75fca1222 [2024-08-08T05:01:04.168Z] ---> 54bcf3a53c9e [2024-08-08T05:01:04.168Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-08T05:01:04.757Z] ---> 15e390377b4e [2024-08-08T05:01:04.757Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T05:01:04.757Z] ---> Running in b4b93699635a [2024-08-08T05:01:07.064Z] Removing intermediate container b4b93699635a [2024-08-08T05:01:07.064Z] ---> 9a064e59415f [2024-08-08T05:01:07.064Z] Step 10/26 : COPY . . [2024-08-08T05:01:08.479Z] ---> e47e46546da1 [2024-08-08T05:01:08.479Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T05:01:08.479Z] ---> Running in eca82cff1a7c [2024-08-08T05:01:08.750Z] Removing intermediate container eca82cff1a7c [2024-08-08T05:01:08.750Z] ---> 80e600299266 [2024-08-08T05:01:08.750Z] Step 12/26 : RUN ${MAKE} [2024-08-08T05:01:08.750Z] ---> Running in 9db305c57da3 [2024-08-08T05:01:09.713Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.30" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-08-08T05:04:34.692Z] Removing intermediate container 9db305c57da3 [2024-08-08T05:04:34.692Z] ---> 76503d3a1fc5 [2024-08-08T05:04:34.692Z] Step 13/26 : FROM alpine:3.18 [2024-08-08T05:04:34.692Z] 3.18: Pulling from library/alpine [2024-08-08T05:04:34.692Z] 4983c3fe2029: Pulling fs layer [2024-08-08T05:04:34.692Z] 4983c3fe2029: Verifying Checksum [2024-08-08T05:04:34.692Z] 4983c3fe2029: Download complete [2024-08-08T05:04:34.692Z] 4983c3fe2029: Pull complete [2024-08-08T05:04:34.692Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-08T05:04:34.692Z] Status: Downloaded newer image for alpine:3.18 [2024-08-08T05:04:34.692Z] ---> a0237000ae83 [2024-08-08T05:04:34.692Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-08T05:04:34.692Z] ---> Running in 9b3b50dab741 [2024-08-08T05:04:34.692Z] Removing intermediate container 9b3b50dab741 [2024-08-08T05:04:34.692Z] ---> 40f02020430e [2024-08-08T05:04:34.692Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-08T05:04:34.692Z] ---> Running in 3d561aece726 [2024-08-08T05:04:34.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T05:04:34.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T05:04:34.692Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-08T05:04:34.692Z] Executing busybox-1.36.1-r7.trigger [2024-08-08T05:04:34.692Z] OK: 8 MiB in 16 packages [2024-08-08T05:04:34.692Z] Removing intermediate container 3d561aece726 [2024-08-08T05:04:34.692Z] ---> 647caeda0356 [2024-08-08T05:04:34.692Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-08T05:04:34.692Z] ---> Running in ec10d52ff62b [2024-08-08T05:04:34.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T05:04:34.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T05:04:34.692Z] OK: 8 MiB in 16 packages [2024-08-08T05:04:34.692Z] Removing intermediate container ec10d52ff62b [2024-08-08T05:04:34.692Z] ---> 3f32cef252af [2024-08-08T05:04:34.692Z] Step 17/26 : WORKDIR / [2024-08-08T05:04:34.692Z] ---> Running in f7e801862244 [2024-08-08T05:04:34.692Z] Removing intermediate container f7e801862244 [2024-08-08T05:04:34.692Z] ---> b86b21678ebf [2024-08-08T05:04:34.692Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-08-08T05:04:35.301Z] ---> ff18a209fb80 [2024-08-08T05:04:35.301Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-08-08T05:04:35.905Z] ---> e80cd049384b [2024-08-08T05:04:35.905Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-08-08T05:04:37.882Z] ---> 252b8bd08ab7 [2024-08-08T05:04:37.882Z] Step 21/26 : EXPOSE 59995 [2024-08-08T05:04:37.882Z] ---> Running in 63c4faae3ec1 [2024-08-08T05:04:38.153Z] Removing intermediate container 63c4faae3ec1 [2024-08-08T05:04:38.153Z] ---> 10634dce739e [2024-08-08T05:04:38.153Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-08-08T05:04:38.153Z] ---> Running in b29a51619aad [2024-08-08T05:04:38.425Z] Removing intermediate container b29a51619aad [2024-08-08T05:04:38.425Z] ---> b8eb3adfd933 [2024-08-08T05:04:38.425Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-08T05:04:38.704Z] ---> Running in 2348585aa3f7 [2024-08-08T05:04:38.979Z] Removing intermediate container 2348585aa3f7 [2024-08-08T05:04:38.979Z] ---> 513aea8ac2a6 [2024-08-08T05:04:38.979Z] Step 24/26 : LABEL arch=arm64 [2024-08-08T05:04:38.979Z] ---> Running in 5f6127e8e65a [2024-08-08T05:04:39.249Z] Removing intermediate container 5f6127e8e65a [2024-08-08T05:04:39.249Z] ---> 0551176fa01e [2024-08-08T05:04:39.249Z] Step 25/26 : LABEL git_sha=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [2024-08-08T05:04:39.249Z] ---> Running in 790b27dc7bdb [2024-08-08T05:04:39.518Z] Removing intermediate container 790b27dc7bdb [2024-08-08T05:04:39.518Z] ---> 5e8783302623 [2024-08-08T05:04:39.518Z] Step 26/26 : LABEL version=0.0.0 [2024-08-08T05:04:39.518Z] ---> Running in 2d01aa0a09bb [2024-08-08T05:04:39.785Z] Removing intermediate container 2d01aa0a09bb [2024-08-08T05:04:39.785Z] ---> 2fbf9a42953b [2024-08-08T05:04:39.785Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-08T05:04:40.056Z] Successfully built 2fbf9a42953b [2024-08-08T05:04:40.056Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T05:04:40.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T05:04:40.577Z] [2024-08-08T05:04:40.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T05:04:40.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T05:04:41.206Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-08T05:04:41.206Z] 8998bd30e6a1: Pulling fs layer [2024-08-08T05:04:41.206Z] 04944245beec: Pulling fs layer [2024-08-08T05:04:41.206Z] 699f458cf7ca: Pulling fs layer [2024-08-08T05:04:41.206Z] 765212b225bb: Pulling fs layer [2024-08-08T05:04:41.206Z] f23df028b6ca: Pulling fs layer [2024-08-08T05:04:41.206Z] d65c8cfc05b1: Pulling fs layer [2024-08-08T05:04:41.206Z] 2437ff75d9bd: Pulling fs layer [2024-08-08T05:04:41.206Z] 765212b225bb: Waiting [2024-08-08T05:04:41.206Z] f23df028b6ca: Waiting [2024-08-08T05:04:41.206Z] d65c8cfc05b1: Waiting [2024-08-08T05:04:41.206Z] 2437ff75d9bd: Waiting [2024-08-08T05:04:41.206Z] 04944245beec: Verifying Checksum [2024-08-08T05:04:41.206Z] 04944245beec: Download complete [2024-08-08T05:04:41.206Z] 765212b225bb: Verifying Checksum [2024-08-08T05:04:41.206Z] 765212b225bb: Download complete [2024-08-08T05:04:41.206Z] f23df028b6ca: Verifying Checksum [2024-08-08T05:04:41.206Z] f23df028b6ca: Download complete [2024-08-08T05:04:41.206Z] d65c8cfc05b1: Verifying Checksum [2024-08-08T05:04:41.206Z] d65c8cfc05b1: Download complete [2024-08-08T05:04:41.482Z] 699f458cf7ca: Verifying Checksum [2024-08-08T05:04:41.482Z] 699f458cf7ca: Download complete [2024-08-08T05:04:41.753Z] 8998bd30e6a1: Download complete [2024-08-08T05:04:44.363Z] 2437ff75d9bd: Verifying Checksum [2024-08-08T05:04:44.363Z] 2437ff75d9bd: Download complete [2024-08-08T05:04:47.345Z] 8998bd30e6a1: Pull complete [2024-08-08T05:04:47.345Z] 04944245beec: Pull complete [2024-08-08T05:04:48.313Z] 699f458cf7ca: Pull complete [2024-08-08T05:04:48.587Z] 765212b225bb: Pull complete [2024-08-08T05:04:49.181Z] f23df028b6ca: Pull complete [2024-08-08T05:04:49.464Z] d65c8cfc05b1: Pull complete [2024-08-08T05:05:05.068Z] 2437ff75d9bd: Pull complete [2024-08-08T05:05:05.336Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-08T05:05:05.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T05:05:05.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T05:05:05.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-7367 does not seem to be running inside a container [2024-08-08T05:05:05.667Z] $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-08T05:05:08.228Z] $ docker top 9b7617039c039474485272291b95d1553462a98c44ef01d45bac03846e2d3de7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:09.096Z] ---> job-cost.sh [2024-08-08T05:05:09.096Z] lf-activate-venv: SKIPPING [2024-08-08T05:05:09.097Z] INFO: No Stack... [2024-08-08T05:05:09.363Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-08T05:05:10.338Z] INFO: Archiving Costs [Pipeline] sh [2024-08-08T05:05:11.022Z] + + cat /w/workspace/device-uart/3/archives/cost.csvcut [2024-08-08T05:05:11.022Z] -d, -f6 [Pipeline] lock [2024-08-08T05:05:11.084Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [2024-08-08T05:05:11.098Z] Resource [jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] did not exist. Created. [2024-08-08T05:05:11.106Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-08T05:05:11.475Z] /w/workspace/device-uart/3@tmp/durable-1cdf41f1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-08T05:05:11.820Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-08T05:05:11.853Z] Warning: overwriting stash ‘stack-cost’ [2024-08-08T05:05:11.905Z] Stashed 1 file(s) [Pipeline] } [2024-08-08T05:05:11.913Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-64-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-08T05:05:11.942Z] $ docker stop --time=1 9b7617039c039474485272291b95d1553462a98c44ef01d45bac03846e2d3de7 [2024-08-08T05:05:14.306Z] $ docker rm -f --volumes 9b7617039c039474485272291b95d1553462a98c44ef01d45bac03846e2d3de7 [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-08-08T05:05:14.762Z] provisioning config files... [2024-08-08T05:05:14.774Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-64@tmp/config17153816896997014255tmp [Pipeline] { [Pipeline] sh [2024-08-08T05:05:15.097Z] + set +x [2024-08-08T05:05:15.097Z] + curl -s+ https://codecov.io/bash [2024-08-08T05:05:15.097Z] bash -s -- [2024-08-08T05:05:15.097Z] [2024-08-08T05:05:15.097Z] _____ _ [2024-08-08T05:05:15.097Z] / ____| | | [2024-08-08T05:05:15.097Z] | | ___ __| | ___ ___ _____ __ [2024-08-08T05:05:15.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-08T05:05:15.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-08T05:05:15.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-08T05:05:15.097Z] Bash-1.0.6 [2024-08-08T05:05:15.097Z] [2024-08-08T05:05:15.097Z] [2024-08-08T05:05:15.097Z] ==> git version 2.25.1 found [2024-08-08T05:05:15.097Z] ==> 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-08-08T05:05:15.097Z] Release-Date: 2020-01-08 [2024-08-08T05:05:15.097Z] 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-08-08T05:05:15.097Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-08T05:05:15.097Z] ==> Jenkins CI detected. [2024-08-08T05:05:15.097Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-64 [2024-08-08T05:05:15.097Z] project root: . [2024-08-08T05:05:15.097Z] --> token set from env [2024-08-08T05:05:15.097Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-08T05:05:15.365Z] ==> Running gcov in . (disable via -X gcov) [2024-08-08T05:05:15.365Z] ==> Python coveragepy not found [2024-08-08T05:05:15.365Z] ==> Searching for coverage reports in: [2024-08-08T05:05:15.365Z] + . [2024-08-08T05:05:15.365Z] -> Found 1 reports [2024-08-08T05:05:15.365Z] ==> Detecting git/mercurial file structure [2024-08-08T05:05:15.365Z] ==> Reading reports [2024-08-08T05:05:15.365Z] + ./coverage.out bytes=10 [2024-08-08T05:05:15.365Z] ==> Appending adjustments [2024-08-08T05:05:15.365Z] https://docs.codecov.io/docs/fixing-reports [2024-08-08T05:05:15.365Z] + Found adjustments [2024-08-08T05:05:15.365Z] ==> Gzipping contents [2024-08-08T05:05:15.365Z] 4.0K /tmp/codecov.Isi6AC.gz [2024-08-08T05:05:15.365Z] ==> Uploading reports [2024-08-08T05:05:15.365Z] url: https://codecov.io [2024-08-08T05:05:15.365Z] query: branch=PR-64&commit=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-64%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=64&job=&cmd_args= [2024-08-08T05:05:15.365Z] -> Pinging Codecov [2024-08-08T05:05:15.365Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-64&commit=1332634b7e89c1b65ff1d2489dbe7a1ae50802a5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-64%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=64&job=&cmd_args= [2024-08-08T05:05:15.633Z] -> Uploading to [2024-08-08T05:05:15.633Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-08/B9AA6E0BBD74AE3A32605C7A7C664919/1332634b7e89c1b65ff1d2489dbe7a1ae50802a5/bd36ad91-2318-456e-8b41-5420e98410ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240808%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240808T050515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5f83f8f417443b65343af910d8f0221f9d0867642541b5481ee7e3917f41c41 [2024-08-08T05:05:15.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-08T05:05:15.633Z] Dload Upload Total Spent Left Speed [2024-08-08T05:05:15.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2441 --:--:-- --:--:-- --:--:-- 2441 [2024-08-08T05:05:15.901Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/1332634b7e89c1b65ff1d2489dbe7a1ae50802a5 [Pipeline] } [2024-08-08T05:05:15.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-08-08T05:05:16.885Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-64/archives ] [2024-08-08T05:05:16.885Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-64/archives [2024-08-08T05:05:16.885Z] total 16 [2024-08-08T05:05:16.885Z] drwxr-xr-x 3 root root 4096 Aug 8 04:52 . [2024-08-08T05:05:16.885Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 04:52 .. [2024-08-08T05:05:16.885Z] drwxr-xr-x 2 root root 4096 Aug 8 04:52 cost [2024-08-08T05:05:16.885Z] -rw-r--r-- 1 root root 82 Aug 8 04:52 cost.csv [2024-08-08T05:05:16.885Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-64/archives [2024-08-08T05:05:16.885Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-64/archives [2024-08-08T05:05:16.885Z] total 16 [2024-08-08T05:05:16.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 04:52 . [2024-08-08T05:05:16.885Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 04:52 .. [2024-08-08T05:05:16.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 04:52 cost [2024-08-08T05:05:16.885Z] -rw-r--r-- 1 jenkins jenkins 82 Aug 8 04:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:17.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:18.098Z] ---> package-listing.sh [2024-08-08T05:05:18.099Z] ++ facter osfamily [2024-08-08T05:05:18.099Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-08T05:05:18.364Z] + OS_FAMILY=debian [2024-08-08T05:05:18.364Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-64 [2024-08-08T05:05:18.364Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-08T05:05:18.364Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-08T05:05:18.364Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-08T05:05:18.364Z] + PACKAGES=/tmp/packages_start.txt [2024-08-08T05:05:18.364Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-64 ']' [2024-08-08T05:05:18.364Z] + PACKAGES=/tmp/packages_end.txt [2024-08-08T05:05:18.364Z] + case "${OS_FAMILY}" in [2024-08-08T05:05:18.364Z] + dpkg -l [2024-08-08T05:05:18.364Z] + grep '^ii' [2024-08-08T05:05:18.364Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-08T05:05:18.364Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-08T05:05:18.364Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-08T05:05:18.364Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-64 ']' [2024-08-08T05:05:18.364Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-64/archives/ [2024-08-08T05:05:18.364Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-64/archives/ [Pipeline] echo [2024-08-08T05:05:18.387Z] 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_PR-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-08T05:05:18.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T05:05:19.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T05:05:19.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T05:05:19.390Z] prd-ubuntu20.04-docker-8c-8g-7366 does not seem to be running inside a container [2024-08-08T05:05:19.437Z] $ 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_PR-64/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_PR-64 -v /w/workspace/edgexfoundry_device-uart_PR-64:/w/workspace/edgexfoundry_device-uart_PR-64:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-64@tmp:/w/workspace/edgexfoundry_device-uart_PR-64@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-08T05:05:19.668Z] $ docker top b0f013abd62816cbbbc225ec4f88c6c253d8726dedbe95143c87a1d745fa7eeb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T05:05:20.046Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-08T05:05:20.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-08T05:05:20.663Z] + ls /var/log/sa-host [2024-08-08T05:05:20.663Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T05:05:20.747Z] provisioning config files... [2024-08-08T05:05:20.762Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-64@tmp/config6359130825449063498tmp [Pipeline] { [Pipeline] echo [2024-08-08T05:05:20.788Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:21.080Z] ---> create-netrc.sh [Pipeline] } [2024-08-08T05:05:21.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:21.477Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-08T05:05:21.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:21.788Z] ---> sudo-logs.sh [2024-08-08T05:05:21.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-08T05:05:21.837Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:22.137Z] ---> job-cost.sh [2024-08-08T05:05:22.137Z] lf-activate-venv: SKIPPING [2024-08-08T05:05:22.137Z] DEBUG: total: 0.2199999988079071 [2024-08-08T05:05:22.137Z] INFO: Retrieving Stack Cost... [2024-08-08T05:05:22.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-08T05:05:22.990Z] INFO: Archiving Costs [Pipeline] echo [2024-08-08T05:05:23.010Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T05:05:23.308Z] ---> logs-deploy.sh [2024-08-08T05:05:23.308Z] lf-activate-venv: SKIPPING [2024-08-08T05:05:23.308Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-64/3 [2024-08-08T05:05:23.308Z] INFO: archiving workspace using pattern(s): [2024-08-08T05:05:24.274Z] Archives upload complete. [2024-08-08T05:05:24.274Z] INFO: archiving logs to Nexus