Pull request #82 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 weichou1229 for edgexfoundry/device-uart Obtained Jenkinsfile from 53189c10332bacaee41a57c005c834aa638a9f96+fb93fa34bb594df6e041f35dbb663b8f249074b4 (aa76a85c3cd6b56557fd1500abae591d995fa17e) 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-ssh5628098538778405233.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-ssh14603090619553734953.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-82/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-82/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7772333882751735789.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-82/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2932569359173678152.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-ssh12649368256041424967.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-82/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-82/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1213984988333415497.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24100 in /w/workspace/edgexfoundry_device-uart_PR-82 [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-82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/82/head:refs/remotes/origin/PR-82 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fb93fa34bb594df6e041f35dbb663b8f249074b4 into PR head commit 53189c10332bacaee41a57c005c834aa638a9f96 Merge succeeded, producing 53189c10332bacaee41a57c005c834aa638a9f96 Checking out Revision 53189c10332bacaee41a57c005c834aa638a9f96 (PR-82) > git config core.sparsecheckout # timeout=10 > git checkout -f 53189c10332bacaee41a57c005c834aa638a9f96 # 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 fb93fa34bb594df6e041f35dbb663b8f249074b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53189c10332bacaee41a57c005c834aa638a9f96 # timeout=10 Commit message: "refactor!: update module to v4" 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-30T06:49:28.878Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T06:49:29.094Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T06:49:29.353Z] ========================================================= [2024-10-30T06:49:29.353Z] EdgeX Global Pipelines Version Info [2024-10-30T06:49:29.353Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:49:30.138Z] ------------------- [2024-10-30T06:49:30.138Z] stable info: [2024-10-30T06:49:30.138Z] ------------------- [2024-10-30T06:49:30.138Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T06:49:30.138Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T06:49:30.138Z] Message: update stable to v1.0.265 [2024-10-30T06:49:30.711Z] ------------------- [2024-10-30T06:49:30.711Z] experimental info: [2024-10-30T06:49:30.711Z] ------------------- [2024-10-30T06:49:30.711Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T06:49:30.711Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T06:49:30.711Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T06:49:30.948Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-30T06:49:31.018Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-30T06:49:31.070Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T06:49:31.129Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T06:49:31.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T06:49:31.250Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T06:49:31.321Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T06:49:31.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T06:49:31.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T06:49:31.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T06:49:31.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T06:49:31.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-30T06:49:31.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T06:49:31.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T06:49:31.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:49:31.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:49:31.942Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:49:32.007Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:49:32.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T06:49:32.131Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T06:49:32.190Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T06:49:32.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T06:49:32.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T06:49:32.386Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T06:49:32.446Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T06:49:32.513Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T06:49:32.569Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T06:49:32.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-82 [Pipeline] echo [2024-10-30T06:49:32.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-82 [Pipeline] echo [2024-10-30T06:49:32.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-82 [Pipeline] echo [2024-10-30T06:49:32.803Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53189c10332bacaee41a57c005c834aa638a9f96 [Pipeline] echo [2024-10-30T06:49:32.863Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53189c1 [Pipeline] echo [2024-10-30T06:49:32.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:49:33.074Z] provisioning config files... [2024-10-30T06:49:33.086Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-82@tmp/config3374788486702280230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:49:33.487Z] ---> ****-login.sh [2024-10-30T06:49:33.487Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:49:33.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:33.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:33.749Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:33.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:33.749Z] [2024-10-30T06:49:33.749Z] Login Succeeded [2024-10-30T06:49:33.749Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:49:33.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:34.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:34.010Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:34.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:34.010Z] [2024-10-30T06:49:34.010Z] Login Succeeded [2024-10-30T06:49:34.010Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:49:34.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:34.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:34.011Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:34.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:34.011Z] [2024-10-30T06:49:34.011Z] Login Succeeded [2024-10-30T06:49:34.011Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:49:34.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:34.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:34.271Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:34.271Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:34.271Z] [2024-10-30T06:49:34.271Z] Login Succeeded [2024-10-30T06:49:34.271Z] ****.io [2024-10-30T06:49:34.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:34.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:34.531Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:34.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:34.531Z] [2024-10-30T06:49:34.531Z] Login Succeeded [2024-10-30T06:49:34.531Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:49:34.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T06:49:35.244Z] + git rev-list -1 --merges 53189c10332bacaee41a57c005c834aa638a9f96~1..53189c10332bacaee41a57c005c834aa638a9f96 [Pipeline] echo [2024-10-30T06:49:35.294Z] -----------> git rev-list -1 --merges 53189c10332bacaee41a57c005c834aa638a9f96~1..53189c10332bacaee41a57c005c834aa638a9f96 53189c10332bacaee41a57c005c834aa638a9f96 [false] [Pipeline] sh [2024-10-30T06:49:35.623Z] + git log --format=format:%s -1 53189c10332bacaee41a57c005c834aa638a9f96 [Pipeline] echo [2024-10-30T06:49:35.666Z] ========================================================= [2024-10-30T06:49:35.667Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T06:49:35.667Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:49:36.672Z] + git log --format=format:%s -1 53189c10332bacaee41a57c005c834aa638a9f96 [Pipeline] echo [2024-10-30T06:49:36.719Z] [semverPrep] GIT_COMMIT: 53189c10332bacaee41a57c005c834aa638a9f96, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T06:49:36.770Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T06:49:37.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T06:49:37.187Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T06:49:37.187Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T06:49:37.187Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T06:49:37.187Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T06:49:37.187Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T06:49:37.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:49:37.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:49:37.643Z] [2024-10-30T06:49:37.643Z] 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-30T06:49:38.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:49:38.059Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T06:49:38.059Z] b85a868b505f: Pulling fs layer [2024-10-30T06:49:38.060Z] e2be974225ed: Pulling fs layer [2024-10-30T06:49:38.060Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T06:49:38.060Z] 988bab9f4d93: Pulling fs layer [2024-10-30T06:49:38.060Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T06:49:38.060Z] eaf3925da568: Pulling fs layer [2024-10-30T06:49:38.060Z] bab4dde63d76: Pulling fs layer [2024-10-30T06:49:38.060Z] bde34c3a00c8: Pulling fs layer [2024-10-30T06:49:38.060Z] b352a97aabf1: Pulling fs layer [2024-10-30T06:49:38.060Z] 4872d77fe225: Pulling fs layer [2024-10-30T06:49:38.060Z] 5851b861e8e6: Pulling fs layer [2024-10-30T06:49:38.060Z] bab4dde63d76: Waiting [2024-10-30T06:49:38.060Z] bde34c3a00c8: Waiting [2024-10-30T06:49:38.060Z] b352a97aabf1: Waiting [2024-10-30T06:49:38.060Z] 1469e6f7b9e6: Waiting [2024-10-30T06:49:38.060Z] eaf3925da568: Waiting [2024-10-30T06:49:38.060Z] 988bab9f4d93: Waiting [2024-10-30T06:49:38.060Z] 5851b861e8e6: Waiting [2024-10-30T06:49:38.060Z] 4872d77fe225: Waiting [2024-10-30T06:49:38.060Z] e2be974225ed: Download complete [2024-10-30T06:49:38.060Z] 988bab9f4d93: Download complete [2024-10-30T06:49:38.347Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T06:49:38.347Z] 1469e6f7b9e6: Download complete [2024-10-30T06:49:38.347Z] eaf3925da568: Download complete [2024-10-30T06:49:38.347Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T06:49:38.347Z] 339a4e72a1f5: Download complete [2024-10-30T06:49:38.347Z] bde34c3a00c8: Verifying Checksum [2024-10-30T06:49:38.347Z] bde34c3a00c8: Download complete [2024-10-30T06:49:38.347Z] b352a97aabf1: Download complete [2024-10-30T06:49:38.347Z] 4872d77fe225: Verifying Checksum [2024-10-30T06:49:38.347Z] 4872d77fe225: Download complete [2024-10-30T06:49:38.347Z] 5851b861e8e6: Download complete [2024-10-30T06:49:38.347Z] b85a868b505f: Verifying Checksum [2024-10-30T06:49:38.347Z] b85a868b505f: Download complete [2024-10-30T06:49:38.611Z] bab4dde63d76: Verifying Checksum [2024-10-30T06:49:38.611Z] bab4dde63d76: Download complete [2024-10-30T06:49:39.569Z] b85a868b505f: Pull complete [2024-10-30T06:49:39.828Z] e2be974225ed: Pull complete [2024-10-30T06:49:40.399Z] 339a4e72a1f5: Pull complete [2024-10-30T06:49:40.399Z] 988bab9f4d93: Pull complete [2024-10-30T06:49:40.658Z] 1469e6f7b9e6: Pull complete [2024-10-30T06:49:40.658Z] eaf3925da568: Pull complete [2024-10-30T06:49:42.565Z] bab4dde63d76: Pull complete [2024-10-30T06:49:42.565Z] bde34c3a00c8: Pull complete [2024-10-30T06:49:42.566Z] b352a97aabf1: Pull complete [2024-10-30T06:49:42.829Z] 4872d77fe225: Pull complete [2024-10-30T06:49:42.829Z] 5851b861e8e6: Pull complete [2024-10-30T06:49:42.829Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T06:49:42.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:49:42.829Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:49:43.131Z] prd-ubuntu20.04-docker-8c-8g-24100 does not seem to be running inside a container [2024-10-30T06:49:43.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-82 -v /w/workspace/edgexfoundry_device-uart_PR-82:/w/workspace/edgexfoundry_device-uart_PR-82:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-82@tmp:/w/workspace/edgexfoundry_device-uart_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-30T06:49:45.167Z] $ docker top 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 -eo pid,comm [2024-10-30T06:49:45.231Z] 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-30T06:49:45.231Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T06:49:45.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:49:45.409Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:49:45.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:49:45.533Z] $ docker exec 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 ssh-agent [2024-10-30T06:49:45.655Z] SSH_AUTH_SOCK=/tmp/ssh-PNc6GRIWzD53/agent.32 [2024-10-30T06:49:45.655Z] SSH_AGENT_PID=38 [2024-10-30T06:49:45.661Z] Running ssh-add (command line suppressed) [2024-10-30T06:49:45.753Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-82@tmp/private_key_14664198039844775688.key (/w/workspace/edgexfoundry_device-uart_PR-82@tmp/private_key_14664198039844775688.key) [2024-10-30T06:49:45.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:49:46.127Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T06:49:46.155Z] $ docker exec --env ******** --env ******** 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 ssh-agent -k [2024-10-30T06:49:46.261Z] unset SSH_AUTH_SOCK; [2024-10-30T06:49:46.261Z] unset SSH_AGENT_PID; [2024-10-30T06:49:46.261Z] echo Agent pid 38 killed; [2024-10-30T06:49:46.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T06:49:46.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:49:46.392Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:49:46.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:49:46.505Z] $ docker exec 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 ssh-agent [2024-10-30T06:49:46.614Z] SSH_AUTH_SOCK=/tmp/ssh-JNn926eiy3ph/agent.71 [2024-10-30T06:49:46.614Z] SSH_AGENT_PID=77 [2024-10-30T06:49:46.619Z] Running ssh-add (command line suppressed) [2024-10-30T06:49:46.709Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-82@tmp/private_key_8418646752297866667.key (/w/workspace/edgexfoundry_device-uart_PR-82@tmp/private_key_8418646752297866667.key) [2024-10-30T06:49:46.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:49:47.082Z] + git semver init [2024-10-30T06:49:47.343Z] 2024-10-30 06:49:47,234 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T06:49:47.343Z] 2024-10-30 06:49:47,235 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-82/.semver [2024-10-30T06:49:47.343Z] 2024-10-30 06:49:47,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-82/.semver [2024-10-30T06:49:47.343Z] 2024-10-30 06:49:47,235 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-82/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-82, universal_newlines=False, shell=None, istream=None) [2024-10-30T06:49:48.283Z] 2024-10-30 06:49:48,279 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-82/.git/info/exclude [2024-10-30T06:49:48.283Z] 2024-10-30 06:49:48,280 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-82/.semver/PR-82 with force:False [2024-10-30T06:49:48.283Z] 2024-10-30 06:49:48,280 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-82/.semver/PR-82 [2024-10-30T06:49:48.546Z] 2024-10-30 06:49:48,284 [execute] INFO git cat-file --batch-check [2024-10-30T06:49:48.546Z] 2024-10-30 06:49:48,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-82/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:49:48.546Z] 2024-10-30 06:49:48,290 [execute] INFO git cat-file --batch [2024-10-30T06:49:48.546Z] 2024-10-30 06:49:48,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-82/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:49:48.546Z] 2024-10-30 06:49:48,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-82/.semver/PR-82 [2024-10-30T06:49:48.546Z] 0.0.0 [Pipeline] } [2024-10-30T06:49:48.572Z] $ docker exec --env ******** --env ******** 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 ssh-agent -k [2024-10-30T06:49:48.684Z] unset SSH_AUTH_SOCK; [2024-10-30T06:49:48.685Z] unset SSH_AGENT_PID; [2024-10-30T06:49:48.685Z] echo Agent pid 77 killed; [2024-10-30T06:49:48.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T06:49:49.180Z] + git semver [Pipeline] } [2024-10-30T06:49:49.470Z] $ docker stop --time=1 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 [2024-10-30T06:49:50.764Z] $ docker rm -f --volumes 04825527dce5ffa8fbfde81b6a66571c65271ac46132f83edcd577acdbcd3e25 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:49:51.191Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T06:49:51.498Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T06:49:51.525Z] [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-30T06:49:52.286Z] provisioning config files... [2024-10-30T06:49:52.297Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-82@tmp/config6506725793183515172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:49:52.670Z] ---> ****-login.sh [2024-10-30T06:49:52.670Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:49:52.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:52.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:52.670Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:52.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:52.670Z] [2024-10-30T06:49:52.670Z] Login Succeeded [2024-10-30T06:49:52.670Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:49:52.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:52.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:52.670Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:52.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:52.671Z] [2024-10-30T06:49:52.671Z] Login Succeeded [2024-10-30T06:49:52.671Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:49:52.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:52.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:52.930Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:52.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:52.930Z] [2024-10-30T06:49:52.931Z] Login Succeeded [2024-10-30T06:49:52.931Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:49:52.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:52.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:52.931Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:52.931Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:52.931Z] [2024-10-30T06:49:52.931Z] Login Succeeded [2024-10-30T06:49:52.931Z] ****.io [2024-10-30T06:49:53.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:49:53.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:49:53.190Z] Configure a credential helper to remove this warning. See [2024-10-30T06:49:53.190Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:49:53.190Z] [2024-10-30T06:49:53.190Z] Login Succeeded [2024-10-30T06:49:53.190Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:49:53.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:49:53.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:49:53.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:49:53.554Z] ========================================================= [2024-10-30T06:49:53.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T06:49:53.554Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:49:54.083Z] + 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-30T06:49:54.083Z] Sending build context to Docker daemon 25.71MB [2024-10-30T06:49:54.083Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:49:54.083Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:49:54.341Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T06:49:54.341Z] 43c4264eed91: Pulling fs layer [2024-10-30T06:49:54.341Z] 4cc291be95ef: Pulling fs layer [2024-10-30T06:49:54.341Z] 2ac1f1163629: Pulling fs layer [2024-10-30T06:49:54.341Z] 5c3c966382ef: Pulling fs layer [2024-10-30T06:49:54.341Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:49:54.341Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T06:49:54.341Z] 9f66e0745190: Pulling fs layer [2024-10-30T06:49:54.341Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T06:49:54.341Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T06:49:54.341Z] 5d5c8e513c77: Waiting [2024-10-30T06:49:54.341Z] 9f66e0745190: Waiting [2024-10-30T06:49:54.341Z] f49a43e4bbc0: Waiting [2024-10-30T06:49:54.341Z] 561ebcabdf7f: Waiting [2024-10-30T06:49:54.341Z] 5c3c966382ef: Waiting [2024-10-30T06:49:54.341Z] 4f4fb700ef54: Waiting [2024-10-30T06:49:54.341Z] 4cc291be95ef: Download complete [2024-10-30T06:49:54.341Z] 5c3c966382ef: Download complete [2024-10-30T06:49:54.341Z] 4f4fb700ef54: Download complete [2024-10-30T06:49:54.341Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T06:49:54.341Z] 5d5c8e513c77: Download complete [2024-10-30T06:49:54.341Z] 43c4264eed91: Download complete [2024-10-30T06:49:54.341Z] 9f66e0745190: Verifying Checksum [2024-10-30T06:49:54.341Z] 9f66e0745190: Download complete [2024-10-30T06:49:54.341Z] 43c4264eed91: Pull complete [2024-10-30T06:49:54.601Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T06:49:54.601Z] 561ebcabdf7f: Download complete [2024-10-30T06:49:54.601Z] 4cc291be95ef: Pull complete [2024-10-30T06:49:54.865Z] 2ac1f1163629: Verifying Checksum [2024-10-30T06:49:54.865Z] 2ac1f1163629: Download complete [2024-10-30T06:49:55.124Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T06:49:55.124Z] f49a43e4bbc0: Download complete [2024-10-30T06:49:58.414Z] 2ac1f1163629: Pull complete [2024-10-30T06:49:58.414Z] 5c3c966382ef: Pull complete [2024-10-30T06:49:58.414Z] 4f4fb700ef54: Pull complete [2024-10-30T06:49:58.414Z] 5d5c8e513c77: Pull complete [2024-10-30T06:49:58.414Z] 9f66e0745190: Pull complete [2024-10-30T06:50:00.948Z] f49a43e4bbc0: Pull complete [2024-10-30T06:50:01.209Z] 561ebcabdf7f: Pull complete [2024-10-30T06:50:01.209Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T06:50:01.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T06:50:01.209Z] ---> 3a752c3f9dda [2024-10-30T06:50:01.209Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:50:05.416Z] ---> Running in 0ac576c953da [2024-10-30T06:50:05.676Z] Removing intermediate container 0ac576c953da [2024-10-30T06:50:05.676Z] ---> f826350504a6 [2024-10-30T06:50:05.676Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:50:05.676Z] ---> Running in c8d573ae051b [2024-10-30T06:50:05.676Z] Removing intermediate container c8d573ae051b [2024-10-30T06:50:05.676Z] ---> 70f0026c263c [2024-10-30T06:50:05.676Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:50:05.937Z] ---> Running in c90c31cc9f4e [2024-10-30T06:50:05.937Z] Removing intermediate container c90c31cc9f4e [2024-10-30T06:50:05.937Z] ---> 5e6b11e22ad5 [2024-10-30T06:50:05.937Z] Step 6/12 : WORKDIR /device-uart [2024-10-30T06:50:05.937Z] ---> Running in f14ce263c02a [2024-10-30T06:50:06.197Z] Removing intermediate container f14ce263c02a [2024-10-30T06:50:06.197Z] ---> 02058c4da123 [2024-10-30T06:50:06.197Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:50:06.197Z] ---> Running in b2185770a208 [2024-10-30T06:50:06.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:50:06.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:50:06.976Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:50:06.976Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:50:06.976Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:50:06.976Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:50:06.976Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:50:06.976Z] OK: 250 MiB in 58 packages [2024-10-30T06:50:07.062Z] Still waiting to schedule task [2024-10-30T06:50:07.062Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-30T06:50:07.544Z] Removing intermediate container b2185770a208 [2024-10-30T06:50:07.544Z] ---> 5bda2dc5e473 [2024-10-30T06:50:07.544Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-30T06:50:07.803Z] ---> 920a6cba1a46 [2024-10-30T06:50:07.803Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:50:07.803Z] ---> Running in 8cb331c0f731 [2024-10-30T06:50:54.519Z] Removing intermediate container 8cb331c0f731 [2024-10-30T06:50:54.519Z] ---> 47d0d74658cb [2024-10-30T06:50:54.519Z] Step 10/12 : COPY . . [2024-10-30T06:50:54.519Z] ---> c87a052d2b71 [2024-10-30T06:50:54.519Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:50:54.519Z] ---> Running in 61702b6aeb2d [2024-10-30T06:50:54.519Z] Removing intermediate container 61702b6aeb2d [2024-10-30T06:50:54.519Z] ---> ded8b29fdb90 [2024-10-30T06:50:54.519Z] Step 12/12 : RUN ${MAKE} [2024-10-30T06:50:54.519Z] ---> Running in f96e7d77b9b3 [2024-10-30T06:50:54.519Z] noop [2024-10-30T06:50:54.519Z] Removing intermediate container f96e7d77b9b3 [2024-10-30T06:50:54.519Z] ---> 7ce1bc51d753 [2024-10-30T06:50:54.519Z] Successfully built 7ce1bc51d753 [2024-10-30T06:50:54.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:50:55.233Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:50:55.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:50:55.405Z] prd-ubuntu20.04-docker-8c-8g-24100 does not seem to be running inside a container [2024-10-30T06:50:55.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-82 -v /w/workspace/edgexfoundry_device-uart_PR-82:/w/workspace/edgexfoundry_device-uart_PR-82:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-82@tmp:/w/workspace/edgexfoundry_device-uart_PR-82@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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T06:50:55.801Z] $ docker top 7e18e4089b16c740a3266169ac9111e95f57aa4f0f80552b5a0ae6cd03d2e606 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:50:56.205Z] + go version [2024-10-30T06:50:56.205Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T06:50:56.239Z] $ docker stop --time=1 7e18e4089b16c740a3266169ac9111e95f57aa4f0f80552b5a0ae6cd03d2e606 [2024-10-30T06:50:57.507Z] $ docker rm -f --volumes 7e18e4089b16c740a3266169ac9111e95f57aa4f0f80552b5a0ae6cd03d2e606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:50:58.308Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:50:58.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:50:58.491Z] prd-ubuntu20.04-docker-8c-8g-24100 does not seem to be running inside a container [2024-10-30T06:50:58.520Z] $ 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-82 -v /w/workspace/edgexfoundry_device-uart_PR-82:/w/workspace/edgexfoundry_device-uart_PR-82:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-82@tmp:/w/workspace/edgexfoundry_device-uart_PR-82@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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T06:50:58.900Z] $ docker top ca3251f29d3369267190b63b2ba50f1df22d426d1eb2f5d18452fb8505c570a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:50:59.320Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-82 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:50:59.691Z] + make test [2024-10-30T06:50:59.691Z] go test ./... -coverprofile=coverage.out [2024-10-30T06:51:01.618Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-30T06:51:23.570Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-30T06:51:23.570Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-30T06:51:33.567Z] go vet ./... [2024-10-30T06:51:40.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:51:40.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:51:40.142Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:51:40.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:51:40.236Z] $ docker stop --time=1 ca3251f29d3369267190b63b2ba50f1df22d426d1eb2f5d18452fb8505c570a0 [2024-10-30T06:51:44.328Z] $ docker rm -f --volumes ca3251f29d3369267190b63b2ba50f1df22d426d1eb2f5d18452fb8505c570a0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:51:44.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:51:45.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T06:51:45.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:51:46.067Z] + ls -al . [2024-10-30T06:51:46.067Z] total 236 [2024-10-30T06:51:46.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:51 . [2024-10-30T06:51:46.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:49 .. [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:49 .dockerignore [2024-10-30T06:51:46.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:51 .git [2024-10-30T06:51:46.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:49 .github [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 30 06:49 .gitignore [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 30 06:49 .golangci.yml [2024-10-30T06:51:46.067Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:49 .semver [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 30 06:49 Attribution.txt [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 30 06:49 CHANGELOG.md [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 1919 Oct 30 06:49 Dockerfile [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:49 GOVERNANCE.md [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 30 06:49 Jenkinsfile [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:49 LICENSE [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 30 06:49 Makefile [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 30 06:49 OWNERS.md [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 30 06:49 README.md [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:49 VERSION [2024-10-30T06:51:46.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:49 bin [2024-10-30T06:51:46.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:49 cmd [2024-10-30T06:51:46.067Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 30 06:51 coverage.out [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 6929 Oct 30 06:49 go.mod [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 100381 Oct 30 06:49 go.sum [2024-10-30T06:51:46.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:49 internal [2024-10-30T06:51:46.067Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 30 06:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:51:46.490Z] + 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=53189c10332bacaee41a57c005c834aa638a9f96 --label arch=amd64 --label version=0.0.0 . [2024-10-30T06:51:46.490Z] Sending build context to Docker daemon 25.71MB [2024-10-30T06:51:46.490Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:51:46.490Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T06:51:46.490Z] ---> 7ce1bc51d753 [2024-10-30T06:51:46.490Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:51:47.059Z] ---> Running in c9260547b4db [2024-10-30T06:51:47.059Z] Removing intermediate container c9260547b4db [2024-10-30T06:51:47.059Z] ---> d2bfc339fce8 [2024-10-30T06:51:47.059Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:51:47.059Z] ---> Running in 2558467e85fe [2024-10-30T06:51:47.059Z] Removing intermediate container 2558467e85fe [2024-10-30T06:51:47.059Z] ---> 850d6c375730 [2024-10-30T06:51:47.059Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:51:47.059Z] ---> Running in ae66346198b1 [2024-10-30T06:51:47.319Z] Removing intermediate container ae66346198b1 [2024-10-30T06:51:47.319Z] ---> 0fdd55475e72 [2024-10-30T06:51:47.319Z] Step 6/26 : WORKDIR /device-uart [2024-10-30T06:51:47.319Z] ---> Running in e5ae65a9785e [2024-10-30T06:51:47.319Z] Removing intermediate container e5ae65a9785e [2024-10-30T06:51:47.319Z] ---> 00b6044fb3d6 [2024-10-30T06:51:47.319Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:51:47.319Z] ---> Running in f69dfe44f416 [2024-10-30T06:51:47.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:51:47.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:51:48.100Z] OK: 250 MiB in 58 packages [2024-10-30T06:51:48.360Z] Removing intermediate container f69dfe44f416 [2024-10-30T06:51:48.360Z] ---> 9cc4c2446d8b [2024-10-30T06:51:48.360Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-30T06:51:48.620Z] ---> 76d49502d47f [2024-10-30T06:51:48.620Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:51:48.620Z] ---> Running in 156d43ae53b6 [2024-10-30T06:51:49.189Z] Removing intermediate container 156d43ae53b6 [2024-10-30T06:51:49.189Z] ---> 9f9a513036ea [2024-10-30T06:51:49.189Z] Step 10/26 : COPY . . [2024-10-30T06:51:50.128Z] ---> df479a09ef39 [2024-10-30T06:51:50.128Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:51:50.128Z] ---> Running in d72808555da8 [2024-10-30T06:51:50.387Z] Removing intermediate container d72808555da8 [2024-10-30T06:51:50.387Z] ---> 6276c8e66f3a [2024-10-30T06:51:50.387Z] Step 12/26 : RUN ${MAKE} [2024-10-30T06:51:50.387Z] ---> Running in b041093fb578 [2024-10-30T06:51:50.647Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-30T06:52:37.920Z] Removing intermediate container b041093fb578 [2024-10-30T06:52:37.920Z] ---> 6c002e7b96fa [2024-10-30T06:52:37.920Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T06:52:37.920Z] 3.20: Pulling from library/alpine [2024-10-30T06:52:37.920Z] 43c4264eed91: Already exists [2024-10-30T06:52:37.920Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:52:37.920Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:52:37.920Z] ---> 91ef0af61f39 [2024-10-30T06:52:37.920Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-30T06:52:37.920Z] ---> Running in a9864aa7afee [2024-10-30T06:52:37.920Z] Removing intermediate container a9864aa7afee [2024-10-30T06:52:37.920Z] ---> 6578007e18a2 [2024-10-30T06:52:37.920Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:52:37.920Z] ---> Running in 06d8d282f9e5 [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:52:37.920Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:52:37.920Z] OK: 8 MiB in 15 packages [2024-10-30T06:52:37.920Z] Removing intermediate container 06d8d282f9e5 [2024-10-30T06:52:37.920Z] ---> d2c58c69a5a4 [2024-10-30T06:52:37.920Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-30T06:52:37.920Z] ---> Running in 2e00263583e8 [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:52:37.920Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:52:37.920Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:52:37.920Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:52:37.920Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:52:37.920Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:52:37.920Z] OK: 8 MiB in 15 packages [2024-10-30T06:52:37.920Z] Removing intermediate container 2e00263583e8 [2024-10-30T06:52:37.920Z] ---> 3f770ecb60bb [2024-10-30T06:52:37.920Z] Step 17/26 : WORKDIR / [2024-10-30T06:52:37.920Z] ---> Running in a27f602ce793 [2024-10-30T06:52:37.920Z] Removing intermediate container a27f602ce793 [2024-10-30T06:52:37.920Z] ---> e75b00e99a83 [2024-10-30T06:52:37.920Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-30T06:52:37.920Z] ---> 5ebfec0d968b [2024-10-30T06:52:37.920Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-30T06:52:37.920Z] ---> cc67209c8654 [2024-10-30T06:52:37.920Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-30T06:52:37.920Z] ---> d7101a36cddc [2024-10-30T06:52:37.920Z] Step 21/26 : EXPOSE 59995 [2024-10-30T06:52:37.920Z] ---> Running in 8b8d44ec9f2f [2024-10-30T06:52:37.920Z] Removing intermediate container 8b8d44ec9f2f [2024-10-30T06:52:37.920Z] ---> 571e2f74ba10 [2024-10-30T06:52:37.920Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-30T06:52:37.920Z] ---> Running in 55f0c861026f [2024-10-30T06:52:37.920Z] Removing intermediate container 55f0c861026f [2024-10-30T06:52:37.920Z] ---> 80cb708c7c45 [2024-10-30T06:52:37.920Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:52:37.920Z] ---> Running in 6557cc3f1a54 [2024-10-30T06:52:37.920Z] Removing intermediate container 6557cc3f1a54 [2024-10-30T06:52:37.920Z] ---> 04e4ab569081 [2024-10-30T06:52:37.920Z] Step 24/26 : LABEL arch=amd64 [2024-10-30T06:52:37.920Z] ---> Running in e32441601c8f [2024-10-30T06:52:37.920Z] Removing intermediate container e32441601c8f [2024-10-30T06:52:37.920Z] ---> eb583801479e [2024-10-30T06:52:37.920Z] Step 25/26 : LABEL git_sha=53189c10332bacaee41a57c005c834aa638a9f96 [2024-10-30T06:52:37.920Z] ---> Running in 62381bd0fb68 [2024-10-30T06:52:37.920Z] Removing intermediate container 62381bd0fb68 [2024-10-30T06:52:37.920Z] ---> 3739aa949db0 [2024-10-30T06:52:37.920Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T06:52:37.920Z] ---> Running in 2ed8ac14127d [2024-10-30T06:52:37.920Z] Removing intermediate container 2ed8ac14127d [2024-10-30T06:52:37.920Z] ---> 3cd4c576c0db [2024-10-30T06:52:37.920Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:52:37.920Z] Successfully built 3cd4c576c0db [2024-10-30T06:52:37.920Z] 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-30T06:52:38.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:52:38.938Z] [2024-10-30T06:52:38.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:52:39.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:52:39.342Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T06:52:39.342Z] 5eb5b503b376: Pulling fs layer [2024-10-30T06:52:39.342Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T06:52:39.342Z] ec43610c2a17: Pulling fs layer [2024-10-30T06:52:39.342Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T06:52:39.342Z] 33b1e0a273af: Pulling fs layer [2024-10-30T06:52:39.342Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T06:52:39.342Z] 2f39f015ded8: Pulling fs layer [2024-10-30T06:52:39.342Z] 33b1e0a273af: Waiting [2024-10-30T06:52:39.342Z] 5d3b04190fa2: Waiting [2024-10-30T06:52:39.342Z] 2f39f015ded8: Waiting [2024-10-30T06:52:39.342Z] 3a2ae6a8a46f: Waiting [2024-10-30T06:52:39.342Z] 5c69ac0246d0: Verifying Checksum [2024-10-30T06:52:39.342Z] 5c69ac0246d0: Download complete [2024-10-30T06:52:39.342Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T06:52:39.342Z] 3a2ae6a8a46f: Download complete [2024-10-30T06:52:39.342Z] 33b1e0a273af: Verifying Checksum [2024-10-30T06:52:39.342Z] 33b1e0a273af: Download complete [2024-10-30T06:52:39.342Z] ec43610c2a17: Verifying Checksum [2024-10-30T06:52:39.342Z] ec43610c2a17: Download complete [2024-10-30T06:52:39.342Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T06:52:39.604Z] 5eb5b503b376: Verifying Checksum [2024-10-30T06:52:39.604Z] 5eb5b503b376: Download complete [2024-10-30T06:52:40.173Z] 2f39f015ded8: Download complete [2024-10-30T06:52:40.741Z] 5eb5b503b376: Pull complete [2024-10-30T06:52:40.741Z] 5c69ac0246d0: Pull complete [2024-10-30T06:52:41.309Z] ec43610c2a17: Pull complete [2024-10-30T06:52:41.309Z] 3a2ae6a8a46f: Pull complete [2024-10-30T06:52:41.571Z] 33b1e0a273af: Pull complete [2024-10-30T06:52:41.571Z] 5d3b04190fa2: Pull complete [2024-10-30T06:52:45.759Z] 2f39f015ded8: Pull complete [2024-10-30T06:52:45.759Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T06:52:45.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:52:45.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:52:46.033Z] prd-ubuntu20.04-docker-8c-8g-24100 does not seem to be running inside a container [2024-10-30T06:52:46.062Z] $ 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-82 -v /w/workspace/edgexfoundry_device-uart_PR-82:/w/workspace/edgexfoundry_device-uart_PR-82:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-82@tmp:/w/workspace/edgexfoundry_device-uart_PR-82@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T06:52:49.994Z] $ docker top e626bca3d82dd38294cfd110c996bb01977f43c79549ddd8cffed98640631225 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:52:50.464Z] ---> job-cost.sh [2024-10-30T06:52:50.464Z] lf-activate-venv: SKIPPING [2024-10-30T06:52:50.464Z] INFO: No Stack... [2024-10-30T06:52:50.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:52:50.982Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:52:51.312Z] + cat /w/workspace/edgexfoundry_device-uart_PR-82/archives/cost.csv [2024-10-30T06:52:51.312Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:52:51.363Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [2024-10-30T06:52:51.370Z] Resource [jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] did not exist. Created. [2024-10-30T06:52:51.377Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:52:51.784Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T06:52:51.834Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:52:51.876Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:52:51.963Z] $ docker stop --time=1 e626bca3d82dd38294cfd110c996bb01977f43c79549ddd8cffed98640631225 [2024-10-30T06:52:53.161Z] $ docker rm -f --volumes e626bca3d82dd38294cfd110c996bb01977f43c79549ddd8cffed98640631225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T06:53:35.898Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24101 in /w/workspace/edgexfoundry_device-uart_PR-82 [Pipeline] { [Pipeline] ws [2024-10-30T06:53:35.988Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-30T06:53:36.090Z] The recommended git tool is: git [2024-10-30T06:53:40.795Z] using credential edgex-jenkins-ssh [2024-10-30T06:53:40.817Z] Cloning the remote Git repository [2024-10-30T06:53:40.855Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-30T06:53:40.949Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-30T06:53:41.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-30T06:53:41.078Z] > git --version # timeout=10 [2024-10-30T06:53:41.098Z] > git --version # 'git version 2.25.1' [2024-10-30T06:53:41.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:53:41.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:53:43.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-30T06:53:43.504Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:53:44.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-30T06:53:44.472Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-30T06:53:44.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:53:44.496Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/82/head:refs/remotes/origin/PR-82 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T06:53:45.053Z] Merging remotes/origin/main commit fb93fa34bb594df6e041f35dbb663b8f249074b4 into PR head commit 53189c10332bacaee41a57c005c834aa638a9f96 [2024-10-30T06:53:45.347Z] Merge succeeded, producing 53189c10332bacaee41a57c005c834aa638a9f96 [2024-10-30T06:53:45.348Z] Checking out Revision 53189c10332bacaee41a57c005c834aa638a9f96 (PR-82) [2024-10-30T06:53:45.067Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:53:45.141Z] > git checkout -f 53189c10332bacaee41a57c005c834aa638a9f96 # timeout=10 [2024-10-30T06:53:45.238Z] > git remote # timeout=10 [2024-10-30T06:53:45.255Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T06:53:45.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:53:45.291Z] > git merge fb93fa34bb594df6e041f35dbb663b8f249074b4 # timeout=10 [2024-10-30T06:53:45.320Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T06:53:45.351Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:53:45.365Z] > git checkout -f 53189c10332bacaee41a57c005c834aa638a9f96 # timeout=10 [2024-10-30T06:53:48.971Z] Commit message: "refactor!: update module to v4" [2024-10-30T06:53:49.019Z] > git --version # timeout=10 [2024-10-30T06:53:49.028Z] > git --version # 'git version 2.25.1' [2024-10-30T06:53:49.039Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:53:50.987Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T06:53:50.987Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:53:50.987Z] Dload Upload Total Spent Left Speed [2024-10-30T06:53:50.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2024-10-30T06:53:51.349Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T06:53:51.695Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T06:53:51.695Z] + sudo tee /etc/docker/daemon.new [2024-10-30T06:53:51.695Z] { [2024-10-30T06:53:51.695Z] "registry-mirrors": [ [2024-10-30T06:53:51.695Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T06:53:51.695Z] ], [2024-10-30T06:53:51.695Z] "bip": "10.250.0.254/24", [2024-10-30T06:53:51.695Z] "hosts": [ [2024-10-30T06:53:51.695Z] "tcp://0.0.0.0:5555", [2024-10-30T06:53:51.695Z] "unix:///var/run/docker.sock" [2024-10-30T06:53:51.695Z] ], [2024-10-30T06:53:51.695Z] "mtu": 1458, [2024-10-30T06:53:51.695Z] "selinux-enabled": true, [2024-10-30T06:53:51.695Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T06:53:51.695Z] } [Pipeline] sh [2024-10-30T06:53:52.049Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T06:53:52.417Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:54:10.754Z] provisioning config files... [2024-10-30T06:54:10.781Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config16365301584154724385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:54:11.303Z] ---> ****-login.sh [2024-10-30T06:54:11.303Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:54:11.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:54:11.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:54:11.841Z] Configure a credential helper to remove this warning. See [2024-10-30T06:54:11.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:54:11.841Z] [2024-10-30T06:54:11.841Z] Login Succeeded [2024-10-30T06:54:11.841Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:54:12.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:54:12.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:54:12.110Z] Configure a credential helper to remove this warning. See [2024-10-30T06:54:12.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:54:12.110Z] [2024-10-30T06:54:12.110Z] Login Succeeded [2024-10-30T06:54:12.391Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:54:12.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:54:12.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:54:12.662Z] Configure a credential helper to remove this warning. See [2024-10-30T06:54:12.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:54:12.662Z] [2024-10-30T06:54:12.662Z] Login Succeeded [2024-10-30T06:54:12.662Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:54:12.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:54:12.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:54:12.935Z] Configure a credential helper to remove this warning. See [2024-10-30T06:54:12.935Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:54:12.935Z] [2024-10-30T06:54:12.935Z] Login Succeeded [2024-10-30T06:54:12.935Z] ****.io [2024-10-30T06:54:13.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:54:13.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:54:13.473Z] Configure a credential helper to remove this warning. See [2024-10-30T06:54:13.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:54:13.473Z] [2024-10-30T06:54:13.473Z] Login Succeeded [2024-10-30T06:54:13.473Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:54:13.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:54:13.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:54:14.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:54:14.094Z] ========================================================= [2024-10-30T06:54:14.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T06:54:14.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:54:14.661Z] + 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-30T06:54:14.936Z] Sending build context to Docker daemon 12.97MB [2024-10-30T06:54:15.208Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:54:15.208Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:54:15.208Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T06:54:15.208Z] cf04c63912e1: Pulling fs layer [2024-10-30T06:54:15.208Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T06:54:15.208Z] a37a00ec5f00: Pulling fs layer [2024-10-30T06:54:15.208Z] 50b3750afda1: Pulling fs layer [2024-10-30T06:54:15.208Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:54:15.208Z] 80978eb59214: Pulling fs layer [2024-10-30T06:54:15.208Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T06:54:15.208Z] 50b3750afda1: Waiting [2024-10-30T06:54:15.208Z] 4f4fb700ef54: Waiting [2024-10-30T06:54:15.208Z] 80978eb59214: Waiting [2024-10-30T06:54:15.208Z] c5a475d317c9: Pulling fs layer [2024-10-30T06:54:15.208Z] c9f46d7d2bd2: Waiting [2024-10-30T06:54:15.208Z] c5a475d317c9: Waiting [2024-10-30T06:54:15.208Z] 55b35a11ae5e: Verifying Checksum [2024-10-30T06:54:15.208Z] 55b35a11ae5e: Download complete [2024-10-30T06:54:15.208Z] 50b3750afda1: Verifying Checksum [2024-10-30T06:54:15.208Z] 50b3750afda1: Download complete [2024-10-30T06:54:15.477Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:54:15.477Z] 4f4fb700ef54: Download complete [2024-10-30T06:54:15.477Z] 80978eb59214: Verifying Checksum [2024-10-30T06:54:15.477Z] 80978eb59214: Download complete [2024-10-30T06:54:15.477Z] cf04c63912e1: Verifying Checksum [2024-10-30T06:54:15.477Z] cf04c63912e1: Download complete [2024-10-30T06:54:15.744Z] c5a475d317c9: Verifying Checksum [2024-10-30T06:54:15.744Z] c5a475d317c9: Download complete [2024-10-30T06:54:16.335Z] cf04c63912e1: Pull complete [2024-10-30T06:54:16.922Z] 55b35a11ae5e: Pull complete [2024-10-30T06:54:17.193Z] a37a00ec5f00: Verifying Checksum [2024-10-30T06:54:17.193Z] a37a00ec5f00: Download complete [2024-10-30T06:54:18.164Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T06:54:18.165Z] c9f46d7d2bd2: Download complete [2024-10-30T06:54:30.471Z] a37a00ec5f00: Pull complete [2024-10-30T06:54:30.471Z] 50b3750afda1: Pull complete [2024-10-30T06:54:30.471Z] 4f4fb700ef54: Pull complete [2024-10-30T06:54:30.471Z] 80978eb59214: Pull complete [2024-10-30T06:54:38.678Z] c9f46d7d2bd2: Pull complete [2024-10-30T06:54:39.269Z] c5a475d317c9: Pull complete [2024-10-30T06:54:39.269Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T06:54:39.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T06:54:39.269Z] ---> be29e6b0f0d4 [2024-10-30T06:54:39.269Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:54:41.211Z] ---> Running in f6da21931314 [2024-10-30T06:54:41.478Z] Removing intermediate container f6da21931314 [2024-10-30T06:54:41.478Z] ---> 634213ae8deb [2024-10-30T06:54:41.478Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:54:41.749Z] ---> Running in a429b75b49a4 [2024-10-30T06:54:42.018Z] Removing intermediate container a429b75b49a4 [2024-10-30T06:54:42.018Z] ---> e9f4ed8677a7 [2024-10-30T06:54:42.018Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:54:42.018Z] ---> Running in 9faff57af906 [2024-10-30T06:54:42.286Z] Removing intermediate container 9faff57af906 [2024-10-30T06:54:42.286Z] ---> 517c9da08308 [2024-10-30T06:54:42.286Z] Step 6/12 : WORKDIR /device-uart [2024-10-30T06:54:42.555Z] ---> Running in 2b36f15aec28 [2024-10-30T06:54:42.823Z] Removing intermediate container 2b36f15aec28 [2024-10-30T06:54:42.823Z] ---> 9551a5da189d [2024-10-30T06:54:42.823Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:54:42.823Z] ---> Running in 8d50126db9a1 [2024-10-30T06:54:44.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:54:44.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:54:45.647Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:54:45.647Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:54:45.647Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:54:45.647Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:54:45.647Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:54:45.647Z] OK: 242 MiB in 58 packages [2024-10-30T06:54:47.077Z] Removing intermediate container 8d50126db9a1 [2024-10-30T06:54:47.077Z] ---> eced69ca854f [2024-10-30T06:54:47.077Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-30T06:54:47.665Z] ---> f68e0e8a4e73 [2024-10-30T06:54:47.665Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:54:47.665Z] ---> Running in 13a348c8e47f [2024-10-30T06:56:39.372Z] Removing intermediate container 13a348c8e47f [2024-10-30T06:56:39.372Z] ---> f497ad577915 [2024-10-30T06:56:39.372Z] Step 10/12 : COPY . . [2024-10-30T06:56:39.372Z] ---> 77fbd39b1734 [2024-10-30T06:56:39.372Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:56:39.372Z] ---> Running in d8852a58ec4a [2024-10-30T06:56:39.372Z] Removing intermediate container d8852a58ec4a [2024-10-30T06:56:39.372Z] ---> 4585c531dcbe [2024-10-30T06:56:39.372Z] Step 12/12 : RUN ${MAKE} [2024-10-30T06:56:39.372Z] ---> Running in b7dd424c1702 [2024-10-30T06:56:39.640Z] noop [2024-10-30T06:56:40.224Z] Removing intermediate container b7dd424c1702 [2024-10-30T06:56:40.224Z] ---> 1a11637d1fb5 [2024-10-30T06:56:40.224Z] Successfully built 1a11637d1fb5 [2024-10-30T06:56:40.224Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:56:40.731Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:56:40.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:56:41.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-24101 does not seem to be running inside a container [2024-10-30T06:56:41.114Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:56:42.444Z] $ docker top 30b7fefc9913f40a98a3c22f0af53aa19430079650c63a16126da92395a10ddf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:56:43.417Z] + go version [2024-10-30T06:56:43.417Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T06:56:43.456Z] $ docker stop --time=1 30b7fefc9913f40a98a3c22f0af53aa19430079650c63a16126da92395a10ddf [2024-10-30T06:56:45.178Z] $ docker rm -f --volumes 30b7fefc9913f40a98a3c22f0af53aa19430079650c63a16126da92395a10ddf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:56:46.177Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:56:46.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:56:46.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-24101 does not seem to be running inside a container [2024-10-30T06:56:46.532Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:56:47.944Z] $ docker top 16e33ee84143e39c741e7453f1eda445ac799c7c089f2f89a02b790531dc7204 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:56:48.878Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:56:49.611Z] + make test [2024-10-30T06:56:49.611Z] go test ./... -coverprofile=coverage.out [2024-10-30T06:56:56.273Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-30T07:01:18.389Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-30T07:01:18.389Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-30T07:01:18.389Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T07:01:18.389Z] go vet ./... [2024-10-30T07:02:05.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T07:02:05.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T07:02:05.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T07:02:26.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T07:02:26.362Z] $ docker stop --time=1 16e33ee84143e39c741e7453f1eda445ac799c7c089f2f89a02b790531dc7204 [2024-10-30T07:02:28.208Z] $ docker rm -f --volumes 16e33ee84143e39c741e7453f1eda445ac799c7c089f2f89a02b790531dc7204 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:02:29.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T07:02:30.015Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T07:02:30.503Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:02:31.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T07:02:31.531Z] + ls -al . [2024-10-30T07:02:31.531Z] total 232 [2024-10-30T07:02:31.531Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 06:56 . [2024-10-30T07:02:31.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:53 .. [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:53 .dockerignore [2024-10-30T07:02:31.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:53 .git [2024-10-30T07:02:31.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:53 .github [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 30 06:53 .gitignore [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 30 06:53 .golangci.yml [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 30 06:53 Attribution.txt [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 30 06:53 CHANGELOG.md [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 1919 Oct 30 06:53 Dockerfile [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:53 GOVERNANCE.md [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 30 06:53 Jenkinsfile [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:53 LICENSE [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 30 06:53 Makefile [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 30 06:53 OWNERS.md [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 30 06:53 README.md [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:49 VERSION [2024-10-30T07:02:31.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:53 bin [2024-10-30T07:02:31.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:53 cmd [2024-10-30T07:02:31.531Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 30 07:01 coverage.out [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 6929 Oct 30 06:53 go.mod [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 100381 Oct 30 06:53 go.sum [2024-10-30T07:02:31.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:53 internal [2024-10-30T07:02:31.531Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 30 06:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:02:32.002Z] + 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=53189c10332bacaee41a57c005c834aa638a9f96 --label arch=arm64 --label version=0.0.0 . [2024-10-30T07:02:32.585Z] Sending build context to Docker daemon 12.98MB [2024-10-30T07:02:32.585Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:02:32.585Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T07:02:32.585Z] ---> 1a11637d1fb5 [2024-10-30T07:02:32.585Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T07:02:32.585Z] ---> Running in 40e8fa7ee3b0 [2024-10-30T07:02:32.852Z] Removing intermediate container 40e8fa7ee3b0 [2024-10-30T07:02:32.852Z] ---> e51ab5e91984 [2024-10-30T07:02:32.852Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:02:33.123Z] ---> Running in 182ced5ce25a [2024-10-30T07:02:33.389Z] Removing intermediate container 182ced5ce25a [2024-10-30T07:02:33.389Z] ---> 60fb7391d490 [2024-10-30T07:02:33.389Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:02:33.389Z] ---> Running in 756109d1a359 [2024-10-30T07:02:33.656Z] Removing intermediate container 756109d1a359 [2024-10-30T07:02:33.656Z] ---> 6d68f76ddc81 [2024-10-30T07:02:33.656Z] Step 6/26 : WORKDIR /device-uart [2024-10-30T07:02:33.656Z] ---> Running in 6ad9653e93f2 [2024-10-30T07:02:33.923Z] Removing intermediate container 6ad9653e93f2 [2024-10-30T07:02:33.923Z] ---> 86e9adb1d127 [2024-10-30T07:02:33.923Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:02:34.191Z] ---> Running in 796edbb700b1 [2024-10-30T07:02:35.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:02:35.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:02:37.139Z] OK: 242 MiB in 58 packages [2024-10-30T07:02:38.107Z] Removing intermediate container 796edbb700b1 [2024-10-30T07:02:38.107Z] ---> c0d557ef20ef [2024-10-30T07:02:38.107Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-30T07:02:38.692Z] ---> 195c71c4cc4d [2024-10-30T07:02:38.692Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:02:38.692Z] ---> Running in 6fa0785218b9 [2024-10-30T07:02:41.294Z] Removing intermediate container 6fa0785218b9 [2024-10-30T07:02:41.294Z] ---> 3787f7ce09ec [2024-10-30T07:02:41.294Z] Step 10/26 : COPY . . [2024-10-30T07:02:42.715Z] ---> e87c944bcc81 [2024-10-30T07:02:42.715Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:02:42.715Z] ---> Running in 7f6665eb0bc7 [2024-10-30T07:02:43.306Z] Removing intermediate container 7f6665eb0bc7 [2024-10-30T07:02:43.306Z] ---> ff39f2782ec7 [2024-10-30T07:02:43.306Z] Step 12/26 : RUN ${MAKE} [2024-10-30T07:02:43.306Z] ---> Running in a520113f1569 [2024-10-30T07:02:44.278Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-30T07:06:51.174Z] Removing intermediate container a520113f1569 [2024-10-30T07:06:51.174Z] ---> 6479c57e48d2 [2024-10-30T07:06:51.174Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T07:06:51.174Z] 3.20: Pulling from library/alpine [2024-10-30T07:06:51.174Z] cf04c63912e1: Already exists [2024-10-30T07:06:51.174Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T07:06:51.174Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T07:06:51.174Z] ---> c157a85ed455 [2024-10-30T07:06:51.174Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-30T07:06:51.174Z] ---> Running in d5f43eb0e29e [2024-10-30T07:06:51.174Z] Removing intermediate container d5f43eb0e29e [2024-10-30T07:06:51.174Z] ---> 76c0aa19af11 [2024-10-30T07:06:51.174Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T07:06:51.174Z] ---> Running in f0cb8345c484 [2024-10-30T07:06:51.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:51.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:51.174Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T07:06:51.174Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:06:51.174Z] OK: 9 MiB in 15 packages [2024-10-30T07:06:51.174Z] Removing intermediate container f0cb8345c484 [2024-10-30T07:06:51.174Z] ---> abb5cd2fbd3e [2024-10-30T07:06:51.174Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-30T07:06:51.174Z] ---> Running in ddd01576b5f1 [2024-10-30T07:06:51.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:51.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:52.586Z] Upgrading critical system libraries and apk-tools: [2024-10-30T07:06:52.586Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T07:06:52.586Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:06:52.853Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T07:06:52.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:53.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:06:54.532Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:06:54.800Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:06:54.800Z] OK: 9 MiB in 15 packages [2024-10-30T07:06:56.231Z] Removing intermediate container ddd01576b5f1 [2024-10-30T07:06:56.231Z] ---> 34fe8bb12c28 [2024-10-30T07:06:56.231Z] Step 17/26 : WORKDIR / [2024-10-30T07:06:56.231Z] ---> Running in 26b1c1d18eb1 [2024-10-30T07:06:56.500Z] Removing intermediate container 26b1c1d18eb1 [2024-10-30T07:06:56.500Z] ---> 674999510950 [2024-10-30T07:06:56.500Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-30T07:06:57.096Z] ---> 6b2ec0efab6d [2024-10-30T07:06:57.096Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-30T07:06:57.681Z] ---> 15bfbf560a67 [2024-10-30T07:06:57.681Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-30T07:07:00.267Z] ---> 4a7809d259b9 [2024-10-30T07:07:00.267Z] Step 21/26 : EXPOSE 59995 [2024-10-30T07:07:00.267Z] ---> Running in 64206825db87 [2024-10-30T07:07:00.267Z] Removing intermediate container 64206825db87 [2024-10-30T07:07:00.267Z] ---> 8e221134a81a [2024-10-30T07:07:00.267Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-30T07:07:00.267Z] ---> Running in cf9f20095ee8 [2024-10-30T07:07:00.540Z] Removing intermediate container cf9f20095ee8 [2024-10-30T07:07:00.540Z] ---> 11fe4ecb836c [2024-10-30T07:07:00.540Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T07:07:00.813Z] ---> Running in b0b3cb11fc3a [2024-10-30T07:07:01.083Z] Removing intermediate container b0b3cb11fc3a [2024-10-30T07:07:01.083Z] ---> d29647448056 [2024-10-30T07:07:01.083Z] Step 24/26 : LABEL arch=arm64 [2024-10-30T07:07:01.083Z] ---> Running in 6e0583c7b8bc [2024-10-30T07:07:01.357Z] Removing intermediate container 6e0583c7b8bc [2024-10-30T07:07:01.357Z] ---> 6d8fd3573b6f [2024-10-30T07:07:01.357Z] Step 25/26 : LABEL git_sha=53189c10332bacaee41a57c005c834aa638a9f96 [2024-10-30T07:07:01.629Z] ---> Running in 6b68d9089cf0 [2024-10-30T07:07:01.897Z] Removing intermediate container 6b68d9089cf0 [2024-10-30T07:07:01.897Z] ---> 167873b02c0e [2024-10-30T07:07:01.897Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T07:07:01.897Z] ---> Running in 10dad5555155 [2024-10-30T07:07:02.167Z] Removing intermediate container 10dad5555155 [2024-10-30T07:07:02.167Z] ---> fc21f524a5e2 [2024-10-30T07:07:02.167Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T07:07:02.434Z] Successfully built fc21f524a5e2 [2024-10-30T07:07:02.434Z] 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-30T07:07:03.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:07:03.415Z] [2024-10-30T07:07:03.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:07:03.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:07:04.447Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T07:07:04.447Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T07:07:04.447Z] 04944245beec: Pulling fs layer [2024-10-30T07:07:04.447Z] 699f458cf7ca: Pulling fs layer [2024-10-30T07:07:04.447Z] 765212b225bb: Pulling fs layer [2024-10-30T07:07:04.447Z] f23df028b6ca: Pulling fs layer [2024-10-30T07:07:04.447Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T07:07:04.447Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T07:07:04.447Z] d65c8cfc05b1: Waiting [2024-10-30T07:07:04.447Z] f23df028b6ca: Waiting [2024-10-30T07:07:04.447Z] 04944245beec: Verifying Checksum [2024-10-30T07:07:04.447Z] 04944245beec: Download complete [2024-10-30T07:07:04.447Z] 765212b225bb: Verifying Checksum [2024-10-30T07:07:04.447Z] 765212b225bb: Download complete [2024-10-30T07:07:04.714Z] f23df028b6ca: Verifying Checksum [2024-10-30T07:07:04.714Z] f23df028b6ca: Download complete [2024-10-30T07:07:04.714Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T07:07:04.714Z] d65c8cfc05b1: Download complete [2024-10-30T07:07:04.714Z] 699f458cf7ca: Verifying Checksum [2024-10-30T07:07:05.297Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T07:07:05.297Z] 8998bd30e6a1: Download complete [2024-10-30T07:07:07.883Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T07:07:07.883Z] 2437ff75d9bd: Download complete [2024-10-30T07:07:09.289Z] 8998bd30e6a1: Pull complete [2024-10-30T07:07:09.870Z] 04944245beec: Pull complete [2024-10-30T07:07:11.277Z] 699f458cf7ca: Pull complete [2024-10-30T07:07:11.545Z] 765212b225bb: Pull complete [2024-10-30T07:07:12.504Z] f23df028b6ca: Pull complete [2024-10-30T07:07:12.504Z] d65c8cfc05b1: Pull complete [2024-10-30T07:07:30.709Z] 2437ff75d9bd: Pull complete [2024-10-30T07:07:30.709Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T07:07:30.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:07:30.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:07:31.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-24101 does not seem to be running inside a container [2024-10-30T07:07:31.181Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-30T07:07:34.194Z] $ docker top 3c2af417d4fa3bc3c403c6b9c06bf95ed3a6750eca2363c866df18f2c06d9324 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:35.151Z] ---> job-cost.sh [2024-10-30T07:07:35.151Z] lf-activate-venv: SKIPPING [2024-10-30T07:07:35.151Z] INFO: No Stack... [2024-10-30T07:07:35.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T07:07:36.318Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T07:07:36.985Z] + + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-30T07:07:36.985Z] cut -d, -f6 [Pipeline] lock [2024-10-30T07:07:37.079Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [2024-10-30T07:07:37.085Z] Resource [jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] did not exist. Created. [2024-10-30T07:07:37.093Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T07:07:37.840Z] /w/workspace/device-uart/1@tmp/durable-08b9bcbb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T07:07:38.519Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T07:07:38.567Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T07:07:38.621Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T07:07:38.641Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-82-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T07:07:38.722Z] $ docker stop --time=1 3c2af417d4fa3bc3c403c6b9c06bf95ed3a6750eca2363c866df18f2c06d9324 [2024-10-30T07:07:40.306Z] $ docker rm -f --volumes 3c2af417d4fa3bc3c403c6b9c06bf95ed3a6750eca2363c866df18f2c06d9324 [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-30T07:07:41.389Z] provisioning config files... [2024-10-30T07:07:41.397Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-82@tmp/config15293605530510403023tmp [Pipeline] { [Pipeline] sh [2024-10-30T07:07:41.752Z] + set +x [2024-10-30T07:07:41.752Z] + curl -s https://codecov.io/bash [2024-10-30T07:07:41.752Z] + bash -s -- [2024-10-30T07:07:41.752Z] [2024-10-30T07:07:41.752Z] _____ _ [2024-10-30T07:07:41.752Z] / ____| | | [2024-10-30T07:07:41.752Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T07:07:41.752Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T07:07:41.752Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T07:07:41.752Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T07:07:41.752Z] Bash-1.0.6 [2024-10-30T07:07:41.752Z] [2024-10-30T07:07:41.752Z] [2024-10-30T07:07:41.752Z] ==> git version 2.25.1 found [2024-10-30T07:07:41.752Z] ==> 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-30T07:07:41.752Z] Release-Date: 2020-01-08 [2024-10-30T07:07:41.752Z] 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-30T07:07:41.753Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T07:07:41.753Z] ==> Jenkins CI detected. [2024-10-30T07:07:41.753Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-82 [2024-10-30T07:07:41.753Z] project root: . [2024-10-30T07:07:41.753Z] --> token set from env [2024-10-30T07:07:41.753Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T07:07:41.753Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T07:07:41.753Z] ==> Python coveragepy not found [2024-10-30T07:07:41.753Z] ==> Searching for coverage reports in: [2024-10-30T07:07:41.753Z] + . [2024-10-30T07:07:41.753Z] -> Found 1 reports [2024-10-30T07:07:41.753Z] ==> Detecting git/mercurial file structure [2024-10-30T07:07:41.753Z] ==> Reading reports [2024-10-30T07:07:41.753Z] + ./coverage.out bytes=6770 [2024-10-30T07:07:41.753Z] ==> Appending adjustments [2024-10-30T07:07:41.753Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T07:07:42.012Z] + Found adjustments [2024-10-30T07:07:42.012Z] ==> Gzipping contents [2024-10-30T07:07:42.012Z] 4.0K /tmp/codecov.Bg1C9c.gz [2024-10-30T07:07:42.012Z] ==> Uploading reports [2024-10-30T07:07:42.012Z] url: https://codecov.io [2024-10-30T07:07:42.012Z] query: branch=PR-82&commit=53189c10332bacaee41a57c005c834aa638a9f96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-82%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=82&job=&cmd_args= [2024-10-30T07:07:42.012Z] -> Pinging Codecov [2024-10-30T07:07:42.012Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-82&commit=53189c10332bacaee41a57c005c834aa638a9f96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-82%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=82&job=&cmd_args= [2024-10-30T07:07:42.272Z] -> Uploading to [2024-10-30T07:07:42.272Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/53189c10332bacaee41a57c005c834aa638a9f96/5580a012-0b03-4ce2-86cc-8b6f23fd723c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T070742Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8305ef23afc1186aff25fb6ed1a5b58b2e2e3336b13e485a666cc65d40903837 [2024-10-30T07:07:42.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T07:07:42.272Z] Dload Upload Total Spent Left Speed [2024-10-30T07:07:42.532Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 5730 --:--:-- --:--:-- --:--:-- 5730 [2024-10-30T07:07:42.532Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/53189c10332bacaee41a57c005c834aa638a9f96 [Pipeline] } [2024-10-30T07:07:42.567Z] 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-30T07:07:44.790Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-82/archives ] [2024-10-30T07:07:44.791Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-82/archives [2024-10-30T07:07:44.791Z] total 16 [2024-10-30T07:07:44.791Z] drwxr-xr-x 3 root root 4096 Oct 30 06:52 . [2024-10-30T07:07:44.791Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:52 .. [2024-10-30T07:07:44.791Z] drwxr-xr-x 2 root root 4096 Oct 30 06:52 cost [2024-10-30T07:07:44.791Z] -rw-r--r-- 1 root root 82 Oct 30 06:52 cost.csv [2024-10-30T07:07:44.791Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-82/archives [2024-10-30T07:07:44.791Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-82/archives [2024-10-30T07:07:44.791Z] total 16 [2024-10-30T07:07:44.791Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:52 . [2024-10-30T07:07:44.791Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:52 .. [2024-10-30T07:07:44.791Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 06:52 cost [2024-10-30T07:07:44.791Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 30 06:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:45.126Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:46.036Z] ---> package-listing.sh [2024-10-30T07:07:46.036Z] ++ facter osfamily [2024-10-30T07:07:46.036Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T07:07:46.297Z] + OS_FAMILY=debian [2024-10-30T07:07:46.297Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-82 [2024-10-30T07:07:46.297Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T07:07:46.297Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T07:07:46.297Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T07:07:46.297Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T07:07:46.297Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-82 ']' [2024-10-30T07:07:46.297Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T07:07:46.297Z] + case "${OS_FAMILY}" in [2024-10-30T07:07:46.297Z] + dpkg -l [2024-10-30T07:07:46.297Z] + grep '^ii' [2024-10-30T07:07:46.297Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T07:07:46.297Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T07:07:46.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T07:07:46.297Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-82 ']' [2024-10-30T07:07:46.297Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-82/archives/ [2024-10-30T07:07:46.297Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-82/archives/ [Pipeline] echo [2024-10-30T07:07:46.333Z] 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-82/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T07:07:46.631Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:07:47.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:07:47.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:07:47.453Z] prd-ubuntu20.04-docker-8c-8g-24100 does not seem to be running inside a container [2024-10-30T07:07:47.540Z] $ 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-82/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-82 -v /w/workspace/edgexfoundry_device-uart_PR-82:/w/workspace/edgexfoundry_device-uart_PR-82:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-82@tmp:/w/workspace/edgexfoundry_device-uart_PR-82@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-30T07:07:47.742Z] $ docker top a4525acf876bd9481a2c6541824ab14466eae65854e30c69d088918a96fa6985 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:07:48.186Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T07:07:48.504Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T07:07:48.822Z] + ls /var/log/sa-host [2024-10-30T07:07:48.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:07:48.977Z] provisioning config files... [2024-10-30T07:07:48.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-82@tmp/config1005698788524646526tmp [Pipeline] { [Pipeline] echo [2024-10-30T07:07:49.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:49.378Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T07:07:49.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:49.833Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T07:07:49.876Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:50.211Z] ---> sudo-logs.sh [2024-10-30T07:07:50.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T07:07:50.311Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:50.635Z] ---> job-cost.sh [2024-10-30T07:07:50.635Z] lf-activate-venv: SKIPPING [2024-10-30T07:07:50.635Z] DEBUG: total: 0.2199999988079071 [2024-10-30T07:07:50.635Z] INFO: Retrieving Stack Cost... [2024-10-30T07:07:50.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T07:07:51.155Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T07:07:51.206Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:07:51.528Z] ---> logs-deploy.sh [2024-10-30T07:07:51.528Z] lf-activate-venv: SKIPPING [2024-10-30T07:07:51.528Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-82/1 [2024-10-30T07:07:51.528Z] INFO: archiving workspace using pattern(s): [2024-10-30T07:07:52.468Z] Archives upload complete. [2024-10-30T07:07:52.468Z] INFO: archiving logs to Nexus