Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1d8748bce09ac1a669cda172187fe9bbf4c2fc6+456606cc1479f447ad62a94b16c6a77590d7088f (2735dad0469c8176d9225641bc163a4f5ebca3c2) 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-ssh6091395129806254981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh13209711405181769826.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 f3350a1713306dce7682ed7e37d5774890d03277 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-70/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-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8289173484796519122.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-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15763567171921796636.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh17569664335018074030.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-70/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-70/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2377742292295066353.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9897 in /w/workspace/edgexfoundry_device-uart_PR-70 [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-70 # 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 Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 Merge succeeded, producing e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 Checking out Revision e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 (PR-70) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-09T18:34:13.115Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-09T18:34:13.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-09T18:34:13.695Z] ========================================================= [2024-09-09T18:34:13.695Z] EdgeX Global Pipelines Version Info [2024-09-09T18:34:13.695Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:34:14.886Z] ------------------- [2024-09-09T18:34:14.886Z] stable info: [2024-09-09T18:34:14.886Z] ------------------- [2024-09-09T18:34:14.886Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T18:34:14.886Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T18:34:14.886Z] Message: update stable to v1.0.263 [2024-09-09T18:34:15.146Z] ------------------- [2024-09-09T18:34:15.146Z] experimental info: [2024-09-09T18:34:15.146Z] ------------------- [2024-09-09T18:34:15.146Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T18:34:15.146Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T18:34:15.146Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-09T18:34:15.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-09-09T18:34:15.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-09-09T18:34:15.486Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-09T18:34:15.542Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-09T18:34:15.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-09T18:34:15.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-09T18:34:15.724Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-09T18:34:15.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-09T18:34:15.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-09T18:34:15.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-09T18:34:15.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-09T18:34:16.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-09-09T18:34:16.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-09T18:34:16.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-09T18:34:16.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T18:34:16.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T18:34:16.304Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T18:34:16.360Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T18:34:16.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-09T18:34:16.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-09T18:34:16.541Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-09T18:34:16.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-09T18:34:16.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-09T18:34:16.719Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-09T18:34:16.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-09T18:34:16.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-09T18:34:16.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-09T18:34:16.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo [2024-09-09T18:34:17.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo [2024-09-09T18:34:17.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo [2024-09-09T18:34:17.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo [2024-09-09T18:34:17.197Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1d8748 [Pipeline] echo [2024-09-09T18:34:17.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T18:34:17.406Z] provisioning config files... [2024-09-09T18:34:17.421Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config8208351797468668096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:34:17.889Z] ---> ****-login.sh [2024-09-09T18:34:17.889Z] nexus3.edgexfoundry.org:10001 [2024-09-09T18:34:18.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:18.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:18.413Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:18.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:18.413Z] [2024-09-09T18:34:18.413Z] Login Succeeded [2024-09-09T18:34:18.413Z] nexus3.edgexfoundry.org:10002 [2024-09-09T18:34:18.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:18.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:18.413Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:18.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:18.413Z] [2024-09-09T18:34:18.413Z] Login Succeeded [2024-09-09T18:34:18.413Z] nexus3.edgexfoundry.org:10003 [2024-09-09T18:34:18.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:18.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:18.680Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:18.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:18.680Z] [2024-09-09T18:34:18.680Z] Login Succeeded [2024-09-09T18:34:18.680Z] nexus3.edgexfoundry.org:10004 [2024-09-09T18:34:18.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:18.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:18.680Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:18.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:18.680Z] [2024-09-09T18:34:18.680Z] Login Succeeded [2024-09-09T18:34:18.680Z] ****.io [2024-09-09T18:34:18.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:18.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:18.941Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:18.941Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:18.941Z] [2024-09-09T18:34:18.941Z] Login Succeeded [2024-09-09T18:34:18.941Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T18:34:18.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-09T18:34:19.677Z] + git rev-list -1 --merges e1d8748bce09ac1a669cda172187fe9bbf4c2fc6~1..e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo [2024-09-09T18:34:19.727Z] -----------> git rev-list -1 --merges e1d8748bce09ac1a669cda172187fe9bbf4c2fc6~1..e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [false] [Pipeline] sh [2024-09-09T18:34:20.051Z] + git log --format=format:%s -1 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo [2024-09-09T18:34:20.091Z] ========================================================= [2024-09-09T18:34:20.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-09T18:34:20.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T18:34:20.544Z] + git log --format=format:%s -1 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo [2024-09-09T18:34:20.581Z] [semverPrep] GIT_COMMIT: e1d8748bce09ac1a669cda172187fe9bbf4c2fc6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-09T18:34:20.620Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-09T18:34:21.034Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-09T18:34:21.034Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-09T18:34:21.034Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-09T18:34:21.034Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-09T18:34:21.034Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-09T18:34:21.034Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-09T18:34:21.034Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:34:21.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T18:34:21.573Z] [2024-09-09T18:34:21.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:34:21.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T18:34:22.248Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-09T18:34:22.248Z] b85a868b505f: Pulling fs layer [2024-09-09T18:34:22.248Z] e2be974225ed: Pulling fs layer [2024-09-09T18:34:22.248Z] 339a4e72a1f5: Pulling fs layer [2024-09-09T18:34:22.248Z] 988bab9f4d93: Pulling fs layer [2024-09-09T18:34:22.248Z] 1469e6f7b9e6: Pulling fs layer [2024-09-09T18:34:22.248Z] eaf3925da568: Pulling fs layer [2024-09-09T18:34:22.248Z] bab4dde63d76: Pulling fs layer [2024-09-09T18:34:22.248Z] bde34c3a00c8: Pulling fs layer [2024-09-09T18:34:22.248Z] b352a97aabf1: Pulling fs layer [2024-09-09T18:34:22.248Z] 4872d77fe225: Pulling fs layer [2024-09-09T18:34:22.248Z] 5851b861e8e6: Pulling fs layer [2024-09-09T18:34:22.248Z] 988bab9f4d93: Waiting [2024-09-09T18:34:22.248Z] 1469e6f7b9e6: Waiting [2024-09-09T18:34:22.248Z] eaf3925da568: Waiting [2024-09-09T18:34:22.248Z] bab4dde63d76: Waiting [2024-09-09T18:34:22.248Z] b352a97aabf1: Waiting [2024-09-09T18:34:22.248Z] 4872d77fe225: Waiting [2024-09-09T18:34:22.248Z] 5851b861e8e6: Waiting [2024-09-09T18:34:22.248Z] e2be974225ed: Verifying Checksum [2024-09-09T18:34:22.248Z] e2be974225ed: Download complete [2024-09-09T18:34:22.248Z] 988bab9f4d93: Download complete [2024-09-09T18:34:22.511Z] 1469e6f7b9e6: Verifying Checksum [2024-09-09T18:34:22.511Z] 1469e6f7b9e6: Download complete [2024-09-09T18:34:22.511Z] eaf3925da568: Verifying Checksum [2024-09-09T18:34:22.511Z] eaf3925da568: Download complete [2024-09-09T18:34:22.511Z] 339a4e72a1f5: Verifying Checksum [2024-09-09T18:34:22.511Z] 339a4e72a1f5: Download complete [2024-09-09T18:34:22.511Z] bde34c3a00c8: Verifying Checksum [2024-09-09T18:34:22.511Z] bde34c3a00c8: Download complete [2024-09-09T18:34:22.511Z] b352a97aabf1: Download complete [2024-09-09T18:34:22.511Z] 4872d77fe225: Download complete [2024-09-09T18:34:22.511Z] 5851b861e8e6: Download complete [2024-09-09T18:34:22.511Z] b85a868b505f: Verifying Checksum [2024-09-09T18:34:22.511Z] b85a868b505f: Download complete [2024-09-09T18:34:22.771Z] bab4dde63d76: Verifying Checksum [2024-09-09T18:34:22.771Z] bab4dde63d76: Download complete [2024-09-09T18:34:24.149Z] b85a868b505f: Pull complete [2024-09-09T18:34:24.149Z] e2be974225ed: Pull complete [2024-09-09T18:34:24.408Z] 339a4e72a1f5: Pull complete [2024-09-09T18:34:24.667Z] 988bab9f4d93: Pull complete [2024-09-09T18:34:24.926Z] 1469e6f7b9e6: Pull complete [2024-09-09T18:34:24.926Z] eaf3925da568: Pull complete [2024-09-09T18:34:26.831Z] bab4dde63d76: Pull complete [2024-09-09T18:34:26.831Z] bde34c3a00c8: Pull complete [2024-09-09T18:34:27.402Z] b352a97aabf1: Pull complete [2024-09-09T18:34:27.664Z] 4872d77fe225: Pull complete [2024-09-09T18:34:27.924Z] 5851b861e8e6: Pull complete [2024-09-09T18:34:27.924Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-09T18:34:27.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T18:34:27.924Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:34:28.214Z] prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container [2024-09-09T18:34:28.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@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-09-09T18:34:32.087Z] $ docker top c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 -eo pid,comm [2024-09-09T18:34:32.236Z] 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-09-09T18:34:32.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-09T18:34:32.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T18:34:32.414Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T18:34:32.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T18:34:32.518Z] $ docker exec c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent [2024-09-09T18:34:32.636Z] SSH_AUTH_SOCK=/tmp/ssh-CYkyL9Yt3ZxM/agent.32 [2024-09-09T18:34:32.636Z] SSH_AGENT_PID=38 [2024-09-09T18:34:32.642Z] Running ssh-add (command line suppressed) [2024-09-09T18:34:32.749Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_7113960425742161481.key (/w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_7113960425742161481.key) [2024-09-09T18:34:32.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T18:34:33.112Z] + git tag --points-at HEAD [Pipeline] } [2024-09-09T18:34:33.142Z] $ docker exec --env ******** --env ******** c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent -k [2024-09-09T18:34:33.233Z] unset SSH_AUTH_SOCK; [2024-09-09T18:34:33.234Z] unset SSH_AGENT_PID; [2024-09-09T18:34:33.234Z] echo Agent pid 38 killed; [2024-09-09T18:34:33.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-09T18:34:33.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T18:34:33.372Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T18:34:33.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T18:34:33.475Z] $ docker exec c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent [2024-09-09T18:34:33.579Z] SSH_AUTH_SOCK=/tmp/ssh-kzZs1LI7adKA/agent.71 [2024-09-09T18:34:33.579Z] SSH_AGENT_PID=77 [2024-09-09T18:34:33.584Z] Running ssh-add (command line suppressed) [2024-09-09T18:34:33.675Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_16133528799693552352.key (/w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_16133528799693552352.key) [2024-09-09T18:34:33.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T18:34:34.046Z] + git semver init [2024-09-09T18:34:34.306Z] 2024-09-09 18:34:34,258 [run_init] DEBUG init version:0.0.0 force:False [2024-09-09T18:34:34.306Z] 2024-09-09 18:34:34,260 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-70/.semver [2024-09-09T18:34:34.306Z] 2024-09-09 18:34:34,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-70/.semver [2024-09-09T18:34:34.306Z] 2024-09-09 18:34:34,261 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-70/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70, universal_newlines=False, shell=None, istream=None) [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,414 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-70/.git/info/exclude [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,414 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 with force:False [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,414 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,417 [execute] INFO git cat-file --batch-check [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,423 [execute] INFO git cat-file --batch [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T18:34:35.686Z] 2024-09-09 18:34:35,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 [2024-09-09T18:34:35.686Z] 0.0.0 [Pipeline] } [2024-09-09T18:34:39.266Z] $ docker exec --env ******** --env ******** c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent -k [2024-09-09T18:34:39.357Z] unset SSH_AUTH_SOCK; [2024-09-09T18:34:39.358Z] unset SSH_AGENT_PID; [2024-09-09T18:34:39.358Z] echo Agent pid 77 killed; [2024-09-09T18:34:39.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-09T18:34:39.828Z] + git semver [Pipeline] } [2024-09-09T18:34:40.112Z] $ docker stop --time=1 c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 [2024-09-09T18:34:41.718Z] $ docker rm -f --volumes c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T18:34:42.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-09T18:34:42.453Z] Stashed 1 file(s) [Pipeline] echo [2024-09-09T18:34:42.480Z] [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-09-09T18:34:43.246Z] provisioning config files... [2024-09-09T18:34:43.257Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config7466826781483571684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:34:43.638Z] ---> ****-login.sh [2024-09-09T18:34:43.638Z] nexus3.edgexfoundry.org:10001 [2024-09-09T18:34:43.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:43.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:43.638Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:43.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:43.638Z] [2024-09-09T18:34:43.638Z] Login Succeeded [2024-09-09T18:34:43.638Z] nexus3.edgexfoundry.org:10002 [2024-09-09T18:34:43.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:43.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:43.638Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:43.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:43.638Z] [2024-09-09T18:34:43.638Z] Login Succeeded [2024-09-09T18:34:43.638Z] nexus3.edgexfoundry.org:10003 [2024-09-09T18:34:43.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:43.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:43.899Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:43.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:43.899Z] [2024-09-09T18:34:43.899Z] Login Succeeded [2024-09-09T18:34:43.899Z] nexus3.edgexfoundry.org:10004 [2024-09-09T18:34:43.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:43.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:43.899Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:43.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:43.899Z] [2024-09-09T18:34:43.899Z] Login Succeeded [2024-09-09T18:34:43.899Z] ****.io [2024-09-09T18:34:43.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:34:44.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:34:44.159Z] Configure a credential helper to remove this warning. See [2024-09-09T18:34:44.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:34:44.159Z] [2024-09-09T18:34:44.159Z] Login Succeeded [2024-09-09T18:34:44.159Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T18:34:44.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T18:34:44.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T18:34:44.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T18:34:44.545Z] ========================================================= [2024-09-09T18:34:44.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-09T18:34:44.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:34:45.066Z] + 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-09-09T18:34:45.066Z] Sending build context to Docker daemon 25.56MB [2024-09-09T18:34:45.066Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T18:34:45.066Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T18:34:45.324Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-09T18:34:45.324Z] 619be1103602: Pulling fs layer [2024-09-09T18:34:45.324Z] 7862e08f4a3e: Pulling fs layer [2024-09-09T18:34:45.324Z] 5df492c9dc93: Pulling fs layer [2024-09-09T18:34:45.324Z] 7629e6793208: Pulling fs layer [2024-09-09T18:34:45.324Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T18:34:45.324Z] fb5054dd5b73: Pulling fs layer [2024-09-09T18:34:45.324Z] eeca6798cff9: Pulling fs layer [2024-09-09T18:34:45.324Z] aa269ceb94a6: Pulling fs layer [2024-09-09T18:34:45.324Z] ada007ff1a6a: Pulling fs layer [2024-09-09T18:34:45.324Z] ada007ff1a6a: Waiting [2024-09-09T18:34:45.324Z] eeca6798cff9: Waiting [2024-09-09T18:34:45.324Z] aa269ceb94a6: Waiting [2024-09-09T18:34:45.324Z] 4f4fb700ef54: Waiting [2024-09-09T18:34:45.324Z] 7629e6793208: Waiting [2024-09-09T18:34:45.324Z] fb5054dd5b73: Waiting [2024-09-09T18:34:45.324Z] 7862e08f4a3e: Download complete [2024-09-09T18:34:45.324Z] 7629e6793208: Verifying Checksum [2024-09-09T18:34:45.324Z] 7629e6793208: Download complete [2024-09-09T18:34:45.324Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T18:34:45.324Z] 4f4fb700ef54: Download complete [2024-09-09T18:34:45.324Z] fb5054dd5b73: Download complete [2024-09-09T18:34:45.324Z] 619be1103602: Verifying Checksum [2024-09-09T18:34:45.324Z] 619be1103602: Download complete [2024-09-09T18:34:45.324Z] eeca6798cff9: Verifying Checksum [2024-09-09T18:34:45.324Z] eeca6798cff9: Download complete [2024-09-09T18:34:45.324Z] 619be1103602: Pull complete [2024-09-09T18:34:45.582Z] ada007ff1a6a: Verifying Checksum [2024-09-09T18:34:45.582Z] ada007ff1a6a: Download complete [2024-09-09T18:34:45.582Z] 7862e08f4a3e: Pull complete [2024-09-09T18:34:45.582Z] 5df492c9dc93: Download complete [2024-09-09T18:34:46.149Z] aa269ceb94a6: Verifying Checksum [2024-09-09T18:34:46.149Z] aa269ceb94a6: Download complete [2024-09-09T18:34:48.682Z] 5df492c9dc93: Pull complete [2024-09-09T18:34:48.682Z] 7629e6793208: Pull complete [2024-09-09T18:34:48.942Z] 4f4fb700ef54: Pull complete [2024-09-09T18:34:48.942Z] fb5054dd5b73: Pull complete [2024-09-09T18:34:48.942Z] eeca6798cff9: Pull complete [2024-09-09T18:34:51.473Z] aa269ceb94a6: Pull complete [2024-09-09T18:34:51.473Z] ada007ff1a6a: Pull complete [2024-09-09T18:34:51.473Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-09T18:34:51.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-09T18:34:51.473Z] ---> f489d0715acc [2024-09-09T18:34:51.473Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T18:34:56.764Z] ---> Running in 170312cb9dd1 [2024-09-09T18:34:56.764Z] Removing intermediate container 170312cb9dd1 [2024-09-09T18:34:56.764Z] ---> d428d4460fe0 [2024-09-09T18:34:56.764Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T18:34:56.764Z] ---> Running in aefdc0254170 [2024-09-09T18:34:56.764Z] Removing intermediate container aefdc0254170 [2024-09-09T18:34:56.764Z] ---> c4d833715d83 [2024-09-09T18:34:56.764Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T18:34:56.764Z] ---> Running in 2ffd3f1234fd [2024-09-09T18:34:56.764Z] Removing intermediate container 2ffd3f1234fd [2024-09-09T18:34:56.764Z] ---> 276fd94971a8 [2024-09-09T18:34:56.764Z] Step 6/12 : WORKDIR /device-uart [2024-09-09T18:34:57.023Z] ---> Running in ae35bfc30384 [2024-09-09T18:34:57.023Z] Removing intermediate container ae35bfc30384 [2024-09-09T18:34:57.023Z] ---> 26197e958249 [2024-09-09T18:34:57.023Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T18:34:57.023Z] ---> Running in c5b4b376ca87 [2024-09-09T18:34:57.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T18:34:57.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T18:34:57.801Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T18:34:57.801Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T18:34:57.801Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T18:34:57.801Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T18:34:57.801Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T18:34:57.801Z] OK: 268 MiB in 56 packages [2024-09-09T18:34:58.021Z] Still waiting to schedule task [2024-09-09T18:34:58.022Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-09T18:34:58.369Z] Removing intermediate container c5b4b376ca87 [2024-09-09T18:34:58.369Z] ---> ae66afd30a8e [2024-09-09T18:34:58.369Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-09T18:34:58.369Z] ---> 1d8f1b1a284a [2024-09-09T18:34:58.369Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T18:34:58.369Z] ---> Running in 89cc793897d4 [2024-09-09T18:36:06.083Z] Removing intermediate container 89cc793897d4 [2024-09-09T18:36:06.083Z] ---> 290429f1f366 [2024-09-09T18:36:06.083Z] Step 10/12 : COPY . . [2024-09-09T18:36:06.083Z] ---> 6dd1be6c120d [2024-09-09T18:36:06.083Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T18:36:06.083Z] ---> Running in 6bf0993b969b [2024-09-09T18:36:06.083Z] Removing intermediate container 6bf0993b969b [2024-09-09T18:36:06.083Z] ---> f498278bee65 [2024-09-09T18:36:06.083Z] Step 12/12 : RUN ${MAKE} [2024-09-09T18:36:06.083Z] ---> Running in ab2643b4b4b4 [2024-09-09T18:36:06.083Z] noop [2024-09-09T18:36:06.083Z] Removing intermediate container ab2643b4b4b4 [2024-09-09T18:36:06.083Z] ---> 3f33f1cc2baa [2024-09-09T18:36:06.083Z] Successfully built 3f33f1cc2baa [2024-09-09T18:36:06.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:36:06.578Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T18:36:06.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:36:06.744Z] prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container [2024-09-09T18:36:06.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@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-09-09T18:36:07.131Z] $ docker top 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T18:36:07.557Z] + go version [2024-09-09T18:36:07.557Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-09T18:36:07.592Z] $ docker stop --time=1 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 [2024-09-09T18:36:08.888Z] $ docker rm -f --volumes 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:36:09.679Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T18:36:09.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:36:09.851Z] prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container [2024-09-09T18:36:09.881Z] $ 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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@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-09-09T18:36:10.257Z] $ docker top 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T18:36:10.665Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-70 [Pipeline] fileExists [Pipeline] sh [2024-09-09T18:36:11.042Z] + make test [2024-09-09T18:36:11.042Z] go test ./... -coverprofile=coverage.out [2024-09-09T18:36:12.992Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-09-09T18:36:31.075Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-09-09T18:36:31.075Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-09-09T18:36:34.215Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9898 in /w/workspace/edgexfoundry_device-uart_PR-70 [Pipeline] { [Pipeline] ws [2024-09-09T18:36:34.296Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-09-09T18:36:37.434Z] The recommended git tool is: git [2024-09-09T18:36:41.051Z] go vet ./... [2024-09-09T18:36:44.998Z] using credential edgex-jenkins-ssh [2024-09-09T18:36:45.028Z] Cloning the remote Git repository [2024-09-09T18:36:45.071Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-09-09T18:36:45.176Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-09-09T18:36:45.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-09-09T18:36:45.357Z] > git --version # timeout=10 [2024-09-09T18:36:45.399Z] > git --version # 'git version 2.25.1' [2024-09-09T18:36:45.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T18:36:45.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T18:36:47.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T18:36:47.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T18:36:47.641Z] ./bin/test-attribution-txt.sh [2024-09-09T18:36:47.641Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.641Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T18:36:47.642Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T18:36:47.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T18:36:47.738Z] $ docker stop --time=1 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be [2024-09-09T18:36:47.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-09-09T18:36:47.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T18:36:49.612Z] $ docker rm -f --volumes 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be [2024-09-09T18:36:49.687Z] Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [2024-09-09T18:36:49.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-09-09T18:36:49.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-09-09T18:36:49.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T18:36:49.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-09T18:36:49.703Z] > git config core.sparsecheckout # timeout=10 [Pipeline] // withDockerContainer [2024-09-09T18:36:49.939Z] Merge succeeded, producing e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [2024-09-09T18:36:49.940Z] Checking out Revision e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 (PR-70) [Pipeline] sh [2024-09-09T18:36:50.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T18:36:50.329Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2024-09-09T18:36:50.455Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] // stage [2024-09-09T18:36:50.502Z] > git --version # timeout=10 [2024-09-09T18:36:50.520Z] > git --version # 'git version 2.25.1' [2024-09-09T18:36:50.533Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-09T18:36:51.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T18:36:49.769Z] > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 [2024-09-09T18:36:49.848Z] > git remote # timeout=10 [2024-09-09T18:36:49.865Z] > git config --get remote.origin.url # timeout=10 [2024-09-09T18:36:49.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T18:36:49.896Z] > git merge 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 [2024-09-09T18:36:49.920Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-09T18:36:49.943Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T18:36:49.955Z] > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 [2024-09-09T18:36:51.539Z] + ls -al . [2024-09-09T18:36:51.539Z] total 224 [2024-09-09T18:36:51.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 . [2024-09-09T18:36:51.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:34 .. [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:34 .dockerignore [2024-09-09T18:36:51.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 .git [2024-09-09T18:36:51.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 .github [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 9 18:34 .gitignore [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 18:34 .golangci.yml [2024-09-09T18:36:51.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 18:34 .semver [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 9 18:34 Attribution.txt [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 1908 Sep 9 18:34 CHANGELOG.md [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 1886 Sep 9 18:34 Dockerfile [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 18:34 GOVERNANCE.md [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 9 18:34 Jenkinsfile [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 18:34 LICENSE [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 9 18:34 Makefile [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 9 18:34 OWNERS.md [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 8892 Sep 9 18:34 README.md [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:34 VERSION [2024-09-09T18:36:51.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:34 bin [2024-09-09T18:36:51.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 cmd [2024-09-09T18:36:51.539Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 9 18:36 coverage.out [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 6965 Sep 9 18:34 go.mod [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 101894 Sep 9 18:34 go.sum [2024-09-09T18:36:51.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 internal [2024-09-09T18:36:51.539Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 9 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:36:51.967Z] + 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=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 --label arch=amd64 --label version=0.0.0 . [2024-09-09T18:36:51.967Z] Sending build context to Docker daemon 25.56MB [2024-09-09T18:36:51.967Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T18:36:51.967Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T18:36:51.967Z] ---> 3f33f1cc2baa [2024-09-09T18:36:51.967Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T18:36:52.234Z] ---> Running in 646e50e3e753 [2024-09-09T18:36:52.234Z] Removing intermediate container 646e50e3e753 [2024-09-09T18:36:52.234Z] ---> b4516dd946fa [2024-09-09T18:36:52.234Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T18:36:52.493Z] ---> Running in e4debb4d736d [2024-09-09T18:36:52.493Z] Removing intermediate container e4debb4d736d [2024-09-09T18:36:52.493Z] ---> e50d01911c2e [2024-09-09T18:36:52.493Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T18:36:52.493Z] ---> Running in af3b1fb91d1a [2024-09-09T18:36:52.493Z] Removing intermediate container af3b1fb91d1a [2024-09-09T18:36:52.493Z] ---> cf8aa8b6207c [2024-09-09T18:36:52.493Z] Step 6/26 : WORKDIR /device-uart [2024-09-09T18:36:52.493Z] ---> Running in faefd69f58a5 [2024-09-09T18:36:52.753Z] Removing intermediate container faefd69f58a5 [2024-09-09T18:36:52.753Z] ---> 76d65e616c14 [2024-09-09T18:36:52.753Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T18:36:52.753Z] ---> Running in 7b842334fbab [2024-09-09T18:36:53.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T18:36:53.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T18:36:53.531Z] OK: 268 MiB in 56 packages [2024-09-09T18:36:53.789Z] Removing intermediate container 7b842334fbab [2024-09-09T18:36:53.789Z] ---> b33d9f1d3820 [2024-09-09T18:36:53.789Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-09T18:36:53.789Z] ---> efebc9461c24 [2024-09-09T18:36:53.789Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T18:36:53.789Z] ---> Running in c9717acb6e6b [2024-09-09T18:36:54.730Z] Removing intermediate container c9717acb6e6b [2024-09-09T18:36:54.730Z] ---> b39370baadb8 [2024-09-09T18:36:54.730Z] Step 10/26 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T18:36:55.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-09T18:36:55.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T18:36:55.543Z] Dload Upload Total Spent Left Speed [2024-09-09T18:36:55.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 64787 0 --:--:-- --:--:-- --:--:-- 64787 [Pipeline] sh [2024-09-09T18:36:55.667Z] ---> ecc5114b6489 [2024-09-09T18:36:55.667Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T18:36:55.891Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-09-09T18:36:55.927Z] ---> Running in f638f8903e70 [2024-09-09T18:36:55.928Z] Removing intermediate container f638f8903e70 [2024-09-09T18:36:55.928Z] ---> 8f32531e5dcb [2024-09-09T18:36:55.928Z] Step 12/26 : RUN ${MAKE} [2024-09-09T18:36:55.928Z] ---> Running in b90e8a6bcf1e [Pipeline] sh [2024-09-09T18:36:56.186Z] 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.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-09-09T18:36:56.238Z] + sudo tee /etc/docker/daemon.new [2024-09-09T18:36:56.238Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-09T18:36:56.238Z] { [2024-09-09T18:36:56.238Z] "registry-mirrors": [ [2024-09-09T18:36:56.238Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-09T18:36:56.238Z] ], [2024-09-09T18:36:56.238Z] "bip": "10.250.0.254/24", [2024-09-09T18:36:56.238Z] "hosts": [ [2024-09-09T18:36:56.238Z] "tcp://0.0.0.0:5555", [2024-09-09T18:36:56.238Z] "unix:///var/run/docker.sock" [2024-09-09T18:36:56.238Z] ], [2024-09-09T18:36:56.238Z] "mtu": 1458, [2024-09-09T18:36:56.238Z] "selinux-enabled": true, [2024-09-09T18:36:56.238Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-09T18:36:56.238Z] } [Pipeline] sh [2024-09-09T18:36:56.591Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-09T18:36:56.944Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T18:37:15.294Z] provisioning config files... [2024-09-09T18:37:15.328Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config4131191744999758302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:37:15.854Z] ---> ****-login.sh [2024-09-09T18:37:15.854Z] nexus3.edgexfoundry.org:10001 [2024-09-09T18:37:16.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:37:16.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:37:16.400Z] Configure a credential helper to remove this warning. See [2024-09-09T18:37:16.400Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:37:16.400Z] [2024-09-09T18:37:16.400Z] Login Succeeded [2024-09-09T18:37:16.400Z] nexus3.edgexfoundry.org:10002 [2024-09-09T18:37:16.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:37:16.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:37:16.667Z] Configure a credential helper to remove this warning. See [2024-09-09T18:37:16.667Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:37:16.667Z] [2024-09-09T18:37:16.667Z] Login Succeeded [2024-09-09T18:37:16.667Z] nexus3.edgexfoundry.org:10003 [2024-09-09T18:37:16.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:37:17.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:37:17.209Z] Configure a credential helper to remove this warning. See [2024-09-09T18:37:17.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:37:17.209Z] [2024-09-09T18:37:17.209Z] Login Succeeded [2024-09-09T18:37:17.209Z] nexus3.edgexfoundry.org:10004 [2024-09-09T18:37:17.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:37:17.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:37:17.482Z] Configure a credential helper to remove this warning. See [2024-09-09T18:37:17.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:37:17.482Z] [2024-09-09T18:37:17.482Z] Login Succeeded [2024-09-09T18:37:17.482Z] ****.io [2024-09-09T18:37:17.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T18:37:18.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T18:37:18.023Z] Configure a credential helper to remove this warning. See [2024-09-09T18:37:18.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T18:37:18.023Z] [2024-09-09T18:37:18.023Z] Login Succeeded [2024-09-09T18:37:18.023Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T18:37:18.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T18:37:18.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T18:37:18.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T18:37:18.599Z] ========================================================= [2024-09-09T18:37:18.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-09T18:37:18.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:37:19.115Z] + 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-09-09T18:37:19.709Z] Sending build context to Docker daemon 12.85MB [2024-09-09T18:37:19.709Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T18:37:19.709Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T18:37:19.979Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-09T18:37:19.979Z] c6b39de5b339: Pulling fs layer [2024-09-09T18:37:19.979Z] a69c41024577: Pulling fs layer [2024-09-09T18:37:19.979Z] d6de4b400683: Pulling fs layer [2024-09-09T18:37:19.979Z] 35cb2a7552d0: Pulling fs layer [2024-09-09T18:37:19.979Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T18:37:19.979Z] 464afbd9ba4c: Pulling fs layer [2024-09-09T18:37:19.979Z] 00f215d4a9da: Pulling fs layer [2024-09-09T18:37:19.979Z] d496ad576159: Pulling fs layer [2024-09-09T18:37:19.979Z] 4f4fb700ef54: Waiting [2024-09-09T18:37:19.979Z] 464afbd9ba4c: Waiting [2024-09-09T18:37:19.979Z] 00f215d4a9da: Waiting [2024-09-09T18:37:19.979Z] d496ad576159: Waiting [2024-09-09T18:37:19.979Z] 35cb2a7552d0: Waiting [2024-09-09T18:37:19.979Z] a69c41024577: Download complete [2024-09-09T18:37:19.979Z] 35cb2a7552d0: Verifying Checksum [2024-09-09T18:37:19.979Z] 35cb2a7552d0: Download complete [2024-09-09T18:37:19.979Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T18:37:19.979Z] 4f4fb700ef54: Download complete [2024-09-09T18:37:19.979Z] 464afbd9ba4c: Verifying Checksum [2024-09-09T18:37:19.979Z] 464afbd9ba4c: Download complete [2024-09-09T18:37:19.979Z] c6b39de5b339: Verifying Checksum [2024-09-09T18:37:19.979Z] c6b39de5b339: Download complete [2024-09-09T18:37:20.573Z] d496ad576159: Verifying Checksum [2024-09-09T18:37:20.573Z] d496ad576159: Download complete [2024-09-09T18:37:20.907Z] c6b39de5b339: Pull complete [2024-09-09T18:37:21.504Z] a69c41024577: Pull complete [2024-09-09T18:37:22.090Z] d6de4b400683: Verifying Checksum [2024-09-09T18:37:22.090Z] d6de4b400683: Download complete [2024-09-09T18:37:23.053Z] 00f215d4a9da: Verifying Checksum [2024-09-09T18:37:23.053Z] 00f215d4a9da: Download complete [2024-09-09T18:37:35.372Z] d6de4b400683: Pull complete [2024-09-09T18:37:35.372Z] 35cb2a7552d0: Pull complete [2024-09-09T18:37:35.372Z] 4f4fb700ef54: Pull complete [2024-09-09T18:37:35.372Z] 464afbd9ba4c: Pull complete [2024-09-09T18:37:36.647Z] Removing intermediate container b90e8a6bcf1e [2024-09-09T18:37:36.647Z] ---> ee02b5f757f9 [2024-09-09T18:37:36.647Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T18:37:36.647Z] 3.18: Pulling from library/alpine [2024-09-09T18:37:36.647Z] 1cc3d825d8b2: Pulling fs layer [2024-09-09T18:37:36.647Z] 1cc3d825d8b2: Verifying Checksum [2024-09-09T18:37:36.647Z] 1cc3d825d8b2: Download complete [2024-09-09T18:37:36.647Z] 1cc3d825d8b2: Pull complete [2024-09-09T18:37:36.647Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T18:37:36.647Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T18:37:36.647Z] ---> 2c64cf60f6f0 [2024-09-09T18:37:36.647Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-09-09T18:37:36.647Z] ---> Running in cdf57703df20 [2024-09-09T18:37:36.647Z] Removing intermediate container cdf57703df20 [2024-09-09T18:37:36.647Z] ---> 91f27d00e913 [2024-09-09T18:37:36.647Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T18:37:36.647Z] ---> Running in 64a2e27793e5 [2024-09-09T18:37:36.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T18:37:36.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T18:37:36.647Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T18:37:36.647Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T18:37:36.647Z] OK: 7 MiB in 16 packages [2024-09-09T18:37:36.647Z] Removing intermediate container 64a2e27793e5 [2024-09-09T18:37:36.647Z] ---> 5c027a06e40d [2024-09-09T18:37:36.647Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-09T18:37:36.647Z] ---> Running in ad8016a08566 [2024-09-09T18:37:36.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T18:37:36.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T18:37:36.647Z] OK: 7 MiB in 16 packages [2024-09-09T18:37:36.647Z] Removing intermediate container ad8016a08566 [2024-09-09T18:37:36.647Z] ---> c57a266be4ba [2024-09-09T18:37:36.647Z] Step 17/26 : WORKDIR / [2024-09-09T18:37:36.647Z] ---> Running in 38e43140de32 [2024-09-09T18:37:36.647Z] Removing intermediate container 38e43140de32 [2024-09-09T18:37:36.647Z] ---> 79a4ee221911 [2024-09-09T18:37:36.647Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-09-09T18:37:36.647Z] ---> 8e050b140cc4 [2024-09-09T18:37:36.647Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-09-09T18:37:36.647Z] ---> 7cc7f6d51750 [2024-09-09T18:37:36.647Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-09-09T18:37:36.647Z] ---> e7e83e3deb78 [2024-09-09T18:37:36.647Z] Step 21/26 : EXPOSE 59995 [2024-09-09T18:37:36.647Z] ---> Running in c421711c92d5 [2024-09-09T18:37:36.647Z] Removing intermediate container c421711c92d5 [2024-09-09T18:37:36.647Z] ---> e7f8c2a532df [2024-09-09T18:37:36.647Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-09-09T18:37:36.647Z] ---> Running in 48a987ec8da9 [2024-09-09T18:37:36.647Z] Removing intermediate container 48a987ec8da9 [2024-09-09T18:37:36.647Z] ---> c8c1de617ef8 [2024-09-09T18:37:36.647Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-09T18:37:36.647Z] ---> Running in c3199f556fd7 [2024-09-09T18:37:36.647Z] Removing intermediate container c3199f556fd7 [2024-09-09T18:37:36.647Z] ---> ac041fbda6e9 [2024-09-09T18:37:36.647Z] Step 24/26 : LABEL arch=amd64 [2024-09-09T18:37:36.647Z] ---> Running in 3810bdd7e57c [2024-09-09T18:37:36.647Z] Removing intermediate container 3810bdd7e57c [2024-09-09T18:37:36.647Z] ---> 03df11a33385 [2024-09-09T18:37:36.647Z] Step 25/26 : LABEL git_sha=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [2024-09-09T18:37:36.647Z] ---> Running in 3ed88b7c49c8 [2024-09-09T18:37:36.647Z] Removing intermediate container 3ed88b7c49c8 [2024-09-09T18:37:36.647Z] ---> d3935185f75f [2024-09-09T18:37:36.647Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T18:37:36.647Z] ---> Running in bdd8c2139d54 [2024-09-09T18:37:36.906Z] Removing intermediate container bdd8c2139d54 [2024-09-09T18:37:36.907Z] ---> 38b7b7d09970 [2024-09-09T18:37:36.907Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T18:37:36.907Z] Successfully built 38b7b7d09970 [2024-09-09T18:37:36.907Z] 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-09-09T18:37:37.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T18:37:37.929Z] [2024-09-09T18:37:37.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:37:38.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T18:37:38.334Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-09T18:37:38.334Z] 5eb5b503b376: Pulling fs layer [2024-09-09T18:37:38.334Z] 5c69ac0246d0: Pulling fs layer [2024-09-09T18:37:38.334Z] ec43610c2a17: Pulling fs layer [2024-09-09T18:37:38.334Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-09T18:37:38.334Z] 33b1e0a273af: Pulling fs layer [2024-09-09T18:37:38.334Z] 5d3b04190fa2: Pulling fs layer [2024-09-09T18:37:38.334Z] 2f39f015ded8: Pulling fs layer [2024-09-09T18:37:38.334Z] 33b1e0a273af: Waiting [2024-09-09T18:37:38.334Z] 5d3b04190fa2: Waiting [2024-09-09T18:37:38.334Z] 2f39f015ded8: Waiting [2024-09-09T18:37:38.334Z] 3a2ae6a8a46f: Waiting [2024-09-09T18:37:38.334Z] 5c69ac0246d0: Download complete [2024-09-09T18:37:38.334Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-09T18:37:38.334Z] 3a2ae6a8a46f: Download complete [2024-09-09T18:37:38.334Z] 33b1e0a273af: Verifying Checksum [2024-09-09T18:37:38.334Z] 33b1e0a273af: Download complete [2024-09-09T18:37:38.334Z] ec43610c2a17: Verifying Checksum [2024-09-09T18:37:38.334Z] ec43610c2a17: Download complete [2024-09-09T18:37:38.334Z] 5d3b04190fa2: Verifying Checksum [2024-09-09T18:37:38.334Z] 5d3b04190fa2: Download complete [2024-09-09T18:37:38.593Z] 5eb5b503b376: Verifying Checksum [2024-09-09T18:37:38.593Z] 5eb5b503b376: Download complete [2024-09-09T18:37:39.164Z] 2f39f015ded8: Download complete [2024-09-09T18:37:39.733Z] 5eb5b503b376: Pull complete [2024-09-09T18:37:39.993Z] 5c69ac0246d0: Pull complete [2024-09-09T18:37:40.251Z] ec43610c2a17: Pull complete [2024-09-09T18:37:40.509Z] 3a2ae6a8a46f: Pull complete [2024-09-09T18:37:40.768Z] 33b1e0a273af: Pull complete [2024-09-09T18:37:40.768Z] 5d3b04190fa2: Pull complete [2024-09-09T18:37:44.957Z] 2f39f015ded8: Pull complete [2024-09-09T18:37:44.957Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-09T18:37:44.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T18:37:44.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:37:45.239Z] prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container [2024-09-09T18:37:45.269Z] $ 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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@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-09-09T18:37:45.454Z] 00f215d4a9da: Pull complete [2024-09-09T18:37:45.454Z] d496ad576159: Pull complete [2024-09-09T18:37:45.454Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-09T18:37:45.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-09T18:37:45.454Z] ---> f246e2811388 [2024-09-09T18:37:45.454Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T18:37:46.867Z] ---> Running in d5ba4d060053 [2024-09-09T18:37:46.867Z] Removing intermediate container d5ba4d060053 [2024-09-09T18:37:46.867Z] ---> 242c215cea8b [2024-09-09T18:37:46.867Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T18:37:47.135Z] ---> Running in 6257fe9c2416 [2024-09-09T18:37:47.401Z] Removing intermediate container 6257fe9c2416 [2024-09-09T18:37:47.401Z] ---> bade580a593a [2024-09-09T18:37:47.401Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T18:37:47.401Z] ---> Running in 3acfcd82d7ce [2024-09-09T18:37:47.666Z] Removing intermediate container 3acfcd82d7ce [2024-09-09T18:37:47.666Z] ---> 0116a678909e [2024-09-09T18:37:47.666Z] Step 6/12 : WORKDIR /device-uart [2024-09-09T18:37:47.666Z] ---> Running in c0c344bfe997 [2024-09-09T18:37:47.938Z] Removing intermediate container c0c344bfe997 [2024-09-09T18:37:47.938Z] ---> 70f74558e75d [2024-09-09T18:37:47.938Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T18:37:48.217Z] ---> Running in 085938ea7542 [2024-09-09T18:37:49.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T18:37:49.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T18:37:50.633Z] $ docker top 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc -eo pid,comm [Pipeline] { [2024-09-09T18:37:50.741Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T18:37:50.741Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T18:37:50.741Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T18:37:50.741Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T18:37:50.741Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T18:37:50.741Z] OK: 271 MiB in 56 packages [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:37:51.320Z] ---> job-cost.sh [2024-09-09T18:37:51.320Z] lf-activate-venv: SKIPPING [2024-09-09T18:37:51.320Z] INFO: No Stack... [2024-09-09T18:37:51.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T18:37:52.146Z] Removing intermediate container 085938ea7542 [2024-09-09T18:37:52.146Z] ---> 447467bd6590 [2024-09-09T18:37:52.146Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-09T18:37:52.150Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T18:37:52.500Z] + cat /w/workspace/edgexfoundry_device-uart_PR-70/archives/cost.csv [2024-09-09T18:37:52.500Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T18:37:52.552Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [2024-09-09T18:37:52.558Z] Resource [jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] did not exist. Created. [2024-09-09T18:37:52.565Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T18:37:52.731Z] ---> 2b41832c3935 [2024-09-09T18:37:52.731Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T18:37:52.731Z] ---> Running in cbcb6a1af05c [2024-09-09T18:37:52.987Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-09T18:37:53.066Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T18:37:53.105Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T18:37:53.195Z] $ docker stop --time=1 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc [2024-09-09T18:37:54.347Z] $ docker rm -f --volumes 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-09T18:39:44.378Z] Removing intermediate container cbcb6a1af05c [2024-09-09T18:39:44.378Z] ---> 608a4a171855 [2024-09-09T18:39:44.378Z] Step 10/12 : COPY . . [2024-09-09T18:39:44.378Z] ---> a62ae1361132 [2024-09-09T18:39:44.378Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T18:39:44.378Z] ---> Running in 43f1d5e51c2d [2024-09-09T18:39:44.378Z] Removing intermediate container 43f1d5e51c2d [2024-09-09T18:39:44.378Z] ---> a67a3812b751 [2024-09-09T18:39:44.378Z] Step 12/12 : RUN ${MAKE} [2024-09-09T18:39:44.378Z] ---> Running in d46938b62b8c [2024-09-09T18:39:44.378Z] noop [2024-09-09T18:39:44.378Z] Removing intermediate container d46938b62b8c [2024-09-09T18:39:44.378Z] ---> 241318b45d03 [2024-09-09T18:39:44.378Z] Successfully built 241318b45d03 [2024-09-09T18:39:44.378Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:39:44.882Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T18:39:44.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:39:45.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container [2024-09-09T18:39:45.246Z] $ 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-09-09T18:39:46.468Z] $ docker top 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T18:39:47.363Z] + go version [2024-09-09T18:39:47.363Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-09T18:39:47.399Z] $ docker stop --time=1 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a [2024-09-09T18:39:49.050Z] $ docker rm -f --volumes 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:39:49.993Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T18:39:49.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:39:50.264Z] prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container [2024-09-09T18:39:50.320Z] $ 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-09-09T18:39:51.472Z] $ docker top 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T18:39:52.371Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-09-09T18:39:53.084Z] + make test [2024-09-09T18:39:53.084Z] go test ./... -coverprofile=coverage.out [2024-09-09T18:39:58.447Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-09-09T18:43:05.694Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-09-09T18:43:05.694Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-09-09T18:43:05.694Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-09T18:43:05.694Z] go vet ./... [2024-09-09T18:43:44.781Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T18:43:45.049Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T18:43:45.049Z] ./bin/test-attribution-txt.sh [2024-09-09T18:43:45.049Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T18:43:45.049Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.316Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T18:43:45.580Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T18:43:45.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T18:43:45.670Z] $ docker stop --time=1 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 [2024-09-09T18:43:47.635Z] $ docker rm -f --volumes 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T18:43:49.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T18:43:49.215Z] Warning: overwriting stash ‘coverage-report’ [2024-09-09T18:43:49.628Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T18:43:50.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T18:43:50.664Z] + ls -al . [2024-09-09T18:43:50.664Z] total 220 [2024-09-09T18:43:50.664Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 9 18:39 . [2024-09-09T18:43:50.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:36 .. [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:36 .dockerignore [2024-09-09T18:43:50.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 .git [2024-09-09T18:43:50.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 .github [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 9 18:36 .gitignore [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 18:36 .golangci.yml [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 9 18:36 Attribution.txt [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 1908 Sep 9 18:36 CHANGELOG.md [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 1886 Sep 9 18:36 Dockerfile [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 18:36 GOVERNANCE.md [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 9 18:36 Jenkinsfile [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 18:36 LICENSE [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 9 18:36 Makefile [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 9 18:36 OWNERS.md [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 8892 Sep 9 18:36 README.md [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:34 VERSION [2024-09-09T18:43:50.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:36 bin [2024-09-09T18:43:50.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 cmd [2024-09-09T18:43:50.664Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 9 18:39 coverage.out [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 6965 Sep 9 18:36 go.mod [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 101894 Sep 9 18:36 go.sum [2024-09-09T18:43:50.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 internal [2024-09-09T18:43:50.664Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 9 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:43:51.115Z] + 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=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 --label arch=arm64 --label version=0.0.0 . [2024-09-09T18:43:51.382Z] Sending build context to Docker daemon 12.85MB [2024-09-09T18:43:51.653Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T18:43:51.653Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T18:43:51.653Z] ---> 241318b45d03 [2024-09-09T18:43:51.653Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T18:43:51.653Z] ---> Running in a67a948585dc [2024-09-09T18:43:51.923Z] Removing intermediate container a67a948585dc [2024-09-09T18:43:51.923Z] ---> e8cd08332e0d [2024-09-09T18:43:51.923Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T18:43:51.923Z] ---> Running in 19e137b614c6 [2024-09-09T18:43:52.196Z] Removing intermediate container 19e137b614c6 [2024-09-09T18:43:52.196Z] ---> 956b673ce482 [2024-09-09T18:43:52.196Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T18:43:52.462Z] ---> Running in 6f6dc17df7a5 [2024-09-09T18:43:52.729Z] Removing intermediate container 6f6dc17df7a5 [2024-09-09T18:43:52.729Z] ---> 34518a62fd04 [2024-09-09T18:43:52.729Z] Step 6/26 : WORKDIR /device-uart [2024-09-09T18:43:52.729Z] ---> Running in a4d639598694 [2024-09-09T18:43:53.004Z] Removing intermediate container a4d639598694 [2024-09-09T18:43:53.004Z] ---> 097e9e10bc7d [2024-09-09T18:43:53.004Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T18:43:53.004Z] ---> Running in 0379d5a908bd [2024-09-09T18:43:53.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T18:43:54.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T18:43:55.518Z] OK: 271 MiB in 56 packages [2024-09-09T18:43:56.480Z] Removing intermediate container 0379d5a908bd [2024-09-09T18:43:56.480Z] ---> d72559c2ad1f [2024-09-09T18:43:56.480Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-09T18:43:56.754Z] ---> e845c53b9b56 [2024-09-09T18:43:56.754Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T18:43:56.754Z] ---> Running in 077ec9264c71 [2024-09-09T18:43:59.340Z] Removing intermediate container 077ec9264c71 [2024-09-09T18:43:59.340Z] ---> 291d558579a0 [2024-09-09T18:43:59.340Z] Step 10/26 : COPY . . [2024-09-09T18:43:59.926Z] ---> ddb69ee1f611 [2024-09-09T18:43:59.926Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T18:44:00.193Z] ---> Running in 8f519dca6aab [2024-09-09T18:44:00.468Z] Removing intermediate container 8f519dca6aab [2024-09-09T18:44:00.468Z] ---> 1ad17538c823 [2024-09-09T18:44:00.468Z] Step 12/26 : RUN ${MAKE} [2024-09-09T18:44:00.468Z] ---> Running in 1c101970b148 [2024-09-09T18:44:01.422Z] 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.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-09-09T18:47:23.184Z] Removing intermediate container 1c101970b148 [2024-09-09T18:47:23.184Z] ---> 3c6518b86b39 [2024-09-09T18:47:23.184Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T18:47:23.184Z] 3.18: Pulling from library/alpine [2024-09-09T18:47:23.184Z] 720f3032cd11: Pulling fs layer [2024-09-09T18:47:23.184Z] 720f3032cd11: Verifying Checksum [2024-09-09T18:47:23.184Z] 720f3032cd11: Download complete [2024-09-09T18:47:23.184Z] 720f3032cd11: Pull complete [2024-09-09T18:47:23.184Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T18:47:23.184Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T18:47:23.184Z] ---> 3e834921e367 [2024-09-09T18:47:23.184Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-09-09T18:47:23.184Z] ---> Running in 982f6dce97e2 [2024-09-09T18:47:23.184Z] Removing intermediate container 982f6dce97e2 [2024-09-09T18:47:23.184Z] ---> afc30468594e [2024-09-09T18:47:23.184Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T18:47:23.184Z] ---> Running in 22a752dfa0e0 [2024-09-09T18:47:23.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T18:47:23.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T18:47:24.152Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T18:47:24.152Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T18:47:24.152Z] OK: 8 MiB in 16 packages [2024-09-09T18:47:25.119Z] Removing intermediate container 22a752dfa0e0 [2024-09-09T18:47:25.119Z] ---> 83f62ded9e2d [2024-09-09T18:47:25.119Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-09T18:47:25.119Z] ---> Running in af59c392ce4f [2024-09-09T18:47:26.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T18:47:26.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T18:47:27.289Z] OK: 8 MiB in 16 packages [2024-09-09T18:47:27.872Z] Removing intermediate container af59c392ce4f [2024-09-09T18:47:27.872Z] ---> ed5ffde34477 [2024-09-09T18:47:27.872Z] Step 17/26 : WORKDIR / [2024-09-09T18:47:27.872Z] ---> Running in 13bee0b95bbc [2024-09-09T18:47:28.455Z] Removing intermediate container 13bee0b95bbc [2024-09-09T18:47:28.455Z] ---> c1ea6c731831 [2024-09-09T18:47:28.455Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-09-09T18:47:28.720Z] ---> f9e0157028e6 [2024-09-09T18:47:28.720Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-09-09T18:47:29.299Z] ---> de8bdebc7c6f [2024-09-09T18:47:29.299Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-09-09T18:47:31.875Z] ---> 666d03627e36 [2024-09-09T18:47:31.875Z] Step 21/26 : EXPOSE 59995 [2024-09-09T18:47:31.875Z] ---> Running in 9d44ccfc0346 [2024-09-09T18:47:31.875Z] Removing intermediate container 9d44ccfc0346 [2024-09-09T18:47:31.875Z] ---> b6dfe57bb9e1 [2024-09-09T18:47:31.875Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-09-09T18:47:31.875Z] ---> Running in 62d9aadce9f6 [2024-09-09T18:47:32.142Z] Removing intermediate container 62d9aadce9f6 [2024-09-09T18:47:32.142Z] ---> 27fbbdcb7e4b [2024-09-09T18:47:32.142Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-09T18:47:32.142Z] ---> Running in 2910a0a664f6 [2024-09-09T18:47:32.419Z] Removing intermediate container 2910a0a664f6 [2024-09-09T18:47:32.419Z] ---> 148648bbc181 [2024-09-09T18:47:32.419Z] Step 24/26 : LABEL arch=arm64 [2024-09-09T18:47:32.683Z] ---> Running in 70d291a5b6c5 [2024-09-09T18:47:32.947Z] Removing intermediate container 70d291a5b6c5 [2024-09-09T18:47:32.947Z] ---> edbeb21c8780 [2024-09-09T18:47:32.947Z] Step 25/26 : LABEL git_sha=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [2024-09-09T18:47:32.947Z] ---> Running in de6c0b20a490 [2024-09-09T18:47:33.211Z] Removing intermediate container de6c0b20a490 [2024-09-09T18:47:33.211Z] ---> da30b01e2bbf [2024-09-09T18:47:33.211Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T18:47:33.211Z] ---> Running in 06553699f97f [2024-09-09T18:47:33.475Z] Removing intermediate container 06553699f97f [2024-09-09T18:47:33.475Z] ---> da7ef4e46059 [2024-09-09T18:47:33.475Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T18:47:33.475Z] Successfully built da7ef4e46059 [2024-09-09T18:47:33.475Z] 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-09-09T18:47:34.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T18:47:34.501Z] [2024-09-09T18:47:34.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:47:34.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T18:47:34.903Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-09T18:47:34.903Z] 8998bd30e6a1: Pulling fs layer [2024-09-09T18:47:34.903Z] 04944245beec: Pulling fs layer [2024-09-09T18:47:34.903Z] 699f458cf7ca: Pulling fs layer [2024-09-09T18:47:34.903Z] 765212b225bb: Pulling fs layer [2024-09-09T18:47:34.903Z] f23df028b6ca: Pulling fs layer [2024-09-09T18:47:34.903Z] d65c8cfc05b1: Pulling fs layer [2024-09-09T18:47:34.903Z] 2437ff75d9bd: Pulling fs layer [2024-09-09T18:47:34.903Z] 765212b225bb: Waiting [2024-09-09T18:47:34.903Z] f23df028b6ca: Waiting [2024-09-09T18:47:34.903Z] d65c8cfc05b1: Waiting [2024-09-09T18:47:34.903Z] 2437ff75d9bd: Waiting [2024-09-09T18:47:35.169Z] 04944245beec: Verifying Checksum [2024-09-09T18:47:35.169Z] 04944245beec: Download complete [2024-09-09T18:47:35.169Z] 765212b225bb: Verifying Checksum [2024-09-09T18:47:35.169Z] 765212b225bb: Download complete [2024-09-09T18:47:35.169Z] f23df028b6ca: Verifying Checksum [2024-09-09T18:47:35.169Z] f23df028b6ca: Download complete [2024-09-09T18:47:35.169Z] d65c8cfc05b1: Verifying Checksum [2024-09-09T18:47:35.169Z] d65c8cfc05b1: Download complete [2024-09-09T18:47:35.169Z] 699f458cf7ca: Verifying Checksum [2024-09-09T18:47:35.169Z] 699f458cf7ca: Download complete [2024-09-09T18:47:35.750Z] 8998bd30e6a1: Verifying Checksum [2024-09-09T18:47:35.750Z] 8998bd30e6a1: Download complete [2024-09-09T18:47:38.335Z] 2437ff75d9bd: Verifying Checksum [2024-09-09T18:47:38.335Z] 2437ff75d9bd: Download complete [2024-09-09T18:47:40.280Z] 8998bd30e6a1: Pull complete [2024-09-09T18:47:40.863Z] 04944245beec: Pull complete [2024-09-09T18:47:42.273Z] 699f458cf7ca: Pull complete [2024-09-09T18:47:42.539Z] 765212b225bb: Pull complete [2024-09-09T18:47:43.499Z] f23df028b6ca: Pull complete [2024-09-09T18:47:43.767Z] d65c8cfc05b1: Pull complete [2024-09-09T18:48:01.970Z] 2437ff75d9bd: Pull complete [2024-09-09T18:48:01.970Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-09T18:48:01.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T18:48:01.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:48:02.351Z] prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container [2024-09-09T18:48:02.409Z] $ 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-09-09T18:48:04.997Z] $ docker top ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:05.605Z] ---> job-cost.sh [2024-09-09T18:48:05.870Z] lf-activate-venv: SKIPPING [2024-09-09T18:48:05.870Z] INFO: No Stack... [2024-09-09T18:48:06.135Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-09T18:48:07.090Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T18:48:07.446Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-09-09T18:48:07.446Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T18:48:07.498Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [2024-09-09T18:48:07.503Z] Resource [jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] did not exist. Created. [2024-09-09T18:48:07.511Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T18:48:07.947Z] /w/workspace/device-uart/1@tmp/durable-3ab9a05d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-09T18:48:08.867Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-09T18:48:08.911Z] Warning: overwriting stash ‘stack-cost’ [2024-09-09T18:48:08.953Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T18:48:08.973Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T18:48:09.068Z] $ docker stop --time=1 ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 [2024-09-09T18:48:10.522Z] $ docker rm -f --volumes ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 [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-09-09T18:48:11.733Z] provisioning config files... [2024-09-09T18:48:11.741Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config9317918725316545053tmp [Pipeline] { [Pipeline] sh [2024-09-09T18:48:12.109Z] + set +x [2024-09-09T18:48:12.109Z] + bash -s -- [2024-09-09T18:48:12.109Z] + curl -s https://codecov.io/bash [2024-09-09T18:48:12.109Z] [2024-09-09T18:48:12.109Z] _____ _ [2024-09-09T18:48:12.109Z] / ____| | | [2024-09-09T18:48:12.109Z] | | ___ __| | ___ ___ _____ __ [2024-09-09T18:48:12.109Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-09T18:48:12.109Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-09T18:48:12.109Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-09T18:48:12.109Z] Bash-1.0.6 [2024-09-09T18:48:12.109Z] [2024-09-09T18:48:12.109Z] [2024-09-09T18:48:12.109Z] ==> git version 2.25.1 found [2024-09-09T18:48:12.109Z] ==> 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-09-09T18:48:12.109Z] Release-Date: 2020-01-08 [2024-09-09T18:48:12.109Z] 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-09-09T18:48:12.109Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-09T18:48:12.109Z] ==> Jenkins CI detected. [2024-09-09T18:48:12.109Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-70 [2024-09-09T18:48:12.109Z] project root: . [2024-09-09T18:48:12.109Z] --> token set from env [2024-09-09T18:48:12.109Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-09T18:48:12.109Z] ==> Running gcov in . (disable via -X gcov) [2024-09-09T18:48:12.109Z] ==> Python coveragepy not found [2024-09-09T18:48:12.109Z] ==> Searching for coverage reports in: [2024-09-09T18:48:12.109Z] + . [2024-09-09T18:48:12.109Z] -> Found 1 reports [2024-09-09T18:48:12.109Z] ==> Detecting git/mercurial file structure [2024-09-09T18:48:12.375Z] ==> Reading reports [2024-09-09T18:48:12.375Z] + ./coverage.out bytes=10 [2024-09-09T18:48:12.375Z] ==> Appending adjustments [2024-09-09T18:48:12.375Z] https://docs.codecov.io/docs/fixing-reports [2024-09-09T18:48:12.375Z] + Found adjustments [2024-09-09T18:48:12.375Z] ==> Gzipping contents [2024-09-09T18:48:12.375Z] 4.0K /tmp/codecov.cG1VJz.gz [2024-09-09T18:48:12.375Z] ==> Uploading reports [2024-09-09T18:48:12.375Z] url: https://codecov.io [2024-09-09T18:48:12.375Z] query: branch=PR-70&commit=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=70&job=&cmd_args= [2024-09-09T18:48:12.375Z] -> Pinging Codecov [2024-09-09T18:48:12.375Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-70&commit=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=70&job=&cmd_args= [2024-09-09T18:48:12.636Z] -> Uploading to [2024-09-09T18:48:12.636Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-09/B9AA6E0BBD74AE3A32605C7A7C664919/e1d8748bce09ac1a669cda172187fe9bbf4c2fc6/68734c57-74c2-4216-8041-bacf7ef3335e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T184812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f417f5a5f36b3f09cf8ddda199395ffb17145ceb86a1fa7e0a67645c51ec25b [2024-09-09T18:48:12.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T18:48:12.636Z] Dload Upload Total Spent Left Speed [2024-09-09T18:48:12.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2412 --:--:-- --:--:-- --:--:-- 2412 [2024-09-09T18:48:12.897Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] } [2024-09-09T18:48:12.929Z] 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-09-09T18:48:15.291Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-70/archives ] [2024-09-09T18:48:15.291Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-70/archives [2024-09-09T18:48:15.291Z] total 16 [2024-09-09T18:48:15.291Z] drwxr-xr-x 3 root root 4096 Sep 9 18:37 . [2024-09-09T18:48:15.291Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 18:37 .. [2024-09-09T18:48:15.291Z] drwxr-xr-x 2 root root 4096 Sep 9 18:37 cost [2024-09-09T18:48:15.291Z] -rw-r--r-- 1 root root 82 Sep 9 18:37 cost.csv [2024-09-09T18:48:15.291Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-70/archives [2024-09-09T18:48:15.291Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-70/archives [2024-09-09T18:48:15.291Z] total 16 [2024-09-09T18:48:15.291Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 18:37 . [2024-09-09T18:48:15.291Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 18:37 .. [2024-09-09T18:48:15.292Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 18:37 cost [2024-09-09T18:48:15.292Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 9 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:15.637Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:16.544Z] ---> package-listing.sh [2024-09-09T18:48:16.544Z] ++ facter osfamily [2024-09-09T18:48:16.544Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-09T18:48:16.804Z] + OS_FAMILY=debian [2024-09-09T18:48:16.804Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-70 [2024-09-09T18:48:16.804Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-09T18:48:16.804Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-09T18:48:16.804Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-09T18:48:16.804Z] + PACKAGES=/tmp/packages_start.txt [2024-09-09T18:48:16.804Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-70 ']' [2024-09-09T18:48:16.804Z] + PACKAGES=/tmp/packages_end.txt [2024-09-09T18:48:16.804Z] + case "${OS_FAMILY}" in [2024-09-09T18:48:16.804Z] + grep '^ii' [2024-09-09T18:48:16.804Z] + dpkg -l [2024-09-09T18:48:16.804Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-09T18:48:16.804Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-09T18:48:16.804Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-09T18:48:16.804Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-70 ']' [2024-09-09T18:48:16.804Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-70/archives/ [2024-09-09T18:48:16.804Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-70/archives/ [Pipeline] echo [2024-09-09T18:48:16.850Z] 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-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-09T18:48:17.151Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T18:48:17.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T18:48:17.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T18:48:17.985Z] prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container [2024-09-09T18:48:18.009Z] $ 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-70/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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@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-09-09T18:48:18.182Z] $ docker top a4a1b25e4c2e036ca295906c60727bd11692134a0f3e881c4fb8b30fd1b1a404 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T18:48:18.604Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-09T18:48:18.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-09T18:48:19.252Z] + ls /var/log/sa-host [2024-09-09T18:48:19.252Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T18:48:19.482Z] provisioning config files... [2024-09-09T18:48:19.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config5866195735666104087tmp [Pipeline] { [Pipeline] echo [2024-09-09T18:48:19.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:19.890Z] ---> create-netrc.sh [Pipeline] } [2024-09-09T18:48:19.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:20.355Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-09T18:48:20.395Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:20.722Z] ---> sudo-logs.sh [2024-09-09T18:48:20.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-09T18:48:20.833Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:21.155Z] ---> job-cost.sh [2024-09-09T18:48:21.155Z] lf-activate-venv: SKIPPING [2024-09-09T18:48:21.155Z] DEBUG: total: 0.2199999988079071 [2024-09-09T18:48:21.155Z] INFO: Retrieving Stack Cost... [2024-09-09T18:48:21.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T18:48:21.986Z] INFO: Archiving Costs [Pipeline] echo [2024-09-09T18:48:22.032Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T18:48:22.355Z] ---> logs-deploy.sh [2024-09-09T18:48:22.355Z] lf-activate-venv: SKIPPING [2024-09-09T18:48:22.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-70/1 [2024-09-09T18:48:22.355Z] INFO: archiving workspace using pattern(s): [2024-09-09T18:48:23.294Z] Archives upload complete. [2024-09-09T18:48:23.294Z] INFO: archiving logs to Nexus