Pull request #55 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7af5485ee1e12530949e6912071102820d2df5ba+0191fcbf31d47e6537e79896ea60966564fcaee0 (6c2bdded7e66c4f574b85d8edb2a923937690a6a) 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-ssh10587868099490922040.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-ssh16018050669534409891.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17395664872741586975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6588003184175251658.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh793795896384547203.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-55/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-55/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14542009434011587154.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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 Running on prd-ubuntu20.04-docker-8c-8g-4381 in /w/workspace/edgexfoundry_device-uart_PR-55 [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-55 # 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 Merging remotes/origin/main commit 0191fcbf31d47e6537e79896ea60966564fcaee0 into PR head commit 7af5485ee1e12530949e6912071102820d2df5ba Merge succeeded, producing 7af5485ee1e12530949e6912071102820d2df5ba Checking out Revision 7af5485ee1e12530949e6912071102820d2df5ba (PR-55) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7af5485ee1e12530949e6912071102820d2df5ba # 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 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7af5485ee1e12530949e6912071102820d2df5ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-25T18:25:29.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-25T18:25:29.438Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-25T18:25:29.566Z] ========================================================= [2024-06-25T18:25:29.566Z] EdgeX Global Pipelines Version Info [2024-06-25T18:25:29.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:25:30.707Z] ------------------- [2024-06-25T18:25:30.707Z] stable info: [2024-06-25T18:25:30.707Z] ------------------- [2024-06-25T18:25:30.707Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T18:25:30.707Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T18:25:30.707Z] Message: update stable to v1.0.260 [2024-06-25T18:25:31.278Z] ------------------- [2024-06-25T18:25:31.278Z] experimental info: [2024-06-25T18:25:31.278Z] ------------------- [2024-06-25T18:25:31.278Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T18:25:31.278Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-25T18:25:31.278Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-25T18:25:31.553Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-06-25T18:25:31.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-06-25T18:25:31.680Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-25T18:25:31.745Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-25T18:25:31.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-25T18:25:31.864Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-25T18:25:31.920Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-25T18:25:31.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-25T18:25:32.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-25T18:25:32.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-25T18:25:32.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-25T18:25:32.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-06-25T18:25:32.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-25T18:25:32.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-25T18:25:32.395Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T18:25:32.450Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T18:25:32.502Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T18:25:32.559Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T18:25:32.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-25T18:25:32.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-25T18:25:32.730Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-06-25T18:25:32.787Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-06-25T18:25:32.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-25T18:25:32.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-25T18:25:32.970Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-25T18:25:33.031Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-25T18:25:33.090Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-25T18:25:33.151Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo [2024-06-25T18:25:33.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo [2024-06-25T18:25:33.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo [2024-06-25T18:25:33.344Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7af5485ee1e12530949e6912071102820d2df5ba [Pipeline] echo [2024-06-25T18:25:33.407Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7af5485 [Pipeline] echo [2024-06-25T18:25:33.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T18:25:33.621Z] provisioning config files... [2024-06-25T18:25:33.636Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-55@tmp/config18180386447764996699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:25:34.031Z] ---> ****-login.sh [2024-06-25T18:25:34.031Z] nexus3.edgexfoundry.org:10001 [2024-06-25T18:25:34.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:34.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:34.291Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:34.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:34.291Z] [2024-06-25T18:25:34.291Z] Login Succeeded [2024-06-25T18:25:34.551Z] nexus3.edgexfoundry.org:10002 [2024-06-25T18:25:34.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:34.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:34.551Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:34.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:34.551Z] [2024-06-25T18:25:34.551Z] Login Succeeded [2024-06-25T18:25:34.551Z] nexus3.edgexfoundry.org:10003 [2024-06-25T18:25:34.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:34.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:34.551Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:34.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:34.551Z] [2024-06-25T18:25:34.551Z] Login Succeeded [2024-06-25T18:25:34.551Z] nexus3.edgexfoundry.org:10004 [2024-06-25T18:25:34.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:34.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:34.812Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:34.812Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:34.812Z] [2024-06-25T18:25:34.812Z] Login Succeeded [2024-06-25T18:25:34.812Z] ****.io [2024-06-25T18:25:34.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:35.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:35.074Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:35.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:35.074Z] [2024-06-25T18:25:35.074Z] Login Succeeded [2024-06-25T18:25:35.074Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T18:25:35.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-25T18:25:35.813Z] + git rev-list -1 --merges 7af5485ee1e12530949e6912071102820d2df5ba~1..7af5485ee1e12530949e6912071102820d2df5ba [Pipeline] echo [2024-06-25T18:25:35.863Z] -----------> git rev-list -1 --merges 7af5485ee1e12530949e6912071102820d2df5ba~1..7af5485ee1e12530949e6912071102820d2df5ba 7af5485ee1e12530949e6912071102820d2df5ba [false] [Pipeline] sh [2024-06-25T18:25:36.189Z] + git log --format=format:%s -1 7af5485ee1e12530949e6912071102820d2df5ba [Pipeline] echo [2024-06-25T18:25:36.230Z] ========================================================= [2024-06-25T18:25:36.231Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-25T18:25:36.231Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T18:25:36.710Z] + git log --format=format:%s -1 7af5485ee1e12530949e6912071102820d2df5ba [Pipeline] echo [2024-06-25T18:25:36.751Z] [semverPrep] GIT_COMMIT: 7af5485ee1e12530949e6912071102820d2df5ba, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-06-25T18:25:36.795Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-25T18:25:37.220Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T18:25:37.220Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-25T18:25:37.220Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-25T18:25:37.220Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-25T18:25:37.220Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-25T18:25:37.220Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-25T18:25:37.220Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:25:37.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T18:25:37.748Z] [2024-06-25T18:25:37.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:25:38.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T18:25:38.157Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-25T18:25:38.157Z] b85a868b505f: Pulling fs layer [2024-06-25T18:25:38.158Z] e2be974225ed: Pulling fs layer [2024-06-25T18:25:38.158Z] 339a4e72a1f5: Pulling fs layer [2024-06-25T18:25:38.158Z] 988bab9f4d93: Pulling fs layer [2024-06-25T18:25:38.158Z] 1469e6f7b9e6: Pulling fs layer [2024-06-25T18:25:38.158Z] eaf3925da568: Pulling fs layer [2024-06-25T18:25:38.158Z] bab4dde63d76: Pulling fs layer [2024-06-25T18:25:38.158Z] bde34c3a00c8: Pulling fs layer [2024-06-25T18:25:38.158Z] b352a97aabf1: Pulling fs layer [2024-06-25T18:25:38.158Z] 4872d77fe225: Pulling fs layer [2024-06-25T18:25:38.158Z] 5851b861e8e6: Pulling fs layer [2024-06-25T18:25:38.158Z] 1469e6f7b9e6: Waiting [2024-06-25T18:25:38.158Z] eaf3925da568: Waiting [2024-06-25T18:25:38.158Z] bab4dde63d76: Waiting [2024-06-25T18:25:38.158Z] 988bab9f4d93: Waiting [2024-06-25T18:25:38.158Z] bde34c3a00c8: Waiting [2024-06-25T18:25:38.158Z] 5851b861e8e6: Waiting [2024-06-25T18:25:38.158Z] e2be974225ed: Verifying Checksum [2024-06-25T18:25:38.158Z] e2be974225ed: Download complete [2024-06-25T18:25:38.158Z] 988bab9f4d93: Verifying Checksum [2024-06-25T18:25:38.158Z] 988bab9f4d93: Download complete [2024-06-25T18:25:38.158Z] 1469e6f7b9e6: Verifying Checksum [2024-06-25T18:25:38.158Z] 1469e6f7b9e6: Download complete [2024-06-25T18:25:38.158Z] 339a4e72a1f5: Verifying Checksum [2024-06-25T18:25:38.158Z] 339a4e72a1f5: Download complete [2024-06-25T18:25:38.158Z] eaf3925da568: Verifying Checksum [2024-06-25T18:25:38.158Z] eaf3925da568: Download complete [2024-06-25T18:25:38.417Z] bde34c3a00c8: Verifying Checksum [2024-06-25T18:25:38.417Z] bde34c3a00c8: Download complete [2024-06-25T18:25:38.417Z] b352a97aabf1: Verifying Checksum [2024-06-25T18:25:38.417Z] b352a97aabf1: Download complete [2024-06-25T18:25:38.417Z] 4872d77fe225: Download complete [2024-06-25T18:25:38.417Z] 5851b861e8e6: Verifying Checksum [2024-06-25T18:25:38.417Z] 5851b861e8e6: Download complete [2024-06-25T18:25:38.417Z] b85a868b505f: Verifying Checksum [2024-06-25T18:25:38.417Z] b85a868b505f: Download complete [2024-06-25T18:25:38.677Z] bab4dde63d76: Verifying Checksum [2024-06-25T18:25:38.677Z] bab4dde63d76: Download complete [2024-06-25T18:25:39.613Z] b85a868b505f: Pull complete [2024-06-25T18:25:39.875Z] e2be974225ed: Pull complete [2024-06-25T18:25:40.136Z] 339a4e72a1f5: Pull complete [2024-06-25T18:25:40.396Z] 988bab9f4d93: Pull complete [2024-06-25T18:25:40.655Z] 1469e6f7b9e6: Pull complete [2024-06-25T18:25:40.655Z] eaf3925da568: Pull complete [2024-06-25T18:25:42.558Z] bab4dde63d76: Pull complete [2024-06-25T18:25:42.558Z] bde34c3a00c8: Pull complete [2024-06-25T18:25:42.558Z] b352a97aabf1: Pull complete [2024-06-25T18:25:42.818Z] 4872d77fe225: Pull complete [2024-06-25T18:25:42.818Z] 5851b861e8e6: Pull complete [2024-06-25T18:25:42.818Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-25T18:25:42.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T18:25:42.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:25:43.122Z] prd-ubuntu20.04-docker-8c-8g-4381 does not seem to be running inside a container [2024-06-25T18:25:43.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-55 -v /w/workspace/edgexfoundry_device-uart_PR-55:/w/workspace/edgexfoundry_device-uart_PR-55:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-55@tmp:/w/workspace/edgexfoundry_device-uart_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T18:25:46.797Z] $ docker top 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 -eo pid,comm [2024-06-25T18:25:46.848Z] 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-06-25T18:25:46.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T18:25:47.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T18:25:47.015Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T18:25:47.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T18:25:47.140Z] $ docker exec 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 ssh-agent [2024-06-25T18:25:47.238Z] SSH_AUTH_SOCK=/tmp/ssh-LjuHqMVitVyH/agent.32 [2024-06-25T18:25:47.238Z] SSH_AGENT_PID=38 [2024-06-25T18:25:47.244Z] Running ssh-add (command line suppressed) [2024-06-25T18:25:47.345Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-55@tmp/private_key_7729525612250421373.key (/w/workspace/edgexfoundry_device-uart_PR-55@tmp/private_key_7729525612250421373.key) [2024-06-25T18:25:47.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T18:25:47.698Z] + git tag --points-at HEAD [Pipeline] } [2024-06-25T18:25:47.729Z] $ docker exec --env ******** --env ******** 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 ssh-agent -k [2024-06-25T18:25:47.832Z] unset SSH_AUTH_SOCK; [2024-06-25T18:25:47.832Z] unset SSH_AGENT_PID; [2024-06-25T18:25:47.832Z] echo Agent pid 38 killed; [2024-06-25T18:25:47.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-25T18:25:47.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T18:25:47.952Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T18:25:48.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T18:25:48.067Z] $ docker exec 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 ssh-agent [2024-06-25T18:25:48.175Z] SSH_AUTH_SOCK=/tmp/ssh-1qwEdh395L4o/agent.72 [2024-06-25T18:25:48.175Z] SSH_AGENT_PID=78 [2024-06-25T18:25:48.180Z] Running ssh-add (command line suppressed) [2024-06-25T18:25:48.285Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-55@tmp/private_key_10759712527307995565.key (/w/workspace/edgexfoundry_device-uart_PR-55@tmp/private_key_10759712527307995565.key) [2024-06-25T18:25:48.295Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T18:25:48.648Z] + git semver init [2024-06-25T18:25:48.909Z] 2024-06-25 18:25:48,863 [run_init] DEBUG init version:0.0.0 force:False [2024-06-25T18:25:48.909Z] 2024-06-25 18:25:48,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-55/.semver [2024-06-25T18:25:48.909Z] 2024-06-25 18:25:48,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-55/.semver [2024-06-25T18:25:48.909Z] 2024-06-25 18:25:48,865 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-55/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-55, universal_newlines=False, shell=None, istream=None) [2024-06-25T18:25:50.814Z] 2024-06-25 18:25:50,317 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-55/.git/info/exclude [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-55/.semver/PR-55 with force:False [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,318 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-55/.semver/PR-55 [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,322 [execute] INFO git cat-file --batch-check [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-55/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,329 [execute] INFO git cat-file --batch [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-55/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T18:25:50.815Z] 2024-06-25 18:25:50,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-55/.semver/PR-55 [2024-06-25T18:25:50.815Z] 0.0.0 [Pipeline] } [2024-06-25T18:25:50.848Z] $ docker exec --env ******** --env ******** 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 ssh-agent -k [2024-06-25T18:25:50.942Z] unset SSH_AUTH_SOCK; [2024-06-25T18:25:50.943Z] unset SSH_AGENT_PID; [2024-06-25T18:25:50.943Z] echo Agent pid 78 killed; [2024-06-25T18:25:50.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T18:25:51.414Z] + git semver [Pipeline] } [2024-06-25T18:25:51.703Z] $ docker stop --time=1 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 [2024-06-25T18:25:53.024Z] $ docker rm -f --volumes 0fbf15cf85410264ec9a84b0cb4ae9d0ab7e15c895b0b0ab868b3c89ab079738 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T18:25:53.445Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-25T18:25:53.742Z] Stashed 1 file(s) [Pipeline] echo [2024-06-25T18:25:53.764Z] [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-06-25T18:25:54.531Z] provisioning config files... [2024-06-25T18:25:54.542Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-55@tmp/config7018964099750645925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:25:54.907Z] ---> ****-login.sh [2024-06-25T18:25:54.907Z] nexus3.edgexfoundry.org:10001 [2024-06-25T18:25:54.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:54.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:54.907Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:54.907Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:54.907Z] [2024-06-25T18:25:54.907Z] Login Succeeded [2024-06-25T18:25:54.907Z] nexus3.edgexfoundry.org:10002 [2024-06-25T18:25:54.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:54.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:54.907Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:54.907Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:54.907Z] [2024-06-25T18:25:54.907Z] Login Succeeded [2024-06-25T18:25:54.907Z] nexus3.edgexfoundry.org:10003 [2024-06-25T18:25:55.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:55.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:55.168Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:55.168Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:55.168Z] [2024-06-25T18:25:55.168Z] Login Succeeded [2024-06-25T18:25:55.168Z] nexus3.edgexfoundry.org:10004 [2024-06-25T18:25:55.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:55.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:55.169Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:55.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:55.169Z] [2024-06-25T18:25:55.169Z] Login Succeeded [2024-06-25T18:25:55.169Z] ****.io [2024-06-25T18:25:55.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:25:55.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:25:55.429Z] Configure a credential helper to remove this warning. See [2024-06-25T18:25:55.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:25:55.429Z] [2024-06-25T18:25:55.429Z] Login Succeeded [2024-06-25T18:25:55.429Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T18:25:55.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T18:25:55.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T18:25:55.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T18:25:55.773Z] ========================================================= [2024-06-25T18:25:55.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-25T18:25:55.773Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:25:56.367Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-06-25T18:25:56.367Z] Sending build context to Docker daemon 29.07MB [2024-06-25T18:25:56.367Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T18:25:56.367Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-25T18:25:56.633Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-25T18:25:56.633Z] 619be1103602: Pulling fs layer [2024-06-25T18:25:56.633Z] 7862e08f4a3e: Pulling fs layer [2024-06-25T18:25:56.633Z] 5df492c9dc93: Pulling fs layer [2024-06-25T18:25:56.633Z] 7629e6793208: Pulling fs layer [2024-06-25T18:25:56.633Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T18:25:56.633Z] fb5054dd5b73: Pulling fs layer [2024-06-25T18:25:56.633Z] eeca6798cff9: Pulling fs layer [2024-06-25T18:25:56.633Z] aa269ceb94a6: Pulling fs layer [2024-06-25T18:25:56.633Z] ada007ff1a6a: Pulling fs layer [2024-06-25T18:25:56.633Z] 4f4fb700ef54: Waiting [2024-06-25T18:25:56.633Z] fb5054dd5b73: Waiting [2024-06-25T18:25:56.633Z] eeca6798cff9: Waiting [2024-06-25T18:25:56.633Z] aa269ceb94a6: Waiting [2024-06-25T18:25:56.633Z] ada007ff1a6a: Waiting [2024-06-25T18:25:56.633Z] 7629e6793208: Waiting [2024-06-25T18:25:56.633Z] 7862e08f4a3e: Download complete [2024-06-25T18:25:56.633Z] 7629e6793208: Verifying Checksum [2024-06-25T18:25:56.633Z] 7629e6793208: Download complete [2024-06-25T18:25:56.633Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T18:25:56.633Z] 4f4fb700ef54: Download complete [2024-06-25T18:25:56.633Z] fb5054dd5b73: Verifying Checksum [2024-06-25T18:25:56.633Z] fb5054dd5b73: Download complete [2024-06-25T18:25:56.633Z] 619be1103602: Verifying Checksum [2024-06-25T18:25:56.633Z] 619be1103602: Download complete [2024-06-25T18:25:56.633Z] eeca6798cff9: Verifying Checksum [2024-06-25T18:25:56.633Z] eeca6798cff9: Download complete [2024-06-25T18:25:56.894Z] 619be1103602: Pull complete [2024-06-25T18:25:56.894Z] ada007ff1a6a: Verifying Checksum [2024-06-25T18:25:56.894Z] ada007ff1a6a: Download complete [2024-06-25T18:25:56.894Z] 7862e08f4a3e: Pull complete [2024-06-25T18:25:57.152Z] 5df492c9dc93: Verifying Checksum [2024-06-25T18:25:57.152Z] 5df492c9dc93: Download complete [2024-06-25T18:25:57.410Z] aa269ceb94a6: Verifying Checksum [2024-06-25T18:25:57.410Z] aa269ceb94a6: Download complete [2024-06-25T18:26:00.687Z] 5df492c9dc93: Pull complete [2024-06-25T18:26:00.687Z] 7629e6793208: Pull complete [2024-06-25T18:26:00.687Z] 4f4fb700ef54: Pull complete [2024-06-25T18:26:00.687Z] fb5054dd5b73: Pull complete [2024-06-25T18:26:00.687Z] eeca6798cff9: Pull complete [2024-06-25T18:26:03.221Z] aa269ceb94a6: Pull complete [2024-06-25T18:26:03.481Z] ada007ff1a6a: Pull complete [2024-06-25T18:26:03.481Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-25T18:26:03.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-25T18:26:03.481Z] ---> f489d0715acc [2024-06-25T18:26:03.481Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T18:26:08.762Z] ---> Running in c76fa168039c [2024-06-25T18:26:08.762Z] Removing intermediate container c76fa168039c [2024-06-25T18:26:08.762Z] ---> 9eb926d2f439 [2024-06-25T18:26:08.762Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T18:26:08.762Z] ---> Running in 055b1d2a78f5 [2024-06-25T18:26:08.762Z] Removing intermediate container 055b1d2a78f5 [2024-06-25T18:26:08.762Z] ---> c3e1d68b8e0b [2024-06-25T18:26:08.762Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-06-25T18:26:08.762Z] ---> Running in 7a6e0456b397 [2024-06-25T18:26:08.762Z] Removing intermediate container 7a6e0456b397 [2024-06-25T18:26:08.762Z] ---> b3f47205d45b [2024-06-25T18:26:08.762Z] Step 6/12 : WORKDIR /device-uart [2024-06-25T18:26:09.021Z] ---> Running in 2546fbfd9a82 [2024-06-25T18:26:09.021Z] Removing intermediate container 2546fbfd9a82 [2024-06-25T18:26:09.021Z] ---> 712c0f09cf14 [2024-06-25T18:26:09.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T18:26:09.021Z] ---> Running in 70016d72a498 [2024-06-25T18:26:09.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T18:26:09.301Z] Still waiting to schedule task [2024-06-25T18:26:09.301Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-25T18:26:09.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T18:26:09.800Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T18:26:09.800Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-25T18:26:09.800Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T18:26:09.800Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T18:26:09.800Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T18:26:09.800Z] OK: 268 MiB in 56 packages [2024-06-25T18:26:10.368Z] Removing intermediate container 70016d72a498 [2024-06-25T18:26:10.368Z] ---> 4f1281bfb153 [2024-06-25T18:26:10.368Z] Step 8/12 : COPY go.mod vendor* ./ [2024-06-25T18:26:10.368Z] ---> 30a07c4fae21 [2024-06-25T18:26:10.368Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T18:26:10.368Z] ---> Running in 6a038c01cfce [2024-06-25T18:27:06.659Z] Removing intermediate container 6a038c01cfce [2024-06-25T18:27:06.659Z] ---> ca4304986015 [2024-06-25T18:27:06.659Z] Step 10/12 : COPY . . [2024-06-25T18:27:08.053Z] ---> 8dc41a60ae77 [2024-06-25T18:27:08.053Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T18:27:08.053Z] ---> Running in 005bf0d443bc [2024-06-25T18:27:08.053Z] Removing intermediate container 005bf0d443bc [2024-06-25T18:27:08.053Z] ---> 261e9a1f4fb8 [2024-06-25T18:27:08.053Z] Step 12/12 : RUN ${MAKE} [2024-06-25T18:27:08.053Z] ---> Running in d01cb26efa55 [2024-06-25T18:27:08.314Z] noop [2024-06-25T18:27:08.574Z] Removing intermediate container d01cb26efa55 [2024-06-25T18:27:08.574Z] ---> 534eadced4e3 [2024-06-25T18:27:08.574Z] Successfully built 534eadced4e3 [2024-06-25T18:27:08.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:27:09.070Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T18:27:09.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:27:09.252Z] prd-ubuntu20.04-docker-8c-8g-4381 does not seem to be running inside a container [2024-06-25T18:27:09.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-55 -v /w/workspace/edgexfoundry_device-uart_PR-55:/w/workspace/edgexfoundry_device-uart_PR-55:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-55@tmp:/w/workspace/edgexfoundry_device-uart_PR-55@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 ******** ci-base-image-x86_64 cat [2024-06-25T18:27:09.619Z] $ docker top d1a8c4d52fe0c5ad2261c801aef841cef6b640acf9e2c1c95465719818200344 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T18:27:10.027Z] + go version [2024-06-25T18:27:10.027Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-25T18:27:10.074Z] $ docker stop --time=1 d1a8c4d52fe0c5ad2261c801aef841cef6b640acf9e2c1c95465719818200344 [2024-06-25T18:27:11.367Z] $ docker rm -f --volumes d1a8c4d52fe0c5ad2261c801aef841cef6b640acf9e2c1c95465719818200344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:27:12.175Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T18:27:12.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:27:12.346Z] prd-ubuntu20.04-docker-8c-8g-4381 does not seem to be running inside a container [2024-06-25T18:27:12.379Z] $ 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-55 -v /w/workspace/edgexfoundry_device-uart_PR-55:/w/workspace/edgexfoundry_device-uart_PR-55:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-55@tmp:/w/workspace/edgexfoundry_device-uart_PR-55@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 ******** ci-base-image-x86_64 cat [2024-06-25T18:27:12.760Z] $ docker top 026922ae0edffc800eb661a8311d19060f3b3ba8635ceebc5f8057dba14c7c94 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T18:27:13.179Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-55 [Pipeline] fileExists [Pipeline] sh [2024-06-25T18:27:13.558Z] + make test [2024-06-25T18:27:13.559Z] go test ./... -coverprofile=coverage.out [2024-06-25T18:27:15.474Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-06-25T18:27:33.551Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-06-25T18:27:33.551Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-06-25T18:27:41.660Z] go vet ./... [2024-06-25T18:27:46.912Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4382 in /w/workspace/edgexfoundry_device-uart_PR-55 [Pipeline] { [2024-06-25T18:27:46.930Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T18:27:46.930Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T18:27:46.930Z] ./bin/test-attribution-txt.sh [2024-06-25T18:27:46.930Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T18:27:46.930Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T18:27:46.931Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] ws [2024-06-25T18:27:47.004Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] echo [2024-06-25T18:27:47.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T18:27:47.073Z] $ docker stop --time=1 026922ae0edffc800eb661a8311d19060f3b3ba8635ceebc5f8057dba14c7c94 [2024-06-25T18:27:52.087Z] $ docker rm -f --volumes 026922ae0edffc800eb661a8311d19060f3b3ba8635ceebc5f8057dba14c7c94 [Pipeline] checkout [2024-06-25T18:27:52.363Z] The recommended git tool is: git [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T18:27:52.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T18:27:52.777Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-25T18:27:53.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T18:27:53.880Z] + ls -al . [2024-06-25T18:27:53.880Z] total 224 [2024-06-25T18:27:53.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 18:27 . [2024-06-25T18:27:53.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 18:25 .. [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 18:25 .dockerignore [2024-06-25T18:27:53.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 18:27 .git [2024-06-25T18:27:53.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:25 .github [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 25 18:25 .gitignore [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 18:25 .golangci.yml [2024-06-25T18:27:53.880Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 18:25 .semver [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jun 25 18:25 Attribution.txt [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jun 25 18:25 CHANGELOG.md [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jun 25 18:25 Dockerfile [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 18:25 GOVERNANCE.md [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 675 Jun 25 18:25 Jenkinsfile [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 18:25 LICENSE [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jun 25 18:25 Makefile [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 25 18:25 OWNERS.md [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jun 25 18:25 README.md [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 18:25 VERSION [2024-06-25T18:27:53.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 18:25 bin [2024-06-25T18:27:53.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:25 cmd [2024-06-25T18:27:53.880Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 25 18:27 coverage.out [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 7020 Jun 25 18:25 go.mod [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 102168 Jun 25 18:25 go.sum [2024-06-25T18:27:53.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:25 internal [2024-06-25T18:27:53.880Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 25 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:27:54.425Z] + 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=7af5485ee1e12530949e6912071102820d2df5ba --label arch=amd64 --label version=0.0.0 . [2024-06-25T18:27:54.425Z] Sending build context to Docker daemon 29.07MB [2024-06-25T18:27:54.425Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T18:27:54.425Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-25T18:27:54.425Z] ---> 534eadced4e3 [2024-06-25T18:27:54.425Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T18:27:54.992Z] ---> Running in 80d6c97caa4c [2024-06-25T18:27:54.992Z] Removing intermediate container 80d6c97caa4c [2024-06-25T18:27:54.992Z] ---> 0f9ef641e56f [2024-06-25T18:27:54.992Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T18:27:54.992Z] ---> Running in 3ab078d55d92 [2024-06-25T18:27:54.992Z] Removing intermediate container 3ab078d55d92 [2024-06-25T18:27:54.992Z] ---> 09cd0bdd54e2 [2024-06-25T18:27:54.992Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-06-25T18:27:54.992Z] ---> Running in d5a0a613c398 [2024-06-25T18:27:55.250Z] Removing intermediate container d5a0a613c398 [2024-06-25T18:27:55.250Z] ---> 87c471acdbec [2024-06-25T18:27:55.250Z] Step 6/26 : WORKDIR /device-uart [2024-06-25T18:27:55.250Z] ---> Running in f5616fa8db78 [2024-06-25T18:27:55.250Z] Removing intermediate container f5616fa8db78 [2024-06-25T18:27:55.250Z] ---> dda3887662cd [2024-06-25T18:27:55.250Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T18:27:55.250Z] ---> Running in aa801875d274 [2024-06-25T18:27:55.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T18:27:55.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T18:27:56.027Z] OK: 268 MiB in 56 packages [2024-06-25T18:27:56.320Z] Removing intermediate container aa801875d274 [2024-06-25T18:27:56.320Z] ---> 992253b382c7 [2024-06-25T18:27:56.320Z] Step 8/26 : COPY go.mod vendor* ./ [2024-06-25T18:27:56.579Z] ---> 6c6a3a99d7ba [2024-06-25T18:27:56.579Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T18:27:56.579Z] ---> Running in e67eff5f6bd9 [2024-06-25T18:27:57.149Z] Removing intermediate container e67eff5f6bd9 [2024-06-25T18:27:57.149Z] ---> 2c4dad0c665a [2024-06-25T18:27:57.149Z] Step 10/26 : COPY . . [2024-06-25T18:27:58.087Z] ---> 047e17b6b499 [2024-06-25T18:27:58.088Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T18:27:58.088Z] ---> Running in d2e8689adcfd [2024-06-25T18:27:58.088Z] Removing intermediate container d2e8689adcfd [2024-06-25T18:27:58.088Z] ---> c7cd3627905f [2024-06-25T18:27:58.088Z] Step 12/26 : RUN ${MAKE} [2024-06-25T18:27:58.088Z] ---> Running in f4d2c84cadde [2024-06-25T18:27:58.346Z] 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.18" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-06-25T18:27:58.788Z] using credential edgex-jenkins-ssh [2024-06-25T18:27:58.812Z] Cloning the remote Git repository [2024-06-25T18:27:58.855Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-06-25T18:27:58.939Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-06-25T18:27:59.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-06-25T18:27:59.084Z] > git --version # timeout=10 [2024-06-25T18:27:59.105Z] > git --version # 'git version 2.25.1' [2024-06-25T18:27:59.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T18:27:59.259Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T18:28:01.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-06-25T18:28:01.809Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T18:28:02.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-06-25T18:28:02.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-06-25T18:28:02.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T18:28:02.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-25T18:28:03.147Z] Merging remotes/origin/main commit 0191fcbf31d47e6537e79896ea60966564fcaee0 into PR head commit 7af5485ee1e12530949e6912071102820d2df5ba [2024-06-25T18:28:03.398Z] Merge succeeded, producing 7af5485ee1e12530949e6912071102820d2df5ba [2024-06-25T18:28:03.399Z] Checking out Revision 7af5485ee1e12530949e6912071102820d2df5ba (PR-55) [2024-06-25T18:28:04.007Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-06-25T18:28:04.049Z] > git --version # timeout=10 [2024-06-25T18:28:04.061Z] > git --version # 'git version 2.25.1' [2024-06-25T18:28:04.079Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T18:28:03.159Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T18:28:03.226Z] > git checkout -f 7af5485ee1e12530949e6912071102820d2df5ba # timeout=10 [2024-06-25T18:28:03.298Z] > git remote # timeout=10 [2024-06-25T18:28:03.315Z] > git config --get remote.origin.url # timeout=10 [2024-06-25T18:28:03.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T18:28:03.357Z] > git merge 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 [2024-06-25T18:28:03.381Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-25T18:28:03.400Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T18:28:03.414Z] > git checkout -f 7af5485ee1e12530949e6912071102820d2df5ba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T18:28:08.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-25T18:28:08.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T18:28:08.792Z] Dload Upload Total Spent Left Speed [2024-06-25T18:28:08.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-06-25T18:28:09.132Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-25T18:28:09.474Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-25T18:28:09.474Z] + sudo tee /etc/docker/daemon.new [2024-06-25T18:28:09.474Z] { [2024-06-25T18:28:09.474Z] "registry-mirrors": [ [2024-06-25T18:28:09.474Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-25T18:28:09.474Z] ], [2024-06-25T18:28:09.474Z] "bip": "10.250.0.254/24", [2024-06-25T18:28:09.474Z] "hosts": [ [2024-06-25T18:28:09.474Z] "tcp://0.0.0.0:5555", [2024-06-25T18:28:09.474Z] "unix:///var/run/docker.sock" [2024-06-25T18:28:09.474Z] ], [2024-06-25T18:28:09.474Z] "mtu": 1458, [2024-06-25T18:28:09.474Z] "selinux-enabled": true, [2024-06-25T18:28:09.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-25T18:28:09.474Z] } [Pipeline] sh [2024-06-25T18:28:09.813Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-25T18:28:10.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T18:28:28.490Z] provisioning config files... [2024-06-25T18:28:28.517Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config10611123061944325560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:28:29.001Z] ---> ****-login.sh [2024-06-25T18:28:29.001Z] nexus3.edgexfoundry.org:10001 [2024-06-25T18:28:29.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:28:29.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:28:29.541Z] Configure a credential helper to remove this warning. See [2024-06-25T18:28:29.541Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:28:29.541Z] [2024-06-25T18:28:29.541Z] Login Succeeded [2024-06-25T18:28:29.541Z] nexus3.edgexfoundry.org:10002 [2024-06-25T18:28:29.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:28:30.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:28:30.076Z] Configure a credential helper to remove this warning. See [2024-06-25T18:28:30.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:28:30.076Z] [2024-06-25T18:28:30.076Z] Login Succeeded [2024-06-25T18:28:30.076Z] nexus3.edgexfoundry.org:10003 [2024-06-25T18:28:30.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:28:30.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:28:30.346Z] Configure a credential helper to remove this warning. See [2024-06-25T18:28:30.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:28:30.347Z] [2024-06-25T18:28:30.347Z] Login Succeeded [2024-06-25T18:28:30.347Z] nexus3.edgexfoundry.org:10004 [2024-06-25T18:28:30.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:28:30.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:28:30.615Z] Configure a credential helper to remove this warning. See [2024-06-25T18:28:30.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:28:30.615Z] [2024-06-25T18:28:30.615Z] Login Succeeded [2024-06-25T18:28:30.615Z] ****.io [2024-06-25T18:28:30.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T18:28:31.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T18:28:31.146Z] Configure a credential helper to remove this warning. See [2024-06-25T18:28:31.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T18:28:31.146Z] [2024-06-25T18:28:31.146Z] Login Succeeded [2024-06-25T18:28:31.146Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T18:28:31.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T18:28:31.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T18:28:31.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T18:28:31.741Z] ========================================================= [2024-06-25T18:28:31.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-25T18:28:31.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:28:32.307Z] + 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-06-25T18:28:32.905Z] Sending build context to Docker daemon 14.6MB [2024-06-25T18:28:32.905Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T18:28:32.905Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-25T18:28:32.905Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-25T18:28:32.905Z] c6b39de5b339: Pulling fs layer [2024-06-25T18:28:32.905Z] a69c41024577: Pulling fs layer [2024-06-25T18:28:32.905Z] d6de4b400683: Pulling fs layer [2024-06-25T18:28:32.905Z] 35cb2a7552d0: Pulling fs layer [2024-06-25T18:28:32.905Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T18:28:32.905Z] 464afbd9ba4c: Pulling fs layer [2024-06-25T18:28:32.905Z] 00f215d4a9da: Pulling fs layer [2024-06-25T18:28:32.905Z] d496ad576159: Pulling fs layer [2024-06-25T18:28:32.905Z] 464afbd9ba4c: Waiting [2024-06-25T18:28:32.905Z] 35cb2a7552d0: Waiting [2024-06-25T18:28:32.905Z] 00f215d4a9da: Waiting [2024-06-25T18:28:32.905Z] d496ad576159: Waiting [2024-06-25T18:28:32.905Z] 4f4fb700ef54: Waiting [2024-06-25T18:28:32.905Z] a69c41024577: Verifying Checksum [2024-06-25T18:28:32.905Z] a69c41024577: Download complete [2024-06-25T18:28:33.177Z] 35cb2a7552d0: Download complete [2024-06-25T18:28:33.177Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T18:28:33.177Z] 4f4fb700ef54: Download complete [2024-06-25T18:28:33.177Z] 464afbd9ba4c: Verifying Checksum [2024-06-25T18:28:33.177Z] 464afbd9ba4c: Download complete [2024-06-25T18:28:33.177Z] c6b39de5b339: Verifying Checksum [2024-06-25T18:28:33.177Z] c6b39de5b339: Download complete [2024-06-25T18:28:33.766Z] d496ad576159: Verifying Checksum [2024-06-25T18:28:33.766Z] d496ad576159: Download complete [2024-06-25T18:28:34.037Z] c6b39de5b339: Pull complete [2024-06-25T18:28:34.628Z] a69c41024577: Pull complete [2024-06-25T18:28:34.896Z] d6de4b400683: Download complete [2024-06-25T18:28:35.859Z] 00f215d4a9da: Verifying Checksum [2024-06-25T18:28:35.859Z] 00f215d4a9da: Download complete [2024-06-25T18:28:37.049Z] Removing intermediate container f4d2c84cadde [2024-06-25T18:28:37.050Z] ---> 1ff5b4819df3 [2024-06-25T18:28:37.050Z] Step 13/26 : FROM alpine:3.18 [2024-06-25T18:28:37.050Z] 3.18: Pulling from library/alpine [2024-06-25T18:28:37.050Z] 73baa7ef167e: Pulling fs layer [2024-06-25T18:28:37.050Z] 73baa7ef167e: Verifying Checksum [2024-06-25T18:28:37.050Z] 73baa7ef167e: Download complete [2024-06-25T18:28:37.050Z] 73baa7ef167e: Pull complete [2024-06-25T18:28:37.050Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T18:28:37.050Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T18:28:37.050Z] ---> 8fd7cac70a4a [2024-06-25T18:28:37.050Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-06-25T18:28:37.050Z] ---> Running in a3f4f6729e96 [2024-06-25T18:28:37.050Z] Removing intermediate container a3f4f6729e96 [2024-06-25T18:28:37.050Z] ---> ddc2a0690515 [2024-06-25T18:28:37.050Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-06-25T18:28:37.050Z] ---> Running in af35c07592e4 [2024-06-25T18:28:37.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T18:28:37.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T18:28:37.050Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T18:28:37.050Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T18:28:37.050Z] OK: 7 MiB in 16 packages [2024-06-25T18:28:37.050Z] Removing intermediate container af35c07592e4 [2024-06-25T18:28:37.050Z] ---> 5b38b03f4e4c [2024-06-25T18:28:37.050Z] Step 16/26 : RUN apk --no-cache upgrade [2024-06-25T18:28:37.050Z] ---> Running in 11d046cf766b [2024-06-25T18:28:37.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T18:28:37.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T18:28:37.050Z] OK: 7 MiB in 16 packages [2024-06-25T18:28:37.050Z] Removing intermediate container 11d046cf766b [2024-06-25T18:28:37.050Z] ---> 42111df8f6fa [2024-06-25T18:28:37.050Z] Step 17/26 : WORKDIR / [2024-06-25T18:28:37.050Z] ---> Running in b8120730d889 [2024-06-25T18:28:37.050Z] Removing intermediate container b8120730d889 [2024-06-25T18:28:37.050Z] ---> f04b004f8d27 [2024-06-25T18:28:37.050Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-06-25T18:28:37.050Z] ---> 49dffb81288b [2024-06-25T18:28:37.050Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-06-25T18:28:37.050Z] ---> 52c2477841f9 [2024-06-25T18:28:37.050Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-06-25T18:28:37.985Z] ---> a6f687c1a5ab [2024-06-25T18:28:37.985Z] Step 21/26 : EXPOSE 59995 [2024-06-25T18:28:37.985Z] ---> Running in cdbddb0a25ce [2024-06-25T18:28:37.985Z] Removing intermediate container cdbddb0a25ce [2024-06-25T18:28:37.985Z] ---> 2ec59cd9cab7 [2024-06-25T18:28:37.985Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-06-25T18:28:37.985Z] ---> Running in 0b3320d438c3 [2024-06-25T18:28:37.985Z] Removing intermediate container 0b3320d438c3 [2024-06-25T18:28:37.985Z] ---> b6f3c89b5fc6 [2024-06-25T18:28:37.985Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-25T18:28:38.243Z] ---> Running in 95ba975ed23f [2024-06-25T18:28:38.243Z] Removing intermediate container 95ba975ed23f [2024-06-25T18:28:38.243Z] ---> 0e6e582212d8 [2024-06-25T18:28:38.243Z] Step 24/26 : LABEL arch=amd64 [2024-06-25T18:28:38.243Z] ---> Running in ac9e80be17ee [2024-06-25T18:28:38.243Z] Removing intermediate container ac9e80be17ee [2024-06-25T18:28:38.243Z] ---> a5321a252719 [2024-06-25T18:28:38.243Z] Step 25/26 : LABEL git_sha=7af5485ee1e12530949e6912071102820d2df5ba [2024-06-25T18:28:38.243Z] ---> Running in f0cb015e0f66 [2024-06-25T18:28:38.243Z] Removing intermediate container f0cb015e0f66 [2024-06-25T18:28:38.243Z] ---> 111cf8ecfaba [2024-06-25T18:28:38.243Z] Step 26/26 : LABEL version=0.0.0 [2024-06-25T18:28:38.502Z] ---> Running in aec43b800da4 [2024-06-25T18:28:38.502Z] Removing intermediate container aec43b800da4 [2024-06-25T18:28:38.502Z] ---> 978c9c80d53b [2024-06-25T18:28:38.502Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T18:28:38.502Z] Successfully built 978c9c80d53b [2024-06-25T18:28:38.502Z] 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-06-25T18:28:39.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T18:28:39.555Z] [2024-06-25T18:28:39.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:28:39.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T18:28:39.965Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-25T18:28:39.965Z] 5eb5b503b376: Pulling fs layer [2024-06-25T18:28:39.965Z] 5c69ac0246d0: Pulling fs layer [2024-06-25T18:28:39.965Z] ec43610c2a17: Pulling fs layer [2024-06-25T18:28:39.965Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-25T18:28:39.965Z] 33b1e0a273af: Pulling fs layer [2024-06-25T18:28:39.965Z] 5d3b04190fa2: Pulling fs layer [2024-06-25T18:28:39.965Z] 2f39f015ded8: Pulling fs layer [2024-06-25T18:28:39.965Z] 3a2ae6a8a46f: Waiting [2024-06-25T18:28:39.965Z] 33b1e0a273af: Waiting [2024-06-25T18:28:39.965Z] 5d3b04190fa2: Waiting [2024-06-25T18:28:39.965Z] 2f39f015ded8: Waiting [2024-06-25T18:28:39.965Z] 5c69ac0246d0: Verifying Checksum [2024-06-25T18:28:39.965Z] 5c69ac0246d0: Download complete [2024-06-25T18:28:39.965Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-25T18:28:39.965Z] 3a2ae6a8a46f: Download complete [2024-06-25T18:28:39.965Z] 33b1e0a273af: Download complete [2024-06-25T18:28:39.965Z] 5d3b04190fa2: Download complete [2024-06-25T18:28:39.965Z] ec43610c2a17: Verifying Checksum [2024-06-25T18:28:39.965Z] ec43610c2a17: Download complete [2024-06-25T18:28:40.224Z] 5eb5b503b376: Verifying Checksum [2024-06-25T18:28:40.224Z] 5eb5b503b376: Download complete [2024-06-25T18:28:40.798Z] 2f39f015ded8: Download complete [2024-06-25T18:28:41.363Z] 5eb5b503b376: Pull complete [2024-06-25T18:28:41.621Z] 5c69ac0246d0: Pull complete [2024-06-25T18:28:41.880Z] ec43610c2a17: Pull complete [2024-06-25T18:28:41.880Z] 3a2ae6a8a46f: Pull complete [2024-06-25T18:28:42.140Z] 33b1e0a273af: Pull complete [2024-06-25T18:28:42.397Z] 5d3b04190fa2: Pull complete [2024-06-25T18:28:46.580Z] 2f39f015ded8: Pull complete [2024-06-25T18:28:46.580Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-25T18:28:46.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T18:28:46.580Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:28:46.861Z] prd-ubuntu20.04-docker-8c-8g-4381 does not seem to be running inside a container [2024-06-25T18:28:46.890Z] $ 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-55 -v /w/workspace/edgexfoundry_device-uart_PR-55:/w/workspace/edgexfoundry_device-uart_PR-55:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-55@tmp:/w/workspace/edgexfoundry_device-uart_PR-55@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-25T18:28:48.182Z] d6de4b400683: Pull complete [2024-06-25T18:28:48.183Z] 35cb2a7552d0: Pull complete [2024-06-25T18:28:48.183Z] 4f4fb700ef54: Pull complete [2024-06-25T18:28:48.451Z] 464afbd9ba4c: Pull complete [2024-06-25T18:28:52.049Z] $ docker top 5db6908576399f53227b2ee25ff901d55f9af3befce3df6582a1dbdbfe5190c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:28:52.580Z] ---> job-cost.sh [2024-06-25T18:28:52.580Z] lf-activate-venv: SKIPPING [2024-06-25T18:28:52.580Z] INFO: No Stack... [2024-06-25T18:28:53.149Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T18:28:53.409Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T18:28:53.736Z] + cat /w/workspace/edgexfoundry_device-uart_PR-55/archives/cost.csv [2024-06-25T18:28:53.736Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T18:28:53.788Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [2024-06-25T18:28:53.794Z] Resource [jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] did not exist. Created. [2024-06-25T18:28:53.800Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T18:28:54.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-25T18:28:54.275Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T18:28:54.312Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T18:28:54.406Z] $ docker stop --time=1 5db6908576399f53227b2ee25ff901d55f9af3befce3df6582a1dbdbfe5190c7 [2024-06-25T18:28:55.562Z] $ docker rm -f --volumes 5db6908576399f53227b2ee25ff901d55f9af3befce3df6582a1dbdbfe5190c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-25T18:28:58.541Z] 00f215d4a9da: Pull complete [2024-06-25T18:28:58.808Z] d496ad576159: Pull complete [2024-06-25T18:28:58.808Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-25T18:28:58.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-25T18:28:58.808Z] ---> f246e2811388 [2024-06-25T18:28:58.808Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T18:28:59.781Z] ---> Running in 0e3575fac2a1 [2024-06-25T18:29:00.750Z] Removing intermediate container 0e3575fac2a1 [2024-06-25T18:29:00.750Z] ---> 9e3175ed5eff [2024-06-25T18:29:00.750Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T18:29:00.750Z] ---> Running in a7114a4d8de8 [2024-06-25T18:29:01.018Z] Removing intermediate container a7114a4d8de8 [2024-06-25T18:29:01.018Z] ---> 4810495df506 [2024-06-25T18:29:01.018Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-06-25T18:29:01.018Z] ---> Running in 650332d4187b [2024-06-25T18:29:01.286Z] Removing intermediate container 650332d4187b [2024-06-25T18:29:01.286Z] ---> 194ed54e09f2 [2024-06-25T18:29:01.286Z] Step 6/12 : WORKDIR /device-uart [2024-06-25T18:29:01.565Z] ---> Running in ad32b7aab935 [2024-06-25T18:29:01.831Z] Removing intermediate container ad32b7aab935 [2024-06-25T18:29:01.831Z] ---> abf59a990078 [2024-06-25T18:29:01.831Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T18:29:01.831Z] ---> Running in b74f1a59f36a [2024-06-25T18:29:03.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T18:29:03.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T18:29:04.203Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T18:29:04.203Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-25T18:29:04.203Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T18:29:04.203Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T18:29:04.203Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T18:29:04.203Z] OK: 271 MiB in 56 packages [2024-06-25T18:29:05.163Z] Removing intermediate container b74f1a59f36a [2024-06-25T18:29:05.163Z] ---> 73d563cbc6b2 [2024-06-25T18:29:05.163Z] Step 8/12 : COPY go.mod vendor* ./ [2024-06-25T18:29:05.749Z] ---> 92dab25bfdfd [2024-06-25T18:29:05.749Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T18:29:05.749Z] ---> Running in c68214b19ebb [2024-06-25T18:30:57.422Z] Removing intermediate container c68214b19ebb [2024-06-25T18:30:57.422Z] ---> 62a70135de06 [2024-06-25T18:30:57.422Z] Step 10/12 : COPY . . [2024-06-25T18:30:57.422Z] ---> a0130f2fb8d2 [2024-06-25T18:30:57.422Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T18:30:57.422Z] ---> Running in d895c33bfb8f [2024-06-25T18:30:57.422Z] Removing intermediate container d895c33bfb8f [2024-06-25T18:30:57.422Z] ---> 37fa994f6205 [2024-06-25T18:30:57.422Z] Step 12/12 : RUN ${MAKE} [2024-06-25T18:30:57.422Z] ---> Running in 6222886fef73 [2024-06-25T18:30:57.422Z] noop [2024-06-25T18:30:57.422Z] Removing intermediate container 6222886fef73 [2024-06-25T18:30:57.422Z] ---> f1a3b92ed45c [2024-06-25T18:30:57.422Z] Successfully built f1a3b92ed45c [2024-06-25T18:30:57.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:30:57.946Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T18:30:57.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:30:58.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-4382 does not seem to be running inside a container [2024-06-25T18:30:58.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat [2024-06-25T18:30:59.503Z] $ docker top f23a3841114f780afdcb16c562d8d3a732a5ea679d6a56ec3dae9ab3c8f2489f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T18:31:00.404Z] + go version [2024-06-25T18:31:00.404Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-25T18:31:00.439Z] $ docker stop --time=1 f23a3841114f780afdcb16c562d8d3a732a5ea679d6a56ec3dae9ab3c8f2489f [2024-06-25T18:31:02.057Z] $ docker rm -f --volumes f23a3841114f780afdcb16c562d8d3a732a5ea679d6a56ec3dae9ab3c8f2489f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:31:02.994Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T18:31:02.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:31:03.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-4382 does not seem to be running inside a container [2024-06-25T18:31:03.307Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat [2024-06-25T18:31:04.434Z] $ docker top 4454068d3e49b06fdc77b103f072c9d2b365abeb662fba228e87034aeca68bf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T18:31:05.084Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-06-25T18:31:05.778Z] + make test [2024-06-25T18:31:05.778Z] go test ./... -coverprofile=coverage.out [2024-06-25T18:31:11.127Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-06-25T18:34:18.014Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-06-25T18:34:18.014Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-06-25T18:34:18.014Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-25T18:34:18.014Z] go vet ./... [2024-06-25T18:34:56.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T18:34:56.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T18:34:56.904Z] ./bin/test-attribution-txt.sh [2024-06-25T18:34:56.904Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T18:34:56.904Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T18:34:56.905Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T18:34:57.171Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T18:34:57.172Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T18:34:57.172Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T18:34:57.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T18:34:57.268Z] $ docker stop --time=1 4454068d3e49b06fdc77b103f072c9d2b365abeb662fba228e87034aeca68bf2 [2024-06-25T18:34:59.177Z] $ docker rm -f --volumes 4454068d3e49b06fdc77b103f072c9d2b365abeb662fba228e87034aeca68bf2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T18:35:00.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T18:35:00.784Z] Warning: overwriting stash ‘coverage-report’ [2024-06-25T18:35:01.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T18:35:01.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T18:35:02.181Z] + ls -al . [2024-06-25T18:35:02.181Z] total 220 [2024-06-25T18:35:02.181Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 25 18:31 . [2024-06-25T18:35:02.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 18:27 .. [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 18:28 .dockerignore [2024-06-25T18:35:02.181Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 18:28 .git [2024-06-25T18:35:02.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:28 .github [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 25 18:28 .gitignore [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 18:28 .golangci.yml [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jun 25 18:28 Attribution.txt [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jun 25 18:28 CHANGELOG.md [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jun 25 18:28 Dockerfile [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 18:28 GOVERNANCE.md [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 675 Jun 25 18:28 Jenkinsfile [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 18:28 LICENSE [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jun 25 18:28 Makefile [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 25 18:28 OWNERS.md [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jun 25 18:28 README.md [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 18:25 VERSION [2024-06-25T18:35:02.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 18:28 bin [2024-06-25T18:35:02.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:28 cmd [2024-06-25T18:35:02.181Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 25 18:31 coverage.out [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 7020 Jun 25 18:28 go.mod [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 102168 Jun 25 18:28 go.sum [2024-06-25T18:35:02.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 18:28 internal [2024-06-25T18:35:02.181Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 25 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:35:02.622Z] + 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=7af5485ee1e12530949e6912071102820d2df5ba --label arch=arm64 --label version=0.0.0 . [2024-06-25T18:35:03.210Z] Sending build context to Docker daemon 14.6MB [2024-06-25T18:35:03.210Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T18:35:03.210Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-25T18:35:03.210Z] ---> f1a3b92ed45c [2024-06-25T18:35:03.210Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-25T18:35:03.210Z] ---> Running in 48fcff9d214f [2024-06-25T18:35:03.477Z] Removing intermediate container 48fcff9d214f [2024-06-25T18:35:03.477Z] ---> 641fa74c851f [2024-06-25T18:35:03.477Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-25T18:35:03.745Z] ---> Running in 26e0294a1906 [2024-06-25T18:35:04.013Z] Removing intermediate container 26e0294a1906 [2024-06-25T18:35:04.013Z] ---> 2a7d4c7ada7e [2024-06-25T18:35:04.013Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-06-25T18:35:04.013Z] ---> Running in d43181bce856 [2024-06-25T18:35:04.285Z] Removing intermediate container d43181bce856 [2024-06-25T18:35:04.285Z] ---> 78588e2c710a [2024-06-25T18:35:04.285Z] Step 6/26 : WORKDIR /device-uart [2024-06-25T18:35:04.285Z] ---> Running in d4c6ece81737 [2024-06-25T18:35:04.881Z] Removing intermediate container d4c6ece81737 [2024-06-25T18:35:04.881Z] ---> 1d1d8d2638b7 [2024-06-25T18:35:04.881Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-25T18:35:04.881Z] ---> Running in fa4fcf887176 [2024-06-25T18:35:05.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T18:35:06.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T18:35:07.068Z] OK: 271 MiB in 56 packages [2024-06-25T18:35:08.031Z] Removing intermediate container fa4fcf887176 [2024-06-25T18:35:08.032Z] ---> eaea16540de6 [2024-06-25T18:35:08.032Z] Step 8/26 : COPY go.mod vendor* ./ [2024-06-25T18:35:08.618Z] ---> 6f9ae8f8e59d [2024-06-25T18:35:08.618Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T18:35:08.618Z] ---> Running in ac38a5366389 [2024-06-25T18:35:10.555Z] Removing intermediate container ac38a5366389 [2024-06-25T18:35:10.555Z] ---> 4b40fa21fdf4 [2024-06-25T18:35:10.555Z] Step 10/26 : COPY . . [2024-06-25T18:35:11.967Z] ---> 85a976010bf0 [2024-06-25T18:35:11.967Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T18:35:11.967Z] ---> Running in f8c9d97c81b9 [2024-06-25T18:35:12.234Z] Removing intermediate container f8c9d97c81b9 [2024-06-25T18:35:12.234Z] ---> 50d9df419095 [2024-06-25T18:35:12.234Z] Step 12/26 : RUN ${MAKE} [2024-06-25T18:35:12.234Z] ---> Running in 0014ee581474 [2024-06-25T18:35:13.199Z] 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.18" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-06-25T18:38:34.950Z] Removing intermediate container 0014ee581474 [2024-06-25T18:38:34.950Z] ---> 62765c331bfb [2024-06-25T18:38:34.950Z] Step 13/26 : FROM alpine:3.18 [2024-06-25T18:38:34.950Z] 3.18: Pulling from library/alpine [2024-06-25T18:38:34.950Z] 5c905c7ebe2f: Pulling fs layer [2024-06-25T18:38:34.950Z] 5c905c7ebe2f: Verifying Checksum [2024-06-25T18:38:34.950Z] 5c905c7ebe2f: Download complete [2024-06-25T18:38:34.950Z] 5c905c7ebe2f: Pull complete [2024-06-25T18:38:34.950Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T18:38:34.950Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T18:38:34.950Z] ---> dec292d02e07 [2024-06-25T18:38:34.950Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-06-25T18:38:34.950Z] ---> Running in 8deb0b7491af [2024-06-25T18:38:34.950Z] Removing intermediate container 8deb0b7491af [2024-06-25T18:38:34.950Z] ---> 6c9f51dc3823 [2024-06-25T18:38:34.950Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-06-25T18:38:34.950Z] ---> Running in ebfe9d339b81 [2024-06-25T18:38:34.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T18:38:34.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T18:38:34.950Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T18:38:34.950Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T18:38:34.950Z] OK: 8 MiB in 16 packages [2024-06-25T18:38:34.950Z] Removing intermediate container ebfe9d339b81 [2024-06-25T18:38:34.950Z] ---> cd4b8f55c315 [2024-06-25T18:38:34.950Z] Step 16/26 : RUN apk --no-cache upgrade [2024-06-25T18:38:34.950Z] ---> Running in 399a556566bb [2024-06-25T18:38:34.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T18:38:34.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T18:38:34.950Z] OK: 8 MiB in 16 packages [2024-06-25T18:38:34.950Z] Removing intermediate container 399a556566bb [2024-06-25T18:38:34.950Z] ---> 2294579af526 [2024-06-25T18:38:34.950Z] Step 17/26 : WORKDIR / [2024-06-25T18:38:35.215Z] ---> Running in 1e67f3d49e79 [2024-06-25T18:38:35.488Z] Removing intermediate container 1e67f3d49e79 [2024-06-25T18:38:35.488Z] ---> 775eef2e00b1 [2024-06-25T18:38:35.488Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-06-25T18:38:36.073Z] ---> 1a9a863cd653 [2024-06-25T18:38:36.073Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-06-25T18:38:36.339Z] ---> c64381a758a1 [2024-06-25T18:38:36.340Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-06-25T18:38:38.925Z] ---> 019b08b55d91 [2024-06-25T18:38:38.925Z] Step 21/26 : EXPOSE 59995 [2024-06-25T18:38:38.925Z] ---> Running in e1e15af9b572 [2024-06-25T18:38:38.925Z] Removing intermediate container e1e15af9b572 [2024-06-25T18:38:38.925Z] ---> 836f30400b69 [2024-06-25T18:38:38.925Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-06-25T18:38:38.925Z] ---> Running in 29e18d690643 [2024-06-25T18:38:39.195Z] Removing intermediate container 29e18d690643 [2024-06-25T18:38:39.195Z] ---> da2529cda78b [2024-06-25T18:38:39.195Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-25T18:38:39.463Z] ---> Running in 3a84ecd1e807 [2024-06-25T18:38:39.730Z] Removing intermediate container 3a84ecd1e807 [2024-06-25T18:38:39.730Z] ---> 961f11d2a489 [2024-06-25T18:38:39.730Z] Step 24/26 : LABEL arch=arm64 [2024-06-25T18:38:39.730Z] ---> Running in 8b7348b54f16 [2024-06-25T18:38:39.998Z] Removing intermediate container 8b7348b54f16 [2024-06-25T18:38:39.998Z] ---> 53bb2661e551 [2024-06-25T18:38:39.998Z] Step 25/26 : LABEL git_sha=7af5485ee1e12530949e6912071102820d2df5ba [2024-06-25T18:38:39.998Z] ---> Running in 727445a5d46c [2024-06-25T18:38:40.268Z] Removing intermediate container 727445a5d46c [2024-06-25T18:38:40.268Z] ---> 5d669075cab8 [2024-06-25T18:38:40.268Z] Step 26/26 : LABEL version=0.0.0 [2024-06-25T18:38:40.268Z] ---> Running in 1b7e2f399776 [2024-06-25T18:38:40.849Z] Removing intermediate container 1b7e2f399776 [2024-06-25T18:38:40.849Z] ---> afaad5f229e2 [2024-06-25T18:38:40.849Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T18:38:40.849Z] Successfully built afaad5f229e2 [2024-06-25T18:38:40.849Z] 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-06-25T18:38:41.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T18:38:41.839Z] [2024-06-25T18:38:41.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:38:42.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T18:38:42.268Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-25T18:38:42.268Z] 8998bd30e6a1: Pulling fs layer [2024-06-25T18:38:42.268Z] 04944245beec: Pulling fs layer [2024-06-25T18:38:42.268Z] 699f458cf7ca: Pulling fs layer [2024-06-25T18:38:42.268Z] 765212b225bb: Pulling fs layer [2024-06-25T18:38:42.268Z] f23df028b6ca: Pulling fs layer [2024-06-25T18:38:42.268Z] d65c8cfc05b1: Pulling fs layer [2024-06-25T18:38:42.268Z] 2437ff75d9bd: Pulling fs layer [2024-06-25T18:38:42.268Z] 765212b225bb: Waiting [2024-06-25T18:38:42.268Z] d65c8cfc05b1: Waiting [2024-06-25T18:38:42.268Z] 2437ff75d9bd: Waiting [2024-06-25T18:38:42.535Z] 04944245beec: Verifying Checksum [2024-06-25T18:38:42.535Z] 04944245beec: Download complete [2024-06-25T18:38:42.535Z] 765212b225bb: Verifying Checksum [2024-06-25T18:38:42.535Z] 765212b225bb: Download complete [2024-06-25T18:38:42.535Z] f23df028b6ca: Download complete [2024-06-25T18:38:42.535Z] d65c8cfc05b1: Verifying Checksum [2024-06-25T18:38:42.535Z] d65c8cfc05b1: Download complete [2024-06-25T18:38:42.803Z] 699f458cf7ca: Verifying Checksum [2024-06-25T18:38:42.803Z] 699f458cf7ca: Download complete [2024-06-25T18:38:43.071Z] 8998bd30e6a1: Verifying Checksum [2024-06-25T18:38:45.650Z] 2437ff75d9bd: Verifying Checksum [2024-06-25T18:38:45.650Z] 2437ff75d9bd: Download complete [2024-06-25T18:38:47.591Z] 8998bd30e6a1: Pull complete [2024-06-25T18:38:48.548Z] 04944245beec: Pull complete [2024-06-25T18:38:49.956Z] 699f458cf7ca: Pull complete [2024-06-25T18:38:49.956Z] 765212b225bb: Pull complete [2024-06-25T18:38:50.914Z] f23df028b6ca: Pull complete [2024-06-25T18:38:51.180Z] d65c8cfc05b1: Pull complete [2024-06-25T18:39:09.419Z] 2437ff75d9bd: Pull complete [2024-06-25T18:39:09.419Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-25T18:39:09.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T18:39:09.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:39:09.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-4382 does not seem to be running inside a container [2024-06-25T18:39:09.846Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-25T18:39:12.582Z] $ docker top 4dcd9a0abc8fc8ffc97c6983552a0a556353e6ca2bfd4b1fbc4027339cfede51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:13.516Z] ---> job-cost.sh [2024-06-25T18:39:13.516Z] lf-activate-venv: SKIPPING [2024-06-25T18:39:13.516Z] INFO: No Stack... [2024-06-25T18:39:13.786Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-25T18:39:14.736Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T18:39:15.393Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-06-25T18:39:15.393Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T18:39:15.475Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [2024-06-25T18:39:15.482Z] Resource [jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] did not exist. Created. [2024-06-25T18:39:15.489Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T18:39:16.237Z] /w/workspace/device-uart/1@tmp/durable-13f8ee1e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-25T18:39:16.928Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-25T18:39:16.976Z] Warning: overwriting stash ‘stack-cost’ [2024-06-25T18:39:17.018Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T18:39:17.038Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T18:39:17.122Z] $ docker stop --time=1 4dcd9a0abc8fc8ffc97c6983552a0a556353e6ca2bfd4b1fbc4027339cfede51 [2024-06-25T18:39:18.586Z] $ docker rm -f --volumes 4dcd9a0abc8fc8ffc97c6983552a0a556353e6ca2bfd4b1fbc4027339cfede51 [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-06-25T18:39:19.793Z] provisioning config files... [2024-06-25T18:39:19.800Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-55@tmp/config12699233045206573089tmp [Pipeline] { [Pipeline] sh [2024-06-25T18:39:20.171Z] + set +x [2024-06-25T18:39:20.171Z] + curl -s https://codecov.io/bash [2024-06-25T18:39:20.171Z] + bash -s -- [2024-06-25T18:39:20.171Z] [2024-06-25T18:39:20.171Z] _____ _ [2024-06-25T18:39:20.171Z] / ____| | | [2024-06-25T18:39:20.171Z] | | ___ __| | ___ ___ _____ __ [2024-06-25T18:39:20.171Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-25T18:39:20.171Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-25T18:39:20.171Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-25T18:39:20.171Z] Bash-1.0.6 [2024-06-25T18:39:20.171Z] [2024-06-25T18:39:20.171Z] [2024-06-25T18:39:20.171Z] ==> git version 2.25.1 found [2024-06-25T18:39:20.171Z] ==> 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-06-25T18:39:20.171Z] Release-Date: 2020-01-08 [2024-06-25T18:39:20.171Z] 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-06-25T18:39:20.172Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-25T18:39:20.172Z] ==> Jenkins CI detected. [2024-06-25T18:39:20.172Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-55 [2024-06-25T18:39:20.172Z] project root: . [2024-06-25T18:39:20.172Z] --> token set from env [2024-06-25T18:39:20.172Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-25T18:39:20.172Z] ==> Running gcov in . (disable via -X gcov) [2024-06-25T18:39:20.172Z] ==> Python coveragepy not found [2024-06-25T18:39:20.172Z] ==> Searching for coverage reports in: [2024-06-25T18:39:20.172Z] + . [2024-06-25T18:39:20.172Z] -> Found 1 reports [2024-06-25T18:39:20.172Z] ==> Detecting git/mercurial file structure [2024-06-25T18:39:20.172Z] ==> Reading reports [2024-06-25T18:39:20.172Z] + ./coverage.out bytes=10 [2024-06-25T18:39:20.172Z] ==> Appending adjustments [2024-06-25T18:39:20.172Z] https://docs.codecov.io/docs/fixing-reports [2024-06-25T18:39:20.432Z] + Found adjustments [2024-06-25T18:39:20.432Z] ==> Gzipping contents [2024-06-25T18:39:20.432Z] 4.0K /tmp/codecov.ZjxNIt.gz [2024-06-25T18:39:20.432Z] ==> Uploading reports [2024-06-25T18:39:20.432Z] url: https://codecov.io [2024-06-25T18:39:20.432Z] query: branch=PR-55&commit=7af5485ee1e12530949e6912071102820d2df5ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=55&job=&cmd_args= [2024-06-25T18:39:20.432Z] -> Pinging Codecov [2024-06-25T18:39:20.432Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-55&commit=7af5485ee1e12530949e6912071102820d2df5ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=55&job=&cmd_args= [2024-06-25T18:39:20.691Z] -> Uploading to [2024-06-25T18:39:20.691Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-25/B9AA6E0BBD74AE3A32605C7A7C664919/7af5485ee1e12530949e6912071102820d2df5ba/6d68b6bc-d982-4318-a87d-0addf1cf8cf6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T183920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=330d87ce57d2cb153421cef87ed27981791cb5e55ec9638021300754107f6b86 [2024-06-25T18:39:20.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T18:39:20.691Z] Dload Upload Total Spent Left Speed [2024-06-25T18:39:20.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2941 --:--:-- --:--:-- --:--:-- 2927 100 603 0 0 100 603 0 2766 --:--:-- --:--:-- --:--:-- 2753 [2024-06-25T18:39:20.952Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/7af5485ee1e12530949e6912071102820d2df5ba [Pipeline] } [2024-06-25T18:39:20.986Z] 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-06-25T18:39:23.253Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-55/archives ] [2024-06-25T18:39:23.253Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-55/archives [2024-06-25T18:39:23.253Z] total 16 [2024-06-25T18:39:23.253Z] drwxr-xr-x 3 root root 4096 Jun 25 18:28 . [2024-06-25T18:39:23.253Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 18:28 .. [2024-06-25T18:39:23.253Z] drwxr-xr-x 2 root root 4096 Jun 25 18:28 cost [2024-06-25T18:39:23.253Z] -rw-r--r-- 1 root root 82 Jun 25 18:28 cost.csv [2024-06-25T18:39:23.253Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-55/archives [2024-06-25T18:39:23.253Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-55/archives [2024-06-25T18:39:23.253Z] total 16 [2024-06-25T18:39:23.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 18:28 . [2024-06-25T18:39:23.253Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 18:28 .. [2024-06-25T18:39:23.253Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 18:28 cost [2024-06-25T18:39:23.253Z] -rw-r--r-- 1 jenkins jenkins 82 Jun 25 18:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:23.595Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:24.503Z] ---> package-listing.sh [2024-06-25T18:39:24.503Z] ++ facter osfamily [2024-06-25T18:39:24.503Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-25T18:39:24.764Z] + OS_FAMILY=debian [2024-06-25T18:39:24.764Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-55 [2024-06-25T18:39:24.764Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-25T18:39:24.764Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-25T18:39:24.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-25T18:39:24.764Z] + PACKAGES=/tmp/packages_start.txt [2024-06-25T18:39:24.764Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-55 ']' [2024-06-25T18:39:24.764Z] + PACKAGES=/tmp/packages_end.txt [2024-06-25T18:39:24.764Z] + case "${OS_FAMILY}" in [2024-06-25T18:39:24.764Z] + dpkg -l [2024-06-25T18:39:24.764Z] + grep '^ii' [2024-06-25T18:39:24.764Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-25T18:39:24.764Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-25T18:39:24.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-25T18:39:24.764Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-55 ']' [2024-06-25T18:39:24.764Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-55/archives/ [2024-06-25T18:39:24.764Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-55/archives/ [Pipeline] echo [2024-06-25T18:39:24.806Z] 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-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-25T18:39:25.108Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T18:39:25.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T18:39:25.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T18:39:25.953Z] prd-ubuntu20.04-docker-8c-8g-4381 does not seem to be running inside a container [2024-06-25T18:39:25.987Z] $ 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-55/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-55 -v /w/workspace/edgexfoundry_device-uart_PR-55:/w/workspace/edgexfoundry_device-uart_PR-55:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-55@tmp:/w/workspace/edgexfoundry_device-uart_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-25T18:39:26.183Z] $ docker top b14922c8ad0186e230bb42168de1e737462f209ffe74605d9e8cf73be8317d3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T18:39:26.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-25T18:39:26.908Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-25T18:39:27.226Z] + ls /var/log/sa-host [2024-06-25T18:39:27.226Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T18:39:27.472Z] provisioning config files... [2024-06-25T18:39:27.482Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-55@tmp/config4756473574059457085tmp [Pipeline] { [Pipeline] echo [2024-06-25T18:39:27.550Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:27.869Z] ---> create-netrc.sh [Pipeline] } [2024-06-25T18:39:27.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:28.327Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-25T18:39:28.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:28.775Z] ---> sudo-logs.sh [2024-06-25T18:39:28.775Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-25T18:39:28.890Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:29.273Z] ---> job-cost.sh [2024-06-25T18:39:29.273Z] lf-activate-venv: SKIPPING [2024-06-25T18:39:29.273Z] DEBUG: total: 0.2199999988079071 [2024-06-25T18:39:29.273Z] INFO: Retrieving Stack Cost... [2024-06-25T18:39:29.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T18:39:29.813Z] INFO: Archiving Costs [Pipeline] echo [2024-06-25T18:39:29.854Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T18:39:30.182Z] ---> logs-deploy.sh [2024-06-25T18:39:30.183Z] lf-activate-venv: SKIPPING [2024-06-25T18:39:30.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-55/1 [2024-06-25T18:39:30.183Z] INFO: archiving workspace using pattern(s): [2024-06-25T18:39:31.120Z] Archives upload complete. [2024-06-25T18:39:31.120Z] INFO: archiving logs to Nexus