Pull request #74 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-uart Obtained Jenkinsfile from 44e0fc2ef96c30d275bce862755fe28b7851df0b+23327eef742656f25952fb3dd9c4e82b8abf1118 (33b111ded83f8a6bb92fa75fb630733d8519cf89) 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-ssh3813578460448480033.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh12553674886564113301.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-74/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-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15695266730652698150.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-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13377471902174039392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh9782061817279035449.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-74/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-74/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14275915791975107999.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15555’ Running on prd-ubuntu20.04-docker-8c-8g-15557 in /w/workspace/edgexfoundry_device-uart_PR-74 [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-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit 44e0fc2ef96c30d275bce862755fe28b7851df0b Merge succeeded, producing 44e0fc2ef96c30d275bce862755fe28b7851df0b Checking out Revision 44e0fc2ef96c30d275bce862755fe28b7851df0b (PR-74) > 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/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44e0fc2ef96c30d275bce862755fe28b7851df0b # 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 44e0fc2ef96c30d275bce862755fe28b7851df0b # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T03:21:19.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T03:21:19.946Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T03:21:20.066Z] ========================================================= [2024-10-04T03:21:20.066Z] EdgeX Global Pipelines Version Info [2024-10-04T03:21:20.066Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:21:21.229Z] ------------------- [2024-10-04T03:21:21.229Z] stable info: [2024-10-04T03:21:21.229Z] ------------------- [2024-10-04T03:21:21.229Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T03:21:21.229Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T03:21:21.229Z] Message: update stable to v1.0.265 [2024-10-04T03:21:21.491Z] ------------------- [2024-10-04T03:21:21.491Z] experimental info: [2024-10-04T03:21:21.491Z] ------------------- [2024-10-04T03:21:21.491Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T03:21:21.491Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T03:21:21.491Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T03:21:21.699Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-04T03:21:21.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-04T03:21:21.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T03:21:21.881Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T03:21:21.947Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T03:21:22.013Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T03:21:22.068Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T03:21:22.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T03:21:22.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T03:21:22.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T03:21:22.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T03:21:22.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-04T03:21:22.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T03:21:22.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T03:21:22.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T03:21:22.663Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T03:21:22.720Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T03:21:22.780Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T03:21:22.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T03:21:22.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T03:21:22.959Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T03:21:23.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T03:21:23.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T03:21:23.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T03:21:23.192Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T03:21:23.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T03:21:23.312Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T03:21:23.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo [2024-10-04T03:21:23.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo [2024-10-04T03:21:23.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo [2024-10-04T03:21:23.546Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44e0fc2ef96c30d275bce862755fe28b7851df0b [Pipeline] echo [2024-10-04T03:21:23.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44e0fc2 [Pipeline] echo [2024-10-04T03:21:23.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T03:21:23.809Z] provisioning config files... [2024-10-04T03:21:23.824Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-74@tmp/config11471215627009471812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:21:24.206Z] ---> ****-login.sh [2024-10-04T03:21:24.206Z] nexus3.edgexfoundry.org:10001 [2024-10-04T03:21:24.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:24.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:24.467Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:24.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:24.467Z] [2024-10-04T03:21:24.467Z] Login Succeeded [2024-10-04T03:21:24.467Z] nexus3.edgexfoundry.org:10002 [2024-10-04T03:21:24.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:24.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:24.743Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:24.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:24.743Z] [2024-10-04T03:21:24.743Z] Login Succeeded [2024-10-04T03:21:24.743Z] nexus3.edgexfoundry.org:10003 [2024-10-04T03:21:24.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:24.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:24.744Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:24.744Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:24.744Z] [2024-10-04T03:21:24.744Z] Login Succeeded [2024-10-04T03:21:24.744Z] nexus3.edgexfoundry.org:10004 [2024-10-04T03:21:25.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:25.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:25.005Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:25.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:25.005Z] [2024-10-04T03:21:25.005Z] Login Succeeded [2024-10-04T03:21:25.005Z] ****.io [2024-10-04T03:21:25.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:25.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:25.266Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:25.266Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:25.266Z] [2024-10-04T03:21:25.266Z] Login Succeeded [2024-10-04T03:21:25.266Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T03:21:25.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T03:21:26.036Z] + git rev-list -1 --merges 44e0fc2ef96c30d275bce862755fe28b7851df0b~1..44e0fc2ef96c30d275bce862755fe28b7851df0b [Pipeline] echo [2024-10-04T03:21:26.087Z] -----------> git rev-list -1 --merges 44e0fc2ef96c30d275bce862755fe28b7851df0b~1..44e0fc2ef96c30d275bce862755fe28b7851df0b 44e0fc2ef96c30d275bce862755fe28b7851df0b [false] [Pipeline] sh [2024-10-04T03:21:26.414Z] + git log --format=format:%s -1 44e0fc2ef96c30d275bce862755fe28b7851df0b [Pipeline] echo [2024-10-04T03:21:26.458Z] ========================================================= [2024-10-04T03:21:26.458Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T03:21:26.458Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T03:21:26.918Z] + git log --format=format:%s -1 44e0fc2ef96c30d275bce862755fe28b7851df0b [Pipeline] echo [2024-10-04T03:21:26.964Z] [semverPrep] GIT_COMMIT: 44e0fc2ef96c30d275bce862755fe28b7851df0b, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T03:21:27.007Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T03:21:27.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T03:21:27.410Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T03:21:27.410Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T03:21:27.410Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T03:21:27.410Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T03:21:27.410Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T03:21:27.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:21:27.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T03:21:27.929Z] [2024-10-04T03:21:27.929Z] 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-04T03:21:28.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T03:21:28.332Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T03:21:28.332Z] b85a868b505f: Pulling fs layer [2024-10-04T03:21:28.332Z] e2be974225ed: Pulling fs layer [2024-10-04T03:21:28.332Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T03:21:28.332Z] 988bab9f4d93: Pulling fs layer [2024-10-04T03:21:28.332Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T03:21:28.332Z] eaf3925da568: Pulling fs layer [2024-10-04T03:21:28.332Z] bab4dde63d76: Pulling fs layer [2024-10-04T03:21:28.332Z] bde34c3a00c8: Pulling fs layer [2024-10-04T03:21:28.332Z] b352a97aabf1: Pulling fs layer [2024-10-04T03:21:28.332Z] 4872d77fe225: Pulling fs layer [2024-10-04T03:21:28.332Z] 5851b861e8e6: Pulling fs layer [2024-10-04T03:21:28.332Z] b352a97aabf1: Waiting [2024-10-04T03:21:28.332Z] bde34c3a00c8: Waiting [2024-10-04T03:21:28.332Z] 4872d77fe225: Waiting [2024-10-04T03:21:28.332Z] eaf3925da568: Waiting [2024-10-04T03:21:28.332Z] bab4dde63d76: Waiting [2024-10-04T03:21:28.332Z] 5851b861e8e6: Waiting [2024-10-04T03:21:28.332Z] 1469e6f7b9e6: Waiting [2024-10-04T03:21:28.332Z] 988bab9f4d93: Waiting [2024-10-04T03:21:28.332Z] e2be974225ed: Download complete [2024-10-04T03:21:28.332Z] 988bab9f4d93: Verifying Checksum [2024-10-04T03:21:28.332Z] 988bab9f4d93: Download complete [2024-10-04T03:21:28.332Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T03:21:28.332Z] 1469e6f7b9e6: Download complete [2024-10-04T03:21:28.332Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T03:21:28.332Z] 339a4e72a1f5: Download complete [2024-10-04T03:21:28.595Z] eaf3925da568: Download complete [2024-10-04T03:21:28.595Z] bde34c3a00c8: Verifying Checksum [2024-10-04T03:21:28.595Z] bde34c3a00c8: Download complete [2024-10-04T03:21:28.595Z] b352a97aabf1: Download complete [2024-10-04T03:21:28.595Z] 4872d77fe225: Verifying Checksum [2024-10-04T03:21:28.595Z] 4872d77fe225: Download complete [2024-10-04T03:21:28.595Z] 5851b861e8e6: Download complete [2024-10-04T03:21:28.595Z] b85a868b505f: Download complete [2024-10-04T03:21:28.853Z] bab4dde63d76: Verifying Checksum [2024-10-04T03:21:28.853Z] bab4dde63d76: Download complete [2024-10-04T03:21:30.246Z] b85a868b505f: Pull complete [2024-10-04T03:21:30.246Z] e2be974225ed: Pull complete [2024-10-04T03:21:30.818Z] 339a4e72a1f5: Pull complete [2024-10-04T03:21:30.818Z] 988bab9f4d93: Pull complete [2024-10-04T03:21:31.080Z] 1469e6f7b9e6: Pull complete [2024-10-04T03:21:31.080Z] eaf3925da568: Pull complete [2024-10-04T03:21:32.985Z] bab4dde63d76: Pull complete [2024-10-04T03:21:32.985Z] bde34c3a00c8: Pull complete [2024-10-04T03:21:32.985Z] b352a97aabf1: Pull complete [2024-10-04T03:21:32.985Z] 4872d77fe225: Pull complete [2024-10-04T03:21:33.246Z] 5851b861e8e6: Pull complete [2024-10-04T03:21:33.246Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T03:21:33.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T03:21:33.246Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:21:33.524Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2024-10-04T03:21:33.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-74 -v /w/workspace/edgexfoundry_device-uart_PR-74:/w/workspace/edgexfoundry_device-uart_PR-74:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-74@tmp:/w/workspace/edgexfoundry_device-uart_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T03:21:37.251Z] $ docker top c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 -eo pid,comm [2024-10-04T03:21:37.304Z] 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-04T03:21:37.304Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T03:21:37.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T03:21:37.479Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T03:21:37.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T03:21:37.611Z] $ docker exec c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 ssh-agent [2024-10-04T03:21:37.716Z] SSH_AUTH_SOCK=/tmp/ssh-G07b2vmBBuQC/agent.33 [2024-10-04T03:21:37.716Z] SSH_AGENT_PID=39 [2024-10-04T03:21:37.723Z] Running ssh-add (command line suppressed) [2024-10-04T03:21:37.825Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-74@tmp/private_key_468229798261560170.key (/w/workspace/edgexfoundry_device-uart_PR-74@tmp/private_key_468229798261560170.key) [2024-10-04T03:21:37.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T03:21:38.177Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T03:21:38.206Z] $ docker exec --env ******** --env ******** c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 ssh-agent -k [2024-10-04T03:21:38.293Z] unset SSH_AUTH_SOCK; [2024-10-04T03:21:38.293Z] unset SSH_AGENT_PID; [2024-10-04T03:21:38.293Z] echo Agent pid 39 killed; [2024-10-04T03:21:38.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T03:21:38.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T03:21:38.412Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T03:21:38.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T03:21:38.535Z] $ docker exec c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 ssh-agent [2024-10-04T03:21:38.643Z] SSH_AUTH_SOCK=/tmp/ssh-4qmlDKrzjY2B/agent.72 [2024-10-04T03:21:38.643Z] SSH_AGENT_PID=78 [2024-10-04T03:21:38.647Z] Running ssh-add (command line suppressed) [2024-10-04T03:21:38.754Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-74@tmp/private_key_5669680551078120252.key (/w/workspace/edgexfoundry_device-uart_PR-74@tmp/private_key_5669680551078120252.key) [2024-10-04T03:21:38.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T03:21:39.101Z] + git semver init [2024-10-04T03:21:39.360Z] 2024-10-04 03:21:39,285 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T03:21:39.360Z] 2024-10-04 03:21:39,286 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-74/.semver [2024-10-04T03:21:39.360Z] 2024-10-04 03:21:39,286 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-74/.semver [2024-10-04T03:21:39.360Z] 2024-10-04 03:21:39,286 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-74/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-74, universal_newlines=False, shell=None, istream=None) [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,462 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-74/.git/info/exclude [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-74/.semver/PR-74 with force:False [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,463 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-74/.semver/PR-74 [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,467 [execute] INFO git cat-file --batch-check [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-74/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,474 [execute] INFO git cat-file --batch [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-74/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T03:21:40.737Z] 2024-10-04 03:21:40,480 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-74/.semver/PR-74 [2024-10-04T03:21:40.737Z] 0.0.0 [Pipeline] } [2024-10-04T03:21:40.769Z] $ docker exec --env ******** --env ******** c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 ssh-agent -k [2024-10-04T03:21:40.883Z] unset SSH_AUTH_SOCK; [2024-10-04T03:21:40.884Z] unset SSH_AGENT_PID; [2024-10-04T03:21:40.884Z] echo Agent pid 78 killed; [2024-10-04T03:21:40.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T03:21:41.355Z] + git semver [Pipeline] } [2024-10-04T03:21:41.706Z] $ docker stop --time=1 c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 [2024-10-04T03:21:43.057Z] $ docker rm -f --volumes c2316fbd7e4204b03af7a8865ca372d1a115f8f329b559222c31297764328987 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T03:21:43.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T03:21:43.820Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T03:21:43.844Z] [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-04T03:21:44.528Z] provisioning config files... [2024-10-04T03:21:44.539Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-74@tmp/config7283089776049050189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:21:44.919Z] ---> ****-login.sh [2024-10-04T03:21:44.919Z] nexus3.edgexfoundry.org:10001 [2024-10-04T03:21:44.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:44.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:44.919Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:44.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:44.920Z] [2024-10-04T03:21:44.920Z] Login Succeeded [2024-10-04T03:21:44.920Z] nexus3.edgexfoundry.org:10002 [2024-10-04T03:21:44.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:44.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:44.920Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:44.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:44.920Z] [2024-10-04T03:21:44.920Z] Login Succeeded [2024-10-04T03:21:44.920Z] nexus3.edgexfoundry.org:10003 [2024-10-04T03:21:45.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:45.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:45.179Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:45.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:45.179Z] [2024-10-04T03:21:45.179Z] Login Succeeded [2024-10-04T03:21:45.179Z] nexus3.edgexfoundry.org:10004 [2024-10-04T03:21:45.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:45.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:45.179Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:45.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:45.179Z] [2024-10-04T03:21:45.179Z] Login Succeeded [2024-10-04T03:21:45.179Z] ****.io [2024-10-04T03:21:45.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:21:45.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:21:45.440Z] Configure a credential helper to remove this warning. See [2024-10-04T03:21:45.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:21:45.440Z] [2024-10-04T03:21:45.440Z] Login Succeeded [2024-10-04T03:21:45.440Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T03:21:45.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T03:21:45.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T03:21:45.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T03:21:45.802Z] ========================================================= [2024-10-04T03:21:45.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T03:21:45.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:21:46.320Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T03:21:46.320Z] Sending build context to Docker daemon 25.65MB [2024-10-04T03:21:46.320Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T03:21:46.320Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T03:21:46.592Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T03:21:46.592Z] 43c4264eed91: Pulling fs layer [2024-10-04T03:21:46.592Z] 4cc291be95ef: Pulling fs layer [2024-10-04T03:21:46.592Z] 2ac1f1163629: Pulling fs layer [2024-10-04T03:21:46.592Z] 5c3c966382ef: Pulling fs layer [2024-10-04T03:21:46.592Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T03:21:46.592Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T03:21:46.592Z] 9f66e0745190: Pulling fs layer [2024-10-04T03:21:46.592Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T03:21:46.592Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T03:21:46.592Z] 5c3c966382ef: Waiting [2024-10-04T03:21:46.592Z] 4f4fb700ef54: Waiting [2024-10-04T03:21:46.592Z] 5d5c8e513c77: Waiting [2024-10-04T03:21:46.592Z] 9f66e0745190: Waiting [2024-10-04T03:21:46.592Z] f49a43e4bbc0: Waiting [2024-10-04T03:21:46.592Z] 561ebcabdf7f: Waiting [2024-10-04T03:21:46.592Z] 4cc291be95ef: Verifying Checksum [2024-10-04T03:21:46.592Z] 4cc291be95ef: Download complete [2024-10-04T03:21:46.592Z] 5c3c966382ef: Verifying Checksum [2024-10-04T03:21:46.592Z] 5c3c966382ef: Download complete [2024-10-04T03:21:46.592Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T03:21:46.592Z] 4f4fb700ef54: Download complete [2024-10-04T03:21:46.592Z] 43c4264eed91: Download complete [2024-10-04T03:21:46.592Z] 9f66e0745190: Verifying Checksum [2024-10-04T03:21:46.592Z] 9f66e0745190: Download complete [2024-10-04T03:21:46.854Z] 43c4264eed91: Pull complete [2024-10-04T03:21:46.855Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T03:21:46.855Z] 561ebcabdf7f: Download complete [2024-10-04T03:21:46.855Z] 4cc291be95ef: Pull complete [2024-10-04T03:21:47.114Z] 2ac1f1163629: Verifying Checksum [2024-10-04T03:21:47.114Z] 2ac1f1163629: Download complete [2024-10-04T03:21:47.373Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T03:21:47.373Z] f49a43e4bbc0: Download complete [2024-10-04T03:21:50.661Z] 2ac1f1163629: Pull complete [2024-10-04T03:21:50.922Z] 5c3c966382ef: Pull complete [2024-10-04T03:21:50.922Z] 4f4fb700ef54: Pull complete [2024-10-04T03:21:51.182Z] 5d5c8e513c77: Pull complete [2024-10-04T03:21:51.182Z] 9f66e0745190: Pull complete [2024-10-04T03:21:53.717Z] f49a43e4bbc0: Pull complete [2024-10-04T03:21:54.287Z] 561ebcabdf7f: Pull complete [2024-10-04T03:21:54.287Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T03:21:54.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T03:21:54.287Z] ---> 3a752c3f9dda [2024-10-04T03:21:54.287Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T03:21:59.313Z] Still waiting to schedule task [2024-10-04T03:21:59.314Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-04T03:22:00.948Z] ---> Running in 7ec289b4c644 [2024-10-04T03:22:00.948Z] Removing intermediate container 7ec289b4c644 [2024-10-04T03:22:00.948Z] ---> d1a1b67d8723 [2024-10-04T03:22:00.948Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T03:22:00.948Z] ---> Running in 03d1fbbe3ca3 [2024-10-04T03:22:00.948Z] Removing intermediate container 03d1fbbe3ca3 [2024-10-04T03:22:00.948Z] ---> 136b9f7d8116 [2024-10-04T03:22:00.948Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T03:22:00.948Z] ---> Running in 44f9e1984872 [2024-10-04T03:22:00.948Z] Removing intermediate container 44f9e1984872 [2024-10-04T03:22:00.948Z] ---> bb58c871bd4a [2024-10-04T03:22:00.948Z] Step 6/12 : WORKDIR /device-uart [2024-10-04T03:22:00.948Z] ---> Running in f195eb4b4c17 [2024-10-04T03:22:00.948Z] Removing intermediate container f195eb4b4c17 [2024-10-04T03:22:00.948Z] ---> 4ac6dc1313b5 [2024-10-04T03:22:00.948Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T03:22:00.948Z] ---> Running in c4031bf8bcde [2024-10-04T03:22:00.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T03:22:00.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T03:22:01.209Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T03:22:01.209Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T03:22:01.209Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T03:22:01.209Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T03:22:01.470Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:22:01.470Z] OK: 250 MiB in 58 packages [2024-10-04T03:22:02.040Z] Removing intermediate container c4031bf8bcde [2024-10-04T03:22:02.040Z] ---> c054bc238207 [2024-10-04T03:22:02.040Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T03:22:02.040Z] ---> d28bcdc2e51a [2024-10-04T03:22:02.040Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T03:22:02.040Z] ---> Running in b08d877973ff [2024-10-04T03:22:58.356Z] Removing intermediate container b08d877973ff [2024-10-04T03:22:58.356Z] ---> 6a3c9308a256 [2024-10-04T03:22:58.356Z] Step 10/12 : COPY . . [2024-10-04T03:22:59.827Z] ---> f2bb1e914acd [2024-10-04T03:22:59.827Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T03:22:59.827Z] ---> Running in c5a9c9fe85eb [2024-10-04T03:22:59.827Z] Removing intermediate container c5a9c9fe85eb [2024-10-04T03:22:59.827Z] ---> af2eb23286ac [2024-10-04T03:22:59.827Z] Step 12/12 : RUN ${MAKE} [2024-10-04T03:22:59.827Z] ---> Running in ecb1bb4dae25 [2024-10-04T03:23:00.085Z] noop [2024-10-04T03:23:00.345Z] Removing intermediate container ecb1bb4dae25 [2024-10-04T03:23:00.345Z] ---> 2cb8147c9d28 [2024-10-04T03:23:00.345Z] Successfully built 2cb8147c9d28 [2024-10-04T03:23:00.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:23:00.834Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T03:23:00.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:23:01.018Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2024-10-04T03:23:01.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-74 -v /w/workspace/edgexfoundry_device-uart_PR-74:/w/workspace/edgexfoundry_device-uart_PR-74:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-74@tmp:/w/workspace/edgexfoundry_device-uart_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T03:23:01.386Z] $ docker top 03c4475b15b2e7757a9bc035a54d5a5e0937a2b941c71f3a9648fb80227cb8e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T03:23:01.811Z] + go version [2024-10-04T03:23:01.811Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T03:23:01.851Z] $ docker stop --time=1 03c4475b15b2e7757a9bc035a54d5a5e0937a2b941c71f3a9648fb80227cb8e0 [2024-10-04T03:23:03.136Z] $ docker rm -f --volumes 03c4475b15b2e7757a9bc035a54d5a5e0937a2b941c71f3a9648fb80227cb8e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:23:03.988Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T03:23:03.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:23:04.180Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2024-10-04T03:23:04.214Z] $ 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-74 -v /w/workspace/edgexfoundry_device-uart_PR-74:/w/workspace/edgexfoundry_device-uart_PR-74:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-74@tmp:/w/workspace/edgexfoundry_device-uart_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T03:23:04.557Z] $ docker top 8575061de613d1df3325afbbbf0044c5435b1478dbc9b7ca1d3b60123028df19 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T03:23:04.999Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-74 [Pipeline] fileExists [Pipeline] sh [2024-10-04T03:23:05.385Z] + make test [2024-10-04T03:23:05.385Z] go test ./... -coverprofile=coverage.out [2024-10-04T03:23:07.427Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-04T03:23:29.347Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-04T03:23:29.347Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-04T03:23:37.454Z] go vet ./... [2024-10-04T03:23:44.015Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T03:23:44.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T03:23:44.015Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T03:23:44.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T03:23:44.119Z] $ docker stop --time=1 8575061de613d1df3325afbbbf0044c5435b1478dbc9b7ca1d3b60123028df19 [2024-10-04T03:23:48.839Z] $ docker rm -f --volumes 8575061de613d1df3325afbbbf0044c5435b1478dbc9b7ca1d3b60123028df19 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T03:23:49.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T03:23:49.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T03:23:50.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T03:23:50.785Z] + ls -al . [2024-10-04T03:23:50.785Z] total 236 [2024-10-04T03:23:50.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 03:23 . [2024-10-04T03:23:50.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 03:21 .. [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 03:21 .dockerignore [2024-10-04T03:23:50.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 03:23 .git [2024-10-04T03:23:50.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:21 .github [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 4 03:21 .gitignore [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 4 03:21 .golangci.yml [2024-10-04T03:23:50.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 03:21 .semver [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 4 03:21 Attribution.txt [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 4 03:21 CHANGELOG.md [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 4 03:21 Dockerfile [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 03:21 GOVERNANCE.md [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 4 03:21 Jenkinsfile [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 03:21 LICENSE [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 4 03:21 Makefile [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 03:21 OWNERS.md [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 4 03:21 README.md [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 03:21 VERSION [2024-10-04T03:23:50.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 03:21 bin [2024-10-04T03:23:50.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:21 cmd [2024-10-04T03:23:50.785Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 4 03:23 coverage.out [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 4 03:21 go.mod [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 4 03:21 go.sum [2024-10-04T03:23:50.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:21 internal [2024-10-04T03:23:50.785Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 03:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:23:51.219Z] + 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=44e0fc2ef96c30d275bce862755fe28b7851df0b --label arch=amd64 --label version=0.0.0 . [2024-10-04T03:23:51.219Z] Sending build context to Docker daemon 25.66MB [2024-10-04T03:23:51.219Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T03:23:51.219Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T03:23:51.219Z] ---> 2cb8147c9d28 [2024-10-04T03:23:51.219Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T03:23:51.478Z] ---> Running in 83b056805360 [2024-10-04T03:23:51.738Z] Removing intermediate container 83b056805360 [2024-10-04T03:23:51.738Z] ---> 62b8d68cfb88 [2024-10-04T03:23:51.738Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T03:23:51.738Z] ---> Running in b042c075f479 [2024-10-04T03:23:51.738Z] Removing intermediate container b042c075f479 [2024-10-04T03:23:51.738Z] ---> e34262fa5888 [2024-10-04T03:23:51.738Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T03:23:51.738Z] ---> Running in 65c98c92ab81 [2024-10-04T03:23:51.738Z] Removing intermediate container 65c98c92ab81 [2024-10-04T03:23:51.738Z] ---> b151cdf0080a [2024-10-04T03:23:51.738Z] Step 6/26 : WORKDIR /device-uart [2024-10-04T03:23:51.738Z] ---> Running in c0d63786635e [2024-10-04T03:23:51.997Z] Removing intermediate container c0d63786635e [2024-10-04T03:23:51.997Z] ---> c0c1a245d8cb [2024-10-04T03:23:51.997Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T03:23:51.997Z] ---> Running in 19ddf0242d97 [2024-10-04T03:23:52.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T03:23:52.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T03:23:52.516Z] OK: 250 MiB in 58 packages [2024-10-04T03:23:52.775Z] Removing intermediate container 19ddf0242d97 [2024-10-04T03:23:52.775Z] ---> 845efbe09fbe [2024-10-04T03:23:52.775Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T03:23:53.035Z] ---> a189b288adfe [2024-10-04T03:23:53.035Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T03:23:53.035Z] ---> Running in 30882cdc3a80 [2024-10-04T03:23:53.604Z] Removing intermediate container 30882cdc3a80 [2024-10-04T03:23:53.604Z] ---> f1123d93b453 [2024-10-04T03:23:53.604Z] Step 10/26 : COPY . . [2024-10-04T03:23:54.541Z] ---> c655f73ba63b [2024-10-04T03:23:54.541Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T03:23:54.541Z] ---> Running in 3ca95983ae4f [2024-10-04T03:23:54.541Z] Removing intermediate container 3ca95983ae4f [2024-10-04T03:23:54.541Z] ---> 1d7307ae11c1 [2024-10-04T03:23:54.541Z] Step 12/26 : RUN ${MAKE} [2024-10-04T03:23:54.541Z] ---> Running in 1400d2153592 [2024-10-04T03:23:54.801Z] 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.41" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-04T03:24:33.528Z] Removing intermediate container 1400d2153592 [2024-10-04T03:24:33.528Z] ---> c34695a0e9fd [2024-10-04T03:24:33.528Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T03:24:33.528Z] 3.20: Pulling from library/alpine [2024-10-04T03:24:33.528Z] 43c4264eed91: Already exists [2024-10-04T03:24:33.528Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T03:24:33.528Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T03:24:33.528Z] ---> 91ef0af61f39 [2024-10-04T03:24:33.528Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T03:24:33.528Z] ---> Running in 789005448f74 [2024-10-04T03:24:33.528Z] Removing intermediate container 789005448f74 [2024-10-04T03:24:33.528Z] ---> 6b6ab28a7d0b [2024-10-04T03:24:33.528Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T03:24:33.528Z] ---> Running in 6f9d1d2e42a2 [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T03:24:33.528Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:24:33.528Z] OK: 8 MiB in 15 packages [2024-10-04T03:24:33.528Z] Removing intermediate container 6f9d1d2e42a2 [2024-10-04T03:24:33.528Z] ---> 3ce6473971d9 [2024-10-04T03:24:33.528Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T03:24:33.528Z] ---> Running in dcc70c7a018b [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] Upgrading critical system libraries and apk-tools: [2024-10-04T03:24:33.528Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T03:24:33.528Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:24:33.528Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T03:24:33.528Z] OK: 8 MiB in 15 packages [2024-10-04T03:24:33.528Z] Removing intermediate container dcc70c7a018b [2024-10-04T03:24:33.528Z] ---> 723d91876e38 [2024-10-04T03:24:33.528Z] Step 17/26 : WORKDIR / [2024-10-04T03:24:33.528Z] ---> Running in 8cd1914817de [2024-10-04T03:24:33.528Z] Removing intermediate container 8cd1914817de [2024-10-04T03:24:33.528Z] ---> 704e99169bae [2024-10-04T03:24:33.528Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-04T03:24:33.528Z] ---> 96a344e93233 [2024-10-04T03:24:33.528Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-04T03:24:33.528Z] ---> d700506d98c1 [2024-10-04T03:24:33.528Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-04T03:24:34.909Z] ---> a42fb96de6a0 [2024-10-04T03:24:34.909Z] Step 21/26 : EXPOSE 59995 [2024-10-04T03:24:34.909Z] ---> Running in d4346528dc8a [2024-10-04T03:24:34.909Z] Removing intermediate container d4346528dc8a [2024-10-04T03:24:34.909Z] ---> 07dbdd96d446 [2024-10-04T03:24:34.909Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-04T03:24:34.909Z] ---> Running in 1a481b625c6b [2024-10-04T03:24:34.909Z] Removing intermediate container 1a481b625c6b [2024-10-04T03:24:34.909Z] ---> 8bbeebcc8fb8 [2024-10-04T03:24:34.909Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T03:24:34.909Z] ---> Running in 098c81a66618 [2024-10-04T03:24:34.909Z] Removing intermediate container 098c81a66618 [2024-10-04T03:24:34.909Z] ---> 9dd4b3fb07c3 [2024-10-04T03:24:34.909Z] Step 24/26 : LABEL arch=amd64 [2024-10-04T03:24:34.909Z] ---> Running in 15775ac23f8c [2024-10-04T03:24:35.169Z] Removing intermediate container 15775ac23f8c [2024-10-04T03:24:35.169Z] ---> ac10ebdbb90a [2024-10-04T03:24:35.169Z] Step 25/26 : LABEL git_sha=44e0fc2ef96c30d275bce862755fe28b7851df0b [2024-10-04T03:24:35.169Z] ---> Running in 6b6dff6d20cb [2024-10-04T03:24:35.169Z] Removing intermediate container 6b6dff6d20cb [2024-10-04T03:24:35.169Z] ---> 0001a87146ef [2024-10-04T03:24:35.169Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T03:24:35.169Z] ---> Running in 5d1df3dec5a4 [2024-10-04T03:24:35.169Z] Removing intermediate container 5d1df3dec5a4 [2024-10-04T03:24:35.169Z] ---> 998f8969723d [2024-10-04T03:24:35.169Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T03:24:35.169Z] Successfully built 998f8969723d [2024-10-04T03:24:35.169Z] 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-04T03:24:36.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T03:24:36.330Z] [2024-10-04T03:24:36.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:24:36.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T03:24:36.749Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T03:24:36.749Z] 5eb5b503b376: Pulling fs layer [2024-10-04T03:24:36.749Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T03:24:36.749Z] ec43610c2a17: Pulling fs layer [2024-10-04T03:24:36.749Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T03:24:36.749Z] 33b1e0a273af: Pulling fs layer [2024-10-04T03:24:36.749Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T03:24:36.749Z] 2f39f015ded8: Pulling fs layer [2024-10-04T03:24:36.749Z] 3a2ae6a8a46f: Waiting [2024-10-04T03:24:36.749Z] 33b1e0a273af: Waiting [2024-10-04T03:24:36.749Z] 5d3b04190fa2: Waiting [2024-10-04T03:24:36.749Z] 2f39f015ded8: Waiting [2024-10-04T03:24:36.749Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T03:24:36.749Z] 5c69ac0246d0: Download complete [2024-10-04T03:24:36.749Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T03:24:36.749Z] 3a2ae6a8a46f: Download complete [2024-10-04T03:24:36.749Z] 33b1e0a273af: Verifying Checksum [2024-10-04T03:24:36.749Z] 33b1e0a273af: Download complete [2024-10-04T03:24:36.749Z] ec43610c2a17: Verifying Checksum [2024-10-04T03:24:36.749Z] ec43610c2a17: Download complete [2024-10-04T03:24:36.749Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T03:24:36.749Z] 5d3b04190fa2: Download complete [2024-10-04T03:24:37.008Z] 5eb5b503b376: Download complete [2024-10-04T03:24:37.576Z] 2f39f015ded8: Verifying Checksum [2024-10-04T03:24:37.576Z] 2f39f015ded8: Download complete [2024-10-04T03:24:38.144Z] 5eb5b503b376: Pull complete [2024-10-04T03:24:38.144Z] 5c69ac0246d0: Pull complete [2024-10-04T03:24:38.711Z] ec43610c2a17: Pull complete [2024-10-04T03:24:38.711Z] 3a2ae6a8a46f: Pull complete [2024-10-04T03:24:38.971Z] 33b1e0a273af: Pull complete [2024-10-04T03:24:38.971Z] 5d3b04190fa2: Pull complete [2024-10-04T03:24:43.158Z] 2f39f015ded8: Pull complete [2024-10-04T03:24:43.158Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T03:24:43.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T03:24:43.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:24:43.441Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2024-10-04T03:24:43.473Z] $ 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-74 -v /w/workspace/edgexfoundry_device-uart_PR-74:/w/workspace/edgexfoundry_device-uart_PR-74:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-74@tmp:/w/workspace/edgexfoundry_device-uart_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T03:24:49.681Z] $ docker top 31ef873a01026fcdd4c5e53b9246e3ca1dbec6d103c06bcc7ea3f0ea8be01165 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:24:50.175Z] ---> job-cost.sh [2024-10-04T03:24:50.175Z] lf-activate-venv: SKIPPING [2024-10-04T03:24:50.175Z] INFO: No Stack... [2024-10-04T03:24:50.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T03:24:50.693Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T03:24:51.026Z] + + cat /w/workspace/edgexfoundry_device-uart_PR-74/archives/cost.csv [2024-10-04T03:24:51.026Z] cut -d, -f6 [Pipeline] lock [2024-10-04T03:24:51.084Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [2024-10-04T03:24:51.092Z] Resource [jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] did not exist. Created. [2024-10-04T03:24:51.103Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T03:24:51.529Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T03:24:51.592Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T03:24:51.640Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T03:24:51.762Z] $ docker stop --time=1 31ef873a01026fcdd4c5e53b9246e3ca1dbec6d103c06bcc7ea3f0ea8be01165 [2024-10-04T03:24:52.915Z] $ docker rm -f --volumes 31ef873a01026fcdd4c5e53b9246e3ca1dbec6d103c06bcc7ea3f0ea8be01165 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T03:27:02.628Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15561 in /w/workspace/edgexfoundry_device-uart_PR-74 [Pipeline] { [Pipeline] ws [2024-10-04T03:27:02.720Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-04T03:27:02.817Z] The recommended git tool is: git [2024-10-04T03:27:07.828Z] using credential edgex-jenkins-ssh [2024-10-04T03:27:07.855Z] Cloning the remote Git repository [2024-10-04T03:27:07.897Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-04T03:27:07.986Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-04T03:27:08.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-04T03:27:08.131Z] > git --version # timeout=10 [2024-10-04T03:27:08.155Z] > git --version # 'git version 2.25.1' [2024-10-04T03:27:08.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T03:27:08.406Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T03:27:10.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-04T03:27:10.506Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T03:27:11.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-04T03:27:11.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-04T03:27:11.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T03:27:11.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T03:27:11.990Z] Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit 44e0fc2ef96c30d275bce862755fe28b7851df0b [2024-10-04T03:27:12.317Z] Merge succeeded, producing 44e0fc2ef96c30d275bce862755fe28b7851df0b [2024-10-04T03:27:12.318Z] Checking out Revision 44e0fc2ef96c30d275bce862755fe28b7851df0b (PR-74) [2024-10-04T03:27:12.007Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T03:27:12.081Z] > git checkout -f 44e0fc2ef96c30d275bce862755fe28b7851df0b # timeout=10 [2024-10-04T03:27:12.184Z] > git remote # timeout=10 [2024-10-04T03:27:12.204Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T03:27:12.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T03:27:12.257Z] > git merge 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 [2024-10-04T03:27:12.294Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T03:27:12.322Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T03:27:12.337Z] > git checkout -f 44e0fc2ef96c30d275bce862755fe28b7851df0b # timeout=10 [2024-10-04T03:27:15.995Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T03:27:16.053Z] > git --version # timeout=10 [2024-10-04T03:27:16.068Z] > git --version # 'git version 2.25.1' [2024-10-04T03:27:16.083Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T03:27:18.187Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T03:27:18.187Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T03:27:18.187Z] Dload Upload Total Spent Left Speed [2024-10-04T03:27:18.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh [2024-10-04T03:27:18.556Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T03:27:18.910Z] + sudo tee /etc/docker/daemon.new [2024-10-04T03:27:18.910Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T03:27:18.910Z] { [2024-10-04T03:27:18.910Z] "registry-mirrors": [ [2024-10-04T03:27:18.910Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T03:27:18.910Z] ], [2024-10-04T03:27:18.910Z] "bip": "10.250.0.254/24", [2024-10-04T03:27:18.910Z] "hosts": [ [2024-10-04T03:27:18.910Z] "tcp://0.0.0.0:5555", [2024-10-04T03:27:18.910Z] "unix:///var/run/docker.sock" [2024-10-04T03:27:18.910Z] ], [2024-10-04T03:27:18.910Z] "mtu": 1458, [2024-10-04T03:27:18.910Z] "selinux-enabled": true, [2024-10-04T03:27:18.910Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T03:27:18.910Z] } [Pipeline] sh [2024-10-04T03:27:19.267Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T03:27:19.646Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T03:27:38.123Z] provisioning config files... [2024-10-04T03:27:38.173Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1236869031314914293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:27:38.757Z] ---> ****-login.sh [2024-10-04T03:27:38.757Z] nexus3.edgexfoundry.org:10001 [2024-10-04T03:27:39.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:27:39.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:27:39.624Z] Configure a credential helper to remove this warning. See [2024-10-04T03:27:39.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:27:39.624Z] [2024-10-04T03:27:39.624Z] Login Succeeded [2024-10-04T03:27:39.624Z] nexus3.edgexfoundry.org:10002 [2024-10-04T03:27:39.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:27:39.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:27:39.899Z] Configure a credential helper to remove this warning. See [2024-10-04T03:27:39.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:27:39.899Z] [2024-10-04T03:27:39.899Z] Login Succeeded [2024-10-04T03:27:39.899Z] nexus3.edgexfoundry.org:10003 [2024-10-04T03:27:40.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:27:40.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:27:40.174Z] Configure a credential helper to remove this warning. See [2024-10-04T03:27:40.174Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:27:40.174Z] [2024-10-04T03:27:40.174Z] Login Succeeded [2024-10-04T03:27:40.174Z] nexus3.edgexfoundry.org:10004 [2024-10-04T03:27:40.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:27:40.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:27:40.452Z] Configure a credential helper to remove this warning. See [2024-10-04T03:27:40.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:27:40.452Z] [2024-10-04T03:27:40.452Z] Login Succeeded [2024-10-04T03:27:40.452Z] ****.io [2024-10-04T03:27:40.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T03:27:40.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T03:27:40.994Z] Configure a credential helper to remove this warning. See [2024-10-04T03:27:40.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T03:27:40.994Z] [2024-10-04T03:27:40.994Z] Login Succeeded [2024-10-04T03:27:40.994Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T03:27:41.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T03:27:41.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T03:27:41.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T03:27:41.663Z] ========================================================= [2024-10-04T03:27:41.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T03:27:41.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:27:42.284Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T03:27:42.878Z] Sending build context to Docker daemon 12.93MB [2024-10-04T03:27:42.878Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T03:27:42.878Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T03:27:42.878Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T03:27:42.878Z] cf04c63912e1: Pulling fs layer [2024-10-04T03:27:42.878Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T03:27:42.878Z] a37a00ec5f00: Pulling fs layer [2024-10-04T03:27:42.878Z] 50b3750afda1: Pulling fs layer [2024-10-04T03:27:42.878Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T03:27:42.878Z] 80978eb59214: Pulling fs layer [2024-10-04T03:27:42.878Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T03:27:42.878Z] c5a475d317c9: Pulling fs layer [2024-10-04T03:27:42.878Z] 4f4fb700ef54: Waiting [2024-10-04T03:27:42.878Z] 50b3750afda1: Waiting [2024-10-04T03:27:42.878Z] 80978eb59214: Waiting [2024-10-04T03:27:42.878Z] c9f46d7d2bd2: Waiting [2024-10-04T03:27:42.878Z] 55b35a11ae5e: Download complete [2024-10-04T03:27:42.878Z] 50b3750afda1: Verifying Checksum [2024-10-04T03:27:42.878Z] 50b3750afda1: Download complete [2024-10-04T03:27:43.154Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T03:27:43.154Z] 4f4fb700ef54: Download complete [2024-10-04T03:27:43.154Z] 80978eb59214: Download complete [2024-10-04T03:27:43.154Z] cf04c63912e1: Download complete [2024-10-04T03:27:43.747Z] c5a475d317c9: Verifying Checksum [2024-10-04T03:27:43.747Z] c5a475d317c9: Download complete [2024-10-04T03:27:44.339Z] cf04c63912e1: Pull complete [2024-10-04T03:27:44.612Z] 55b35a11ae5e: Pull complete [2024-10-04T03:27:44.881Z] a37a00ec5f00: Verifying Checksum [2024-10-04T03:27:44.881Z] a37a00ec5f00: Download complete [2024-10-04T03:27:45.845Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T03:27:58.204Z] a37a00ec5f00: Pull complete [2024-10-04T03:27:58.472Z] 50b3750afda1: Pull complete [2024-10-04T03:27:58.741Z] 4f4fb700ef54: Pull complete [2024-10-04T03:27:58.741Z] 80978eb59214: Pull complete [2024-10-04T03:28:06.966Z] c9f46d7d2bd2: Pull complete [2024-10-04T03:28:08.378Z] c5a475d317c9: Pull complete [2024-10-04T03:28:08.378Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T03:28:08.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T03:28:08.378Z] ---> be29e6b0f0d4 [2024-10-04T03:28:08.378Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T03:28:09.340Z] ---> Running in a15f13060c39 [2024-10-04T03:28:09.613Z] Removing intermediate container a15f13060c39 [2024-10-04T03:28:09.613Z] ---> 5f2f5d62077d [2024-10-04T03:28:09.613Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T03:28:09.613Z] ---> Running in 84f1e6143ddf [2024-10-04T03:28:09.883Z] Removing intermediate container 84f1e6143ddf [2024-10-04T03:28:09.883Z] ---> 2229421ce1d2 [2024-10-04T03:28:09.883Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T03:28:10.154Z] ---> Running in 413ac05c6ded [2024-10-04T03:28:10.423Z] Removing intermediate container 413ac05c6ded [2024-10-04T03:28:10.423Z] ---> 1f1098aed639 [2024-10-04T03:28:10.423Z] Step 6/12 : WORKDIR /device-uart [2024-10-04T03:28:10.423Z] ---> Running in 1929f6db4774 [2024-10-04T03:28:10.702Z] Removing intermediate container 1929f6db4774 [2024-10-04T03:28:10.702Z] ---> cda5c7ba6cbd [2024-10-04T03:28:10.702Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T03:28:10.972Z] ---> Running in dde7a098c2e6 [2024-10-04T03:28:11.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T03:28:12.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T03:28:13.484Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T03:28:13.760Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T03:28:13.760Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T03:28:13.760Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T03:28:13.760Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:28:13.760Z] OK: 242 MiB in 58 packages [2024-10-04T03:28:15.188Z] Removing intermediate container dde7a098c2e6 [2024-10-04T03:28:15.188Z] ---> f88e98af47a0 [2024-10-04T03:28:15.188Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T03:28:15.462Z] ---> a0c01748033f [2024-10-04T03:28:15.462Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T03:28:15.462Z] ---> Running in 966f6480baf6 [2024-10-04T03:30:07.168Z] Removing intermediate container 966f6480baf6 [2024-10-04T03:30:07.168Z] ---> 4ac012af8ff7 [2024-10-04T03:30:07.168Z] Step 10/12 : COPY . . [2024-10-04T03:30:07.168Z] ---> 200b62c039f2 [2024-10-04T03:30:07.168Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T03:30:07.168Z] ---> Running in f52340d12ff3 [2024-10-04T03:30:07.168Z] Removing intermediate container f52340d12ff3 [2024-10-04T03:30:07.168Z] ---> 6a1d8437a25d [2024-10-04T03:30:07.168Z] Step 12/12 : RUN ${MAKE} [2024-10-04T03:30:07.168Z] ---> Running in 1dfb0e0579f1 [2024-10-04T03:30:07.168Z] noop [2024-10-04T03:30:07.168Z] Removing intermediate container 1dfb0e0579f1 [2024-10-04T03:30:07.168Z] ---> eb6252664a3d [2024-10-04T03:30:07.168Z] Successfully built eb6252664a3d [2024-10-04T03:30:07.168Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:30:07.723Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T03:30:07.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:30:08.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-15561 does not seem to be running inside a container [2024-10-04T03:30:08.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T03:30:09.251Z] $ docker top 80eded4a467f49c0a2df9e55d4e0849b3caad6bea859e3507d7acb55206a6d2b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T03:30:10.153Z] + go version [2024-10-04T03:30:10.153Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T03:30:10.192Z] $ docker stop --time=1 80eded4a467f49c0a2df9e55d4e0849b3caad6bea859e3507d7acb55206a6d2b [2024-10-04T03:30:11.800Z] $ docker rm -f --volumes 80eded4a467f49c0a2df9e55d4e0849b3caad6bea859e3507d7acb55206a6d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:30:17.082Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T03:30:17.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:30:17.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-15561 does not seem to be running inside a container [2024-10-04T03:30:17.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T03:30:18.582Z] $ docker top 318d775f0165d05f46075df986edd9cfe49fb045f446e8d4e66572f7e9615ddd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T03:30:19.167Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T03:30:19.582Z] + make test [2024-10-04T03:30:19.848Z] go test ./... -coverprofile=coverage.out [2024-10-04T03:30:25.188Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-04T03:34:03.330Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-04T03:34:03.330Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-04T03:34:03.330Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T03:34:03.330Z] go vet ./... [2024-10-04T03:34:50.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T03:34:50.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T03:34:50.215Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T03:34:50.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T03:34:50.328Z] $ docker stop --time=1 318d775f0165d05f46075df986edd9cfe49fb045f446e8d4e66572f7e9615ddd [2024-10-04T03:34:52.257Z] $ docker rm -f --volumes 318d775f0165d05f46075df986edd9cfe49fb045f446e8d4e66572f7e9615ddd [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T03:34:53.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T03:34:53.969Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T03:34:54.460Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T03:34:55.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T03:34:55.462Z] + ls -al . [2024-10-04T03:34:55.462Z] total 232 [2024-10-04T03:34:55.462Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 03:30 . [2024-10-04T03:34:55.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 03:27 .. [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 03:27 .dockerignore [2024-10-04T03:34:55.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 03:27 .git [2024-10-04T03:34:55.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:27 .github [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 4 03:27 .gitignore [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 4 03:27 .golangci.yml [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 4 03:27 Attribution.txt [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 4 03:27 CHANGELOG.md [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 4 03:27 Dockerfile [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 03:27 GOVERNANCE.md [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 4 03:27 Jenkinsfile [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 03:27 LICENSE [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 4 03:27 Makefile [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 03:27 OWNERS.md [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 4 03:27 README.md [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 03:21 VERSION [2024-10-04T03:34:55.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 03:27 bin [2024-10-04T03:34:55.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:27 cmd [2024-10-04T03:34:55.462Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 4 03:34 coverage.out [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 4 03:27 go.mod [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 4 03:27 go.sum [2024-10-04T03:34:55.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 03:27 internal [2024-10-04T03:34:55.462Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:34:55.930Z] + 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=44e0fc2ef96c30d275bce862755fe28b7851df0b --label arch=arm64 --label version=0.0.0 . [2024-10-04T03:34:56.515Z] Sending build context to Docker daemon 12.94MB [2024-10-04T03:34:56.515Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T03:34:56.515Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T03:34:56.515Z] ---> eb6252664a3d [2024-10-04T03:34:56.515Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T03:34:56.515Z] ---> Running in 5918e0fc60c0 [2024-10-04T03:34:56.789Z] Removing intermediate container 5918e0fc60c0 [2024-10-04T03:34:56.789Z] ---> 9e299178a6eb [2024-10-04T03:34:56.789Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T03:34:56.789Z] ---> Running in ab6aa2a8f720 [2024-10-04T03:34:57.068Z] Removing intermediate container ab6aa2a8f720 [2024-10-04T03:34:57.068Z] ---> 9345ba214232 [2024-10-04T03:34:57.068Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T03:34:57.343Z] ---> Running in 74f123c8c3e6 [2024-10-04T03:34:57.611Z] Removing intermediate container 74f123c8c3e6 [2024-10-04T03:34:57.611Z] ---> aaebb1addfdd [2024-10-04T03:34:57.611Z] Step 6/26 : WORKDIR /device-uart [2024-10-04T03:34:57.611Z] ---> Running in 988576b6da20 [2024-10-04T03:34:57.884Z] Removing intermediate container 988576b6da20 [2024-10-04T03:34:57.884Z] ---> da3573b28134 [2024-10-04T03:34:57.884Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T03:34:58.155Z] ---> Running in 8b9b910f2870 [2024-10-04T03:34:59.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T03:34:59.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T03:35:00.826Z] OK: 242 MiB in 58 packages [2024-10-04T03:35:01.801Z] Removing intermediate container 8b9b910f2870 [2024-10-04T03:35:01.801Z] ---> 8e274a96d90f [2024-10-04T03:35:01.801Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T03:35:02.390Z] ---> 93aa48b34a66 [2024-10-04T03:35:02.390Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T03:35:02.660Z] ---> Running in 2bc69dffefa0 [2024-10-04T03:35:05.250Z] Removing intermediate container 2bc69dffefa0 [2024-10-04T03:35:05.250Z] ---> aacde9bedb54 [2024-10-04T03:35:05.250Z] Step 10/26 : COPY . . [2024-10-04T03:35:06.215Z] ---> 6901fd078dcc [2024-10-04T03:35:06.215Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T03:35:06.215Z] ---> Running in a94017801f43 [2024-10-04T03:35:06.483Z] Removing intermediate container a94017801f43 [2024-10-04T03:35:06.483Z] ---> 2842240e5a15 [2024-10-04T03:35:06.483Z] Step 12/26 : RUN ${MAKE} [2024-10-04T03:35:06.483Z] ---> Running in d42b0a9a2c35 [2024-10-04T03:35:07.449Z] 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.41" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-04T03:38:44.273Z] Removing intermediate container d42b0a9a2c35 [2024-10-04T03:38:44.273Z] ---> 529bde0cdd6b [2024-10-04T03:38:44.273Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T03:38:44.273Z] 3.20: Pulling from library/alpine [2024-10-04T03:38:44.273Z] cf04c63912e1: Already exists [2024-10-04T03:38:44.273Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T03:38:44.273Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T03:38:44.273Z] ---> c157a85ed455 [2024-10-04T03:38:44.273Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T03:38:44.273Z] ---> Running in cee14fca3e31 [2024-10-04T03:38:44.273Z] Removing intermediate container cee14fca3e31 [2024-10-04T03:38:44.273Z] ---> ff5af9afd6bd [2024-10-04T03:38:44.273Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T03:38:44.273Z] ---> Running in bdb41bf4c160 [2024-10-04T03:38:45.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:45.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:47.251Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T03:38:47.251Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:38:47.251Z] OK: 9 MiB in 15 packages [2024-10-04T03:38:48.225Z] Removing intermediate container bdb41bf4c160 [2024-10-04T03:38:48.225Z] ---> 7a3d4f8173b1 [2024-10-04T03:38:48.225Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T03:38:48.225Z] ---> Running in 97d2830d581f [2024-10-04T03:38:49.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:49.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:50.865Z] Upgrading critical system libraries and apk-tools: [2024-10-04T03:38:50.865Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T03:38:50.865Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T03:38:51.450Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T03:38:51.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:51.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T03:38:53.134Z] OK: 9 MiB in 15 packages [2024-10-04T03:38:54.108Z] Removing intermediate container 97d2830d581f [2024-10-04T03:38:54.108Z] ---> 3ed2e23eeeb2 [2024-10-04T03:38:54.108Z] Step 17/26 : WORKDIR / [2024-10-04T03:38:54.108Z] ---> Running in d576e9b0f34e [2024-10-04T03:38:54.373Z] Removing intermediate container d576e9b0f34e [2024-10-04T03:38:54.373Z] ---> 5755e1946c77 [2024-10-04T03:38:54.373Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-04T03:38:54.953Z] ---> f2e58b9abcb2 [2024-10-04T03:38:54.953Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-04T03:38:55.548Z] ---> defe0e62d420 [2024-10-04T03:38:55.548Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-04T03:38:58.139Z] ---> 70a1b72a2c6e [2024-10-04T03:38:58.139Z] Step 21/26 : EXPOSE 59995 [2024-10-04T03:38:58.139Z] ---> Running in 2aa002b657f3 [2024-10-04T03:38:58.407Z] Removing intermediate container 2aa002b657f3 [2024-10-04T03:38:58.407Z] ---> f6bb242f7a87 [2024-10-04T03:38:58.407Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-04T03:38:58.407Z] ---> Running in 372468a8192e [2024-10-04T03:38:58.675Z] Removing intermediate container 372468a8192e [2024-10-04T03:38:58.675Z] ---> eb2ff8e1aadd [2024-10-04T03:38:58.675Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T03:38:58.675Z] ---> Running in 88d136a4f5a5 [2024-10-04T03:38:59.261Z] Removing intermediate container 88d136a4f5a5 [2024-10-04T03:38:59.261Z] ---> 14faac92e890 [2024-10-04T03:38:59.261Z] Step 24/26 : LABEL arch=arm64 [2024-10-04T03:38:59.261Z] ---> Running in 30a23832e67c [2024-10-04T03:38:59.528Z] Removing intermediate container 30a23832e67c [2024-10-04T03:38:59.528Z] ---> f3b5cbba2bd1 [2024-10-04T03:38:59.528Z] Step 25/26 : LABEL git_sha=44e0fc2ef96c30d275bce862755fe28b7851df0b [2024-10-04T03:38:59.528Z] ---> Running in 036b0394ed12 [2024-10-04T03:39:00.113Z] Removing intermediate container 036b0394ed12 [2024-10-04T03:39:00.113Z] ---> 342dccedb3e7 [2024-10-04T03:39:00.113Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T03:39:00.113Z] ---> Running in 35bd0124c4cc [2024-10-04T03:39:00.380Z] Removing intermediate container 35bd0124c4cc [2024-10-04T03:39:00.380Z] ---> a5fe2c8fa454 [2024-10-04T03:39:00.380Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T03:39:00.380Z] Successfully built a5fe2c8fa454 [2024-10-04T03:39:00.380Z] 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-04T03:39:01.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T03:39:01.427Z] [2024-10-04T03:39:01.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:39:01.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T03:39:02.135Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T03:39:02.135Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T03:39:02.135Z] 04944245beec: Pulling fs layer [2024-10-04T03:39:02.135Z] 699f458cf7ca: Pulling fs layer [2024-10-04T03:39:02.135Z] 765212b225bb: Pulling fs layer [2024-10-04T03:39:02.135Z] f23df028b6ca: Pulling fs layer [2024-10-04T03:39:02.135Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T03:39:02.135Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T03:39:02.135Z] 765212b225bb: Waiting [2024-10-04T03:39:02.135Z] f23df028b6ca: Waiting [2024-10-04T03:39:02.135Z] d65c8cfc05b1: Waiting [2024-10-04T03:39:02.135Z] 2437ff75d9bd: Waiting [2024-10-04T03:39:02.135Z] 04944245beec: Verifying Checksum [2024-10-04T03:39:02.135Z] 04944245beec: Download complete [2024-10-04T03:39:02.135Z] 765212b225bb: Verifying Checksum [2024-10-04T03:39:02.135Z] 765212b225bb: Download complete [2024-10-04T03:39:02.135Z] f23df028b6ca: Download complete [2024-10-04T03:39:02.135Z] d65c8cfc05b1: Download complete [2024-10-04T03:39:02.404Z] 699f458cf7ca: Verifying Checksum [2024-10-04T03:39:02.404Z] 699f458cf7ca: Download complete [2024-10-04T03:39:03.017Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T03:39:03.017Z] 8998bd30e6a1: Download complete [2024-10-04T03:39:05.604Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T03:39:05.604Z] 2437ff75d9bd: Download complete [2024-10-04T03:39:07.554Z] 8998bd30e6a1: Pull complete [2024-10-04T03:39:08.145Z] 04944245beec: Pull complete [2024-10-04T03:39:09.559Z] 699f458cf7ca: Pull complete [2024-10-04T03:39:09.846Z] 765212b225bb: Pull complete [2024-10-04T03:39:10.811Z] f23df028b6ca: Pull complete [2024-10-04T03:39:11.078Z] d65c8cfc05b1: Pull complete [2024-10-04T03:39:29.303Z] 2437ff75d9bd: Pull complete [2024-10-04T03:39:29.303Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T03:39:29.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T03:39:29.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:39:29.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-15561 does not seem to be running inside a container [2024-10-04T03:39:29.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T03:39:32.804Z] $ docker top 67824e73338bcfe5c3fe9f528328d1ac697b130d18e3579870356fc007837b54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:33.802Z] ---> job-cost.sh [2024-10-04T03:39:33.803Z] lf-activate-venv: SKIPPING [2024-10-04T03:39:33.803Z] INFO: No Stack... [2024-10-04T03:39:34.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T03:39:35.035Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T03:39:35.719Z] + cut -d, -f6 [2024-10-04T03:39:35.719Z] + cat /w/workspace/device-uart/1/archives/cost.csv [Pipeline] lock [2024-10-04T03:39:35.839Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [2024-10-04T03:39:35.874Z] Resource [jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] did not exist. Created. [2024-10-04T03:39:35.888Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T03:39:36.673Z] /w/workspace/device-uart/1@tmp/durable-1e009695/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T03:39:37.437Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T03:39:37.487Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T03:39:37.553Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T03:39:37.576Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T03:39:37.713Z] $ docker stop --time=1 67824e73338bcfe5c3fe9f528328d1ac697b130d18e3579870356fc007837b54 [2024-10-04T03:39:39.307Z] $ docker rm -f --volumes 67824e73338bcfe5c3fe9f528328d1ac697b130d18e3579870356fc007837b54 [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-04T03:39:40.728Z] provisioning config files... [2024-10-04T03:39:40.738Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-74@tmp/config13484537196643065075tmp [Pipeline] { [Pipeline] sh [2024-10-04T03:39:41.135Z] + set +x [2024-10-04T03:39:41.135Z] + curl -s https://codecov.io/bash [2024-10-04T03:39:41.135Z] + bash -s -- [2024-10-04T03:39:41.135Z] [2024-10-04T03:39:41.135Z] _____ _ [2024-10-04T03:39:41.135Z] / ____| | | [2024-10-04T03:39:41.135Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T03:39:41.135Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T03:39:41.135Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T03:39:41.135Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T03:39:41.135Z] Bash-1.0.6 [2024-10-04T03:39:41.135Z] [2024-10-04T03:39:41.135Z] [2024-10-04T03:39:41.135Z] ==> git version 2.25.1 found [2024-10-04T03:39:41.135Z] ==> 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-04T03:39:41.135Z] Release-Date: 2020-01-08 [2024-10-04T03:39:41.135Z] 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-04T03:39:41.135Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T03:39:41.135Z] ==> Jenkins CI detected. [2024-10-04T03:39:41.136Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-74 [2024-10-04T03:39:41.136Z] project root: . [2024-10-04T03:39:41.136Z] --> token set from env [2024-10-04T03:39:41.136Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T03:39:41.136Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T03:39:41.136Z] ==> Python coveragepy not found [2024-10-04T03:39:41.136Z] ==> Searching for coverage reports in: [2024-10-04T03:39:41.136Z] + . [2024-10-04T03:39:41.136Z] -> Found 1 reports [2024-10-04T03:39:41.136Z] ==> Detecting git/mercurial file structure [2024-10-04T03:39:41.136Z] ==> Reading reports [2024-10-04T03:39:41.451Z] + ./coverage.out bytes=6770 [2024-10-04T03:39:41.451Z] ==> Appending adjustments [2024-10-04T03:39:41.451Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T03:39:41.451Z] + Found adjustments [2024-10-04T03:39:41.451Z] ==> Gzipping contents [2024-10-04T03:39:41.451Z] 4.0K /tmp/codecov.VwrAIr.gz [2024-10-04T03:39:41.451Z] ==> Uploading reports [2024-10-04T03:39:41.451Z] url: https://codecov.io [2024-10-04T03:39:41.451Z] query: branch=PR-74&commit=44e0fc2ef96c30d275bce862755fe28b7851df0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=74&job=&cmd_args= [2024-10-04T03:39:41.451Z] -> Pinging Codecov [2024-10-04T03:39:41.451Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-74&commit=44e0fc2ef96c30d275bce862755fe28b7851df0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=74&job=&cmd_args= [2024-10-04T03:39:41.451Z] -> Uploading to [2024-10-04T03:39:41.451Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/44e0fc2ef96c30d275bce862755fe28b7851df0b/72079305-5827-4e60-9a52-0e81037a4e2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T033941Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=917ff54d8219a3255d8abba1427f51b7e0817c0fd09000fc5db6ff83b6b0b9e7 [2024-10-04T03:39:41.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T03:39:41.715Z] Dload Upload Total Spent Left Speed [2024-10-04T03:39:41.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 5451 --:--:-- --:--:-- --:--:-- 5451 [2024-10-04T03:39:41.715Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/44e0fc2ef96c30d275bce862755fe28b7851df0b [Pipeline] } [2024-10-04T03:39:41.764Z] 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-04T03:39:44.405Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-74/archives ] [2024-10-04T03:39:44.405Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-74/archives [2024-10-04T03:39:44.405Z] total 16 [2024-10-04T03:39:44.405Z] drwxr-xr-x 3 root root 4096 Oct 4 03:24 . [2024-10-04T03:39:44.405Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 03:24 .. [2024-10-04T03:39:44.405Z] drwxr-xr-x 2 root root 4096 Oct 4 03:24 cost [2024-10-04T03:39:44.405Z] -rw-r--r-- 1 root root 82 Oct 4 03:24 cost.csv [2024-10-04T03:39:44.405Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-74/archives [2024-10-04T03:39:44.405Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-74/archives [2024-10-04T03:39:44.405Z] total 16 [2024-10-04T03:39:44.405Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 03:24 . [2024-10-04T03:39:44.405Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 03:24 .. [2024-10-04T03:39:44.405Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 03:24 cost [2024-10-04T03:39:44.405Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 4 03:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:44.755Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:45.671Z] ---> package-listing.sh [2024-10-04T03:39:45.671Z] ++ facter osfamily [2024-10-04T03:39:45.671Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T03:39:45.932Z] + OS_FAMILY=debian [2024-10-04T03:39:45.932Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-74 [2024-10-04T03:39:45.932Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T03:39:45.932Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T03:39:45.932Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T03:39:45.932Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T03:39:45.932Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-74 ']' [2024-10-04T03:39:45.932Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T03:39:45.932Z] + case "${OS_FAMILY}" in [2024-10-04T03:39:45.932Z] + dpkg -l [2024-10-04T03:39:45.932Z] + grep '^ii' [2024-10-04T03:39:45.932Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T03:39:45.932Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T03:39:45.932Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T03:39:45.932Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-74 ']' [2024-10-04T03:39:45.932Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-74/archives/ [2024-10-04T03:39:45.932Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-74/archives/ [Pipeline] echo [2024-10-04T03:39:45.981Z] 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-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T03:39:46.286Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T03:39:46.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T03:39:46.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T03:39:47.129Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2024-10-04T03:39:47.152Z] $ 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-74/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-74 -v /w/workspace/edgexfoundry_device-uart_PR-74:/w/workspace/edgexfoundry_device-uart_PR-74:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-74@tmp:/w/workspace/edgexfoundry_device-uart_PR-74@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-04T03:39:47.343Z] $ docker top f7a0454de88dee6bfbff29a2493fd3f415b405612b32e0f4f76e9c3ef100dff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T03:39:47.768Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T03:39:48.093Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T03:39:48.428Z] + ls /var/log/sa-host [2024-10-04T03:39:48.428Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T03:39:48.685Z] provisioning config files... [2024-10-04T03:39:48.695Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-74@tmp/config2060662231822064876tmp [Pipeline] { [Pipeline] echo [2024-10-04T03:39:48.777Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:49.118Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T03:39:49.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:49.606Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T03:39:49.652Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:49.985Z] ---> sudo-logs.sh [2024-10-04T03:39:49.985Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T03:39:50.123Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:50.485Z] ---> job-cost.sh [2024-10-04T03:39:50.486Z] lf-activate-venv: SKIPPING [2024-10-04T03:39:50.486Z] DEBUG: total: 0.2199999988079071 [2024-10-04T03:39:50.486Z] INFO: Retrieving Stack Cost... [2024-10-04T03:39:51.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T03:39:51.394Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T03:39:51.447Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T03:39:51.794Z] ---> logs-deploy.sh [2024-10-04T03:39:51.794Z] lf-activate-venv: SKIPPING [2024-10-04T03:39:51.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-74/1 [2024-10-04T03:39:51.794Z] INFO: archiving workspace using pattern(s): [2024-10-04T03:39:52.738Z] Archives upload complete. [2024-10-04T03:39:52.738Z] INFO: archiving logs to Nexus