Pull request #62 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb573a7ba37f41b1f9ce82412f0111767ddf087c+d00e383a819cb4e70ab506041202e2de1b245b65 (3019a1bf10f0ff0f66471ff67c9f9bab97b324f8) 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-ssh2074315439270991884.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-ssh12596556591154529268.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-62/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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3445547530615344939.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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17602796298497498650.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-ssh4144383076691478865.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-62/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-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11517070147785279902.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6467 in /w/workspace/edgexfoundry_device-uart_PR-62 [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-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d00e383a819cb4e70ab506041202e2de1b245b65 into PR head commit eb573a7ba37f41b1f9ce82412f0111767ddf087c Merge succeeded, producing eb573a7ba37f41b1f9ce82412f0111767ddf087c Checking out Revision eb573a7ba37f41b1f9ce82412f0111767ddf087c (PR-62) 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 core.sparsecheckout # timeout=10 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # 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 d00e383a819cb4e70ab506041202e2de1b245b65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-25T18:16:19.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-25T18:16:19.431Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-25T18:16:19.561Z] ========================================================= [2024-07-25T18:16:19.561Z] EdgeX Global Pipelines Version Info [2024-07-25T18:16:19.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:16:20.696Z] ------------------- [2024-07-25T18:16:20.696Z] stable info: [2024-07-25T18:16:20.696Z] ------------------- [2024-07-25T18:16:20.696Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T18:16:20.696Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T18:16:20.696Z] Message: update stable to v1.0.260 [2024-07-25T18:16:20.956Z] ------------------- [2024-07-25T18:16:20.956Z] experimental info: [2024-07-25T18:16:20.956Z] ------------------- [2024-07-25T18:16:20.956Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T18:16:20.956Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-25T18:16:20.956Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-25T18:16:21.211Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-07-25T18:16:21.269Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-07-25T18:16:21.335Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-25T18:16:21.395Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-25T18:16:21.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-25T18:16:21.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-25T18:16:21.572Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-25T18:16:21.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-25T18:16:21.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-25T18:16:21.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-25T18:16:21.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-25T18:16:21.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-07-25T18:16:21.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-25T18:16:21.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-25T18:16:22.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T18:16:22.124Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T18:16:22.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T18:16:22.239Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T18:16:22.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-25T18:16:22.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-25T18:16:22.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-25T18:16:22.465Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-25T18:16:22.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-25T18:16:22.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-25T18:16:22.642Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-25T18:16:22.708Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-25T18:16:22.772Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-25T18:16:22.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2024-07-25T18:16:22.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2024-07-25T18:16:22.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2024-07-25T18:16:23.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo [2024-07-25T18:16:23.071Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb573a7 [Pipeline] echo [2024-07-25T18:16:23.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T18:16:23.379Z] provisioning config files... [2024-07-25T18:16:23.394Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config6769425472930587573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:16:23.797Z] ---> ****-login.sh [2024-07-25T18:16:23.797Z] nexus3.edgexfoundry.org:10001 [2024-07-25T18:16:24.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:24.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:24.318Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:24.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:24.319Z] [2024-07-25T18:16:24.319Z] Login Succeeded [2024-07-25T18:16:24.319Z] nexus3.edgexfoundry.org:10002 [2024-07-25T18:16:24.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:24.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:24.319Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:24.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:24.319Z] [2024-07-25T18:16:24.319Z] Login Succeeded [2024-07-25T18:16:24.319Z] nexus3.edgexfoundry.org:10003 [2024-07-25T18:16:24.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:24.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:24.579Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:24.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:24.580Z] [2024-07-25T18:16:24.580Z] Login Succeeded [2024-07-25T18:16:24.580Z] nexus3.edgexfoundry.org:10004 [2024-07-25T18:16:24.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:24.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:24.580Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:24.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:24.580Z] [2024-07-25T18:16:24.580Z] Login Succeeded [2024-07-25T18:16:24.580Z] ****.io [2024-07-25T18:16:24.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:24.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:24.840Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:24.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:24.840Z] [2024-07-25T18:16:24.840Z] Login Succeeded [2024-07-25T18:16:24.840Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T18:16:24.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-25T18:16:25.714Z] + git rev-list -1 --merges eb573a7ba37f41b1f9ce82412f0111767ddf087c~1..eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo [2024-07-25T18:16:25.766Z] -----------> git rev-list -1 --merges eb573a7ba37f41b1f9ce82412f0111767ddf087c~1..eb573a7ba37f41b1f9ce82412f0111767ddf087c eb573a7ba37f41b1f9ce82412f0111767ddf087c [false] [Pipeline] sh [2024-07-25T18:16:26.086Z] + git log --format=format:%s -1 eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo [2024-07-25T18:16:26.129Z] ========================================================= [2024-07-25T18:16:26.129Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-25T18:16:26.129Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T18:16:26.591Z] + git log --format=format:%s -1 eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo [2024-07-25T18:16:26.630Z] [semverPrep] GIT_COMMIT: eb573a7ba37f41b1f9ce82412f0111767ddf087c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-25T18:16:26.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-25T18:16:27.108Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T18:16:27.108Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-25T18:16:27.108Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-25T18:16:27.108Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-25T18:16:27.108Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-25T18:16:27.108Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-25T18:16:27.108Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:16:27.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T18:16:27.629Z] [2024-07-25T18:16:27.629Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:16:28.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T18:16:28.040Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-25T18:16:28.040Z] b85a868b505f: Pulling fs layer [2024-07-25T18:16:28.040Z] e2be974225ed: Pulling fs layer [2024-07-25T18:16:28.040Z] 339a4e72a1f5: Pulling fs layer [2024-07-25T18:16:28.040Z] 988bab9f4d93: Pulling fs layer [2024-07-25T18:16:28.040Z] 1469e6f7b9e6: Pulling fs layer [2024-07-25T18:16:28.040Z] eaf3925da568: Pulling fs layer [2024-07-25T18:16:28.040Z] bab4dde63d76: Pulling fs layer [2024-07-25T18:16:28.040Z] bde34c3a00c8: Pulling fs layer [2024-07-25T18:16:28.040Z] b352a97aabf1: Pulling fs layer [2024-07-25T18:16:28.040Z] 4872d77fe225: Pulling fs layer [2024-07-25T18:16:28.040Z] 5851b861e8e6: Pulling fs layer [2024-07-25T18:16:28.040Z] 988bab9f4d93: Waiting [2024-07-25T18:16:28.040Z] 4872d77fe225: Waiting [2024-07-25T18:16:28.040Z] 1469e6f7b9e6: Waiting [2024-07-25T18:16:28.040Z] 5851b861e8e6: Waiting [2024-07-25T18:16:28.040Z] b352a97aabf1: Waiting [2024-07-25T18:16:28.040Z] bde34c3a00c8: Waiting [2024-07-25T18:16:28.040Z] bab4dde63d76: Waiting [2024-07-25T18:16:28.040Z] e2be974225ed: Verifying Checksum [2024-07-25T18:16:28.040Z] e2be974225ed: Download complete [2024-07-25T18:16:28.040Z] 988bab9f4d93: Verifying Checksum [2024-07-25T18:16:28.040Z] 988bab9f4d93: Download complete [2024-07-25T18:16:28.040Z] 1469e6f7b9e6: Verifying Checksum [2024-07-25T18:16:28.040Z] 1469e6f7b9e6: Download complete [2024-07-25T18:16:28.040Z] eaf3925da568: Verifying Checksum [2024-07-25T18:16:28.040Z] eaf3925da568: Download complete [2024-07-25T18:16:28.298Z] 339a4e72a1f5: Verifying Checksum [2024-07-25T18:16:28.298Z] 339a4e72a1f5: Download complete [2024-07-25T18:16:28.298Z] bde34c3a00c8: Verifying Checksum [2024-07-25T18:16:28.298Z] bde34c3a00c8: Download complete [2024-07-25T18:16:28.298Z] b352a97aabf1: Verifying Checksum [2024-07-25T18:16:28.298Z] b352a97aabf1: Download complete [2024-07-25T18:16:28.298Z] 4872d77fe225: Verifying Checksum [2024-07-25T18:16:28.298Z] 4872d77fe225: Download complete [2024-07-25T18:16:28.298Z] 5851b861e8e6: Verifying Checksum [2024-07-25T18:16:28.298Z] 5851b861e8e6: Download complete [2024-07-25T18:16:28.298Z] b85a868b505f: Verifying Checksum [2024-07-25T18:16:28.298Z] b85a868b505f: Download complete [2024-07-25T18:16:28.558Z] bab4dde63d76: Verifying Checksum [2024-07-25T18:16:28.558Z] bab4dde63d76: Download complete [2024-07-25T18:16:29.492Z] b85a868b505f: Pull complete [2024-07-25T18:16:29.751Z] e2be974225ed: Pull complete [2024-07-25T18:16:30.011Z] 339a4e72a1f5: Pull complete [2024-07-25T18:16:30.283Z] 988bab9f4d93: Pull complete [2024-07-25T18:16:30.556Z] 1469e6f7b9e6: Pull complete [2024-07-25T18:16:30.556Z] eaf3925da568: Pull complete [2024-07-25T18:16:32.468Z] bab4dde63d76: Pull complete [2024-07-25T18:16:32.468Z] bde34c3a00c8: Pull complete [2024-07-25T18:16:32.468Z] b352a97aabf1: Pull complete [2024-07-25T18:16:32.468Z] 4872d77fe225: Pull complete [2024-07-25T18:16:32.727Z] 5851b861e8e6: Pull complete [2024-07-25T18:16:32.727Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-25T18:16:32.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T18:16:32.727Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:16:33.029Z] prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container [2024-07-25T18:16:33.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T18:16:34.253Z] $ docker top d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a -eo pid,comm [2024-07-25T18:16:34.305Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-25T18:16:34.305Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T18:16:34.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T18:16:34.472Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T18:16:34.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T18:16:34.592Z] $ docker exec d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent [2024-07-25T18:16:34.705Z] SSH_AUTH_SOCK=/tmp/ssh-KBhQaNOzqios/agent.32 [2024-07-25T18:16:34.705Z] SSH_AGENT_PID=38 [2024-07-25T18:16:34.712Z] Running ssh-add (command line suppressed) [2024-07-25T18:16:34.829Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_15404376240947998791.key (/w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_15404376240947998791.key) [2024-07-25T18:16:34.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T18:16:35.200Z] + git tag --points-at HEAD [Pipeline] } [2024-07-25T18:16:35.236Z] $ docker exec --env ******** --env ******** d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent -k [2024-07-25T18:16:35.353Z] unset SSH_AUTH_SOCK; [2024-07-25T18:16:35.353Z] unset SSH_AGENT_PID; [2024-07-25T18:16:35.353Z] echo Agent pid 38 killed; [2024-07-25T18:16:35.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-25T18:16:35.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T18:16:35.488Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T18:16:35.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T18:16:35.619Z] $ docker exec d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent [2024-07-25T18:16:35.735Z] SSH_AUTH_SOCK=/tmp/ssh-i1H7S3k5idB1/agent.71 [2024-07-25T18:16:35.735Z] SSH_AGENT_PID=77 [2024-07-25T18:16:35.740Z] Running ssh-add (command line suppressed) [2024-07-25T18:16:35.850Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_1687245111197925135.key (/w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_1687245111197925135.key) [2024-07-25T18:16:35.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T18:16:36.208Z] + git semver init [2024-07-25T18:16:36.467Z] 2024-07-25 18:16:36,379 [run_init] DEBUG init version:0.0.0 force:False [2024-07-25T18:16:36.467Z] 2024-07-25 18:16:36,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-62/.semver [2024-07-25T18:16:36.467Z] 2024-07-25 18:16:36,381 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-62/.semver [2024-07-25T18:16:36.467Z] 2024-07-25 18:16:36,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-62/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62, universal_newlines=False, shell=None, istream=None) [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,385 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-62/.git/info/exclude [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,386 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 with force:False [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,390 [execute] INFO git cat-file --batch-check [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,398 [execute] INFO git cat-file --batch [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T18:16:37.408Z] 2024-07-25 18:16:37,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 [2024-07-25T18:16:37.408Z] 0.0.0 [Pipeline] } [2024-07-25T18:16:37.689Z] $ docker exec --env ******** --env ******** d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent -k [2024-07-25T18:16:37.791Z] unset SSH_AUTH_SOCK; [2024-07-25T18:16:37.792Z] unset SSH_AGENT_PID; [2024-07-25T18:16:37.792Z] echo Agent pid 77 killed; [2024-07-25T18:16:37.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T18:16:38.253Z] + git semver [Pipeline] } [2024-07-25T18:16:38.541Z] $ docker stop --time=1 d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a [2024-07-25T18:16:39.833Z] $ docker rm -f --volumes d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T18:16:40.257Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-25T18:16:40.590Z] Stashed 1 file(s) [Pipeline] echo [2024-07-25T18:16:40.615Z] [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-07-25T18:16:41.362Z] provisioning config files... [2024-07-25T18:16:41.373Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config3633596837293851790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:16:41.745Z] ---> ****-login.sh [2024-07-25T18:16:41.745Z] nexus3.edgexfoundry.org:10001 [2024-07-25T18:16:41.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:41.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:41.745Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:41.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:41.745Z] [2024-07-25T18:16:41.745Z] Login Succeeded [2024-07-25T18:16:41.745Z] nexus3.edgexfoundry.org:10002 [2024-07-25T18:16:41.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:41.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:41.746Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:41.746Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:41.746Z] [2024-07-25T18:16:41.746Z] Login Succeeded [2024-07-25T18:16:41.746Z] nexus3.edgexfoundry.org:10003 [2024-07-25T18:16:42.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:42.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:42.010Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:42.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:42.010Z] [2024-07-25T18:16:42.010Z] Login Succeeded [2024-07-25T18:16:42.010Z] nexus3.edgexfoundry.org:10004 [2024-07-25T18:16:42.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:42.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:42.010Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:42.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:42.010Z] [2024-07-25T18:16:42.010Z] Login Succeeded [2024-07-25T18:16:42.010Z] ****.io [2024-07-25T18:16:42.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:16:42.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:16:42.269Z] Configure a credential helper to remove this warning. See [2024-07-25T18:16:42.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:16:42.269Z] [2024-07-25T18:16:42.269Z] Login Succeeded [2024-07-25T18:16:42.269Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T18:16:42.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T18:16:42.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T18:16:42.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T18:16:42.648Z] ========================================================= [2024-07-25T18:16:42.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-25T18:16:42.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:16:43.177Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-25T18:16:43.177Z] Sending build context to Docker daemon 25.54MB [2024-07-25T18:16:43.177Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T18:16:43.177Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T18:16:43.439Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-25T18:16:43.439Z] 619be1103602: Pulling fs layer [2024-07-25T18:16:43.439Z] 7862e08f4a3e: Pulling fs layer [2024-07-25T18:16:43.439Z] 5df492c9dc93: Pulling fs layer [2024-07-25T18:16:43.439Z] 7629e6793208: Pulling fs layer [2024-07-25T18:16:43.439Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T18:16:43.439Z] fb5054dd5b73: Pulling fs layer [2024-07-25T18:16:43.439Z] eeca6798cff9: Pulling fs layer [2024-07-25T18:16:43.439Z] aa269ceb94a6: Pulling fs layer [2024-07-25T18:16:43.439Z] ada007ff1a6a: Pulling fs layer [2024-07-25T18:16:43.439Z] 4f4fb700ef54: Waiting [2024-07-25T18:16:43.439Z] fb5054dd5b73: Waiting [2024-07-25T18:16:43.439Z] eeca6798cff9: Waiting [2024-07-25T18:16:43.439Z] aa269ceb94a6: Waiting [2024-07-25T18:16:43.439Z] ada007ff1a6a: Waiting [2024-07-25T18:16:43.439Z] 7629e6793208: Waiting [2024-07-25T18:16:43.439Z] 7629e6793208: Verifying Checksum [2024-07-25T18:16:43.439Z] 7629e6793208: Download complete [2024-07-25T18:16:43.439Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T18:16:43.439Z] 4f4fb700ef54: Download complete [2024-07-25T18:16:43.439Z] fb5054dd5b73: Verifying Checksum [2024-07-25T18:16:43.439Z] fb5054dd5b73: Download complete [2024-07-25T18:16:43.439Z] 619be1103602: Verifying Checksum [2024-07-25T18:16:43.439Z] 619be1103602: Download complete [2024-07-25T18:16:43.698Z] eeca6798cff9: Verifying Checksum [2024-07-25T18:16:43.698Z] eeca6798cff9: Download complete [2024-07-25T18:16:43.698Z] 619be1103602: Pull complete [2024-07-25T18:16:43.698Z] ada007ff1a6a: Verifying Checksum [2024-07-25T18:16:43.698Z] ada007ff1a6a: Download complete [2024-07-25T18:16:43.956Z] 7862e08f4a3e: Pull complete [2024-07-25T18:16:43.956Z] 5df492c9dc93: Verifying Checksum [2024-07-25T18:16:43.956Z] 5df492c9dc93: Download complete [2024-07-25T18:16:44.521Z] aa269ceb94a6: Verifying Checksum [2024-07-25T18:16:44.521Z] aa269ceb94a6: Download complete [2024-07-25T18:16:47.051Z] 5df492c9dc93: Pull complete [2024-07-25T18:16:47.051Z] 7629e6793208: Pull complete [2024-07-25T18:16:47.051Z] 4f4fb700ef54: Pull complete [2024-07-25T18:16:47.310Z] fb5054dd5b73: Pull complete [2024-07-25T18:16:47.310Z] eeca6798cff9: Pull complete [2024-07-25T18:16:50.600Z] aa269ceb94a6: Pull complete [2024-07-25T18:16:50.600Z] ada007ff1a6a: Pull complete [2024-07-25T18:16:50.600Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-25T18:16:50.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-25T18:16:50.600Z] ---> f489d0715acc [2024-07-25T18:16:50.600Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T18:16:51.978Z] ---> Running in 64a04a6b0a88 [2024-07-25T18:16:51.978Z] Removing intermediate container 64a04a6b0a88 [2024-07-25T18:16:51.978Z] ---> 73bc52f54cd1 [2024-07-25T18:16:51.978Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T18:16:51.978Z] ---> Running in 584ae3e452d2 [2024-07-25T18:16:51.978Z] Removing intermediate container 584ae3e452d2 [2024-07-25T18:16:51.978Z] ---> 159f83b54b31 [2024-07-25T18:16:51.978Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T18:16:52.236Z] ---> Running in be23ed38bfad [2024-07-25T18:16:52.236Z] Removing intermediate container be23ed38bfad [2024-07-25T18:16:52.236Z] ---> 7b5f2caaef7a [2024-07-25T18:16:52.236Z] Step 6/12 : WORKDIR /device-uart [2024-07-25T18:16:52.236Z] ---> Running in 9531f22ee1e4 [2024-07-25T18:16:52.236Z] Removing intermediate container 9531f22ee1e4 [2024-07-25T18:16:52.236Z] ---> 7b07ba273d3c [2024-07-25T18:16:52.236Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T18:16:52.495Z] ---> Running in a76e0b151cfb [2024-07-25T18:16:52.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T18:16:52.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T18:16:53.013Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T18:16:53.013Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T18:16:53.013Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T18:16:53.013Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T18:16:53.278Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T18:16:53.278Z] OK: 268 MiB in 56 packages [2024-07-25T18:16:53.536Z] Removing intermediate container a76e0b151cfb [2024-07-25T18:16:53.536Z] ---> d2e00a93b322 [2024-07-25T18:16:53.536Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-25T18:16:53.798Z] ---> 1cbf6afaa1b3 [2024-07-25T18:16:53.798Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T18:16:53.798Z] ---> Running in ef3e03e7c51f [2024-07-25T18:16:56.137Z] Still waiting to schedule task [2024-07-25T18:16:56.137Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-25T18:17:51.357Z] Removing intermediate container ef3e03e7c51f [2024-07-25T18:17:51.357Z] ---> 8130ef8425db [2024-07-25T18:17:51.357Z] Step 10/12 : COPY . . [2024-07-25T18:17:51.357Z] ---> 8fb89e5e3428 [2024-07-25T18:17:51.357Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T18:17:51.357Z] ---> Running in 78ed8e7035e8 [2024-07-25T18:17:51.618Z] Removing intermediate container 78ed8e7035e8 [2024-07-25T18:17:51.618Z] ---> dbe5fae8383b [2024-07-25T18:17:51.618Z] Step 12/12 : RUN ${MAKE} [2024-07-25T18:17:51.618Z] ---> Running in 84412f5cf6fe [2024-07-25T18:17:51.881Z] noop [2024-07-25T18:17:52.141Z] Removing intermediate container 84412f5cf6fe [2024-07-25T18:17:52.141Z] ---> c593c2da93b5 [2024-07-25T18:17:52.141Z] Successfully built c593c2da93b5 [2024-07-25T18:17:52.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:17:52.650Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T18:17:52.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:17:52.835Z] prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container [2024-07-25T18:17:52.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T18:17:53.203Z] $ docker top 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T18:17:53.615Z] + go version [2024-07-25T18:17:53.615Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-25T18:17:53.650Z] $ docker stop --time=1 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c [2024-07-25T18:17:54.919Z] $ docker rm -f --volumes 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:17:55.872Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T18:17:55.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:17:56.051Z] prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container [2024-07-25T18:17:56.083Z] $ 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-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T18:17:56.418Z] $ docker top 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T18:17:56.847Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-62 [Pipeline] fileExists [Pipeline] sh [2024-07-25T18:17:57.215Z] + make test [2024-07-25T18:17:57.215Z] go test ./... -coverprofile=coverage.out [2024-07-25T18:17:59.138Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-25T18:18:17.214Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-25T18:18:17.214Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-25T18:18:23.561Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6468 in /w/workspace/edgexfoundry_device-uart_PR-62 [Pipeline] { [Pipeline] ws [2024-07-25T18:18:23.646Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-07-25T18:18:26.869Z] The recommended git tool is: git [2024-07-25T18:18:27.188Z] go vet ./... [2024-07-25T18:18:31.374Z] using credential edgex-jenkins-ssh [2024-07-25T18:18:31.396Z] Cloning the remote Git repository [2024-07-25T18:18:31.428Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-07-25T18:18:31.506Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-07-25T18:18:31.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-25T18:18:31.634Z] > git --version # timeout=10 [2024-07-25T18:18:31.655Z] > git --version # 'git version 2.25.1' [2024-07-25T18:18:31.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T18:18:31.786Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T18:18:33.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T18:18:33.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T18:18:33.766Z] ./bin/test-attribution-txt.sh [2024-07-25T18:18:33.766Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T18:18:33.766Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T18:18:33.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T18:18:33.863Z] $ docker stop --time=1 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce [2024-07-25T18:18:33.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-25T18:18:33.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T18:18:35.225Z] Merging remotes/origin/main commit d00e383a819cb4e70ab506041202e2de1b245b65 into PR head commit eb573a7ba37f41b1f9ce82412f0111767ddf087c [2024-07-25T18:18:35.502Z] Merge succeeded, producing eb573a7ba37f41b1f9ce82412f0111767ddf087c [2024-07-25T18:18:35.503Z] Checking out Revision eb573a7ba37f41b1f9ce82412f0111767ddf087c (PR-62) [2024-07-25T18:18:34.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-25T18:18:34.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-25T18:18:34.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T18:18:34.792Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-25T18:18:35.239Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T18:18:35.296Z] > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 [2024-07-25T18:18:35.379Z] > git remote # timeout=10 [2024-07-25T18:18:35.397Z] > git config --get remote.origin.url # timeout=10 [2024-07-25T18:18:35.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T18:18:35.453Z] > git merge d00e383a819cb4e70ab506041202e2de1b245b65 # timeout=10 [2024-07-25T18:18:35.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-25T18:18:35.505Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T18:18:35.524Z] > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 [2024-07-25T18:18:36.044Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-25T18:18:36.096Z] > git --version # timeout=10 [2024-07-25T18:18:36.106Z] > git --version # 'git version 2.25.1' [2024-07-25T18:18:36.130Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T18:18:38.357Z] $ docker rm -f --volumes 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T18:18:38.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T18:18:39.098Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-25T18:18:39.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-07-25T18:18:40.300Z] + ls -al . [2024-07-25T18:18:40.300Z] total 224 [2024-07-25T18:18:40.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:17 . [2024-07-25T18:18:40.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:16 .. [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 18:16 .dockerignore [2024-07-25T18:18:40.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:18 .git [2024-07-25T18:18:40.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 .github [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 25 18:16 .gitignore [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 18:16 .golangci.yml [2024-07-25T18:18:40.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:16 .semver [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 25 18:16 Attribution.txt [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 25 18:16 CHANGELOG.md [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 25 18:16 Dockerfile [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 18:16 GOVERNANCE.md [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 25 18:16 Jenkinsfile [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 18:16 LICENSE [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 25 18:16 Makefile [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 18:16 OWNERS.md [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 25 18:16 README.md [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:16 VERSION [2024-07-25T18:18:40.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:16 bin [2024-07-25T18:18:40.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 cmd [2024-07-25T18:18:40.300Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 25 18:17 coverage.out [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 25 18:16 go.mod [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 25 18:16 go.sum [2024-07-25T18:18:40.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 internal [2024-07-25T18:18:40.300Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 25 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T18:18:40.765Z] + 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=eb573a7ba37f41b1f9ce82412f0111767ddf087c --label arch=amd64 --label version=0.0.0 . [2024-07-25T18:18:40.766Z] Sending build context to Docker daemon 25.54MB [2024-07-25T18:18:40.766Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T18:18:40.766Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T18:18:40.766Z] ---> c593c2da93b5 [2024-07-25T18:18:40.766Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T18:18:41.119Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-25T18:18:41.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T18:18:41.119Z] Dload Upload Total Spent Left Speed [2024-07-25T18:18:41.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-07-25T18:18:41.332Z] ---> Running in 3cf9891248ee [2024-07-25T18:18:41.332Z] Removing intermediate container 3cf9891248ee [2024-07-25T18:18:41.332Z] ---> a78031634c7b [2024-07-25T18:18:41.332Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T18:18:41.332Z] ---> Running in dc5c7e2e9948 [2024-07-25T18:18:41.332Z] Removing intermediate container dc5c7e2e9948 [2024-07-25T18:18:41.332Z] ---> 86163e24ddb3 [2024-07-25T18:18:41.332Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T18:18:41.332Z] ---> Running in 2ee9cb76ccf6 [2024-07-25T18:18:41.472Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-25T18:18:41.590Z] Removing intermediate container 2ee9cb76ccf6 [2024-07-25T18:18:41.590Z] ---> 0078ef03db57 [2024-07-25T18:18:41.590Z] Step 6/26 : WORKDIR /device-uart [2024-07-25T18:18:41.590Z] ---> Running in 7e594a1e44e7 [2024-07-25T18:18:41.590Z] Removing intermediate container 7e594a1e44e7 [2024-07-25T18:18:41.590Z] ---> 507f8453832a [2024-07-25T18:18:41.590Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T18:18:41.590Z] ---> Running in 07adb0d8f846 [2024-07-25T18:18:41.817Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-25T18:18:41.817Z] + sudo tee /etc/docker/daemon.new [2024-07-25T18:18:41.817Z] { [2024-07-25T18:18:41.817Z] "registry-mirrors": [ [2024-07-25T18:18:41.817Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-25T18:18:41.817Z] ], [2024-07-25T18:18:41.817Z] "bip": "10.250.0.254/24", [2024-07-25T18:18:41.817Z] "hosts": [ [2024-07-25T18:18:41.817Z] "tcp://0.0.0.0:5555", [2024-07-25T18:18:41.817Z] "unix:///var/run/docker.sock" [2024-07-25T18:18:41.817Z] ], [2024-07-25T18:18:41.817Z] "mtu": 1458, [2024-07-25T18:18:41.817Z] "selinux-enabled": true, [2024-07-25T18:18:41.817Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-25T18:18:41.817Z] } [2024-07-25T18:18:41.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2024-07-25T18:18:42.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T18:18:42.104Z] OK: 268 MiB in 56 packages [2024-07-25T18:18:42.167Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-25T18:18:42.513Z] + sudo service docker restart [2024-07-25T18:18:42.671Z] Removing intermediate container 07adb0d8f846 [2024-07-25T18:18:42.671Z] ---> d0fe974f056f [2024-07-25T18:18:42.671Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-25T18:18:42.671Z] ---> fd10e5adf269 [2024-07-25T18:18:42.671Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T18:18:42.671Z] ---> Running in f27e2967be96 [2024-07-25T18:18:43.248Z] Removing intermediate container f27e2967be96 [2024-07-25T18:18:43.248Z] ---> fb718e5030d8 [2024-07-25T18:18:43.248Z] Step 10/26 : COPY . . [2024-07-25T18:18:44.196Z] ---> e0462463e519 [2024-07-25T18:18:44.196Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T18:18:44.456Z] ---> Running in 0bb7e9165568 [2024-07-25T18:18:44.456Z] Removing intermediate container 0bb7e9165568 [2024-07-25T18:18:44.456Z] ---> 393a31bbd701 [2024-07-25T18:18:44.456Z] Step 12/26 : RUN ${MAKE} [2024-07-25T18:18:44.456Z] ---> Running in c3b083286ba3 [2024-07-25T18:18:44.716Z] 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.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T18:19:00.872Z] provisioning config files... [2024-07-25T18:19:00.897Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config12449780753083766546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:19:01.392Z] ---> ****-login.sh [2024-07-25T18:19:01.392Z] nexus3.edgexfoundry.org:10001 [2024-07-25T18:19:01.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:19:01.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:19:01.930Z] Configure a credential helper to remove this warning. See [2024-07-25T18:19:01.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:19:01.930Z] [2024-07-25T18:19:01.930Z] Login Succeeded [2024-07-25T18:19:01.930Z] nexus3.edgexfoundry.org:10002 [2024-07-25T18:19:02.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:19:02.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:19:02.202Z] Configure a credential helper to remove this warning. See [2024-07-25T18:19:02.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:19:02.203Z] [2024-07-25T18:19:02.203Z] Login Succeeded [2024-07-25T18:19:02.203Z] nexus3.edgexfoundry.org:10003 [2024-07-25T18:19:02.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:19:02.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:19:02.740Z] Configure a credential helper to remove this warning. See [2024-07-25T18:19:02.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:19:02.740Z] [2024-07-25T18:19:02.740Z] Login Succeeded [2024-07-25T18:19:02.740Z] nexus3.edgexfoundry.org:10004 [2024-07-25T18:19:02.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:19:03.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:19:03.007Z] Configure a credential helper to remove this warning. See [2024-07-25T18:19:03.007Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:19:03.007Z] [2024-07-25T18:19:03.007Z] Login Succeeded [2024-07-25T18:19:03.007Z] ****.io [2024-07-25T18:19:03.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T18:19:03.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T18:19:03.275Z] Configure a credential helper to remove this warning. See [2024-07-25T18:19:03.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T18:19:03.275Z] [2024-07-25T18:19:03.275Z] Login Succeeded [2024-07-25T18:19:03.275Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T18:19:03.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T18:19:03.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T18:19:03.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T18:19:03.883Z] ========================================================= [2024-07-25T18:19:03.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-25T18:19:03.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:19:04.438Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-25T18:19:04.706Z] Sending build context to Docker daemon 12.84MB [2024-07-25T18:19:04.706Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T18:19:04.706Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T18:19:04.974Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-25T18:19:04.974Z] c6b39de5b339: Pulling fs layer [2024-07-25T18:19:04.974Z] a69c41024577: Pulling fs layer [2024-07-25T18:19:04.974Z] d6de4b400683: Pulling fs layer [2024-07-25T18:19:04.974Z] 35cb2a7552d0: Pulling fs layer [2024-07-25T18:19:04.974Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T18:19:04.974Z] 464afbd9ba4c: Pulling fs layer [2024-07-25T18:19:04.974Z] 00f215d4a9da: Pulling fs layer [2024-07-25T18:19:04.974Z] 35cb2a7552d0: Waiting [2024-07-25T18:19:04.974Z] 4f4fb700ef54: Waiting [2024-07-25T18:19:04.974Z] 464afbd9ba4c: Waiting [2024-07-25T18:19:04.974Z] d496ad576159: Pulling fs layer [2024-07-25T18:19:04.974Z] d496ad576159: Waiting [2024-07-25T18:19:04.974Z] 00f215d4a9da: Waiting [2024-07-25T18:19:04.974Z] a69c41024577: Verifying Checksum [2024-07-25T18:19:04.974Z] a69c41024577: Download complete [2024-07-25T18:19:04.974Z] 35cb2a7552d0: Verifying Checksum [2024-07-25T18:19:04.974Z] 35cb2a7552d0: Download complete [2024-07-25T18:19:04.974Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T18:19:04.974Z] 4f4fb700ef54: Download complete [2024-07-25T18:19:04.974Z] 464afbd9ba4c: Verifying Checksum [2024-07-25T18:19:04.974Z] 464afbd9ba4c: Download complete [2024-07-25T18:19:05.244Z] c6b39de5b339: Verifying Checksum [2024-07-25T18:19:05.244Z] c6b39de5b339: Download complete [2024-07-25T18:19:05.511Z] d496ad576159: Verifying Checksum [2024-07-25T18:19:05.511Z] d496ad576159: Download complete [2024-07-25T18:19:06.099Z] c6b39de5b339: Pull complete [2024-07-25T18:19:06.378Z] a69c41024577: Pull complete [2024-07-25T18:19:06.964Z] d6de4b400683: Verifying Checksum [2024-07-25T18:19:06.964Z] d6de4b400683: Download complete [2024-07-25T18:19:07.923Z] 00f215d4a9da: Verifying Checksum [2024-07-25T18:19:07.923Z] 00f215d4a9da: Download complete [2024-07-25T18:19:20.225Z] d6de4b400683: Pull complete [2024-07-25T18:19:20.225Z] 35cb2a7552d0: Pull complete [2024-07-25T18:19:20.225Z] 4f4fb700ef54: Pull complete [2024-07-25T18:19:20.225Z] 464afbd9ba4c: Pull complete [2024-07-25T18:19:23.438Z] Removing intermediate container c3b083286ba3 [2024-07-25T18:19:23.438Z] ---> a5cbe3a66d2d [2024-07-25T18:19:23.438Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T18:19:23.438Z] 3.18: Pulling from library/alpine [2024-07-25T18:19:23.438Z] 930bdd4d222e: Pulling fs layer [2024-07-25T18:19:23.438Z] 930bdd4d222e: Verifying Checksum [2024-07-25T18:19:23.438Z] 930bdd4d222e: Download complete [2024-07-25T18:19:23.438Z] 930bdd4d222e: Pull complete [2024-07-25T18:19:23.438Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T18:19:23.438Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T18:19:23.438Z] ---> 18f865063206 [2024-07-25T18:19:23.438Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-25T18:19:23.438Z] ---> Running in 3fd4bfae361e [2024-07-25T18:19:23.438Z] Removing intermediate container 3fd4bfae361e [2024-07-25T18:19:23.438Z] ---> 0a54eae25f7d [2024-07-25T18:19:23.438Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T18:19:23.438Z] ---> Running in 9ec0e0291672 [2024-07-25T18:19:23.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T18:19:23.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T18:19:23.438Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T18:19:23.438Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T18:19:23.438Z] OK: 7 MiB in 16 packages [2024-07-25T18:19:23.438Z] Removing intermediate container 9ec0e0291672 [2024-07-25T18:19:23.438Z] ---> b085c2976a5f [2024-07-25T18:19:23.438Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-25T18:19:23.438Z] ---> Running in fcfe8e824710 [2024-07-25T18:19:23.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T18:19:23.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T18:19:23.438Z] OK: 7 MiB in 16 packages [2024-07-25T18:19:23.438Z] Removing intermediate container fcfe8e824710 [2024-07-25T18:19:23.438Z] ---> 0e0184c702b1 [2024-07-25T18:19:23.438Z] Step 17/26 : WORKDIR / [2024-07-25T18:19:23.438Z] ---> Running in 15355934a3bb [2024-07-25T18:19:23.438Z] Removing intermediate container 15355934a3bb [2024-07-25T18:19:23.438Z] ---> 2adf6971d437 [2024-07-25T18:19:23.438Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-25T18:19:23.438Z] ---> cbf3c8ba4004 [2024-07-25T18:19:23.438Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-25T18:19:23.438Z] ---> 8ba0fbdd207a [2024-07-25T18:19:23.438Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-25T18:19:23.438Z] ---> 5f46799e2f5a [2024-07-25T18:19:23.438Z] Step 21/26 : EXPOSE 59995 [2024-07-25T18:19:23.438Z] ---> Running in c6d643189d06 [2024-07-25T18:19:23.438Z] Removing intermediate container c6d643189d06 [2024-07-25T18:19:23.438Z] ---> 74f9c0cf0ca2 [2024-07-25T18:19:23.438Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-25T18:19:23.716Z] ---> Running in eea0ffedce6c [2024-07-25T18:19:23.716Z] Removing intermediate container eea0ffedce6c [2024-07-25T18:19:23.716Z] ---> 06c8ccc2aac8 [2024-07-25T18:19:23.716Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T18:19:23.716Z] ---> Running in 162cd6e40d8f [2024-07-25T18:19:23.716Z] Removing intermediate container 162cd6e40d8f [2024-07-25T18:19:23.716Z] ---> ac1a6f1bdf3f [2024-07-25T18:19:23.716Z] Step 24/26 : LABEL arch=amd64 [2024-07-25T18:19:23.716Z] ---> Running in ae8abe19ae44 [2024-07-25T18:19:23.716Z] Removing intermediate container ae8abe19ae44 [2024-07-25T18:19:23.716Z] ---> 528dfdac56d4 [2024-07-25T18:19:23.716Z] Step 25/26 : LABEL git_sha=eb573a7ba37f41b1f9ce82412f0111767ddf087c [2024-07-25T18:19:23.975Z] ---> Running in 3af64ecf4221 [2024-07-25T18:19:23.975Z] Removing intermediate container 3af64ecf4221 [2024-07-25T18:19:23.975Z] ---> 9a87ef66529a [2024-07-25T18:19:23.975Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T18:19:23.975Z] ---> Running in 1231c8574cd1 [2024-07-25T18:19:23.975Z] Removing intermediate container 1231c8574cd1 [2024-07-25T18:19:23.975Z] ---> 82ea60cda278 [2024-07-25T18:19:23.975Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T18:19:23.975Z] Successfully built 82ea60cda278 [2024-07-25T18:19:23.975Z] 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-07-25T18:19:25.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T18:19:25.015Z] [2024-07-25T18:19:25.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:19:25.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T18:19:25.429Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-25T18:19:25.429Z] 5eb5b503b376: Pulling fs layer [2024-07-25T18:19:25.429Z] 5c69ac0246d0: Pulling fs layer [2024-07-25T18:19:25.429Z] ec43610c2a17: Pulling fs layer [2024-07-25T18:19:25.429Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-25T18:19:25.429Z] 33b1e0a273af: Pulling fs layer [2024-07-25T18:19:25.429Z] 5d3b04190fa2: Pulling fs layer [2024-07-25T18:19:25.429Z] 2f39f015ded8: Pulling fs layer [2024-07-25T18:19:25.429Z] 3a2ae6a8a46f: Waiting [2024-07-25T18:19:25.429Z] 33b1e0a273af: Waiting [2024-07-25T18:19:25.429Z] 5d3b04190fa2: Waiting [2024-07-25T18:19:25.429Z] 2f39f015ded8: Waiting [2024-07-25T18:19:25.429Z] 5c69ac0246d0: Verifying Checksum [2024-07-25T18:19:25.429Z] 5c69ac0246d0: Download complete [2024-07-25T18:19:25.429Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-25T18:19:25.429Z] 3a2ae6a8a46f: Download complete [2024-07-25T18:19:25.429Z] 33b1e0a273af: Verifying Checksum [2024-07-25T18:19:25.429Z] 33b1e0a273af: Download complete [2024-07-25T18:19:25.429Z] 5d3b04190fa2: Download complete [2024-07-25T18:19:25.429Z] ec43610c2a17: Verifying Checksum [2024-07-25T18:19:25.429Z] ec43610c2a17: Download complete [2024-07-25T18:19:25.688Z] 5eb5b503b376: Verifying Checksum [2024-07-25T18:19:25.688Z] 5eb5b503b376: Download complete [2024-07-25T18:19:26.255Z] 2f39f015ded8: Download complete [2024-07-25T18:19:26.823Z] 5eb5b503b376: Pull complete [2024-07-25T18:19:27.081Z] 5c69ac0246d0: Pull complete [2024-07-25T18:19:27.340Z] ec43610c2a17: Pull complete [2024-07-25T18:19:27.340Z] 3a2ae6a8a46f: Pull complete [2024-07-25T18:19:27.598Z] 33b1e0a273af: Pull complete [2024-07-25T18:19:27.598Z] 5d3b04190fa2: Pull complete [2024-07-25T18:19:28.423Z] 00f215d4a9da: Pull complete [2024-07-25T18:19:30.372Z] d496ad576159: Pull complete [2024-07-25T18:19:30.372Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-25T18:19:30.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-25T18:19:30.372Z] ---> f246e2811388 [2024-07-25T18:19:30.372Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T18:19:31.777Z] 2f39f015ded8: Pull complete [2024-07-25T18:19:31.777Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-25T18:19:31.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T18:19:31.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:19:32.041Z] prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container [2024-07-25T18:19:32.068Z] $ 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-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-25T18:19:32.310Z] ---> Running in c6cd81fbe15b [2024-07-25T18:19:32.310Z] Removing intermediate container c6cd81fbe15b [2024-07-25T18:19:32.310Z] ---> db4caffcd4d5 [2024-07-25T18:19:32.310Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T18:19:32.310Z] ---> Running in c58eb01f74a7 [2024-07-25T18:19:32.576Z] Removing intermediate container c58eb01f74a7 [2024-07-25T18:19:32.576Z] ---> 8b3857d3ea54 [2024-07-25T18:19:32.576Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T18:19:32.576Z] ---> Running in 45f6a98a682b [2024-07-25T18:19:33.161Z] Removing intermediate container 45f6a98a682b [2024-07-25T18:19:33.161Z] ---> b245e1241acd [2024-07-25T18:19:33.161Z] Step 6/12 : WORKDIR /device-uart [2024-07-25T18:19:33.161Z] ---> Running in e7661bee3741 [2024-07-25T18:19:33.435Z] Removing intermediate container e7661bee3741 [2024-07-25T18:19:33.435Z] ---> eca0297e2388 [2024-07-25T18:19:33.435Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T18:19:33.435Z] ---> Running in 93e47bfd5ccf [2024-07-25T18:19:34.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T18:19:35.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T18:19:36.067Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T18:19:36.067Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T18:19:36.067Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T18:19:36.067Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T18:19:36.067Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T18:19:36.067Z] OK: 271 MiB in 56 packages [2024-07-25T18:19:37.026Z] Removing intermediate container 93e47bfd5ccf [2024-07-25T18:19:37.026Z] ---> 6da0008bf2de [2024-07-25T18:19:37.026Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-25T18:19:37.052Z] $ docker top 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:19:37.612Z] ---> 110c4d13c0c2 [2024-07-25T18:19:37.612Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T18:19:37.612Z] ---> Running in 73516faa7aaf [2024-07-25T18:19:37.697Z] ---> job-cost.sh [2024-07-25T18:19:37.698Z] lf-activate-venv: SKIPPING [2024-07-25T18:19:37.698Z] INFO: No Stack... [2024-07-25T18:19:37.956Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T18:19:38.215Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T18:19:38.535Z] + cat /w/workspace/edgexfoundry_device-uart_PR-62/archives/cost.csv [2024-07-25T18:19:38.535Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T18:19:38.584Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [2024-07-25T18:19:38.590Z] Resource [jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] did not exist. Created. [2024-07-25T18:19:38.595Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T18:19:39.016Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-25T18:19:39.068Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T18:19:39.110Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T18:19:39.213Z] $ docker stop --time=1 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 [2024-07-25T18:19:40.352Z] $ docker rm -f --volumes 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-25T18:21:29.263Z] Removing intermediate container 73516faa7aaf [2024-07-25T18:21:29.263Z] ---> 07b9857a2c28 [2024-07-25T18:21:29.263Z] Step 10/12 : COPY . . [2024-07-25T18:21:29.263Z] ---> 06337e9ff5d6 [2024-07-25T18:21:29.263Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T18:21:29.263Z] ---> Running in cf5575aa84d3 [2024-07-25T18:21:29.263Z] Removing intermediate container cf5575aa84d3 [2024-07-25T18:21:29.263Z] ---> 0e88714dafda [2024-07-25T18:21:29.263Z] Step 12/12 : RUN ${MAKE} [2024-07-25T18:21:29.263Z] ---> Running in 294308b28e6e [2024-07-25T18:21:29.263Z] noop [2024-07-25T18:21:29.263Z] Removing intermediate container 294308b28e6e [2024-07-25T18:21:29.263Z] ---> 13253c1c1d23 [2024-07-25T18:21:29.263Z] Successfully built 13253c1c1d23 [2024-07-25T18:21:29.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:21:29.802Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T18:21:29.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:21:30.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2024-07-25T18:21:30.187Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-07-25T18:21:31.321Z] $ docker top 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T18:21:32.206Z] + go version [2024-07-25T18:21:32.206Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-25T18:21:32.243Z] $ docker stop --time=1 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 [2024-07-25T18:21:33.841Z] $ docker rm -f --volumes 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:21:34.786Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T18:21:34.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:21:35.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2024-07-25T18:21:35.124Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-07-25T18:21:36.222Z] $ docker top 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T18:21:36.773Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-07-25T18:21:37.176Z] + make test [2024-07-25T18:21:37.176Z] go test ./... -coverprofile=coverage.out [2024-07-25T18:21:42.511Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-25T18:25:19.237Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-25T18:25:19.238Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-25T18:25:19.238Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-25T18:25:19.238Z] go vet ./... [2024-07-25T18:25:52.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T18:25:52.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T18:25:52.694Z] ./bin/test-attribution-txt.sh [2024-07-25T18:25:52.694Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T18:25:52.694Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T18:25:52.974Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T18:25:55.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T18:25:55.158Z] $ docker stop --time=1 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 [2024-07-25T18:25:57.076Z] $ docker rm -f --volumes 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T18:25:59.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T18:25:59.592Z] Warning: overwriting stash ‘coverage-report’ [2024-07-25T18:26:00.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T18:26:02.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T18:26:02.986Z] + ls -al . [2024-07-25T18:26:02.986Z] total 220 [2024-07-25T18:26:02.986Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 25 18:21 . [2024-07-25T18:26:02.986Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:18 .. [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 18:18 .dockerignore [2024-07-25T18:26:02.986Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:18 .git [2024-07-25T18:26:02.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 .github [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 25 18:18 .gitignore [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 18:18 .golangci.yml [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 25 18:18 Attribution.txt [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 25 18:18 CHANGELOG.md [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 25 18:18 Dockerfile [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 18:18 GOVERNANCE.md [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 25 18:18 Jenkinsfile [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 18:18 LICENSE [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 25 18:18 Makefile [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 18:18 OWNERS.md [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 25 18:18 README.md [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:16 VERSION [2024-07-25T18:26:02.986Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:18 bin [2024-07-25T18:26:02.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 cmd [2024-07-25T18:26:02.986Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 25 18:21 coverage.out [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 25 18:18 go.mod [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 25 18:18 go.sum [2024-07-25T18:26:02.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 internal [2024-07-25T18:26:02.986Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 25 18:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:26:04.005Z] + 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=eb573a7ba37f41b1f9ce82412f0111767ddf087c --label arch=arm64 --label version=0.0.0 . [2024-07-25T18:26:04.592Z] Sending build context to Docker daemon 12.84MB [2024-07-25T18:26:04.592Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T18:26:04.592Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T18:26:04.592Z] ---> 13253c1c1d23 [2024-07-25T18:26:04.592Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T18:26:04.592Z] ---> Running in 3378b7b6f151 [2024-07-25T18:26:04.859Z] Removing intermediate container 3378b7b6f151 [2024-07-25T18:26:04.859Z] ---> 576e414503d9 [2024-07-25T18:26:04.859Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T18:26:04.859Z] ---> Running in f23fdd4bc671 [2024-07-25T18:26:05.130Z] Removing intermediate container f23fdd4bc671 [2024-07-25T18:26:05.130Z] ---> 96a2a83384b6 [2024-07-25T18:26:05.130Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T18:26:05.397Z] ---> Running in d659b1af57cb [2024-07-25T18:26:05.664Z] Removing intermediate container d659b1af57cb [2024-07-25T18:26:05.665Z] ---> f96394dfe3bc [2024-07-25T18:26:05.665Z] Step 6/26 : WORKDIR /device-uart [2024-07-25T18:26:05.665Z] ---> Running in 9d7c30d6199a [2024-07-25T18:26:05.932Z] Removing intermediate container 9d7c30d6199a [2024-07-25T18:26:05.932Z] ---> 198bcc93401d [2024-07-25T18:26:05.932Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T18:26:05.932Z] ---> Running in 818b111562a5 [2024-07-25T18:26:06.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T18:26:07.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T18:26:08.441Z] OK: 271 MiB in 56 packages [2024-07-25T18:26:09.020Z] Removing intermediate container 818b111562a5 [2024-07-25T18:26:09.020Z] ---> ca730d4d77e6 [2024-07-25T18:26:09.020Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-25T18:26:09.607Z] ---> 6eec65e9ea30 [2024-07-25T18:26:09.607Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T18:26:09.607Z] ---> Running in a94c3211e1e1 [2024-07-25T18:26:12.241Z] Removing intermediate container a94c3211e1e1 [2024-07-25T18:26:12.241Z] ---> 7344adec7d89 [2024-07-25T18:26:12.241Z] Step 10/26 : COPY . . [2024-07-25T18:26:13.201Z] ---> 62ca3f191449 [2024-07-25T18:26:13.201Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T18:26:13.202Z] ---> Running in c60013e9607c [2024-07-25T18:26:13.472Z] Removing intermediate container c60013e9607c [2024-07-25T18:26:13.473Z] ---> d09dac1c2ae8 [2024-07-25T18:26:13.473Z] Step 12/26 : RUN ${MAKE} [2024-07-25T18:26:13.473Z] ---> Running in c93c7dad7582 [2024-07-25T18:26:14.429Z] 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.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-25T18:29:36.128Z] Removing intermediate container c93c7dad7582 [2024-07-25T18:29:36.128Z] ---> dde4f00d9fc1 [2024-07-25T18:29:36.128Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T18:29:36.128Z] 3.18: Pulling from library/alpine [2024-07-25T18:29:36.128Z] 4983c3fe2029: Pulling fs layer [2024-07-25T18:29:36.128Z] 4983c3fe2029: Verifying Checksum [2024-07-25T18:29:36.128Z] 4983c3fe2029: Download complete [2024-07-25T18:29:36.128Z] 4983c3fe2029: Pull complete [2024-07-25T18:29:36.128Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T18:29:36.128Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T18:29:36.128Z] ---> a0237000ae83 [2024-07-25T18:29:36.128Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-25T18:29:36.128Z] ---> Running in e584f69a4601 [2024-07-25T18:29:36.128Z] Removing intermediate container e584f69a4601 [2024-07-25T18:29:36.128Z] ---> d194803a8cb6 [2024-07-25T18:29:36.129Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T18:29:36.129Z] ---> Running in 42ee2270765d [2024-07-25T18:29:36.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T18:29:36.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T18:29:36.394Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T18:29:36.394Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T18:29:36.658Z] OK: 8 MiB in 16 packages [2024-07-25T18:29:37.246Z] Removing intermediate container 42ee2270765d [2024-07-25T18:29:37.246Z] ---> 162e2fe64765 [2024-07-25T18:29:37.246Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-25T18:29:37.513Z] ---> Running in 378dbfc2f5b4 [2024-07-25T18:29:38.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T18:29:38.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T18:29:39.701Z] OK: 8 MiB in 16 packages [2024-07-25T18:29:40.287Z] Removing intermediate container 378dbfc2f5b4 [2024-07-25T18:29:40.287Z] ---> 63b190aa1928 [2024-07-25T18:29:40.287Z] Step 17/26 : WORKDIR / [2024-07-25T18:29:40.287Z] ---> Running in b8a88fbb88bb [2024-07-25T18:29:40.871Z] Removing intermediate container b8a88fbb88bb [2024-07-25T18:29:40.871Z] ---> e7476fc5acb9 [2024-07-25T18:29:40.871Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-25T18:29:41.138Z] ---> 065adf96713c [2024-07-25T18:29:41.138Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-25T18:29:41.720Z] ---> 33cd3fa05a03 [2024-07-25T18:29:41.720Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-25T18:29:44.293Z] ---> c7050055adf1 [2024-07-25T18:29:44.293Z] Step 21/26 : EXPOSE 59995 [2024-07-25T18:29:44.293Z] ---> Running in d154b66b1315 [2024-07-25T18:29:44.293Z] Removing intermediate container d154b66b1315 [2024-07-25T18:29:44.293Z] ---> d21bff70602e [2024-07-25T18:29:44.293Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-25T18:29:44.293Z] ---> Running in 7b3c443398ce [2024-07-25T18:29:44.560Z] Removing intermediate container 7b3c443398ce [2024-07-25T18:29:44.560Z] ---> 5bfe4d819e56 [2024-07-25T18:29:44.560Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T18:29:44.560Z] ---> Running in 19d0ea462e0c [2024-07-25T18:29:44.829Z] Removing intermediate container 19d0ea462e0c [2024-07-25T18:29:44.829Z] ---> b1aec12c4fd7 [2024-07-25T18:29:44.829Z] Step 24/26 : LABEL arch=arm64 [2024-07-25T18:29:45.097Z] ---> Running in d321a7b9c7a6 [2024-07-25T18:29:45.364Z] Removing intermediate container d321a7b9c7a6 [2024-07-25T18:29:45.364Z] ---> 2e4462f47a02 [2024-07-25T18:29:45.364Z] Step 25/26 : LABEL git_sha=eb573a7ba37f41b1f9ce82412f0111767ddf087c [2024-07-25T18:29:45.364Z] ---> Running in 9d1b5825fc41 [2024-07-25T18:29:45.629Z] Removing intermediate container 9d1b5825fc41 [2024-07-25T18:29:45.629Z] ---> ef83f82aac3a [2024-07-25T18:29:45.629Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T18:29:45.629Z] ---> Running in 05a04c951c6c [2024-07-25T18:29:45.894Z] Removing intermediate container 05a04c951c6c [2024-07-25T18:29:45.894Z] ---> 0b3f7f044261 [2024-07-25T18:29:45.894Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T18:29:46.158Z] Successfully built 0b3f7f044261 [2024-07-25T18:29:46.158Z] 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-07-25T18:29:47.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T18:29:47.096Z] [2024-07-25T18:29:47.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:29:47.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T18:29:47.526Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-25T18:29:47.526Z] 8998bd30e6a1: Pulling fs layer [2024-07-25T18:29:47.526Z] 04944245beec: Pulling fs layer [2024-07-25T18:29:47.526Z] 699f458cf7ca: Pulling fs layer [2024-07-25T18:29:47.526Z] 765212b225bb: Pulling fs layer [2024-07-25T18:29:47.526Z] f23df028b6ca: Pulling fs layer [2024-07-25T18:29:47.526Z] 765212b225bb: Waiting [2024-07-25T18:29:47.526Z] d65c8cfc05b1: Pulling fs layer [2024-07-25T18:29:47.526Z] 2437ff75d9bd: Pulling fs layer [2024-07-25T18:29:47.526Z] f23df028b6ca: Waiting [2024-07-25T18:29:47.526Z] 2437ff75d9bd: Waiting [2024-07-25T18:29:47.526Z] d65c8cfc05b1: Waiting [2024-07-25T18:29:48.636Z] 04944245beec: Verifying Checksum [2024-07-25T18:29:48.636Z] 04944245beec: Download complete [2024-07-25T18:29:48.636Z] 765212b225bb: Verifying Checksum [2024-07-25T18:29:48.636Z] 765212b225bb: Download complete [2024-07-25T18:29:48.636Z] f23df028b6ca: Verifying Checksum [2024-07-25T18:29:48.636Z] f23df028b6ca: Download complete [2024-07-25T18:29:48.636Z] d65c8cfc05b1: Download complete [2024-07-25T18:29:48.636Z] 699f458cf7ca: Verifying Checksum [2024-07-25T18:29:48.636Z] 699f458cf7ca: Download complete [2024-07-25T18:29:49.910Z] 8998bd30e6a1: Verifying Checksum [2024-07-25T18:29:49.910Z] 8998bd30e6a1: Download complete [2024-07-25T18:29:52.474Z] 2437ff75d9bd: Verifying Checksum [2024-07-25T18:29:52.474Z] 2437ff75d9bd: Download complete [2024-07-25T18:29:54.404Z] 8998bd30e6a1: Pull complete [2024-07-25T18:29:54.984Z] 04944245beec: Pull complete [2024-07-25T18:29:56.381Z] 699f458cf7ca: Pull complete [2024-07-25T18:29:56.646Z] 765212b225bb: Pull complete [2024-07-25T18:29:57.598Z] f23df028b6ca: Pull complete [2024-07-25T18:29:57.864Z] d65c8cfc05b1: Pull complete [2024-07-25T18:30:16.048Z] 2437ff75d9bd: Pull complete [2024-07-25T18:30:16.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-25T18:30:16.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T18:30:16.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:30:16.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2024-07-25T18:30:16.462Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-25T18:30:19.084Z] $ docker top 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:20.017Z] ---> job-cost.sh [2024-07-25T18:30:20.017Z] lf-activate-venv: SKIPPING [2024-07-25T18:30:20.017Z] INFO: No Stack... [2024-07-25T18:30:20.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-25T18:30:21.230Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T18:30:21.891Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-07-25T18:30:21.891Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T18:30:21.975Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [2024-07-25T18:30:21.981Z] Resource [jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] did not exist. Created. [2024-07-25T18:30:21.989Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T18:30:22.732Z] /w/workspace/device-uart/1@tmp/durable-faa9d7a8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-25T18:30:23.402Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-25T18:30:23.442Z] Warning: overwriting stash ‘stack-cost’ [2024-07-25T18:30:23.482Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T18:30:23.503Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T18:30:23.598Z] $ docker stop --time=1 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e [2024-07-25T18:30:25.115Z] $ docker rm -f --volumes 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-25T18:30:26.307Z] provisioning config files... [2024-07-25T18:30:26.314Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config16832356332854080341tmp [Pipeline] { [Pipeline] sh [2024-07-25T18:30:26.662Z] + set +x [2024-07-25T18:30:26.662Z] + curl -s https://codecov.io/bash [2024-07-25T18:30:26.662Z] + bash -s -- [2024-07-25T18:30:26.662Z] [2024-07-25T18:30:26.662Z] _____ _ [2024-07-25T18:30:26.662Z] / ____| | | [2024-07-25T18:30:26.662Z] | | ___ __| | ___ ___ _____ __ [2024-07-25T18:30:26.662Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-25T18:30:26.662Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-25T18:30:26.662Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-25T18:30:26.662Z] Bash-1.0.6 [2024-07-25T18:30:26.662Z] [2024-07-25T18:30:26.662Z] [2024-07-25T18:30:26.662Z] ==> git version 2.25.1 found [2024-07-25T18:30:26.662Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-25T18:30:26.662Z] Release-Date: 2020-01-08 [2024-07-25T18:30:26.662Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-25T18:30:26.662Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-25T18:30:26.662Z] ==> Jenkins CI detected. [2024-07-25T18:30:26.662Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-62 [2024-07-25T18:30:26.662Z] project root: . [2024-07-25T18:30:26.662Z] --> token set from env [2024-07-25T18:30:26.662Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-25T18:30:26.662Z] ==> Running gcov in . (disable via -X gcov) [2024-07-25T18:30:26.662Z] ==> Python coveragepy not found [2024-07-25T18:30:26.662Z] ==> Searching for coverage reports in: [2024-07-25T18:30:26.662Z] + . [2024-07-25T18:30:26.662Z] -> Found 1 reports [2024-07-25T18:30:26.662Z] ==> Detecting git/mercurial file structure [2024-07-25T18:30:26.921Z] ==> Reading reports [2024-07-25T18:30:26.921Z] + ./coverage.out bytes=10 [2024-07-25T18:30:26.921Z] ==> Appending adjustments [2024-07-25T18:30:26.921Z] https://docs.codecov.io/docs/fixing-reports [2024-07-25T18:30:26.921Z] + Found adjustments [2024-07-25T18:30:26.921Z] ==> Gzipping contents [2024-07-25T18:30:26.921Z] 4.0K /tmp/codecov.NgKlJ1.gz [2024-07-25T18:30:26.921Z] ==> Uploading reports [2024-07-25T18:30:26.921Z] url: https://codecov.io [2024-07-25T18:30:26.921Z] query: branch=PR-62&commit=eb573a7ba37f41b1f9ce82412f0111767ddf087c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=62&job=&cmd_args= [2024-07-25T18:30:26.921Z] -> Pinging Codecov [2024-07-25T18:30:26.921Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-62&commit=eb573a7ba37f41b1f9ce82412f0111767ddf087c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=62&job=&cmd_args= [2024-07-25T18:30:27.489Z] -> Uploading to [2024-07-25T18:30:27.489Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-25/B9AA6E0BBD74AE3A32605C7A7C664919/eb573a7ba37f41b1f9ce82412f0111767ddf087c/65a7f4a0-f72b-499d-91fa-d6267fc942b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T183027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67058657c3a7244241c3db8c586f376c1bef7c7f87475abadcde8f86181d1e8a [2024-07-25T18:30:27.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T18:30:27.489Z] Dload Upload Total Spent Left Speed [2024-07-25T18:30:27.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2899 --:--:-- --:--:-- --:--:-- 2899 100 603 0 0 100 603 0 2355 --:--:-- --:--:-- --:--:-- 2355 [2024-07-25T18:30:27.750Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] } [2024-07-25T18:30:27.780Z] 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-07-25T18:30:30.134Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-62/archives ] [2024-07-25T18:30:30.134Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-62/archives [2024-07-25T18:30:30.134Z] total 16 [2024-07-25T18:30:30.134Z] drwxr-xr-x 3 root root 4096 Jul 25 18:19 . [2024-07-25T18:30:30.134Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 18:19 .. [2024-07-25T18:30:30.134Z] drwxr-xr-x 2 root root 4096 Jul 25 18:19 cost [2024-07-25T18:30:30.134Z] -rw-r--r-- 1 root root 82 Jul 25 18:19 cost.csv [2024-07-25T18:30:30.134Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-62/archives [2024-07-25T18:30:30.134Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-62/archives [2024-07-25T18:30:30.134Z] total 16 [2024-07-25T18:30:30.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:19 . [2024-07-25T18:30:30.134Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 18:19 .. [2024-07-25T18:30:30.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 18:19 cost [2024-07-25T18:30:30.134Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 25 18:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:30.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:31.374Z] ---> package-listing.sh [2024-07-25T18:30:31.374Z] ++ facter osfamily [2024-07-25T18:30:31.374Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-25T18:30:31.633Z] + OS_FAMILY=debian [2024-07-25T18:30:31.633Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-62 [2024-07-25T18:30:31.633Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-25T18:30:31.633Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-25T18:30:31.633Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-25T18:30:31.633Z] + PACKAGES=/tmp/packages_start.txt [2024-07-25T18:30:31.633Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-62 ']' [2024-07-25T18:30:31.633Z] + PACKAGES=/tmp/packages_end.txt [2024-07-25T18:30:31.633Z] + case "${OS_FAMILY}" in [2024-07-25T18:30:31.633Z] + dpkg -l [2024-07-25T18:30:31.633Z] + grep '^ii' [2024-07-25T18:30:31.633Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-25T18:30:31.633Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-25T18:30:31.633Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-25T18:30:31.633Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-62 ']' [2024-07-25T18:30:31.633Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-62/archives/ [2024-07-25T18:30:31.633Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-62/archives/ [Pipeline] echo [2024-07-25T18:30:31.678Z] 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-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-25T18:30:31.981Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T18:30:32.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T18:30:32.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T18:30:32.811Z] prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container [2024-07-25T18:30:32.932Z] $ 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-62/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-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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-07-25T18:30:33.127Z] $ docker top 558442c8a4ba0de44fecda2dfeb9e79d821f2a7279866d3622ce40852dc7a373 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T18:30:33.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-25T18:30:33.963Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-25T18:30:34.275Z] + ls /var/log/sa-host [2024-07-25T18:30:34.275Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T18:30:34.513Z] provisioning config files... [2024-07-25T18:30:34.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config3687264650066250799tmp [Pipeline] { [Pipeline] echo [2024-07-25T18:30:34.595Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:34.919Z] ---> create-netrc.sh [Pipeline] } [2024-07-25T18:30:34.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:35.394Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-25T18:30:35.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:35.758Z] ---> sudo-logs.sh [2024-07-25T18:30:35.758Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-25T18:30:35.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:36.187Z] ---> job-cost.sh [2024-07-25T18:30:36.187Z] lf-activate-venv: SKIPPING [2024-07-25T18:30:36.187Z] DEBUG: total: 0.2199999988079071 [2024-07-25T18:30:36.187Z] INFO: Retrieving Stack Cost... [2024-07-25T18:30:36.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T18:30:37.012Z] INFO: Archiving Costs [Pipeline] echo [2024-07-25T18:30:37.056Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T18:30:37.378Z] ---> logs-deploy.sh [2024-07-25T18:30:37.378Z] lf-activate-venv: SKIPPING [2024-07-25T18:30:37.378Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-62/1 [2024-07-25T18:30:37.378Z] INFO: archiving workspace using pattern(s): [2024-07-25T18:30:38.316Z] Archives upload complete. [2024-07-25T18:30:38.575Z] INFO: archiving logs to Nexus