Pull request #71 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f68d698c6dc1e64f39f51421a06dd7d78c3df028+23327eef742656f25952fb3dd9c4e82b8abf1118 (3432c8f4e790739d4b0715028a18c6acf7de4922) 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-ssh11338582518914907334.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4425743631375079156.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2601768666026109412.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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6244841012291954708.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh14896483489317026299.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16950290772790271428.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-12485 in /w/workspace/edgexfoundry_device-uart_PR-71 [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-71 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit f68d698c6dc1e64f39f51421a06dd7d78c3df028 Merge succeeded, producing f68d698c6dc1e64f39f51421a06dd7d78c3df028 Checking out Revision f68d698c6dc1e64f39f51421a06dd7d78c3df028 (PR-71) 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f f68d698c6dc1e64f39f51421a06dd7d78c3df028 # 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 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f68d698c6dc1e64f39f51421a06dd7d78c3df028 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-01T18:40:26.598Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-01T18:40:26.823Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-01T18:40:26.948Z] ========================================================= [2024-10-01T18:40:26.948Z] EdgeX Global Pipelines Version Info [2024-10-01T18:40:26.948Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:40:27.736Z] ------------------- [2024-10-01T18:40:27.737Z] stable info: [2024-10-01T18:40:27.737Z] ------------------- [2024-10-01T18:40:27.737Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T18:40:27.737Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T18:40:27.737Z] Message: update stable to v1.0.264 [2024-10-01T18:40:28.308Z] ------------------- [2024-10-01T18:40:28.308Z] experimental info: [2024-10-01T18:40:28.308Z] ------------------- [2024-10-01T18:40:28.308Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T18:40:28.308Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T18:40:28.308Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-01T18:40:28.554Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-01T18:40:28.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-01T18:40:28.676Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-01T18:40:28.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-01T18:40:28.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-01T18:40:28.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-01T18:40:28.901Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-01T18:40:28.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-01T18:40:29.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-01T18:40:29.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-01T18:40:29.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-01T18:40:29.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-01T18:40:29.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-01T18:40:29.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-01T18:40:29.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T18:40:29.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T18:40:29.477Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T18:40:29.532Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T18:40:29.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-01T18:40:29.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-01T18:40:29.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-01T18:40:29.793Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-01T18:40:29.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-01T18:40:29.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-01T18:40:29.968Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-01T18:40:30.029Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-01T18:40:30.090Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-01T18:40:30.160Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo [2024-10-01T18:40:30.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo [2024-10-01T18:40:30.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo [2024-10-01T18:40:30.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f68d698c6dc1e64f39f51421a06dd7d78c3df028 [Pipeline] echo [2024-10-01T18:40:30.416Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f68d698 [Pipeline] echo [2024-10-01T18:40:30.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:40:30.650Z] provisioning config files... [2024-10-01T18:40:30.662Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-71@tmp/config828959651863749987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:40:31.062Z] ---> ****-login.sh [2024-10-01T18:40:31.062Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:40:31.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:31.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:31.323Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:31.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:31.323Z] [2024-10-01T18:40:31.323Z] Login Succeeded [2024-10-01T18:40:31.323Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:40:31.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:31.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:31.584Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:31.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:31.584Z] [2024-10-01T18:40:31.584Z] Login Succeeded [2024-10-01T18:40:31.584Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:40:31.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:31.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:31.584Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:31.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:31.584Z] [2024-10-01T18:40:31.584Z] Login Succeeded [2024-10-01T18:40:31.584Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:40:31.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:31.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:31.584Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:31.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:31.584Z] [2024-10-01T18:40:31.584Z] Login Succeeded [2024-10-01T18:40:31.584Z] ****.io [2024-10-01T18:40:31.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:32.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:32.109Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:32.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:32.109Z] [2024-10-01T18:40:32.109Z] Login Succeeded [2024-10-01T18:40:32.109Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:40:32.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-01T18:40:32.920Z] + git rev-list -1 --merges f68d698c6dc1e64f39f51421a06dd7d78c3df028~1..f68d698c6dc1e64f39f51421a06dd7d78c3df028 [Pipeline] echo [2024-10-01T18:40:32.969Z] -----------> git rev-list -1 --merges f68d698c6dc1e64f39f51421a06dd7d78c3df028~1..f68d698c6dc1e64f39f51421a06dd7d78c3df028 f68d698c6dc1e64f39f51421a06dd7d78c3df028 [false] [Pipeline] sh [2024-10-01T18:40:33.294Z] + git log --format=format:%s -1 f68d698c6dc1e64f39f51421a06dd7d78c3df028 [Pipeline] echo [2024-10-01T18:40:33.337Z] ========================================================= [2024-10-01T18:40:33.337Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-01T18:40:33.337Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:40:33.810Z] + git log --format=format:%s -1 f68d698c6dc1e64f39f51421a06dd7d78c3df028 [Pipeline] echo [2024-10-01T18:40:33.858Z] [semverPrep] GIT_COMMIT: f68d698c6dc1e64f39f51421a06dd7d78c3df028, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-01T18:40:33.905Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-01T18:40:34.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-01T18:40:34.326Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-01T18:40:34.326Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-01T18:40:34.326Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-01T18:40:34.326Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-01T18:40:34.326Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-01T18:40:34.326Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:40:34.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:40:34.845Z] [2024-10-01T18:40:34.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:40:35.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:40:35.242Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-01T18:40:35.242Z] b85a868b505f: Pulling fs layer [2024-10-01T18:40:35.242Z] e2be974225ed: Pulling fs layer [2024-10-01T18:40:35.242Z] 339a4e72a1f5: Pulling fs layer [2024-10-01T18:40:35.242Z] 988bab9f4d93: Pulling fs layer [2024-10-01T18:40:35.242Z] 1469e6f7b9e6: Pulling fs layer [2024-10-01T18:40:35.242Z] eaf3925da568: Pulling fs layer [2024-10-01T18:40:35.242Z] bab4dde63d76: Pulling fs layer [2024-10-01T18:40:35.242Z] bde34c3a00c8: Pulling fs layer [2024-10-01T18:40:35.242Z] b352a97aabf1: Pulling fs layer [2024-10-01T18:40:35.242Z] 4872d77fe225: Pulling fs layer [2024-10-01T18:40:35.242Z] 5851b861e8e6: Pulling fs layer [2024-10-01T18:40:35.242Z] bab4dde63d76: Waiting [2024-10-01T18:40:35.242Z] bde34c3a00c8: Waiting [2024-10-01T18:40:35.242Z] b352a97aabf1: Waiting [2024-10-01T18:40:35.242Z] 4872d77fe225: Waiting [2024-10-01T18:40:35.242Z] 5851b861e8e6: Waiting [2024-10-01T18:40:35.242Z] 988bab9f4d93: Waiting [2024-10-01T18:40:35.242Z] eaf3925da568: Waiting [2024-10-01T18:40:35.242Z] e2be974225ed: Verifying Checksum [2024-10-01T18:40:35.242Z] e2be974225ed: Download complete [2024-10-01T18:40:35.242Z] 988bab9f4d93: Verifying Checksum [2024-10-01T18:40:35.242Z] 988bab9f4d93: Download complete [2024-10-01T18:40:35.242Z] 1469e6f7b9e6: Verifying Checksum [2024-10-01T18:40:35.242Z] 1469e6f7b9e6: Download complete [2024-10-01T18:40:35.503Z] 339a4e72a1f5: Verifying Checksum [2024-10-01T18:40:35.503Z] 339a4e72a1f5: Download complete [2024-10-01T18:40:35.503Z] eaf3925da568: Download complete [2024-10-01T18:40:35.503Z] bde34c3a00c8: Download complete [2024-10-01T18:40:35.503Z] b352a97aabf1: Verifying Checksum [2024-10-01T18:40:35.503Z] b352a97aabf1: Download complete [2024-10-01T18:40:35.503Z] 4872d77fe225: Verifying Checksum [2024-10-01T18:40:35.503Z] 4872d77fe225: Download complete [2024-10-01T18:40:35.503Z] 5851b861e8e6: Verifying Checksum [2024-10-01T18:40:35.503Z] 5851b861e8e6: Download complete [2024-10-01T18:40:35.503Z] b85a868b505f: Verifying Checksum [2024-10-01T18:40:35.503Z] b85a868b505f: Download complete [2024-10-01T18:40:35.763Z] bab4dde63d76: Verifying Checksum [2024-10-01T18:40:35.763Z] bab4dde63d76: Download complete [2024-10-01T18:40:36.699Z] b85a868b505f: Pull complete [2024-10-01T18:40:36.699Z] e2be974225ed: Pull complete [2024-10-01T18:40:36.958Z] 339a4e72a1f5: Pull complete [2024-10-01T18:40:37.218Z] 988bab9f4d93: Pull complete [2024-10-01T18:40:37.476Z] 1469e6f7b9e6: Pull complete [2024-10-01T18:40:37.476Z] eaf3925da568: Pull complete [2024-10-01T18:40:39.385Z] bab4dde63d76: Pull complete [2024-10-01T18:40:39.385Z] bde34c3a00c8: Pull complete [2024-10-01T18:40:39.385Z] b352a97aabf1: Pull complete [2024-10-01T18:40:39.385Z] 4872d77fe225: Pull complete [2024-10-01T18:40:39.385Z] 5851b861e8e6: Pull complete [2024-10-01T18:40:39.385Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-01T18:40:39.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:40:39.385Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:40:39.693Z] prd-ubuntu20.04-docker-8c-8g-12485 does not seem to be running inside a container [2024-10-01T18:40:39.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-71 -v /w/workspace/edgexfoundry_device-uart_PR-71:/w/workspace/edgexfoundry_device-uart_PR-71:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-71@tmp:/w/workspace/edgexfoundry_device-uart_PR-71@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-10-01T18:40:43.262Z] $ docker top 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b -eo pid,comm [2024-10-01T18:40:43.318Z] 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-10-01T18:40:43.318Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-01T18:40:43.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T18:40:43.527Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T18:40:43.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T18:40:43.642Z] $ docker exec 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b ssh-agent [2024-10-01T18:40:43.742Z] SSH_AUTH_SOCK=/tmp/ssh-b7MTyTsK8pFu/agent.32 [2024-10-01T18:40:43.742Z] SSH_AGENT_PID=38 [2024-10-01T18:40:43.748Z] Running ssh-add (command line suppressed) [2024-10-01T18:40:43.849Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-71@tmp/private_key_10806159251260636086.key (/w/workspace/edgexfoundry_device-uart_PR-71@tmp/private_key_10806159251260636086.key) [2024-10-01T18:40:43.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T18:40:44.217Z] + git tag --points-at HEAD [Pipeline] } [2024-10-01T18:40:44.245Z] $ docker exec --env ******** --env ******** 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b ssh-agent -k [2024-10-01T18:40:44.348Z] unset SSH_AUTH_SOCK; [2024-10-01T18:40:44.348Z] unset SSH_AGENT_PID; [2024-10-01T18:40:44.348Z] echo Agent pid 38 killed; [2024-10-01T18:40:44.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-01T18:40:44.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T18:40:44.479Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T18:40:44.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T18:40:44.608Z] $ docker exec 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b ssh-agent [2024-10-01T18:40:44.722Z] SSH_AUTH_SOCK=/tmp/ssh-6FNjXB2tLoH4/agent.71 [2024-10-01T18:40:44.722Z] SSH_AGENT_PID=77 [2024-10-01T18:40:44.727Z] Running ssh-add (command line suppressed) [2024-10-01T18:40:44.830Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-71@tmp/private_key_1207443285173038780.key (/w/workspace/edgexfoundry_device-uart_PR-71@tmp/private_key_1207443285173038780.key) [2024-10-01T18:40:44.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T18:40:45.198Z] + git semver init [2024-10-01T18:40:45.459Z] 2024-10-01 18:40:45,374 [run_init] DEBUG init version:0.0.0 force:False [2024-10-01T18:40:45.459Z] 2024-10-01 18:40:45,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-71/.semver [2024-10-01T18:40:45.459Z] 2024-10-01 18:40:45,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-71/.semver [2024-10-01T18:40:45.459Z] 2024-10-01 18:40:45,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-71, universal_newlines=False, shell=None, istream=None) [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-71/.git/info/exclude [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,531 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-71/.semver/PR-71 with force:False [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,532 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-71/.semver/PR-71 [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,534 [execute] INFO git cat-file --batch-check [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-71/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,540 [execute] INFO git cat-file --batch [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-71/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T18:40:46.838Z] 2024-10-01 18:40:46,544 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-71/.semver/PR-71 [2024-10-01T18:40:46.838Z] 0.0.0 [Pipeline] } [2024-10-01T18:40:46.867Z] $ docker exec --env ******** --env ******** 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b ssh-agent -k [2024-10-01T18:40:46.962Z] unset SSH_AUTH_SOCK; [2024-10-01T18:40:46.963Z] unset SSH_AGENT_PID; [2024-10-01T18:40:46.963Z] echo Agent pid 77 killed; [2024-10-01T18:40:46.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-01T18:40:47.448Z] + git semver [Pipeline] } [2024-10-01T18:40:47.741Z] $ docker stop --time=1 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b [2024-10-01T18:40:49.016Z] $ docker rm -f --volumes 523e69271b015d7bac3117033b2f84f83f9c8056634b19d1335f56ec81819b9b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:40:49.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-01T18:40:49.766Z] Stashed 1 file(s) [Pipeline] echo [2024-10-01T18:40:49.797Z] [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-10-01T18:40:50.570Z] provisioning config files... [2024-10-01T18:40:50.581Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-71@tmp/config6485711011884454629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:40:50.959Z] ---> ****-login.sh [2024-10-01T18:40:50.959Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:40:50.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:50.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:50.959Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:50.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:50.959Z] [2024-10-01T18:40:50.959Z] Login Succeeded [2024-10-01T18:40:50.959Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:40:50.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:50.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:50.959Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:50.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:50.959Z] [2024-10-01T18:40:50.959Z] Login Succeeded [2024-10-01T18:40:50.959Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:40:51.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:51.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:51.218Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:51.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:51.219Z] [2024-10-01T18:40:51.219Z] Login Succeeded [2024-10-01T18:40:51.219Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:40:51.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:51.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:51.219Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:51.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:51.219Z] [2024-10-01T18:40:51.219Z] Login Succeeded [2024-10-01T18:40:51.219Z] ****.io [2024-10-01T18:40:51.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:40:51.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:40:51.484Z] Configure a credential helper to remove this warning. See [2024-10-01T18:40:51.484Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:40:51.484Z] [2024-10-01T18:40:51.484Z] Login Succeeded [2024-10-01T18:40:51.484Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:40:51.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T18:40:51.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:40:51.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:40:51.871Z] ========================================================= [2024-10-01T18:40:51.871Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-01T18:40:51.871Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:40:52.502Z] + 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-10-01T18:40:52.502Z] Sending build context to Docker daemon 25.57MB [2024-10-01T18:40:52.502Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:40:52.502Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-01T18:40:52.768Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-01T18:40:52.768Z] 619be1103602: Pulling fs layer [2024-10-01T18:40:52.768Z] 7862e08f4a3e: Pulling fs layer [2024-10-01T18:40:52.768Z] 5df492c9dc93: Pulling fs layer [2024-10-01T18:40:52.768Z] 7629e6793208: Pulling fs layer [2024-10-01T18:40:52.768Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T18:40:52.768Z] fb5054dd5b73: Pulling fs layer [2024-10-01T18:40:52.768Z] eeca6798cff9: Pulling fs layer [2024-10-01T18:40:52.768Z] aa269ceb94a6: Pulling fs layer [2024-10-01T18:40:52.768Z] ada007ff1a6a: Pulling fs layer [2024-10-01T18:40:52.768Z] 7629e6793208: Waiting [2024-10-01T18:40:52.768Z] fb5054dd5b73: Waiting [2024-10-01T18:40:52.768Z] 4f4fb700ef54: Waiting [2024-10-01T18:40:52.768Z] eeca6798cff9: Waiting [2024-10-01T18:40:52.768Z] aa269ceb94a6: Waiting [2024-10-01T18:40:52.768Z] ada007ff1a6a: Waiting [2024-10-01T18:40:52.768Z] 7862e08f4a3e: Download complete [2024-10-01T18:40:52.768Z] 7629e6793208: Verifying Checksum [2024-10-01T18:40:52.768Z] 7629e6793208: Download complete [2024-10-01T18:40:52.768Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T18:40:52.768Z] 4f4fb700ef54: Download complete [2024-10-01T18:40:52.768Z] 619be1103602: Verifying Checksum [2024-10-01T18:40:52.768Z] 619be1103602: Download complete [2024-10-01T18:40:52.768Z] fb5054dd5b73: Verifying Checksum [2024-10-01T18:40:52.768Z] fb5054dd5b73: Download complete [2024-10-01T18:40:52.768Z] eeca6798cff9: Verifying Checksum [2024-10-01T18:40:52.768Z] eeca6798cff9: Download complete [2024-10-01T18:40:53.028Z] 619be1103602: Pull complete [2024-10-01T18:40:53.028Z] ada007ff1a6a: Verifying Checksum [2024-10-01T18:40:53.028Z] ada007ff1a6a: Download complete [2024-10-01T18:40:53.028Z] 7862e08f4a3e: Pull complete [2024-10-01T18:40:53.288Z] 5df492c9dc93: Download complete [2024-10-01T18:40:53.547Z] aa269ceb94a6: Verifying Checksum [2024-10-01T18:40:53.547Z] aa269ceb94a6: Download complete [2024-10-01T18:40:56.081Z] 5df492c9dc93: Pull complete [2024-10-01T18:40:56.340Z] 7629e6793208: Pull complete [2024-10-01T18:40:56.340Z] 4f4fb700ef54: Pull complete [2024-10-01T18:40:56.340Z] fb5054dd5b73: Pull complete [2024-10-01T18:40:56.340Z] eeca6798cff9: Pull complete [2024-10-01T18:40:58.865Z] aa269ceb94a6: Pull complete [2024-10-01T18:40:58.865Z] ada007ff1a6a: Pull complete [2024-10-01T18:40:59.125Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-01T18:40:59.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-01T18:40:59.125Z] ---> f489d0715acc [2024-10-01T18:40:59.125Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-01T18:41:04.394Z] ---> Running in 8a9fe8e6a6e4 [2024-10-01T18:41:04.394Z] Removing intermediate container 8a9fe8e6a6e4 [2024-10-01T18:41:04.395Z] ---> c0694bb96a81 [2024-10-01T18:41:04.395Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-01T18:41:04.395Z] ---> Running in b6517150b925 [2024-10-01T18:41:04.395Z] Removing intermediate container b6517150b925 [2024-10-01T18:41:04.395Z] ---> f2c57783c424 [2024-10-01T18:41:04.395Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-01T18:41:04.395Z] ---> Running in 92df0f78f589 [2024-10-01T18:41:04.395Z] Removing intermediate container 92df0f78f589 [2024-10-01T18:41:04.395Z] ---> c7a2fe846209 [2024-10-01T18:41:04.395Z] Step 6/12 : WORKDIR /device-uart [2024-10-01T18:41:04.395Z] ---> Running in 2ad089cd5af7 [2024-10-01T18:41:04.395Z] Removing intermediate container 2ad089cd5af7 [2024-10-01T18:41:04.395Z] ---> acfddfc5baa1 [2024-10-01T18:41:04.395Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-01T18:41:04.395Z] ---> Running in 0c590e95503f [2024-10-01T18:41:04.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:41:04.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:41:04.912Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-01T18:41:04.912Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-01T18:41:04.912Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-01T18:41:04.912Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-01T18:41:04.912Z] Executing busybox-1.36.1-r5.trigger [2024-10-01T18:41:04.912Z] OK: 268 MiB in 56 packages [2024-10-01T18:41:05.326Z] Still waiting to schedule task [2024-10-01T18:41:05.326Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-01T18:41:05.850Z] Removing intermediate container 0c590e95503f [2024-10-01T18:41:05.850Z] ---> ad95e8f3fc01 [2024-10-01T18:41:05.850Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-01T18:41:06.108Z] ---> f848860015fd [2024-10-01T18:41:06.108Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:41:06.108Z] ---> Running in 140df0caa770 [2024-10-01T18:41:52.784Z] Removing intermediate container 140df0caa770 [2024-10-01T18:41:52.784Z] ---> 300bfb8f13f5 [2024-10-01T18:41:52.784Z] Step 10/12 : COPY . . [2024-10-01T18:41:54.159Z] ---> 4c2bb51d9b71 [2024-10-01T18:41:54.159Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T18:41:54.159Z] ---> Running in 9c43d3bca0dc [2024-10-01T18:41:54.159Z] Removing intermediate container 9c43d3bca0dc [2024-10-01T18:41:54.159Z] ---> 76cfb95c8abc [2024-10-01T18:41:54.159Z] Step 12/12 : RUN ${MAKE} [2024-10-01T18:41:54.159Z] ---> Running in d1c13cf83d73 [2024-10-01T18:41:54.416Z] noop [2024-10-01T18:41:54.675Z] Removing intermediate container d1c13cf83d73 [2024-10-01T18:41:54.675Z] ---> 67c1d4e7e087 [2024-10-01T18:41:54.675Z] Successfully built 67c1d4e7e087 [2024-10-01T18:41:54.675Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:41:55.189Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T18:41:55.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:41:55.364Z] prd-ubuntu20.04-docker-8c-8g-12485 does not seem to be running inside a container [2024-10-01T18:41:55.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-71 -v /w/workspace/edgexfoundry_device-uart_PR-71:/w/workspace/edgexfoundry_device-uart_PR-71:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-71@tmp:/w/workspace/edgexfoundry_device-uart_PR-71@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-10-01T18:41:55.764Z] $ docker top eaf15b4ffe1501b49bdb17f0b2d98684fd719d3bd7d26c8beff4212f1ba51e6f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:41:56.175Z] + go version [2024-10-01T18:41:56.175Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-01T18:41:56.207Z] $ docker stop --time=1 eaf15b4ffe1501b49bdb17f0b2d98684fd719d3bd7d26c8beff4212f1ba51e6f [2024-10-01T18:41:57.501Z] $ docker rm -f --volumes eaf15b4ffe1501b49bdb17f0b2d98684fd719d3bd7d26c8beff4212f1ba51e6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:41:58.351Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T18:41:58.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:41:58.518Z] prd-ubuntu20.04-docker-8c-8g-12485 does not seem to be running inside a container [2024-10-01T18:41:58.547Z] $ 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-71 -v /w/workspace/edgexfoundry_device-uart_PR-71:/w/workspace/edgexfoundry_device-uart_PR-71:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-71@tmp:/w/workspace/edgexfoundry_device-uart_PR-71@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-10-01T18:41:58.875Z] $ docker top 84f856ad3d18582091fdc7c902234d226d736b1d75bca2951f9db5815e21d5ac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:41:59.293Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-71 [Pipeline] fileExists [Pipeline] sh [2024-10-01T18:41:59.676Z] + make test [2024-10-01T18:41:59.676Z] go test ./... -coverprofile=coverage.out [2024-10-01T18:42:01.054Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-01T18:42:19.138Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-10-01T18:42:19.138Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-10-01T18:42:31.340Z] go vet ./... [2024-10-01T18:42:35.540Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T18:42:35.540Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T18:42:35.540Z] ./bin/test-attribution-txt.sh [2024-10-01T18:42:35.540Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-01T18:42:35.540Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T18:42:40.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T18:42:40.409Z] $ docker stop --time=1 84f856ad3d18582091fdc7c902234d226d736b1d75bca2951f9db5815e21d5ac [2024-10-01T18:42:44.500Z] $ docker rm -f --volumes 84f856ad3d18582091fdc7c902234d226d736b1d75bca2951f9db5815e21d5ac [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:42:45.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T18:42:45.191Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-01T18:42:45.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T18:42:46.366Z] + ls -al . [2024-10-01T18:42:46.366Z] total 224 [2024-10-01T18:42:46.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:42 . [2024-10-01T18:42:46.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:40 .. [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 18:40 .dockerignore [2024-10-01T18:42:46.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:42 .git [2024-10-01T18:42:46.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:40 .github [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 1 18:40 .gitignore [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 1 18:40 .golangci.yml [2024-10-01T18:42:46.366Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:40 .semver [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 1 18:40 Attribution.txt [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 1 18:40 CHANGELOG.md [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 1886 Oct 1 18:40 Dockerfile [2024-10-01T18:42:46.366Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 18:40 GOVERNANCE.md [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 1 18:40 Jenkinsfile [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 1 18:40 LICENSE [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 1 18:40 Makefile [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 1 18:40 OWNERS.md [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 1 18:40 README.md [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:40 VERSION [2024-10-01T18:42:46.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:40 bin [2024-10-01T18:42:46.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:40 cmd [2024-10-01T18:42:46.367Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 1 18:42 coverage.out [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 6965 Oct 1 18:40 go.mod [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 101894 Oct 1 18:40 go.sum [2024-10-01T18:42:46.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:40 internal [2024-10-01T18:42:46.367Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 1 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:42:46.820Z] + 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=f68d698c6dc1e64f39f51421a06dd7d78c3df028 --label arch=amd64 --label version=0.0.0 . [2024-10-01T18:42:46.820Z] Sending build context to Docker daemon 25.57MB [2024-10-01T18:42:46.820Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:42:46.820Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-01T18:42:46.820Z] ---> 67c1d4e7e087 [2024-10-01T18:42:46.820Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-01T18:42:47.414Z] ---> Running in 291558e4d9b2 [2024-10-01T18:42:47.414Z] Removing intermediate container 291558e4d9b2 [2024-10-01T18:42:47.414Z] ---> 22fd3e051ee2 [2024-10-01T18:42:47.414Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-01T18:42:47.674Z] ---> Running in 7a3033ee1203 [2024-10-01T18:42:47.932Z] Removing intermediate container 7a3033ee1203 [2024-10-01T18:42:47.932Z] ---> 4389db3a49f2 [2024-10-01T18:42:47.932Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-01T18:42:47.932Z] ---> Running in 6e17f2680060 [2024-10-01T18:42:48.190Z] Removing intermediate container 6e17f2680060 [2024-10-01T18:42:48.190Z] ---> 6cffa5bd8130 [2024-10-01T18:42:48.190Z] Step 6/26 : WORKDIR /device-uart [2024-10-01T18:42:48.190Z] ---> Running in 2954feb77c3e [2024-10-01T18:42:48.450Z] Removing intermediate container 2954feb77c3e [2024-10-01T18:42:48.450Z] ---> 3446fea8c56a [2024-10-01T18:42:48.450Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-01T18:42:48.450Z] ---> Running in 4f15abb1b2b0 [2024-10-01T18:42:48.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:42:48.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:42:48.968Z] OK: 268 MiB in 56 packages [2024-10-01T18:42:49.227Z] Removing intermediate container 4f15abb1b2b0 [2024-10-01T18:42:49.227Z] ---> e57bfa25fc22 [2024-10-01T18:42:49.227Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-01T18:42:49.227Z] ---> 4d95caa8e6b9 [2024-10-01T18:42:49.227Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:42:49.227Z] ---> Running in 6d2778c0b548 [2024-10-01T18:42:50.167Z] Removing intermediate container 6d2778c0b548 [2024-10-01T18:42:50.167Z] ---> fb717eb6550d [2024-10-01T18:42:50.167Z] Step 10/26 : COPY . . [2024-10-01T18:42:50.734Z] ---> fdf9a240c8a4 [2024-10-01T18:42:50.734Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T18:42:50.734Z] ---> Running in fb83aa3f9bab [2024-10-01T18:42:50.734Z] Removing intermediate container fb83aa3f9bab [2024-10-01T18:42:50.734Z] ---> d5b926d4a8de [2024-10-01T18:42:50.734Z] Step 12/26 : RUN ${MAKE} [2024-10-01T18:42:50.734Z] ---> Running in 3a5cdc993f70 [2024-10-01T18:42:50.992Z] 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.38" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-01T18:43:23.085Z] Removing intermediate container 3a5cdc993f70 [2024-10-01T18:43:23.085Z] ---> 482fe8094f2c [2024-10-01T18:43:23.085Z] Step 13/26 : FROM alpine:3.18 [2024-10-01T18:43:23.085Z] 3.18: Pulling from library/alpine [2024-10-01T18:43:23.085Z] 1cc3d825d8b2: Pulling fs layer [2024-10-01T18:43:23.085Z] 1cc3d825d8b2: Verifying Checksum [2024-10-01T18:43:23.085Z] 1cc3d825d8b2: Download complete [2024-10-01T18:43:23.085Z] 1cc3d825d8b2: Pull complete [2024-10-01T18:43:23.085Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T18:43:23.085Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T18:43:23.085Z] ---> 2c64cf60f6f0 [2024-10-01T18:43:23.085Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-01T18:43:23.346Z] ---> Running in 288ba6ae00a1 [2024-10-01T18:43:23.346Z] Removing intermediate container 288ba6ae00a1 [2024-10-01T18:43:23.346Z] ---> 8a3636503a17 [2024-10-01T18:43:23.346Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-01T18:43:23.346Z] ---> Running in 39bc686429c5 [2024-10-01T18:43:23.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:23.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:24.122Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T18:43:24.122Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T18:43:24.122Z] OK: 7 MiB in 16 packages [2024-10-01T18:43:24.689Z] Removing intermediate container 39bc686429c5 [2024-10-01T18:43:24.689Z] ---> 57b310a35e4c [2024-10-01T18:43:24.689Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-01T18:43:24.689Z] ---> Running in 8d10c1100a6e [2024-10-01T18:43:24.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:24.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:25.210Z] OK: 7 MiB in 16 packages [2024-10-01T18:43:25.469Z] Removing intermediate container 8d10c1100a6e [2024-10-01T18:43:25.469Z] ---> 17d87e60940b [2024-10-01T18:43:25.469Z] Step 17/26 : WORKDIR / [2024-10-01T18:43:25.469Z] ---> Running in 7aa36c51070a [2024-10-01T18:43:25.469Z] Removing intermediate container 7aa36c51070a [2024-10-01T18:43:25.469Z] ---> 8e1ad9040fba [2024-10-01T18:43:25.469Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-01T18:43:25.729Z] ---> 87d01f1b39a7 [2024-10-01T18:43:25.729Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-01T18:43:25.729Z] ---> 30cc670f1811 [2024-10-01T18:43:25.729Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-01T18:43:28.286Z] ---> 089c47b36683 [2024-10-01T18:43:28.286Z] Step 21/26 : EXPOSE 59995 [2024-10-01T18:43:28.286Z] ---> Running in f3b43bc8dd81 [2024-10-01T18:43:28.546Z] Removing intermediate container f3b43bc8dd81 [2024-10-01T18:43:28.546Z] ---> 4d495f954c00 [2024-10-01T18:43:28.546Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-01T18:43:28.546Z] ---> Running in 5f77bf346295 [2024-10-01T18:43:28.546Z] Removing intermediate container 5f77bf346295 [2024-10-01T18:43:28.546Z] ---> de156b1ed23d [2024-10-01T18:43:28.546Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T18:43:28.546Z] ---> Running in 0f16e6f15002 [2024-10-01T18:43:28.804Z] Removing intermediate container 0f16e6f15002 [2024-10-01T18:43:28.804Z] ---> 397b2599be7d [2024-10-01T18:43:28.804Z] Step 24/26 : LABEL arch=amd64 [2024-10-01T18:43:28.804Z] ---> Running in 0a5b40ebd194 [2024-10-01T18:43:28.804Z] Removing intermediate container 0a5b40ebd194 [2024-10-01T18:43:28.804Z] ---> 174f323a1410 [2024-10-01T18:43:28.804Z] Step 25/26 : LABEL git_sha=f68d698c6dc1e64f39f51421a06dd7d78c3df028 [2024-10-01T18:43:28.804Z] ---> Running in 9dd7efeb538a [2024-10-01T18:43:28.804Z] Removing intermediate container 9dd7efeb538a [2024-10-01T18:43:28.804Z] ---> 42ab6dc4d64e [2024-10-01T18:43:28.804Z] Step 26/26 : LABEL version=0.0.0 [2024-10-01T18:43:28.804Z] ---> Running in 2b2b63d68a2f [2024-10-01T18:43:29.067Z] Removing intermediate container 2b2b63d68a2f [2024-10-01T18:43:29.067Z] ---> ef76f05855f7 [2024-10-01T18:43:29.067Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T18:43:29.067Z] Successfully built ef76f05855f7 [2024-10-01T18:43:29.067Z] 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-10-01T18:43:30.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:43:30.069Z] [2024-10-01T18:43:30.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:43:30.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:43:30.494Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-01T18:43:30.494Z] 5eb5b503b376: Pulling fs layer [2024-10-01T18:43:30.494Z] 5c69ac0246d0: Pulling fs layer [2024-10-01T18:43:30.494Z] ec43610c2a17: Pulling fs layer [2024-10-01T18:43:30.494Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-01T18:43:30.494Z] 33b1e0a273af: Pulling fs layer [2024-10-01T18:43:30.494Z] 5d3b04190fa2: Pulling fs layer [2024-10-01T18:43:30.494Z] 3a2ae6a8a46f: Waiting [2024-10-01T18:43:30.494Z] 33b1e0a273af: Waiting [2024-10-01T18:43:30.494Z] 2f39f015ded8: Pulling fs layer [2024-10-01T18:43:30.494Z] 2f39f015ded8: Waiting [2024-10-01T18:43:30.494Z] 5c69ac0246d0: Download complete [2024-10-01T18:43:30.494Z] 3a2ae6a8a46f: Download complete [2024-10-01T18:43:30.759Z] 33b1e0a273af: Verifying Checksum [2024-10-01T18:43:30.759Z] 33b1e0a273af: Download complete [2024-10-01T18:43:30.759Z] 5d3b04190fa2: Verifying Checksum [2024-10-01T18:43:30.759Z] 5d3b04190fa2: Download complete [2024-10-01T18:43:30.759Z] ec43610c2a17: Verifying Checksum [2024-10-01T18:43:30.759Z] ec43610c2a17: Download complete [2024-10-01T18:43:31.017Z] 5eb5b503b376: Verifying Checksum [2024-10-01T18:43:31.017Z] 5eb5b503b376: Download complete [2024-10-01T18:43:31.584Z] 2f39f015ded8: Verifying Checksum [2024-10-01T18:43:31.584Z] 2f39f015ded8: Download complete [2024-10-01T18:43:32.148Z] 5eb5b503b376: Pull complete [2024-10-01T18:43:32.148Z] 5c69ac0246d0: Pull complete [2024-10-01T18:43:32.713Z] ec43610c2a17: Pull complete [2024-10-01T18:43:32.713Z] 3a2ae6a8a46f: Pull complete [2024-10-01T18:43:32.972Z] 33b1e0a273af: Pull complete [2024-10-01T18:43:32.972Z] 5d3b04190fa2: Pull complete [2024-10-01T18:43:37.158Z] 2f39f015ded8: Pull complete [2024-10-01T18:43:37.158Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-01T18:43:37.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:43:37.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:43:37.407Z] prd-ubuntu20.04-docker-8c-8g-12485 does not seem to be running inside a container [2024-10-01T18:43:37.437Z] $ 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-71 -v /w/workspace/edgexfoundry_device-uart_PR-71:/w/workspace/edgexfoundry_device-uart_PR-71:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-71@tmp:/w/workspace/edgexfoundry_device-uart_PR-71@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-10-01T18:43:44.487Z] $ docker top f7d3e42178a318056883c7418a17d1e0c84a4eaa0f8649d03ee7903171255453 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:43:44.996Z] ---> job-cost.sh [2024-10-01T18:43:44.996Z] lf-activate-venv: SKIPPING [2024-10-01T18:43:44.996Z] INFO: No Stack... [2024-10-01T18:43:45.254Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T18:43:45.820Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T18:43:46.144Z] + cat /w/workspace/edgexfoundry_device-uart_PR-71/archives/cost.csv [2024-10-01T18:43:46.144Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T18:43:46.190Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [2024-10-01T18:43:46.197Z] Resource [jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] did not exist. Created. [2024-10-01T18:43:46.203Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T18:43:46.658Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-01T18:43:46.711Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T18:43:46.751Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T18:43:46.839Z] $ docker stop --time=1 f7d3e42178a318056883c7418a17d1e0c84a4eaa0f8649d03ee7903171255453 [2024-10-01T18:43:47.991Z] $ docker rm -f --volumes f7d3e42178a318056883c7418a17d1e0c84a4eaa0f8649d03ee7903171255453 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-01T18:44:51.158Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12491 in /w/workspace/edgexfoundry_device-uart_PR-71 [Pipeline] { [Pipeline] ws [2024-10-01T18:44:51.239Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-01T18:44:51.323Z] The recommended git tool is: git [2024-10-01T18:44:56.646Z] using credential edgex-jenkins-ssh [2024-10-01T18:44:56.672Z] Cloning the remote Git repository [2024-10-01T18:44:56.713Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-01T18:44:56.819Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-01T18:44:56.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-01T18:44:56.950Z] > git --version # timeout=10 [2024-10-01T18:44:56.969Z] > git --version # 'git version 2.25.1' [2024-10-01T18:44:56.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:44:57.120Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T18:44:59.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-01T18:44:59.234Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T18:45:00.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-01T18:45:00.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-01T18:45:00.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:45:00.674Z] Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit f68d698c6dc1e64f39f51421a06dd7d78c3df028 [2024-10-01T18:45:00.978Z] Merge succeeded, producing f68d698c6dc1e64f39f51421a06dd7d78c3df028 [2024-10-01T18:45:00.979Z] Checking out Revision f68d698c6dc1e64f39f51421a06dd7d78c3df028 (PR-71) [2024-10-01T18:45:01.553Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-01T18:45:00.213Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-01T18:45:00.688Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T18:45:00.784Z] > git checkout -f f68d698c6dc1e64f39f51421a06dd7d78c3df028 # timeout=10 [2024-10-01T18:45:00.871Z] > git remote # timeout=10 [2024-10-01T18:45:00.896Z] > git config --get remote.origin.url # timeout=10 [2024-10-01T18:45:00.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:45:00.932Z] > git merge 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 [2024-10-01T18:45:00.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-01T18:45:00.981Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T18:45:00.997Z] > git checkout -f f68d698c6dc1e64f39f51421a06dd7d78c3df028 # timeout=10 [2024-10-01T18:45:01.591Z] > git --version # timeout=10 [2024-10-01T18:45:01.602Z] > git --version # 'git version 2.25.1' [2024-10-01T18:45:01.618Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:45:06.798Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-01T18:45:06.799Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T18:45:06.799Z] Dload Upload Total Spent Left Speed [2024-10-01T18:45:06.799Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2024-10-01T18:45:07.148Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-01T18:45:07.490Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-01T18:45:07.490Z] /etc/docker/daemon.json [2024-10-01T18:45:07.490Z] { [2024-10-01T18:45:07.490Z] "registry-mirrors": [ [2024-10-01T18:45:07.490Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-01T18:45:07.490Z] ], [2024-10-01T18:45:07.490Z] "bip": "10.250.0.254/24", [2024-10-01T18:45:07.490Z] "hosts": [ [2024-10-01T18:45:07.490Z] "tcp://0.0.0.0:5555", [2024-10-01T18:45:07.490Z] "unix:///var/run/docker.sock" [2024-10-01T18:45:07.490Z] ], [2024-10-01T18:45:07.490Z] "mtu": 1458, [2024-10-01T18:45:07.490Z] "selinux-enabled": true, [2024-10-01T18:45:07.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-01T18:45:07.490Z] } [Pipeline] sh [2024-10-01T18:45:07.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-01T18:45:08.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:45:26.559Z] provisioning config files... [2024-10-01T18:45:26.586Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config13870208574722768150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:45:27.095Z] ---> ****-login.sh [2024-10-01T18:45:27.095Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:45:27.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:45:27.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:45:27.689Z] Configure a credential helper to remove this warning. See [2024-10-01T18:45:27.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:45:27.689Z] [2024-10-01T18:45:27.689Z] Login Succeeded [2024-10-01T18:45:27.689Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:45:27.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:45:28.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:45:28.239Z] Configure a credential helper to remove this warning. See [2024-10-01T18:45:28.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:45:28.239Z] [2024-10-01T18:45:28.239Z] Login Succeeded [2024-10-01T18:45:28.239Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:45:28.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:45:28.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:45:28.513Z] Configure a credential helper to remove this warning. See [2024-10-01T18:45:28.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:45:28.513Z] [2024-10-01T18:45:28.513Z] Login Succeeded [2024-10-01T18:45:28.513Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:45:28.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:45:29.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:45:29.057Z] Configure a credential helper to remove this warning. See [2024-10-01T18:45:29.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:45:29.058Z] [2024-10-01T18:45:29.058Z] Login Succeeded [2024-10-01T18:45:29.058Z] ****.io [2024-10-01T18:45:29.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:45:29.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:45:29.329Z] Configure a credential helper to remove this warning. See [2024-10-01T18:45:29.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:45:29.329Z] [2024-10-01T18:45:29.329Z] Login Succeeded [2024-10-01T18:45:29.329Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:45:29.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T18:45:29.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:45:29.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:45:29.954Z] ========================================================= [2024-10-01T18:45:29.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-01T18:45:29.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:45:30.509Z] + 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-10-01T18:45:31.093Z] Sending build context to Docker daemon 12.85MB [2024-10-01T18:45:31.093Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:45:31.093Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-01T18:45:31.093Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-01T18:45:31.093Z] c6b39de5b339: Pulling fs layer [2024-10-01T18:45:31.093Z] a69c41024577: Pulling fs layer [2024-10-01T18:45:31.093Z] d6de4b400683: Pulling fs layer [2024-10-01T18:45:31.093Z] 35cb2a7552d0: Pulling fs layer [2024-10-01T18:45:31.093Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T18:45:31.093Z] 464afbd9ba4c: Pulling fs layer [2024-10-01T18:45:31.093Z] 00f215d4a9da: Pulling fs layer [2024-10-01T18:45:31.093Z] d496ad576159: Pulling fs layer [2024-10-01T18:45:31.093Z] 464afbd9ba4c: Waiting [2024-10-01T18:45:31.093Z] 35cb2a7552d0: Waiting [2024-10-01T18:45:31.093Z] 4f4fb700ef54: Waiting [2024-10-01T18:45:31.093Z] 00f215d4a9da: Waiting [2024-10-01T18:45:31.093Z] d496ad576159: Waiting [2024-10-01T18:45:31.093Z] a69c41024577: Download complete [2024-10-01T18:45:31.093Z] 35cb2a7552d0: Verifying Checksum [2024-10-01T18:45:31.093Z] 35cb2a7552d0: Download complete [2024-10-01T18:45:31.362Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T18:45:31.362Z] 4f4fb700ef54: Download complete [2024-10-01T18:45:31.362Z] c6b39de5b339: Verifying Checksum [2024-10-01T18:45:31.362Z] c6b39de5b339: Download complete [2024-10-01T18:45:31.362Z] 464afbd9ba4c: Verifying Checksum [2024-10-01T18:45:31.362Z] 464afbd9ba4c: Download complete [2024-10-01T18:45:31.630Z] d496ad576159: Verifying Checksum [2024-10-01T18:45:31.630Z] d496ad576159: Download complete [2024-10-01T18:45:32.215Z] c6b39de5b339: Pull complete [2024-10-01T18:45:32.802Z] a69c41024577: Pull complete [2024-10-01T18:45:33.071Z] d6de4b400683: Verifying Checksum [2024-10-01T18:45:33.071Z] d6de4b400683: Download complete [2024-10-01T18:45:34.486Z] 00f215d4a9da: Verifying Checksum [2024-10-01T18:45:34.486Z] 00f215d4a9da: Download complete [2024-10-01T18:45:46.832Z] d6de4b400683: Pull complete [2024-10-01T18:45:46.832Z] 35cb2a7552d0: Pull complete [2024-10-01T18:45:47.103Z] 4f4fb700ef54: Pull complete [2024-10-01T18:45:47.373Z] 464afbd9ba4c: Pull complete [2024-10-01T18:45:57.486Z] 00f215d4a9da: Pull complete [2024-10-01T18:45:57.486Z] d496ad576159: Pull complete [2024-10-01T18:45:57.486Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-01T18:45:57.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-01T18:45:57.486Z] ---> f246e2811388 [2024-10-01T18:45:57.486Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-01T18:45:59.443Z] ---> Running in 590d6ce0fdd4 [2024-10-01T18:45:59.712Z] Removing intermediate container 590d6ce0fdd4 [2024-10-01T18:45:59.712Z] ---> 563d4d20039a [2024-10-01T18:45:59.712Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-01T18:45:59.712Z] ---> Running in 1d1e27d108c7 [2024-10-01T18:45:59.985Z] Removing intermediate container 1d1e27d108c7 [2024-10-01T18:45:59.985Z] ---> ac922ebb6ca0 [2024-10-01T18:45:59.985Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-01T18:46:00.254Z] ---> Running in c43ce4152972 [2024-10-01T18:46:00.522Z] Removing intermediate container c43ce4152972 [2024-10-01T18:46:00.522Z] ---> 57b43e904272 [2024-10-01T18:46:00.522Z] Step 6/12 : WORKDIR /device-uart [2024-10-01T18:46:00.522Z] ---> Running in d8145c47ac42 [2024-10-01T18:46:01.109Z] Removing intermediate container d8145c47ac42 [2024-10-01T18:46:01.109Z] ---> 7456c7ba62e4 [2024-10-01T18:46:01.109Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-01T18:46:01.109Z] ---> Running in f509e9974aa4 [2024-10-01T18:46:02.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:46:02.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:46:03.765Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-01T18:46:03.765Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-01T18:46:03.765Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-01T18:46:03.765Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-01T18:46:03.765Z] Executing busybox-1.36.1-r5.trigger [2024-10-01T18:46:04.033Z] OK: 271 MiB in 56 packages [2024-10-01T18:46:04.995Z] Removing intermediate container f509e9974aa4 [2024-10-01T18:46:04.995Z] ---> 6334ca005d3b [2024-10-01T18:46:04.995Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-01T18:46:05.577Z] ---> 170adba56016 [2024-10-01T18:46:05.577Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:46:05.859Z] ---> Running in e69d1db745fb [2024-10-01T18:47:57.547Z] Removing intermediate container e69d1db745fb [2024-10-01T18:47:57.547Z] ---> d09941e7a210 [2024-10-01T18:47:57.547Z] Step 10/12 : COPY . . [2024-10-01T18:47:57.547Z] ---> 89a5511dd942 [2024-10-01T18:47:57.547Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T18:47:57.547Z] ---> Running in dd082564cbca [2024-10-01T18:47:57.547Z] Removing intermediate container dd082564cbca [2024-10-01T18:47:57.547Z] ---> d788adb50d1b [2024-10-01T18:47:57.547Z] Step 12/12 : RUN ${MAKE} [2024-10-01T18:47:57.547Z] ---> Running in 35c2de12303f [2024-10-01T18:47:58.134Z] noop [2024-10-01T18:47:58.716Z] Removing intermediate container 35c2de12303f [2024-10-01T18:47:58.717Z] ---> d849dba6e467 [2024-10-01T18:47:58.717Z] Successfully built d849dba6e467 [2024-10-01T18:47:58.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:47:59.245Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T18:47:59.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:47:59.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-12491 does not seem to be running inside a container [2024-10-01T18:47:59.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T18:48:00.875Z] $ docker top 237dcf6e16c2f677ee4ccb1af7a787e1a7f98e64a0542ba0332f067388e23f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:48:01.808Z] + go version [2024-10-01T18:48:01.808Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-01T18:48:01.845Z] $ docker stop --time=1 237dcf6e16c2f677ee4ccb1af7a787e1a7f98e64a0542ba0332f067388e23f2a [2024-10-01T18:48:03.438Z] $ docker rm -f --volumes 237dcf6e16c2f677ee4ccb1af7a787e1a7f98e64a0542ba0332f067388e23f2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:48:04.367Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T18:48:04.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:48:04.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-12491 does not seem to be running inside a container [2024-10-01T18:48:04.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T18:48:05.819Z] $ docker top c6791e77da9565e9dc47bd3bdaa68f09bddd2ea6be9012a0095d2c467d4fedee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:48:06.382Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-01T18:48:06.794Z] + make test [2024-10-01T18:48:06.795Z] go test ./... -coverprofile=coverage.out [2024-10-01T18:48:13.567Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-01T18:52:05.606Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-10-01T18:52:05.606Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-10-01T18:52:05.606Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-01T18:52:05.606Z] go vet ./... [2024-10-01T18:52:52.491Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T18:52:52.491Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T18:52:52.491Z] ./bin/test-attribution-txt.sh [2024-10-01T18:52:52.491Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-01T18:52:52.491Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T18:52:52.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T18:52:52.602Z] $ docker stop --time=1 c6791e77da9565e9dc47bd3bdaa68f09bddd2ea6be9012a0095d2c467d4fedee [2024-10-01T18:52:54.452Z] $ docker rm -f --volumes c6791e77da9565e9dc47bd3bdaa68f09bddd2ea6be9012a0095d2c467d4fedee [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:52:56.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T18:52:56.129Z] Warning: overwriting stash ‘coverage-report’ [2024-10-01T18:52:56.589Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:52:57.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T18:52:57.628Z] + ls -al . [2024-10-01T18:52:57.628Z] total 220 [2024-10-01T18:52:57.628Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 1 18:48 . [2024-10-01T18:52:57.628Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:44 .. [2024-10-01T18:52:57.628Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 18:45 .dockerignore [2024-10-01T18:52:57.628Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:45 .git [2024-10-01T18:52:57.628Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:45 .github [2024-10-01T18:52:57.628Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 1 18:45 .gitignore [2024-10-01T18:52:57.628Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 1 18:45 .golangci.yml [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 9941 Oct 1 18:45 Attribution.txt [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 1 18:45 CHANGELOG.md [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 1886 Oct 1 18:45 Dockerfile [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 18:45 GOVERNANCE.md [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 1 18:45 Jenkinsfile [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 1 18:45 LICENSE [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 1 18:45 Makefile [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 1 18:45 OWNERS.md [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 1 18:45 README.md [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:40 VERSION [2024-10-01T18:52:57.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:45 bin [2024-10-01T18:52:57.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:45 cmd [2024-10-01T18:52:57.629Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 1 18:48 coverage.out [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 6965 Oct 1 18:45 go.mod [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 101894 Oct 1 18:45 go.sum [2024-10-01T18:52:57.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:45 internal [2024-10-01T18:52:57.629Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 1 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:52:58.086Z] + 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=f68d698c6dc1e64f39f51421a06dd7d78c3df028 --label arch=arm64 --label version=0.0.0 . [2024-10-01T18:52:58.354Z] Sending build context to Docker daemon 12.86MB [2024-10-01T18:52:58.622Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:52:58.622Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-01T18:52:58.622Z] ---> d849dba6e467 [2024-10-01T18:52:58.622Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-01T18:52:58.622Z] ---> Running in 9277d6878245 [2024-10-01T18:52:58.890Z] Removing intermediate container 9277d6878245 [2024-10-01T18:52:58.890Z] ---> ab31be4504b1 [2024-10-01T18:52:58.890Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-01T18:52:59.160Z] ---> Running in 5e6b675defef [2024-10-01T18:52:59.426Z] Removing intermediate container 5e6b675defef [2024-10-01T18:52:59.426Z] ---> c3a2864f3e62 [2024-10-01T18:52:59.426Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-01T18:52:59.426Z] ---> Running in df5862e2fb7f [2024-10-01T18:52:59.699Z] Removing intermediate container df5862e2fb7f [2024-10-01T18:52:59.699Z] ---> 7e14b44932cc [2024-10-01T18:52:59.699Z] Step 6/26 : WORKDIR /device-uart [2024-10-01T18:52:59.699Z] ---> Running in a691f15627ae [2024-10-01T18:53:00.284Z] Removing intermediate container a691f15627ae [2024-10-01T18:53:00.284Z] ---> efc792af2715 [2024-10-01T18:53:00.284Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-01T18:53:00.284Z] ---> Running in 95199b280f3e [2024-10-01T18:53:01.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:53:01.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:53:02.783Z] OK: 271 MiB in 56 packages [2024-10-01T18:53:03.744Z] Removing intermediate container 95199b280f3e [2024-10-01T18:53:03.744Z] ---> 30507c3d5fb5 [2024-10-01T18:53:03.744Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-01T18:53:04.009Z] ---> 6e9719d6582c [2024-10-01T18:53:04.009Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:53:04.009Z] ---> Running in 9be086f11780 [2024-10-01T18:53:06.594Z] Removing intermediate container 9be086f11780 [2024-10-01T18:53:06.594Z] ---> 433e90fd53a3 [2024-10-01T18:53:06.594Z] Step 10/26 : COPY . . [2024-10-01T18:53:07.175Z] ---> 3be4b5a285f7 [2024-10-01T18:53:07.175Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T18:53:07.446Z] ---> Running in 9b18d0ae63bc [2024-10-01T18:53:07.711Z] Removing intermediate container 9b18d0ae63bc [2024-10-01T18:53:07.711Z] ---> 7e54a95700bf [2024-10-01T18:53:07.711Z] Step 12/26 : RUN ${MAKE} [2024-10-01T18:53:07.711Z] ---> Running in 94ffc048de5a [2024-10-01T18:53:08.670Z] 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.38" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-01T18:56:45.432Z] Removing intermediate container 94ffc048de5a [2024-10-01T18:56:45.432Z] ---> f64ba5bae8e9 [2024-10-01T18:56:45.432Z] Step 13/26 : FROM alpine:3.18 [2024-10-01T18:56:45.432Z] 3.18: Pulling from library/alpine [2024-10-01T18:56:45.432Z] 720f3032cd11: Pulling fs layer [2024-10-01T18:56:45.432Z] 720f3032cd11: Verifying Checksum [2024-10-01T18:56:45.432Z] 720f3032cd11: Download complete [2024-10-01T18:56:45.432Z] 720f3032cd11: Pull complete [2024-10-01T18:56:45.432Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T18:56:45.432Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T18:56:45.432Z] ---> 3e834921e367 [2024-10-01T18:56:45.432Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-01T18:56:45.432Z] ---> Running in 033c622c8422 [2024-10-01T18:56:45.432Z] Removing intermediate container 033c622c8422 [2024-10-01T18:56:45.432Z] ---> 0143142f08a6 [2024-10-01T18:56:45.432Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-01T18:56:45.432Z] ---> Running in b1e88ba4b67d [2024-10-01T18:56:45.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:56:45.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:56:45.432Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T18:56:45.432Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T18:56:45.432Z] OK: 8 MiB in 16 packages [2024-10-01T18:56:45.432Z] Removing intermediate container b1e88ba4b67d [2024-10-01T18:56:45.432Z] ---> b5e5e0c0bcde [2024-10-01T18:56:45.432Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-01T18:56:45.432Z] ---> Running in 4b3c4a525e16 [2024-10-01T18:56:45.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:56:45.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:56:45.432Z] OK: 8 MiB in 16 packages [2024-10-01T18:56:45.432Z] Removing intermediate container 4b3c4a525e16 [2024-10-01T18:56:45.432Z] ---> 289301f09a54 [2024-10-01T18:56:45.432Z] Step 17/26 : WORKDIR / [2024-10-01T18:56:45.432Z] ---> Running in 3e98209dcf72 [2024-10-01T18:56:45.432Z] Removing intermediate container 3e98209dcf72 [2024-10-01T18:56:45.432Z] ---> cd81233318c7 [2024-10-01T18:56:45.432Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-01T18:56:46.019Z] ---> 8bc4678f872a [2024-10-01T18:56:46.019Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-01T18:56:46.604Z] ---> 2ce2a6e2ff78 [2024-10-01T18:56:46.604Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-01T18:56:48.546Z] ---> 62d8b7a2ffc1 [2024-10-01T18:56:48.546Z] Step 21/26 : EXPOSE 59995 [2024-10-01T18:56:48.546Z] ---> Running in bcabe643df2f [2024-10-01T18:56:48.815Z] Removing intermediate container bcabe643df2f [2024-10-01T18:56:48.815Z] ---> 40c4313ea591 [2024-10-01T18:56:48.815Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-01T18:56:49.087Z] ---> Running in d2c2e979f329 [2024-10-01T18:56:49.356Z] Removing intermediate container d2c2e979f329 [2024-10-01T18:56:49.356Z] ---> 836a62d6a3ea [2024-10-01T18:56:49.356Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T18:56:49.356Z] ---> Running in c5d739259d81 [2024-10-01T18:56:49.624Z] Removing intermediate container c5d739259d81 [2024-10-01T18:56:49.624Z] ---> 79748f954bd6 [2024-10-01T18:56:49.624Z] Step 24/26 : LABEL arch=arm64 [2024-10-01T18:56:49.624Z] ---> Running in 41c8401c3b07 [2024-10-01T18:56:49.893Z] Removing intermediate container 41c8401c3b07 [2024-10-01T18:56:49.893Z] ---> 492cb64c1b3a [2024-10-01T18:56:49.893Z] Step 25/26 : LABEL git_sha=f68d698c6dc1e64f39f51421a06dd7d78c3df028 [2024-10-01T18:56:50.163Z] ---> Running in 493ddd14160f [2024-10-01T18:56:50.434Z] Removing intermediate container 493ddd14160f [2024-10-01T18:56:50.434Z] ---> 170b12825381 [2024-10-01T18:56:50.434Z] Step 26/26 : LABEL version=0.0.0 [2024-10-01T18:56:50.434Z] ---> Running in 369127d47e69 [2024-10-01T18:56:50.701Z] Removing intermediate container 369127d47e69 [2024-10-01T18:56:50.701Z] ---> 74aa8491356f [2024-10-01T18:56:50.701Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T18:56:50.701Z] Successfully built 74aa8491356f [2024-10-01T18:56:50.701Z] 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-10-01T18:56:51.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T18:56:51.634Z] [2024-10-01T18:56:51.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:56:52.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T18:56:52.059Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-01T18:56:52.059Z] 8998bd30e6a1: Pulling fs layer [2024-10-01T18:56:52.059Z] 04944245beec: Pulling fs layer [2024-10-01T18:56:52.059Z] 699f458cf7ca: Pulling fs layer [2024-10-01T18:56:52.059Z] 765212b225bb: Pulling fs layer [2024-10-01T18:56:52.059Z] f23df028b6ca: Pulling fs layer [2024-10-01T18:56:52.059Z] d65c8cfc05b1: Pulling fs layer [2024-10-01T18:56:52.059Z] 2437ff75d9bd: Pulling fs layer [2024-10-01T18:56:52.059Z] f23df028b6ca: Waiting [2024-10-01T18:56:52.059Z] 765212b225bb: Waiting [2024-10-01T18:56:52.059Z] d65c8cfc05b1: Waiting [2024-10-01T18:56:52.059Z] 2437ff75d9bd: Waiting [2024-10-01T18:56:52.337Z] 04944245beec: Verifying Checksum [2024-10-01T18:56:52.337Z] 04944245beec: Download complete [2024-10-01T18:56:52.337Z] 765212b225bb: Verifying Checksum [2024-10-01T18:56:52.337Z] 765212b225bb: Download complete [2024-10-01T18:56:52.337Z] f23df028b6ca: Verifying Checksum [2024-10-01T18:56:52.337Z] f23df028b6ca: Download complete [2024-10-01T18:56:52.337Z] d65c8cfc05b1: Verifying Checksum [2024-10-01T18:56:52.337Z] d65c8cfc05b1: Download complete [2024-10-01T18:56:52.611Z] 699f458cf7ca: Verifying Checksum [2024-10-01T18:56:52.611Z] 699f458cf7ca: Download complete [2024-10-01T18:56:52.881Z] 8998bd30e6a1: Download complete [2024-10-01T18:56:55.474Z] 2437ff75d9bd: Verifying Checksum [2024-10-01T18:56:55.474Z] 2437ff75d9bd: Download complete [2024-10-01T18:56:57.428Z] 8998bd30e6a1: Pull complete [2024-10-01T18:56:58.018Z] 04944245beec: Pull complete [2024-10-01T18:56:59.431Z] 699f458cf7ca: Pull complete [2024-10-01T18:56:59.701Z] 765212b225bb: Pull complete [2024-10-01T18:57:00.663Z] f23df028b6ca: Pull complete [2024-10-01T18:57:00.663Z] d65c8cfc05b1: Pull complete [2024-10-01T18:57:18.882Z] 2437ff75d9bd: Pull complete [2024-10-01T18:57:18.882Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-01T18:57:18.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T18:57:18.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:57:19.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-12491 does not seem to be running inside a container [2024-10-01T18:57:19.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-01T18:57:22.159Z] $ docker top 6ed7f5538b6bad30612deb7f0530af68eb20fe9371ee2f442b76d6fee108e496 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:23.205Z] ---> job-cost.sh [2024-10-01T18:57:23.206Z] lf-activate-venv: SKIPPING [2024-10-01T18:57:23.206Z] INFO: No Stack... [2024-10-01T18:57:23.826Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-01T18:57:24.419Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T18:57:25.091Z] + + cut -d, -f6 [2024-10-01T18:57:25.091Z] cat /w/workspace/device-uart/1/archives/cost.csv [Pipeline] lock [2024-10-01T18:57:25.151Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [2024-10-01T18:57:25.158Z] Resource [jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] did not exist. Created. [2024-10-01T18:57:25.168Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T18:57:25.955Z] /w/workspace/device-uart/1@tmp/durable-301582ef/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-01T18:57:26.624Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-01T18:57:26.674Z] Warning: overwriting stash ‘stack-cost’ [2024-10-01T18:57:26.720Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T18:57:26.743Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T18:57:26.842Z] $ docker stop --time=1 6ed7f5538b6bad30612deb7f0530af68eb20fe9371ee2f442b76d6fee108e496 [2024-10-01T18:57:28.386Z] $ docker rm -f --volumes 6ed7f5538b6bad30612deb7f0530af68eb20fe9371ee2f442b76d6fee108e496 [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-10-01T18:57:29.805Z] provisioning config files... [2024-10-01T18:57:29.812Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-71@tmp/config11781375591405528058tmp [Pipeline] { [Pipeline] sh [2024-10-01T18:57:30.173Z] + set +x [2024-10-01T18:57:30.173Z] + bash -s -- [2024-10-01T18:57:30.173Z] + curl -s https://codecov.io/bash [2024-10-01T18:57:30.173Z] [2024-10-01T18:57:30.173Z] _____ _ [2024-10-01T18:57:30.173Z] / ____| | | [2024-10-01T18:57:30.173Z] | | ___ __| | ___ ___ _____ __ [2024-10-01T18:57:30.173Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-01T18:57:30.173Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-01T18:57:30.173Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-01T18:57:30.173Z] Bash-1.0.6 [2024-10-01T18:57:30.173Z] [2024-10-01T18:57:30.173Z] [2024-10-01T18:57:30.173Z] ==> git version 2.25.1 found [2024-10-01T18:57:30.173Z] ==> 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-10-01T18:57:30.173Z] Release-Date: 2020-01-08 [2024-10-01T18:57:30.173Z] 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-10-01T18:57:30.173Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-01T18:57:30.173Z] ==> Jenkins CI detected. [2024-10-01T18:57:30.173Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-71 [2024-10-01T18:57:30.173Z] project root: . [2024-10-01T18:57:30.173Z] --> token set from env [2024-10-01T18:57:30.174Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-01T18:57:30.174Z] ==> Running gcov in . (disable via -X gcov) [2024-10-01T18:57:30.174Z] ==> Python coveragepy not found [2024-10-01T18:57:30.174Z] ==> Searching for coverage reports in: [2024-10-01T18:57:30.174Z] + . [2024-10-01T18:57:30.435Z] -> Found 1 reports [2024-10-01T18:57:30.435Z] ==> Detecting git/mercurial file structure [2024-10-01T18:57:30.435Z] ==> Reading reports [2024-10-01T18:57:30.435Z] + ./coverage.out bytes=10 [2024-10-01T18:57:30.435Z] ==> Appending adjustments [2024-10-01T18:57:30.435Z] https://docs.codecov.io/docs/fixing-reports [2024-10-01T18:57:30.435Z] + Found adjustments [2024-10-01T18:57:30.435Z] ==> Gzipping contents [2024-10-01T18:57:30.435Z] 4.0K /tmp/codecov.OCmf7U.gz [2024-10-01T18:57:30.435Z] ==> Uploading reports [2024-10-01T18:57:30.435Z] url: https://codecov.io [2024-10-01T18:57:30.435Z] query: branch=PR-71&commit=f68d698c6dc1e64f39f51421a06dd7d78c3df028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-71%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=71&job=&cmd_args= [2024-10-01T18:57:30.435Z] -> Pinging Codecov [2024-10-01T18:57:30.435Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-71&commit=f68d698c6dc1e64f39f51421a06dd7d78c3df028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-71%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=71&job=&cmd_args= [2024-10-01T18:57:30.696Z] -> Uploading to [2024-10-01T18:57:30.696Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/f68d698c6dc1e64f39f51421a06dd7d78c3df028/d22a066c-e43d-44f0-aedd-9f5edd89bc67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T185730Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d7f0ca9f06e643cca6c98b64397fca178983eff3f53d063cb7eb8b40299cce92 [2024-10-01T18:57:30.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T18:57:30.696Z] Dload Upload Total Spent Left Speed [2024-10-01T18:57:30.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2668 --:--:-- --:--:-- --:--:-- 2668 [2024-10-01T18:57:30.958Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/f68d698c6dc1e64f39f51421a06dd7d78c3df028 [Pipeline] } [2024-10-01T18:57:30.990Z] 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-10-01T18:57:33.396Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-71/archives ] [2024-10-01T18:57:33.396Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-71/archives [2024-10-01T18:57:33.396Z] total 16 [2024-10-01T18:57:33.396Z] drwxr-xr-x 3 root root 4096 Oct 1 18:43 . [2024-10-01T18:57:33.396Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 1 18:43 .. [2024-10-01T18:57:33.396Z] drwxr-xr-x 2 root root 4096 Oct 1 18:43 cost [2024-10-01T18:57:33.396Z] -rw-r--r-- 1 root root 82 Oct 1 18:43 cost.csv [2024-10-01T18:57:33.396Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-71/archives [2024-10-01T18:57:33.396Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-71/archives [2024-10-01T18:57:33.396Z] total 16 [2024-10-01T18:57:33.396Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:43 . [2024-10-01T18:57:33.396Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 1 18:43 .. [2024-10-01T18:57:33.396Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 18:43 cost [2024-10-01T18:57:33.396Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 1 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:33.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:34.640Z] ---> package-listing.sh [2024-10-01T18:57:34.640Z] ++ facter osfamily [2024-10-01T18:57:34.640Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-01T18:57:34.900Z] + OS_FAMILY=debian [2024-10-01T18:57:34.900Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-71 [2024-10-01T18:57:34.900Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-01T18:57:34.900Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-01T18:57:34.900Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-01T18:57:34.900Z] + PACKAGES=/tmp/packages_start.txt [2024-10-01T18:57:34.900Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-71 ']' [2024-10-01T18:57:34.900Z] + PACKAGES=/tmp/packages_end.txt [2024-10-01T18:57:34.900Z] + case "${OS_FAMILY}" in [2024-10-01T18:57:34.900Z] + dpkg -l [2024-10-01T18:57:34.900Z] + grep '^ii' [2024-10-01T18:57:34.900Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-01T18:57:34.900Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-01T18:57:34.900Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-01T18:57:34.900Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-71 ']' [2024-10-01T18:57:34.900Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-71/archives/ [2024-10-01T18:57:34.900Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-71/archives/ [Pipeline] echo [2024-10-01T18:57:34.940Z] 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-01T18:57:35.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:57:35.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:57:35.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:57:36.071Z] prd-ubuntu20.04-docker-8c-8g-12485 does not seem to be running inside a container [2024-10-01T18:57:36.098Z] $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-uart_PR-71:/w/workspace/edgexfoundry_device-uart_PR-71:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-71@tmp:/w/workspace/edgexfoundry_device-uart_PR-71@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-10-01T18:57:36.289Z] $ docker top 8c817eb00a89ce00194e28b7b6be7173d18a73d01c5b9e8d04fee41b5a20aed8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:57:36.709Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-01T18:57:37.027Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-01T18:57:37.353Z] + ls /var/log/sa-host [2024-10-01T18:57:37.353Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:57:37.621Z] provisioning config files... [2024-10-01T18:57:37.630Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-71@tmp/config7944408031788036633tmp [Pipeline] { [Pipeline] echo [2024-10-01T18:57:37.699Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:38.025Z] ---> create-netrc.sh [Pipeline] } [2024-10-01T18:57:38.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:38.481Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-01T18:57:38.518Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:38.840Z] ---> sudo-logs.sh [2024-10-01T18:57:38.840Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-01T18:57:38.957Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:39.284Z] ---> job-cost.sh [2024-10-01T18:57:39.284Z] lf-activate-venv: SKIPPING [2024-10-01T18:57:39.284Z] DEBUG: total: 0.2199999988079071 [2024-10-01T18:57:39.284Z] INFO: Retrieving Stack Cost... [2024-10-01T18:57:39.543Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T18:57:39.802Z] INFO: Archiving Costs [Pipeline] echo [2024-10-01T18:57:39.843Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:57:40.164Z] ---> logs-deploy.sh [2024-10-01T18:57:40.164Z] lf-activate-venv: SKIPPING [2024-10-01T18:57:40.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-71/1 [2024-10-01T18:57:40.164Z] INFO: archiving workspace using pattern(s): [2024-10-01T18:57:41.104Z] Archives upload complete. [2024-10-01T18:57:41.104Z] INFO: archiving logs to Nexus