Pull request #35 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd418c67c598278a4d44eeb145d02a57e9daffa0+dec02cb029fa6ce79400670f54c9fa46c31fe080 (a81e769fdaa305158e31e41d9220dcf0235844d8) 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-ssh11277315308462931542.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh8334834588256780233.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-35/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-35/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10238784844239298535.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-35/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7222020394216988858.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh595073817353326520.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-35/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-35/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15601142627073646712.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1560’ Running on prd-ubuntu20.04-docker-8c-8g-1562 in /w/workspace/edgexfoundry_device-uart_PR-35 [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-35 # 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 Merging remotes/origin/main commit dec02cb029fa6ce79400670f54c9fa46c31fe080 into PR head commit bd418c67c598278a4d44eeb145d02a57e9daffa0 Merge succeeded, producing bd418c67c598278a4d44eeb145d02a57e9daffa0 Checking out Revision bd418c67c598278a4d44eeb145d02a57e9daffa0 (PR-35) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd418c67c598278a4d44eeb145d02a57e9daffa0 # 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 dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd418c67c598278a4d44eeb145d02a57e9daffa0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T18:35:47.340Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:35:47.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:35:47.648Z] ========================================================= [2023-11-28T18:35:47.648Z] EdgeX Global Pipelines Version Info [2023-11-28T18:35:47.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:35:48.841Z] ------------------- [2023-11-28T18:35:48.841Z] stable info: [2023-11-28T18:35:48.841Z] ------------------- [2023-11-28T18:35:48.841Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:35:48.841Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:35:48.841Z] Message: update stable to v1.0.258 [2023-11-28T18:35:49.373Z] ------------------- [2023-11-28T18:35:49.373Z] experimental info: [2023-11-28T18:35:49.373Z] ------------------- [2023-11-28T18:35:49.373Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:35:49.373Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:35:49.373Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:35:49.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-11-28T18:35:49.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-11-28T18:35:49.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:35:49.755Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:35:49.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:35:49.872Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:35:49.931Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:35:49.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T18:35:50.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:35:50.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:35:50.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:35:50.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-11-28T18:35:50.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:35:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:35:50.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:35:50.505Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:35:50.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:35:50.716Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:35:50.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:35:50.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:35:50.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T18:35:50.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T18:35:51.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:35:51.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:35:51.172Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:35:51.239Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:35:51.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:35:51.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo [2023-11-28T18:35:51.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo [2023-11-28T18:35:51.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo [2023-11-28T18:35:51.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd418c67c598278a4d44eeb145d02a57e9daffa0 [Pipeline] echo [2023-11-28T18:35:51.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd418c6 [Pipeline] echo [2023-11-28T18:35:51.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:35:51.919Z] provisioning config files... [2023-11-28T18:35:51.937Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-35@tmp/config16325925365609211838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:35:52.336Z] ---> ****-login.sh [2023-11-28T18:35:52.336Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:35:52.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:35:52.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:35:52.598Z] Configure a credential helper to remove this warning. See [2023-11-28T18:35:52.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:35:52.598Z] [2023-11-28T18:35:52.598Z] Login Succeeded [2023-11-28T18:35:52.598Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:35:52.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:35:52.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:35:52.598Z] Configure a credential helper to remove this warning. See [2023-11-28T18:35:52.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:35:52.598Z] [2023-11-28T18:35:52.598Z] Login Succeeded [2023-11-28T18:35:52.598Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:35:52.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:35:52.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:35:52.857Z] Configure a credential helper to remove this warning. See [2023-11-28T18:35:52.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:35:52.857Z] [2023-11-28T18:35:52.857Z] Login Succeeded [2023-11-28T18:35:52.857Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:35:52.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:35:52.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:35:52.857Z] Configure a credential helper to remove this warning. See [2023-11-28T18:35:52.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:35:52.858Z] [2023-11-28T18:35:52.858Z] Login Succeeded [2023-11-28T18:35:52.858Z] ****.io [2023-11-28T18:35:53.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:35:53.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:35:53.378Z] Configure a credential helper to remove this warning. See [2023-11-28T18:35:53.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:35:53.378Z] [2023-11-28T18:35:53.378Z] Login Succeeded [2023-11-28T18:35:53.378Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:35:53.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:35:54.199Z] + git rev-list -1 --merges bd418c67c598278a4d44eeb145d02a57e9daffa0~1..bd418c67c598278a4d44eeb145d02a57e9daffa0 [Pipeline] echo [2023-11-28T18:35:54.312Z] -----------> git rev-list -1 --merges bd418c67c598278a4d44eeb145d02a57e9daffa0~1..bd418c67c598278a4d44eeb145d02a57e9daffa0 bd418c67c598278a4d44eeb145d02a57e9daffa0 [false] [Pipeline] sh [2023-11-28T18:35:54.638Z] + git log --format=format:%s -1 bd418c67c598278a4d44eeb145d02a57e9daffa0 [Pipeline] echo [2023-11-28T18:35:54.675Z] ========================================================= [2023-11-28T18:35:54.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:35:54.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:35:55.155Z] + git log --format=format:%s -1 bd418c67c598278a4d44eeb145d02a57e9daffa0 [Pipeline] echo [2023-11-28T18:35:55.191Z] [semverPrep] GIT_COMMIT: bd418c67c598278a4d44eeb145d02a57e9daffa0, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0 [Pipeline] echo [2023-11-28T18:35:55.242Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:35:55.688Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:35:55.688Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:35:55.688Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:35:55.688Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:35:55.688Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T18:35:55.688Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T18:35:55.688Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:35:56.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:35:56.143Z] [2023-11-28T18:35:56.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:35:56.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:35:56.542Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:35:56.542Z] b85a868b505f: Pulling fs layer [2023-11-28T18:35:56.542Z] e2be974225ed: Pulling fs layer [2023-11-28T18:35:56.542Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:35:56.542Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:35:56.543Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:35:56.543Z] eaf3925da568: Pulling fs layer [2023-11-28T18:35:56.543Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:35:56.543Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:35:56.543Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:35:56.543Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:35:56.543Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:35:56.543Z] bde34c3a00c8: Waiting [2023-11-28T18:35:56.543Z] 988bab9f4d93: Waiting [2023-11-28T18:35:56.543Z] b352a97aabf1: Waiting [2023-11-28T18:35:56.543Z] eaf3925da568: Waiting [2023-11-28T18:35:56.543Z] bab4dde63d76: Waiting [2023-11-28T18:35:56.543Z] 1469e6f7b9e6: Waiting [2023-11-28T18:35:56.543Z] e2be974225ed: Verifying Checksum [2023-11-28T18:35:56.543Z] e2be974225ed: Download complete [2023-11-28T18:35:56.543Z] 988bab9f4d93: Verifying Checksum [2023-11-28T18:35:56.543Z] 988bab9f4d93: Download complete [2023-11-28T18:35:56.803Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:35:56.803Z] 1469e6f7b9e6: Download complete [2023-11-28T18:35:56.803Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:35:56.803Z] 339a4e72a1f5: Download complete [2023-11-28T18:35:56.803Z] eaf3925da568: Verifying Checksum [2023-11-28T18:35:56.803Z] eaf3925da568: Download complete [2023-11-28T18:35:56.803Z] bde34c3a00c8: Download complete [2023-11-28T18:35:56.803Z] b352a97aabf1: Download complete [2023-11-28T18:35:56.803Z] 4872d77fe225: Verifying Checksum [2023-11-28T18:35:56.803Z] 4872d77fe225: Download complete [2023-11-28T18:35:56.803Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:35:56.803Z] 5851b861e8e6: Download complete [2023-11-28T18:35:56.803Z] b85a868b505f: Verifying Checksum [2023-11-28T18:35:56.803Z] b85a868b505f: Download complete [2023-11-28T18:35:57.065Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:35:57.065Z] bab4dde63d76: Download complete [2023-11-28T18:35:58.008Z] b85a868b505f: Pull complete [2023-11-28T18:35:58.267Z] e2be974225ed: Pull complete [2023-11-28T18:35:58.838Z] 339a4e72a1f5: Pull complete [2023-11-28T18:35:58.838Z] 988bab9f4d93: Pull complete [2023-11-28T18:35:59.097Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:35:59.097Z] eaf3925da568: Pull complete [2023-11-28T18:36:01.632Z] bab4dde63d76: Pull complete [2023-11-28T18:36:01.632Z] bde34c3a00c8: Pull complete [2023-11-28T18:36:01.891Z] b352a97aabf1: Pull complete [2023-11-28T18:36:02.463Z] 4872d77fe225: Pull complete [2023-11-28T18:36:02.721Z] 5851b861e8e6: Pull complete [2023-11-28T18:36:02.721Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:36:02.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:36:02.721Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:36:03.053Z] prd-ubuntu20.04-docker-8c-8g-1562 does not seem to be running inside a container [2023-11-28T18:36:03.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-35 -v /w/workspace/edgexfoundry_device-uart_PR-35:/w/workspace/edgexfoundry_device-uart_PR-35:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-35@tmp:/w/workspace/edgexfoundry_device-uart_PR-35@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T18:36:08.161Z] $ docker top afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca -eo pid,comm [2023-11-28T18:36:08.221Z] 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). [2023-11-28T18:36:08.221Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:36:08.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:36:08.432Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:36:08.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:36:08.555Z] $ docker exec afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca ssh-agent [2023-11-28T18:36:08.665Z] SSH_AUTH_SOCK=/tmp/ssh-emsQRsgwZ9Hl/agent.33 [2023-11-28T18:36:08.665Z] SSH_AGENT_PID=39 [2023-11-28T18:36:08.674Z] Running ssh-add (command line suppressed) [2023-11-28T18:36:08.783Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-35@tmp/private_key_13452985310949630703.key (/w/workspace/edgexfoundry_device-uart_PR-35@tmp/private_key_13452985310949630703.key) [2023-11-28T18:36:08.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:36:09.154Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:36:09.181Z] $ docker exec --env ******** --env ******** afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca ssh-agent -k [2023-11-28T18:36:09.283Z] unset SSH_AUTH_SOCK; [2023-11-28T18:36:09.283Z] unset SSH_AGENT_PID; [2023-11-28T18:36:09.283Z] echo Agent pid 39 killed; [2023-11-28T18:36:09.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:36:09.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:36:09.447Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:36:09.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:36:09.555Z] $ docker exec afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca ssh-agent [2023-11-28T18:36:09.657Z] SSH_AUTH_SOCK=/tmp/ssh-aTcCC9rYWGII/agent.71 [2023-11-28T18:36:09.657Z] SSH_AGENT_PID=77 [2023-11-28T18:36:09.662Z] Running ssh-add (command line suppressed) [2023-11-28T18:36:09.778Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-35@tmp/private_key_2896846621553723482.key (/w/workspace/edgexfoundry_device-uart_PR-35@tmp/private_key_2896846621553723482.key) [2023-11-28T18:36:09.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:36:10.140Z] + git semver init [2023-11-28T18:36:10.400Z] 2023-11-28 18:36:10,327 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:36:10.400Z] 2023-11-28 18:36:10,328 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-35/.semver [2023-11-28T18:36:10.400Z] 2023-11-28 18:36:10,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-35/.semver [2023-11-28T18:36:10.400Z] 2023-11-28 18:36:10,329 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-35/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-35, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,551 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-35/.git/info/exclude [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-35/.semver/PR-35 with force:False [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,552 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-35/.semver/PR-35 [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,556 [execute] INFO git cat-file --batch-check [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-35/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,563 [execute] INFO git cat-file --batch [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-35/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:36:12.935Z] 2023-11-28 18:36:12,569 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-35/.semver/PR-35 [2023-11-28T18:36:12.935Z] 0.0.0 [Pipeline] } [2023-11-28T18:36:12.966Z] $ docker exec --env ******** --env ******** afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca ssh-agent -k [2023-11-28T18:36:13.078Z] unset SSH_AUTH_SOCK; [2023-11-28T18:36:13.079Z] unset SSH_AGENT_PID; [2023-11-28T18:36:13.079Z] echo Agent pid 77 killed; [2023-11-28T18:36:13.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:36:13.589Z] + git semver [Pipeline] } [2023-11-28T18:36:14.182Z] $ docker stop --time=1 afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca [2023-11-28T18:36:16.045Z] $ docker rm -f --volumes afaa04377d61ce3d27c40bf439d6ce641debe92c9cb1f081b830820cb0b83fca [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:36:16.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:36:17.316Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:36:17.334Z] [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 [2023-11-28T18:36:18.220Z] provisioning config files... [2023-11-28T18:36:18.230Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-35@tmp/config12183982600307561552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:36:18.634Z] ---> ****-login.sh [2023-11-28T18:36:18.634Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:36:18.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:36:18.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:36:18.634Z] Configure a credential helper to remove this warning. See [2023-11-28T18:36:18.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:36:18.635Z] [2023-11-28T18:36:18.635Z] Login Succeeded [2023-11-28T18:36:18.635Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:36:18.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:36:18.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:36:18.951Z] Configure a credential helper to remove this warning. See [2023-11-28T18:36:18.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:36:18.951Z] [2023-11-28T18:36:18.951Z] Login Succeeded [2023-11-28T18:36:18.951Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:36:18.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:36:18.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:36:18.951Z] Configure a credential helper to remove this warning. See [2023-11-28T18:36:18.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:36:18.951Z] [2023-11-28T18:36:18.951Z] Login Succeeded [2023-11-28T18:36:18.951Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:36:18.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:36:19.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:36:19.212Z] Configure a credential helper to remove this warning. See [2023-11-28T18:36:19.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:36:19.212Z] [2023-11-28T18:36:19.212Z] Login Succeeded [2023-11-28T18:36:19.212Z] ****.io [2023-11-28T18:36:19.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:36:19.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:36:19.486Z] Configure a credential helper to remove this warning. See [2023-11-28T18:36:19.486Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:36:19.486Z] [2023-11-28T18:36:19.486Z] Login Succeeded [2023-11-28T18:36:19.486Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:36:19.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:36:19.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:36:19.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:36:19.952Z] ========================================================= [2023-11-28T18:36:19.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:36:19.952Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:36:20.612Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T18:36:20.613Z] Sending build context to Docker daemon 23.04MB [2023-11-28T18:36:20.613Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:36:20.613Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T18:36:21.554Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:36:21.554Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:36:21.554Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:36:21.554Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:36:21.554Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:36:21.554Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:36:21.554Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:36:21.554Z] 69c7f0334f64: Waiting [2023-11-28T18:36:21.554Z] ad3a456e5733: Waiting [2023-11-28T18:36:21.554Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:36:21.554Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:36:21.554Z] ce7588e14bc9: Waiting [2023-11-28T18:36:21.554Z] c4d48a809fc2: Download complete [2023-11-28T18:36:21.554Z] ad3a456e5733: Download complete [2023-11-28T18:36:21.554Z] 69c7f0334f64: Verifying Checksum [2023-11-28T18:36:21.554Z] 69c7f0334f64: Download complete [2023-11-28T18:36:21.554Z] 7264a8db6415: Download complete [2023-11-28T18:36:21.554Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:36:21.554Z] 1f1c1a5573a3: Download complete [2023-11-28T18:36:21.815Z] 7264a8db6415: Pull complete [2023-11-28T18:36:22.075Z] c4d48a809fc2: Pull complete [2023-11-28T18:36:22.075Z] b5e4710f87ac: Verifying Checksum [2023-11-28T18:36:22.075Z] b5e4710f87ac: Download complete [2023-11-28T18:36:22.075Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T18:36:22.075Z] 4f1c88b9dad5: Download complete [2023-11-28T18:36:22.350Z] ce7588e14bc9: Verifying Checksum [2023-11-28T18:36:22.350Z] ce7588e14bc9: Download complete [2023-11-28T18:36:25.632Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:36:25.892Z] ad3a456e5733: Pull complete [2023-11-28T18:36:25.892Z] 69c7f0334f64: Pull complete [2023-11-28T18:36:26.150Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:36:29.436Z] ce7588e14bc9: Pull complete [2023-11-28T18:36:29.693Z] b5e4710f87ac: Pull complete [2023-11-28T18:36:29.694Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:36:29.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:36:29.694Z] ---> 88b5674ff536 [2023-11-28T18:36:29.694Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:36:32.978Z] Still waiting to schedule task [2023-11-28T18:36:32.979Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1561’ [2023-11-28T18:36:41.966Z] ---> Running in b542cc6112e5 [2023-11-28T18:36:41.966Z] Removing intermediate container b542cc6112e5 [2023-11-28T18:36:41.966Z] ---> ebe7eebf63e4 [2023-11-28T18:36:41.966Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:36:41.966Z] ---> Running in 4b137e6bc52b [2023-11-28T18:36:41.966Z] Removing intermediate container 4b137e6bc52b [2023-11-28T18:36:41.966Z] ---> 00da85659df2 [2023-11-28T18:36:41.966Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:36:41.966Z] ---> Running in 956f1a754810 [2023-11-28T18:36:41.966Z] Removing intermediate container 956f1a754810 [2023-11-28T18:36:41.966Z] ---> 2d36f09c0777 [2023-11-28T18:36:41.966Z] Step 6/12 : WORKDIR /device-uart [2023-11-28T18:36:41.966Z] ---> Running in f705b5982ef8 [2023-11-28T18:36:41.966Z] Removing intermediate container f705b5982ef8 [2023-11-28T18:36:41.966Z] ---> f6fe0a3782c6 [2023-11-28T18:36:41.966Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:36:41.966Z] ---> Running in a31434ca9ae1 [2023-11-28T18:36:41.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:36:41.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:36:41.966Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T18:36:41.966Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T18:36:41.966Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T18:36:41.966Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T18:36:41.966Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:36:41.966Z] OK: 268 MiB in 56 packages [2023-11-28T18:36:41.966Z] Removing intermediate container a31434ca9ae1 [2023-11-28T18:36:41.966Z] ---> 5c3dd257f5f1 [2023-11-28T18:36:41.966Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T18:36:42.228Z] ---> 32a60756e373 [2023-11-28T18:36:42.228Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:36:42.228Z] ---> Running in f019d47ea290 [2023-11-28T18:37:38.521Z] Removing intermediate container f019d47ea290 [2023-11-28T18:37:38.521Z] ---> f54e316901c3 [2023-11-28T18:37:38.521Z] Step 10/12 : COPY . . [2023-11-28T18:37:40.110Z] ---> 3e0eb457f8f5 [2023-11-28T18:37:40.110Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:37:40.110Z] ---> Running in 0ffaacd00867 [2023-11-28T18:37:40.110Z] Removing intermediate container 0ffaacd00867 [2023-11-28T18:37:40.110Z] ---> 8f226389fb05 [2023-11-28T18:37:40.110Z] Step 12/12 : RUN ${MAKE} [2023-11-28T18:37:40.110Z] ---> Running in 012d8f5a6736 [2023-11-28T18:37:40.369Z] noop [2023-11-28T18:37:40.630Z] Removing intermediate container 012d8f5a6736 [2023-11-28T18:37:40.630Z] ---> 4d56d222cd7f [2023-11-28T18:37:40.630Z] Successfully built 4d56d222cd7f [2023-11-28T18:37:40.890Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:37:41.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:37:41.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:37:41.633Z] prd-ubuntu20.04-docker-8c-8g-1562 does not seem to be running inside a container [2023-11-28T18:37:41.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-35 -v /w/workspace/edgexfoundry_device-uart_PR-35:/w/workspace/edgexfoundry_device-uart_PR-35:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-35@tmp:/w/workspace/edgexfoundry_device-uart_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:37:42.828Z] $ docker top 6b01ff7378357197ba9c007e18681743ee9631215c56c13b34c89f1a9d1efe30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:37:43.279Z] + go version [2023-11-28T18:37:43.279Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:37:43.375Z] $ docker stop --time=1 6b01ff7378357197ba9c007e18681743ee9631215c56c13b34c89f1a9d1efe30 [2023-11-28T18:37:45.237Z] $ docker rm -f --volumes 6b01ff7378357197ba9c007e18681743ee9631215c56c13b34c89f1a9d1efe30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:37:46.191Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:37:46.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:37:46.394Z] prd-ubuntu20.04-docker-8c-8g-1562 does not seem to be running inside a container [2023-11-28T18:37:46.434Z] $ 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-35 -v /w/workspace/edgexfoundry_device-uart_PR-35:/w/workspace/edgexfoundry_device-uart_PR-35:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-35@tmp:/w/workspace/edgexfoundry_device-uart_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:37:47.655Z] $ docker top f96339cd6486ac93cedd600354ded4a2119ffacb38e99f3dc4ffe089d1ad85f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:37:48.124Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-35 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:37:48.510Z] + make test [2023-11-28T18:37:48.510Z] go test ./... -coverprofile=coverage.out [2023-11-28T18:37:55.072Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-28T18:38:03.267Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-28T18:38:03.267Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-28T18:38:09.823Z] go vet ./... [2023-11-28T18:38:12.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:38:12.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:38:12.357Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:38:12.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:38:12.722Z] $ docker stop --time=1 f96339cd6486ac93cedd600354ded4a2119ffacb38e99f3dc4ffe089d1ad85f0 [2023-11-28T18:38:31.664Z] $ docker rm -f --volumes f96339cd6486ac93cedd600354ded4a2119ffacb38e99f3dc4ffe089d1ad85f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:38:32.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:38:32.379Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:38:33.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:38:33.490Z] + ls -al . [2023-11-28T18:38:33.490Z] total 156 [2023-11-28T18:38:33.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:37 . [2023-11-28T18:38:33.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:35 .. [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:35 .dockerignore [2023-11-28T18:38:33.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:38 .git [2023-11-28T18:38:33.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:35 .github [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 28 18:35 .gitignore [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:35 .golangci.yml [2023-11-28T18:38:33.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:36 .semver [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 28 18:35 Attribution.txt [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 28 18:35 CHANGELOG.md [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 1886 Nov 28 18:35 Dockerfile [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:35 GOVERNANCE.md [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 28 18:35 Jenkinsfile [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:35 LICENSE [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 28 18:35 Makefile [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 18:35 OWNERS.md [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 28 18:35 README.md [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:36 VERSION [2023-11-28T18:38:33.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:35 bin [2023-11-28T18:38:33.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:35 cmd [2023-11-28T18:38:33.490Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 18:37 coverage.out [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 3674 Nov 28 18:35 go.mod [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 35219 Nov 28 18:35 go.sum [2023-11-28T18:38:33.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:35 internal [2023-11-28T18:38:33.490Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 18:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:38:33.922Z] + 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=bd418c67c598278a4d44eeb145d02a57e9daffa0 --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:38:33.922Z] Sending build context to Docker daemon 23.04MB [2023-11-28T18:38:33.922Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:38:33.922Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T18:38:33.922Z] ---> 4d56d222cd7f [2023-11-28T18:38:33.922Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:38:36.463Z] ---> Running in e122792b05ca [2023-11-28T18:38:36.724Z] Removing intermediate container e122792b05ca [2023-11-28T18:38:36.724Z] ---> 497bdc019260 [2023-11-28T18:38:36.724Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:38:37.292Z] ---> Running in 0117037204e4 [2023-11-28T18:38:37.862Z] Removing intermediate container 0117037204e4 [2023-11-28T18:38:37.862Z] ---> bf946b11669d [2023-11-28T18:38:37.862Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:38:37.862Z] ---> Running in 0d181828bd72 [2023-11-28T18:38:39.242Z] Removing intermediate container 0d181828bd72 [2023-11-28T18:38:39.242Z] ---> 11e1141f265c [2023-11-28T18:38:39.242Z] Step 6/26 : WORKDIR /device-uart [2023-11-28T18:38:41.795Z] ---> Running in 139b08d6f321 [2023-11-28T18:38:43.176Z] Removing intermediate container 139b08d6f321 [2023-11-28T18:38:43.176Z] ---> 3290784a6cd1 [2023-11-28T18:38:43.176Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:38:43.436Z] ---> Running in 25ccdc9a4514 [2023-11-28T18:38:44.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:38:44.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:38:44.522Z] OK: 268 MiB in 56 packages [2023-11-28T18:38:46.428Z] Removing intermediate container 25ccdc9a4514 [2023-11-28T18:38:46.428Z] ---> 73ce79a1f534 [2023-11-28T18:38:46.428Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-28T18:38:47.408Z] ---> a2a8e3587efd [2023-11-28T18:38:47.408Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:38:48.787Z] ---> Running in f14469e4ccf8 [2023-11-28T18:38:54.153Z] Removing intermediate container f14469e4ccf8 [2023-11-28T18:38:54.153Z] ---> 41ebb42f4d3a [2023-11-28T18:38:54.153Z] Step 10/26 : COPY . . [2023-11-28T18:38:54.721Z] ---> 10e93ce4c66e [2023-11-28T18:38:54.721Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:38:54.980Z] ---> Running in 9bb5030539a8 [2023-11-28T18:38:55.240Z] Removing intermediate container 9bb5030539a8 [2023-11-28T18:38:55.240Z] ---> e8f6b4fd4d36 [2023-11-28T18:38:55.240Z] Step 12/26 : RUN ${MAKE} [2023-11-28T18:38:55.240Z] ---> Running in 23eaa8806e6f [2023-11-28T18:38:55.499Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-28T18:39:22.078Z] Removing intermediate container 23eaa8806e6f [2023-11-28T18:39:22.078Z] ---> 2908b09aca54 [2023-11-28T18:39:22.078Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T18:39:22.078Z] 3.18: Pulling from library/alpine [2023-11-28T18:39:22.078Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:39:22.078Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:39:22.078Z] 96526aa774ef: Download complete [2023-11-28T18:39:22.078Z] 96526aa774ef: Pull complete [2023-11-28T18:39:22.078Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:39:22.078Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:39:22.078Z] ---> 8ca4688f4f35 [2023-11-28T18:39:22.078Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T18:39:22.078Z] ---> Running in 92b6712a6465 [2023-11-28T18:39:22.340Z] Removing intermediate container 92b6712a6465 [2023-11-28T18:39:22.340Z] ---> 93040f671922 [2023-11-28T18:39:22.340Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:39:22.340Z] ---> Running in dd0d3b8f673d [2023-11-28T18:39:22.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:39:22.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:39:23.178Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:39:23.178Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:39:23.178Z] OK: 7 MiB in 16 packages [2023-11-28T18:39:23.751Z] Removing intermediate container dd0d3b8f673d [2023-11-28T18:39:23.751Z] ---> ebe354ab776e [2023-11-28T18:39:23.751Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T18:39:23.751Z] ---> Running in 3bda50f9d10e [2023-11-28T18:39:24.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:39:24.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:39:24.535Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:39:24.535Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:39:24.535Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:39:24.535Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:39:24.535Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:39:24.535Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:39:24.535Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:39:24.535Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:39:24.535Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:39:24.535Z] OK: 7 MiB in 16 packages [2023-11-28T18:39:25.488Z] Removing intermediate container 3bda50f9d10e [2023-11-28T18:39:25.488Z] ---> bcb4852db71b [2023-11-28T18:39:25.488Z] Step 17/26 : WORKDIR / [2023-11-28T18:39:25.488Z] ---> Running in 499f8639e523 [2023-11-28T18:39:25.488Z] Removing intermediate container 499f8639e523 [2023-11-28T18:39:25.488Z] ---> 543ca412b139 [2023-11-28T18:39:25.488Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-28T18:39:25.488Z] ---> 5d5c0815b9eb [2023-11-28T18:39:25.488Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2023-11-28T18:39:25.751Z] ---> a226b39ec803 [2023-11-28T18:39:25.751Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2023-11-28T18:39:28.433Z] ---> 9651f548baa7 [2023-11-28T18:39:28.433Z] Step 21/26 : EXPOSE 59995 [2023-11-28T18:39:28.433Z] ---> Running in 7c803c708167 [2023-11-28T18:39:28.433Z] Removing intermediate container 7c803c708167 [2023-11-28T18:39:28.433Z] ---> a69a76d06d08 [2023-11-28T18:39:28.433Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2023-11-28T18:39:28.433Z] ---> Running in 11aa94db2d05 [2023-11-28T18:39:28.433Z] Removing intermediate container 11aa94db2d05 [2023-11-28T18:39:28.433Z] ---> 206553229679 [2023-11-28T18:39:28.433Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T18:39:28.433Z] ---> Running in 96afdfb608bd [2023-11-28T18:39:28.693Z] Removing intermediate container 96afdfb608bd [2023-11-28T18:39:28.693Z] ---> 1aabe034761a [2023-11-28T18:39:28.693Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T18:39:28.693Z] ---> Running in 9f2fcf1d3205 [2023-11-28T18:39:28.693Z] Removing intermediate container 9f2fcf1d3205 [2023-11-28T18:39:28.693Z] ---> 24c79e736078 [2023-11-28T18:39:28.693Z] Step 25/26 : LABEL git_sha=bd418c67c598278a4d44eeb145d02a57e9daffa0 [2023-11-28T18:39:28.952Z] ---> Running in e3e7419bf2b2 [2023-11-28T18:39:28.952Z] Removing intermediate container e3e7419bf2b2 [2023-11-28T18:39:28.952Z] ---> c3598cde445a [2023-11-28T18:39:28.952Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T18:39:28.952Z] ---> Running in fa833838f115 [2023-11-28T18:39:29.210Z] Removing intermediate container fa833838f115 [2023-11-28T18:39:29.210Z] ---> 8eceab7173c9 [2023-11-28T18:39:29.210Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:39:29.210Z] Successfully built 8eceab7173c9 [2023-11-28T18:39:29.210Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:39:30.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:39:30.433Z] [2023-11-28T18:39:30.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:39:30.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:39:31.109Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:39:31.109Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:39:31.109Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:39:31.109Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:39:31.109Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:39:31.109Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:39:31.109Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:39:31.109Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:39:31.109Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:39:31.109Z] 5d3b04190fa2: Waiting [2023-11-28T18:39:31.109Z] 33b1e0a273af: Waiting [2023-11-28T18:39:31.109Z] 2f39f015ded8: Waiting [2023-11-28T18:39:31.109Z] 5c69ac0246d0: Download complete [2023-11-28T18:39:31.109Z] 3a2ae6a8a46f: Download complete [2023-11-28T18:39:31.375Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:39:31.375Z] 33b1e0a273af: Download complete [2023-11-28T18:39:31.375Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T18:39:31.375Z] 5d3b04190fa2: Download complete [2023-11-28T18:39:31.375Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:39:31.375Z] ec43610c2a17: Download complete [2023-11-28T18:39:31.375Z] 5eb5b503b376: Verifying Checksum [2023-11-28T18:39:31.375Z] 5eb5b503b376: Download complete [2023-11-28T18:39:31.942Z] 2f39f015ded8: Download complete [2023-11-28T18:39:32.881Z] 5eb5b503b376: Pull complete [2023-11-28T18:39:33.140Z] 5c69ac0246d0: Pull complete [2023-11-28T18:39:34.077Z] ec43610c2a17: Pull complete [2023-11-28T18:39:34.644Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:39:34.904Z] 33b1e0a273af: Pull complete [2023-11-28T18:39:35.473Z] 5d3b04190fa2: Pull complete [2023-11-28T18:39:39.671Z] 2f39f015ded8: Pull complete [2023-11-28T18:39:39.671Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:39:39.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:39:39.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:39:40.159Z] prd-ubuntu20.04-docker-8c-8g-1562 does not seem to be running inside a container [2023-11-28T18:39:40.206Z] $ 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-35 -v /w/workspace/edgexfoundry_device-uart_PR-35:/w/workspace/edgexfoundry_device-uart_PR-35:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-35@tmp:/w/workspace/edgexfoundry_device-uart_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T18:39:50.958Z] $ docker top 6189e1ab6f1c96b83d87814c62d185a068f7bc3e03d2f4326190915fdcb7cd89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:39:51.463Z] ---> job-cost.sh [2023-11-28T18:39:51.463Z] lf-activate-venv: SKIPPING [2023-11-28T18:39:51.463Z] INFO: No Stack... [2023-11-28T18:39:51.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:39:51.983Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:39:52.306Z] + cat /w/workspace/edgexfoundry_device-uart_PR-35/archives/cost.csv [2023-11-28T18:39:52.306Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T18:39:52.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [2023-11-28T18:39:52.350Z] Resource [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] did not exist. Created. [2023-11-28T18:39:52.350Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:39:52.817Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T18:39:52.867Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:39:52.933Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:39:53.084Z] $ docker stop --time=1 6189e1ab6f1c96b83d87814c62d185a068f7bc3e03d2f4326190915fdcb7cd89 [2023-11-28T18:39:54.224Z] $ docker rm -f --volumes 6189e1ab6f1c96b83d87814c62d185a068f7bc3e03d2f4326190915fdcb7cd89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T18:40:00.740Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1563 in /w/workspace/edgexfoundry_device-uart_PR-35 [Pipeline] { [Pipeline] ws [2023-11-28T18:40:00.831Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2023-11-28T18:40:03.965Z] The recommended git tool is: git [2023-11-28T18:40:11.173Z] using credential edgex-jenkins-ssh [2023-11-28T18:40:11.195Z] Cloning the remote Git repository [2023-11-28T18:40:11.265Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-11-28T18:40:11.425Z] > git init /w/workspace/device-uart/1 # timeout=10 [2023-11-28T18:40:11.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-28T18:40:11.723Z] > git --version # timeout=10 [2023-11-28T18:40:11.821Z] > git --version # 'git version 2.25.1' [2023-11-28T18:40:11.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T18:40:12.146Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T18:40:18.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-28T18:40:18.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T18:40:19.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-28T18:40:20.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-28T18:40:20.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T18:40:20.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T18:40:20.594Z] Merging remotes/origin/main commit dec02cb029fa6ce79400670f54c9fa46c31fe080 into PR head commit bd418c67c598278a4d44eeb145d02a57e9daffa0 [2023-11-28T18:40:21.080Z] Merge succeeded, producing bd418c67c598278a4d44eeb145d02a57e9daffa0 [2023-11-28T18:40:21.080Z] Checking out Revision bd418c67c598278a4d44eeb145d02a57e9daffa0 (PR-35) [2023-11-28T18:40:21.678Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" [2023-11-28T18:40:21.739Z] > git --version # timeout=10 [2023-11-28T18:40:21.756Z] > git --version # 'git version 2.25.1' [2023-11-28T18:40:21.785Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2023-11-28T18:40:20.612Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T18:40:20.696Z] > git checkout -f bd418c67c598278a4d44eeb145d02a57e9daffa0 # timeout=10 [2023-11-28T18:40:20.830Z] > git remote # timeout=10 [2023-11-28T18:40:20.902Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T18:40:20.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T18:40:21.000Z] > git merge dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 [2023-11-28T18:40:21.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T18:40:21.099Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T18:40:21.132Z] > git checkout -f bd418c67c598278a4d44eeb145d02a57e9daffa0 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:40:23.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T18:40:23.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T18:40:23.201Z] Dload Upload Total Spent Left Speed [2023-11-28T18:40:23.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh [2023-11-28T18:40:23.584Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T18:40:23.977Z] + sudo tee /etc/docker/daemon.new [2023-11-28T18:40:23.977Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T18:40:23.977Z] { [2023-11-28T18:40:23.977Z] "registry-mirrors": [ [2023-11-28T18:40:23.977Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T18:40:23.977Z] ], [2023-11-28T18:40:23.977Z] "bip": "10.250.0.254/24", [2023-11-28T18:40:23.977Z] "hosts": [ [2023-11-28T18:40:23.977Z] "tcp://0.0.0.0:5555", [2023-11-28T18:40:23.977Z] "unix:///var/run/docker.sock" [2023-11-28T18:40:23.977Z] ], [2023-11-28T18:40:23.977Z] "mtu": 1458, [2023-11-28T18:40:23.977Z] "selinux-enabled": true, [2023-11-28T18:40:23.977Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T18:40:23.977Z] } [Pipeline] sh [2023-11-28T18:40:24.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T18:40:24.733Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:40:43.132Z] provisioning config files... [2023-11-28T18:40:43.162Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config4737949792043076179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:40:43.678Z] ---> ****-login.sh [2023-11-28T18:40:43.678Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:40:44.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:40:44.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:40:44.268Z] Configure a credential helper to remove this warning. See [2023-11-28T18:40:44.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:40:44.268Z] [2023-11-28T18:40:44.268Z] Login Succeeded [2023-11-28T18:40:44.269Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:40:44.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:40:44.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:40:44.811Z] Configure a credential helper to remove this warning. See [2023-11-28T18:40:44.811Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:40:44.811Z] [2023-11-28T18:40:44.811Z] Login Succeeded [2023-11-28T18:40:44.811Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:40:45.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:40:45.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:40:45.082Z] Configure a credential helper to remove this warning. See [2023-11-28T18:40:45.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:40:45.082Z] [2023-11-28T18:40:45.082Z] Login Succeeded [2023-11-28T18:40:45.082Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:40:45.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:40:45.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:40:45.625Z] Configure a credential helper to remove this warning. See [2023-11-28T18:40:45.625Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:40:45.625Z] [2023-11-28T18:40:45.625Z] Login Succeeded [2023-11-28T18:40:45.625Z] ****.io [2023-11-28T18:40:45.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:40:46.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:40:46.163Z] Configure a credential helper to remove this warning. See [2023-11-28T18:40:46.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:40:46.163Z] [2023-11-28T18:40:46.163Z] Login Succeeded [2023-11-28T18:40:46.163Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:40:46.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:40:46.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:40:46.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:40:46.907Z] ========================================================= [2023-11-28T18:40:46.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T18:40:46.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:40:47.549Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T18:40:48.139Z] Sending build context to Docker daemon 11.58MB [2023-11-28T18:40:48.139Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:40:48.139Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T18:40:48.407Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T18:40:48.408Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T18:40:48.408Z] 5d54e960e981: Pulling fs layer [2023-11-28T18:40:48.408Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T18:40:48.408Z] f0e02332f6b5: Pulling fs layer [2023-11-28T18:40:48.408Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T18:40:48.408Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T18:40:48.408Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T18:40:48.408Z] f0e02332f6b5: Waiting [2023-11-28T18:40:48.408Z] 0c6a40ed1a82: Waiting [2023-11-28T18:40:48.408Z] 872ee5b61b7b: Waiting [2023-11-28T18:40:48.408Z] 94ae7d8d031c: Waiting [2023-11-28T18:40:48.408Z] 5d54e960e981: Verifying Checksum [2023-11-28T18:40:48.408Z] 5d54e960e981: Download complete [2023-11-28T18:40:48.408Z] f0e02332f6b5: Verifying Checksum [2023-11-28T18:40:48.408Z] f0e02332f6b5: Download complete [2023-11-28T18:40:48.408Z] 872ee5b61b7b: Download complete [2023-11-28T18:40:48.408Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T18:40:48.408Z] 9fda8d8052c6: Download complete [2023-11-28T18:40:48.995Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T18:40:48.995Z] 94ae7d8d031c: Download complete [2023-11-28T18:40:49.266Z] 9fda8d8052c6: Pull complete [2023-11-28T18:40:50.238Z] 5d54e960e981: Pull complete [2023-11-28T18:40:50.238Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T18:40:50.238Z] c4a7e357bf2a: Download complete [2023-11-28T18:40:51.206Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T18:40:51.206Z] 0c6a40ed1a82: Download complete [2023-11-28T18:41:03.550Z] c4a7e357bf2a: Pull complete [2023-11-28T18:41:03.550Z] f0e02332f6b5: Pull complete [2023-11-28T18:41:03.550Z] 872ee5b61b7b: Pull complete [2023-11-28T18:41:11.788Z] 0c6a40ed1a82: Pull complete [2023-11-28T18:41:16.052Z] 94ae7d8d031c: Pull complete [2023-11-28T18:41:16.052Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T18:41:16.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T18:41:16.052Z] ---> 86de565de09d [2023-11-28T18:41:16.052Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:41:16.319Z] ---> Running in 427216c1c0de [2023-11-28T18:41:16.586Z] Removing intermediate container 427216c1c0de [2023-11-28T18:41:16.586Z] ---> 5f757ac82d3b [2023-11-28T18:41:16.586Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:41:16.586Z] ---> Running in 53283fbce561 [2023-11-28T18:41:16.855Z] Removing intermediate container 53283fbce561 [2023-11-28T18:41:16.855Z] ---> 989564e48f4d [2023-11-28T18:41:16.855Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:41:17.121Z] ---> Running in f1c463b7afb0 [2023-11-28T18:41:17.389Z] Removing intermediate container f1c463b7afb0 [2023-11-28T18:41:17.389Z] ---> cd5bbf99680f [2023-11-28T18:41:17.389Z] Step 6/12 : WORKDIR /device-uart [2023-11-28T18:41:17.389Z] ---> Running in 15e79c4d2bc3 [2023-11-28T18:41:17.793Z] Removing intermediate container 15e79c4d2bc3 [2023-11-28T18:41:17.793Z] ---> 75ab9cb94ceb [2023-11-28T18:41:17.793Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:41:17.793Z] ---> Running in d9f34e14e808 [2023-11-28T18:41:19.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T18:41:19.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T18:41:20.702Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T18:41:20.702Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T18:41:20.702Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T18:41:20.702Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T18:41:20.702Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:41:20.702Z] OK: 271 MiB in 56 packages [2023-11-28T18:41:21.681Z] Removing intermediate container d9f34e14e808 [2023-11-28T18:41:21.681Z] ---> 98492bb07a4c [2023-11-28T18:41:21.681Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T18:41:22.272Z] ---> 4474eb5cb994 [2023-11-28T18:41:22.272Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:41:22.272Z] ---> Running in 02b04eb59a23 [2023-11-28T18:42:43.923Z] Removing intermediate container 02b04eb59a23 [2023-11-28T18:42:43.923Z] ---> 249e7e1d304b [2023-11-28T18:42:43.923Z] Step 10/12 : COPY . . [2023-11-28T18:42:43.923Z] ---> f6df7729a9ff [2023-11-28T18:42:43.923Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:42:43.923Z] ---> Running in c1c8e5855391 [2023-11-28T18:42:43.923Z] Removing intermediate container c1c8e5855391 [2023-11-28T18:42:43.923Z] ---> e7bfee9c8c83 [2023-11-28T18:42:43.923Z] Step 12/12 : RUN ${MAKE} [2023-11-28T18:42:43.923Z] ---> Running in 6c40232ae676 [2023-11-28T18:42:43.923Z] noop [2023-11-28T18:42:43.923Z] Removing intermediate container 6c40232ae676 [2023-11-28T18:42:43.923Z] ---> 7abb518ef62b [2023-11-28T18:42:43.923Z] Successfully built 7abb518ef62b [2023-11-28T18:42:43.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:42:44.505Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T18:42:44.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:42:44.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-1563 does not seem to be running inside a container [2023-11-28T18:42:45.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T18:42:46.268Z] $ docker top 130b2182845c109c60b7d4fe9b1f6835a4a2388d8e323a09881034d3eb9d6695 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:42:47.234Z] + go version [2023-11-28T18:42:47.234Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T18:42:47.268Z] $ docker stop --time=1 130b2182845c109c60b7d4fe9b1f6835a4a2388d8e323a09881034d3eb9d6695 [2023-11-28T18:42:48.959Z] $ docker rm -f --volumes 130b2182845c109c60b7d4fe9b1f6835a4a2388d8e323a09881034d3eb9d6695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:42:50.171Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T18:42:50.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:42:50.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-1563 does not seem to be running inside a container [2023-11-28T18:42:50.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T18:42:51.828Z] $ docker top 100ccce191c87ff042291583720fc8f5e5f630da741954cad917981c46fa0424 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:42:52.793Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:42:53.525Z] + make test [2023-11-28T18:42:53.525Z] go test ./... -coverprofile=coverage.out [2023-11-28T18:42:58.880Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-28T18:44:35.547Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-28T18:44:35.547Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-28T18:44:35.547Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T18:44:35.547Z] go vet ./... [2023-11-28T18:44:50.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:44:50.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:44:50.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:44:50.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:44:50.661Z] $ docker stop --time=1 100ccce191c87ff042291583720fc8f5e5f630da741954cad917981c46fa0424 [2023-11-28T18:44:55.316Z] $ docker rm -f --volumes 100ccce191c87ff042291583720fc8f5e5f630da741954cad917981c46fa0424 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:44:56.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:44:56.765Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T18:44:57.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:44:58.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:44:58.408Z] + ls -al . [2023-11-28T18:44:58.408Z] total 152 [2023-11-28T18:44:58.408Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 18:42 . [2023-11-28T18:44:58.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:40 .. [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:40 .dockerignore [2023-11-28T18:44:58.408Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:40 .git [2023-11-28T18:44:58.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:40 .github [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 28 18:40 .gitignore [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:40 .golangci.yml [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 28 18:40 Attribution.txt [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 28 18:40 CHANGELOG.md [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 1886 Nov 28 18:40 Dockerfile [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:40 GOVERNANCE.md [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 28 18:40 Jenkinsfile [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:40 LICENSE [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 28 18:40 Makefile [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 18:40 OWNERS.md [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 28 18:40 README.md [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:36 VERSION [2023-11-28T18:44:58.408Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:40 bin [2023-11-28T18:44:58.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:40 cmd [2023-11-28T18:44:58.408Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 18:42 coverage.out [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 3674 Nov 28 18:40 go.mod [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 35219 Nov 28 18:40 go.sum [2023-11-28T18:44:58.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:40 internal [2023-11-28T18:44:58.408Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:44:58.911Z] + 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=bd418c67c598278a4d44eeb145d02a57e9daffa0 --label arch=arm64 --label version=0.0.0 . [2023-11-28T18:44:59.497Z] Sending build context to Docker daemon 11.58MB [2023-11-28T18:44:59.497Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:44:59.497Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T18:44:59.497Z] ---> 7abb518ef62b [2023-11-28T18:44:59.497Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:44:59.497Z] ---> Running in ad61d231ccbd [2023-11-28T18:44:59.765Z] Removing intermediate container ad61d231ccbd [2023-11-28T18:44:59.765Z] ---> 045d0de8aba3 [2023-11-28T18:44:59.765Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:45:00.033Z] ---> Running in 66962ae36960 [2023-11-28T18:45:00.301Z] Removing intermediate container 66962ae36960 [2023-11-28T18:45:00.301Z] ---> 9e6bd5c4f578 [2023-11-28T18:45:00.301Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:45:00.301Z] ---> Running in 96a657eea658 [2023-11-28T18:45:00.571Z] Removing intermediate container 96a657eea658 [2023-11-28T18:45:00.571Z] ---> a3d119aafd75 [2023-11-28T18:45:00.571Z] Step 6/26 : WORKDIR /device-uart [2023-11-28T18:45:00.840Z] ---> Running in 65ff78724256 [2023-11-28T18:45:01.111Z] Removing intermediate container 65ff78724256 [2023-11-28T18:45:01.111Z] ---> fe42d8b8f45a [2023-11-28T18:45:01.111Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:45:01.111Z] ---> Running in 77dbdf7b4b45 [2023-11-28T18:45:02.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T18:45:02.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T18:45:03.622Z] OK: 271 MiB in 56 packages [2023-11-28T18:45:04.582Z] Removing intermediate container 77dbdf7b4b45 [2023-11-28T18:45:04.582Z] ---> f5d11c78fe91 [2023-11-28T18:45:04.582Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-28T18:45:05.168Z] ---> b80db3bd15a9 [2023-11-28T18:45:05.168Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:45:05.168Z] ---> Running in b523c120f99b [2023-11-28T18:45:09.428Z] Removing intermediate container b523c120f99b [2023-11-28T18:45:09.428Z] ---> 0bd200ba5df0 [2023-11-28T18:45:09.428Z] Step 10/26 : COPY . . [2023-11-28T18:45:10.835Z] ---> 1780c594c593 [2023-11-28T18:45:10.835Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:45:10.835Z] ---> Running in c9730e4ba410 [2023-11-28T18:45:11.105Z] Removing intermediate container c9730e4ba410 [2023-11-28T18:45:11.105Z] ---> 6b2debefc87f [2023-11-28T18:45:11.105Z] Step 12/26 : RUN ${MAKE} [2023-11-28T18:45:11.105Z] ---> Running in 815b86e2a3c2 [2023-11-28T18:45:12.079Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-28T18:47:18.772Z] Removing intermediate container 815b86e2a3c2 [2023-11-28T18:47:18.772Z] ---> 7a455e86a9a4 [2023-11-28T18:47:18.772Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T18:47:18.772Z] 3.18: Pulling from library/alpine [2023-11-28T18:47:18.772Z] 579b34f0a95b: Pulling fs layer [2023-11-28T18:47:18.772Z] 579b34f0a95b: Verifying Checksum [2023-11-28T18:47:18.772Z] 579b34f0a95b: Download complete [2023-11-28T18:47:18.772Z] 579b34f0a95b: Pull complete [2023-11-28T18:47:18.772Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:47:18.772Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:47:18.772Z] ---> 3cc203321400 [2023-11-28T18:47:18.772Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T18:47:18.772Z] ---> Running in 44c74c3f162c [2023-11-28T18:47:18.772Z] Removing intermediate container 44c74c3f162c [2023-11-28T18:47:18.772Z] ---> a025f8b5408a [2023-11-28T18:47:18.772Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:47:18.772Z] ---> Running in fa1954498e2d [2023-11-28T18:47:18.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T18:47:18.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T18:47:18.772Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:47:18.772Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:47:18.772Z] OK: 8 MiB in 16 packages [2023-11-28T18:47:25.469Z] Removing intermediate container fa1954498e2d [2023-11-28T18:47:25.469Z] ---> fecdbf716441 [2023-11-28T18:47:25.469Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T18:47:25.469Z] ---> Running in e1c67e3cd92d [2023-11-28T18:47:25.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T18:47:26.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T18:47:27.485Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:47:27.485Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:27.485Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:47:27.485Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:27.485Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:47:27.485Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:47:27.485Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:27.485Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:47:27.485Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:47:27.485Z] OK: 8 MiB in 16 packages [2023-11-28T18:47:28.910Z] Removing intermediate container e1c67e3cd92d [2023-11-28T18:47:28.910Z] ---> 0ec8bd3ac1c3 [2023-11-28T18:47:28.910Z] Step 17/26 : WORKDIR / [2023-11-28T18:47:28.910Z] ---> Running in 0ab84a96742e [2023-11-28T18:47:29.180Z] Removing intermediate container 0ab84a96742e [2023-11-28T18:47:29.180Z] ---> ec8853f22535 [2023-11-28T18:47:29.180Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-28T18:47:29.770Z] ---> 2efd0cbb1985 [2023-11-28T18:47:29.770Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2023-11-28T18:47:30.351Z] ---> f6e6e6f48ad8 [2023-11-28T18:47:30.351Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2023-11-28T18:47:31.772Z] ---> 1a3b0ac904e2 [2023-11-28T18:47:31.772Z] Step 21/26 : EXPOSE 59995 [2023-11-28T18:47:31.772Z] ---> Running in 27b0f320e63c [2023-11-28T18:47:32.044Z] Removing intermediate container 27b0f320e63c [2023-11-28T18:47:32.044Z] ---> 5c3636728c41 [2023-11-28T18:47:32.044Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2023-11-28T18:47:32.313Z] ---> Running in 780ee36f9387 [2023-11-28T18:47:32.619Z] Removing intermediate container 780ee36f9387 [2023-11-28T18:47:32.619Z] ---> 0c35e3d3f9cc [2023-11-28T18:47:32.619Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T18:47:32.619Z] ---> Running in 834c5a81bdb6 [2023-11-28T18:47:32.890Z] Removing intermediate container 834c5a81bdb6 [2023-11-28T18:47:32.890Z] ---> 2c10189ab6b6 [2023-11-28T18:47:32.890Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T18:47:32.890Z] ---> Running in 494614b569c0 [2023-11-28T18:47:33.479Z] Removing intermediate container 494614b569c0 [2023-11-28T18:47:33.479Z] ---> 0d96a1a4cf05 [2023-11-28T18:47:33.479Z] Step 25/26 : LABEL git_sha=bd418c67c598278a4d44eeb145d02a57e9daffa0 [2023-11-28T18:47:33.479Z] ---> Running in 6b4b79649820 [2023-11-28T18:47:33.748Z] Removing intermediate container 6b4b79649820 [2023-11-28T18:47:33.748Z] ---> 95df1acc4c22 [2023-11-28T18:47:33.748Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T18:47:33.748Z] ---> Running in e326a28bbfb2 [2023-11-28T18:47:34.015Z] Removing intermediate container e326a28bbfb2 [2023-11-28T18:47:34.015Z] ---> edc00c244bce [2023-11-28T18:47:34.015Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:47:34.015Z] Successfully built edc00c244bce [2023-11-28T18:47:34.015Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:47:35.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T18:47:35.332Z] [2023-11-28T18:47:35.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:47:35.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T18:47:35.789Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T18:47:36.060Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T18:47:36.060Z] 04944245beec: Pulling fs layer [2023-11-28T18:47:36.060Z] 699f458cf7ca: Pulling fs layer [2023-11-28T18:47:36.060Z] 765212b225bb: Pulling fs layer [2023-11-28T18:47:36.060Z] f23df028b6ca: Pulling fs layer [2023-11-28T18:47:36.060Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T18:47:36.060Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T18:47:36.060Z] d65c8cfc05b1: Waiting [2023-11-28T18:47:36.060Z] 765212b225bb: Waiting [2023-11-28T18:47:36.060Z] f23df028b6ca: Waiting [2023-11-28T18:47:36.060Z] 2437ff75d9bd: Waiting [2023-11-28T18:47:36.060Z] 04944245beec: Verifying Checksum [2023-11-28T18:47:36.060Z] 04944245beec: Download complete [2023-11-28T18:47:36.060Z] 765212b225bb: Verifying Checksum [2023-11-28T18:47:36.060Z] 765212b225bb: Download complete [2023-11-28T18:47:36.060Z] f23df028b6ca: Download complete [2023-11-28T18:47:36.060Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T18:47:36.060Z] d65c8cfc05b1: Download complete [2023-11-28T18:47:36.330Z] 699f458cf7ca: Verifying Checksum [2023-11-28T18:47:36.330Z] 699f458cf7ca: Download complete [2023-11-28T18:47:36.600Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T18:47:36.600Z] 8998bd30e6a1: Download complete [2023-11-28T18:47:39.186Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T18:47:39.186Z] 2437ff75d9bd: Download complete [2023-11-28T18:47:41.136Z] 8998bd30e6a1: Pull complete [2023-11-28T18:47:41.719Z] 04944245beec: Pull complete [2023-11-28T18:47:43.141Z] 699f458cf7ca: Pull complete [2023-11-28T18:47:43.515Z] 765212b225bb: Pull complete [2023-11-28T18:47:44.503Z] f23df028b6ca: Pull complete [2023-11-28T18:47:44.773Z] d65c8cfc05b1: Pull complete [2023-11-28T18:48:03.041Z] 2437ff75d9bd: Pull complete [2023-11-28T18:48:03.041Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T18:48:03.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T18:48:03.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:48:03.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-1563 does not seem to be running inside a container [2023-11-28T18:48:03.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T18:48:07.093Z] $ docker top b19b31954b5e8321af5596c289528718e9d9b3c0f9ab141e66b1896f7727b84d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:08.138Z] ---> job-cost.sh [2023-11-28T18:48:08.138Z] lf-activate-venv: SKIPPING [2023-11-28T18:48:08.138Z] INFO: No Stack... [2023-11-28T18:48:08.406Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T18:48:09.369Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:48:10.037Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2023-11-28T18:48:10.037Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T18:48:10.127Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [2023-11-28T18:48:10.139Z] Resource [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] did not exist. Created. [2023-11-28T18:48:10.140Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:48:10.977Z] /w/workspace/device-uart/1@tmp/durable-15b061ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T18:48:11.662Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T18:48:11.702Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T18:48:11.757Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:48:11.788Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-35-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:48:11.970Z] $ docker stop --time=1 b19b31954b5e8321af5596c289528718e9d9b3c0f9ab141e66b1896f7727b84d [2023-11-28T18:48:13.536Z] $ docker rm -f --volumes b19b31954b5e8321af5596c289528718e9d9b3c0f9ab141e66b1896f7727b84d [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 [2023-11-28T18:48:15.604Z] provisioning config files... [2023-11-28T18:48:15.616Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-35@tmp/config17620844780584433484tmp [Pipeline] { [Pipeline] sh [2023-11-28T18:48:16.060Z] + set +x [2023-11-28T18:48:16.060Z] + curl -s https://codecov.io/bash [2023-11-28T18:48:16.060Z] + bash -s -- [2023-11-28T18:48:16.060Z] [2023-11-28T18:48:16.060Z] _____ _ [2023-11-28T18:48:16.060Z] / ____| | | [2023-11-28T18:48:16.060Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T18:48:16.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T18:48:16.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T18:48:16.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T18:48:16.060Z] Bash-1.0.6 [2023-11-28T18:48:16.060Z] [2023-11-28T18:48:16.060Z] [2023-11-28T18:48:16.060Z] ==> git version 2.25.1 found [2023-11-28T18:48:16.060Z] ==> 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 [2023-11-28T18:48:16.060Z] Release-Date: 2020-01-08 [2023-11-28T18:48:16.060Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-28T18:48:16.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T18:48:16.060Z] ==> Jenkins CI detected. [2023-11-28T18:48:16.060Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-35 [2023-11-28T18:48:16.060Z] project root: . [2023-11-28T18:48:16.060Z] --> token set from env [2023-11-28T18:48:16.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T18:48:16.060Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T18:48:16.060Z] ==> Python coveragepy not found [2023-11-28T18:48:16.060Z] ==> Searching for coverage reports in: [2023-11-28T18:48:16.060Z] + . [2023-11-28T18:48:16.060Z] -> Found 1 reports [2023-11-28T18:48:16.060Z] ==> Detecting git/mercurial file structure [2023-11-28T18:48:16.060Z] ==> Reading reports [2023-11-28T18:48:16.060Z] + ./coverage.out bytes=10 [2023-11-28T18:48:16.060Z] ==> Appending adjustments [2023-11-28T18:48:16.060Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T18:48:16.318Z] + Found adjustments [2023-11-28T18:48:16.319Z] ==> Gzipping contents [2023-11-28T18:48:16.319Z] 4.0K /tmp/codecov.Pl5tfv.gz [2023-11-28T18:48:16.319Z] ==> Uploading reports [2023-11-28T18:48:16.319Z] url: https://codecov.io [2023-11-28T18:48:16.319Z] query: branch=PR-35&commit=bd418c67c598278a4d44eeb145d02a57e9daffa0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-35%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=35&job=&cmd_args= [2023-11-28T18:48:16.319Z] -> Pinging Codecov [2023-11-28T18:48:16.319Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-35&commit=bd418c67c598278a4d44eeb145d02a57e9daffa0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-35%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=35&job=&cmd_args= [2023-11-28T18:48:16.887Z] -> Uploading to [2023-11-28T18:48:16.887Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/B9AA6E0BBD74AE3A32605C7A7C664919/bd418c67c598278a4d44eeb145d02a57e9daffa0/04a2ab58-2ca4-49db-b3e6-bcfa77aa9241.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T184816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62d08a1f148d9eaa00605b9f0f3d66e6e250b88fada8fe44d203befec4eb8110 [2023-11-28T18:48:16.887Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T18:48:16.887Z] Dload Upload Total Spent Left Speed [2023-11-28T18:48:17.147Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1562 --:--:-- --:--:-- --:--:-- 1562 [2023-11-28T18:48:17.147Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/bd418c67c598278a4d44eeb145d02a57e9daffa0 [Pipeline] } [2023-11-28T18:48:17.175Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-28T18:48:20.447Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-35/archives ] [2023-11-28T18:48:20.447Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-35/archives [2023-11-28T18:48:20.447Z] total 16 [2023-11-28T18:48:20.447Z] drwxr-xr-x 3 root root 4096 Nov 28 18:39 . [2023-11-28T18:48:20.447Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 18:39 .. [2023-11-28T18:48:20.447Z] drwxr-xr-x 2 root root 4096 Nov 28 18:39 cost [2023-11-28T18:48:20.447Z] -rw-r--r-- 1 root root 82 Nov 28 18:39 cost.csv [2023-11-28T18:48:20.447Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-35/archives [2023-11-28T18:48:20.447Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-35/archives [2023-11-28T18:48:20.447Z] total 16 [2023-11-28T18:48:20.447Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:39 . [2023-11-28T18:48:20.447Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 18:39 .. [2023-11-28T18:48:20.447Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:39 cost [2023-11-28T18:48:20.447Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 28 18:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:20.777Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:21.670Z] ---> package-listing.sh [2023-11-28T18:48:21.670Z] ++ facter osfamily [2023-11-28T18:48:21.670Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T18:48:21.929Z] + OS_FAMILY=debian [2023-11-28T18:48:21.929Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-35 [2023-11-28T18:48:21.929Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T18:48:21.929Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T18:48:21.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T18:48:21.929Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T18:48:21.929Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-35 ']' [2023-11-28T18:48:21.929Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T18:48:21.929Z] + case "${OS_FAMILY}" in [2023-11-28T18:48:21.929Z] + dpkg -l [2023-11-28T18:48:21.929Z] + grep '^ii' [2023-11-28T18:48:21.929Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T18:48:21.929Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T18:48:21.929Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T18:48:21.929Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-35 ']' [2023-11-28T18:48:21.929Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-35/archives/ [2023-11-28T18:48:21.929Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-35/archives/ [Pipeline] echo [2023-11-28T18:48:21.963Z] 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-35/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T18:48:22.265Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:48:22.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:48:22.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:48:23.216Z] prd-ubuntu20.04-docker-8c-8g-1562 does not seem to be running inside a container [2023-11-28T18:48:23.259Z] $ 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-35/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-35 -v /w/workspace/edgexfoundry_device-uart_PR-35:/w/workspace/edgexfoundry_device-uart_PR-35:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-35@tmp:/w/workspace/edgexfoundry_device-uart_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T18:48:23.475Z] $ docker top 647b5e74cb2e419d6d09b7eb65de8a80b079eea0c90e063646dec364977f4812 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:48:23.952Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T18:48:24.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T18:48:24.576Z] + ls /var/log/sa-host [2023-11-28T18:48:24.576Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:48:24.769Z] provisioning config files... [2023-11-28T18:48:24.779Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-35@tmp/config17743049915571054690tmp [Pipeline] { [Pipeline] echo [2023-11-28T18:48:24.935Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:25.250Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T18:48:25.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:25.780Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T18:48:25.810Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:26.130Z] ---> sudo-logs.sh [2023-11-28T18:48:26.130Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T18:48:26.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:26.588Z] ---> job-cost.sh [2023-11-28T18:48:26.588Z] lf-activate-venv: SKIPPING [2023-11-28T18:48:26.588Z] DEBUG: total: 0.2199999988079071 [2023-11-28T18:48:26.588Z] INFO: Retrieving Stack Cost... [2023-11-28T18:48:26.848Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:48:27.415Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T18:48:27.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:48:27.756Z] ---> logs-deploy.sh [2023-11-28T18:48:27.756Z] lf-activate-venv: SKIPPING [2023-11-28T18:48:27.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-35/1 [2023-11-28T18:48:27.756Z] INFO: archiving workspace using pattern(s): [2023-11-28T18:48:28.693Z] Archives upload complete. [2023-11-28T18:48:28.694Z] INFO: archiving logs to Nexus