Pull request #87 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa575f69e71ee5da325b02582661356a7cba609c+95d8f166fd10006397275f17c20ea67699b419bf (95445d58b256cd9303eaba84c8272b89f31613e3) 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-ssh8930357547984912917.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1588569358040415089.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12085728282606234758.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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5993481918351134802.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11561937203967682062.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3015817404341809140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-26190’ is offline Running on prd-ubuntu20.04-docker-8c-8g-26193 in /w/workspace/edgexfoundry_device-uart_PR-87 [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-87 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 95d8f166fd10006397275f17c20ea67699b419bf into PR head commit fa575f69e71ee5da325b02582661356a7cba609c Merge succeeded, producing fa575f69e71ee5da325b02582661356a7cba609c Checking out Revision fa575f69e71ee5da325b02582661356a7cba609c (PR-87) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa575f69e71ee5da325b02582661356a7cba609c # 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 95d8f166fd10006397275f17c20ea67699b419bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa575f69e71ee5da325b02582661356a7cba609c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T18:22:06.455Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T18:22:06.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T18:22:06.778Z] ========================================================= [2024-11-11T18:22:06.778Z] EdgeX Global Pipelines Version Info [2024-11-11T18:22:06.778Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:22:07.542Z] ------------------- [2024-11-11T18:22:07.543Z] stable info: [2024-11-11T18:22:07.543Z] ------------------- [2024-11-11T18:22:07.543Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T18:22:07.543Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T18:22:07.543Z] Message: update stable to v1.0.265 [2024-11-11T18:22:08.112Z] ------------------- [2024-11-11T18:22:08.112Z] experimental info: [2024-11-11T18:22:08.112Z] ------------------- [2024-11-11T18:22:08.112Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T18:22:08.113Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T18:22:08.113Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T18:22:08.329Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-11-11T18:22:08.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-11-11T18:22:08.443Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T18:22:08.503Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T18:22:08.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T18:22:08.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T18:22:08.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T18:22:08.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-11T18:22:08.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T18:22:08.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T18:22:08.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T18:22:08.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-11-11T18:22:09.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T18:22:09.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T18:22:09.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T18:22:09.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T18:22:09.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T18:22:09.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T18:22:09.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T18:22:09.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T18:22:09.487Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-11T18:22:09.544Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-11T18:22:09.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T18:22:09.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T18:22:09.723Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T18:22:09.783Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T18:22:09.846Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T18:22:09.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2024-11-11T18:22:09.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2024-11-11T18:22:10.036Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2024-11-11T18:22:10.097Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa575f69e71ee5da325b02582661356a7cba609c [Pipeline] echo [2024-11-11T18:22:10.158Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa575f6 [Pipeline] echo [2024-11-11T18:22:10.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T18:22:10.435Z] provisioning config files... [2024-11-11T18:22:10.458Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-87@tmp/config2582230098323316790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:22:10.851Z] ---> ****-login.sh [2024-11-11T18:22:10.851Z] nexus3.edgexfoundry.org:10001 [2024-11-11T18:22:10.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:11.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:11.111Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:11.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:11.111Z] [2024-11-11T18:22:11.111Z] Login Succeeded [2024-11-11T18:22:11.111Z] nexus3.edgexfoundry.org:10002 [2024-11-11T18:22:11.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:11.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:11.371Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:11.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:11.371Z] [2024-11-11T18:22:11.371Z] Login Succeeded [2024-11-11T18:22:11.371Z] nexus3.edgexfoundry.org:10003 [2024-11-11T18:22:11.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:11.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:11.371Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:11.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:11.371Z] [2024-11-11T18:22:11.371Z] Login Succeeded [2024-11-11T18:22:11.371Z] nexus3.edgexfoundry.org:10004 [2024-11-11T18:22:11.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:11.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:11.631Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:11.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:11.631Z] [2024-11-11T18:22:11.631Z] Login Succeeded [2024-11-11T18:22:11.631Z] ****.io [2024-11-11T18:22:11.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:11.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:11.892Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:11.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:11.892Z] [2024-11-11T18:22:11.892Z] Login Succeeded [2024-11-11T18:22:11.892Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T18:22:11.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T18:22:12.586Z] + git rev-list -1 --merges fa575f69e71ee5da325b02582661356a7cba609c~1..fa575f69e71ee5da325b02582661356a7cba609c [Pipeline] echo [2024-11-11T18:22:12.638Z] -----------> git rev-list -1 --merges fa575f69e71ee5da325b02582661356a7cba609c~1..fa575f69e71ee5da325b02582661356a7cba609c fa575f69e71ee5da325b02582661356a7cba609c [false] [Pipeline] sh [2024-11-11T18:22:12.965Z] + git log --format=format:%s -1 fa575f69e71ee5da325b02582661356a7cba609c [Pipeline] echo [2024-11-11T18:22:13.012Z] ========================================================= [2024-11-11T18:22:13.012Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T18:22:13.012Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T18:22:13.480Z] + git log --format=format:%s -1 fa575f69e71ee5da325b02582661356a7cba609c [Pipeline] echo [2024-11-11T18:22:13.521Z] [semverPrep] GIT_COMMIT: fa575f69e71ee5da325b02582661356a7cba609c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-11T18:22:13.565Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T18:22:13.978Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T18:22:13.978Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T18:22:13.978Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T18:22:13.978Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T18:22:13.978Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T18:22:13.978Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T18:22:13.978Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:22:14.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T18:22:14.488Z] [2024-11-11T18:22:14.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:22:14.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T18:22:14.882Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T18:22:14.882Z] b85a868b505f: Pulling fs layer [2024-11-11T18:22:14.882Z] e2be974225ed: Pulling fs layer [2024-11-11T18:22:14.882Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T18:22:14.882Z] 988bab9f4d93: Pulling fs layer [2024-11-11T18:22:14.882Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T18:22:14.882Z] eaf3925da568: Pulling fs layer [2024-11-11T18:22:14.882Z] bab4dde63d76: Pulling fs layer [2024-11-11T18:22:14.882Z] bde34c3a00c8: Pulling fs layer [2024-11-11T18:22:14.882Z] b352a97aabf1: Pulling fs layer [2024-11-11T18:22:14.882Z] 4872d77fe225: Pulling fs layer [2024-11-11T18:22:14.882Z] 5851b861e8e6: Pulling fs layer [2024-11-11T18:22:14.882Z] bde34c3a00c8: Waiting [2024-11-11T18:22:14.882Z] 988bab9f4d93: Waiting [2024-11-11T18:22:14.882Z] eaf3925da568: Waiting [2024-11-11T18:22:14.882Z] bab4dde63d76: Waiting [2024-11-11T18:22:14.882Z] 1469e6f7b9e6: Waiting [2024-11-11T18:22:14.882Z] 5851b861e8e6: Waiting [2024-11-11T18:22:14.882Z] b352a97aabf1: Waiting [2024-11-11T18:22:14.882Z] e2be974225ed: Verifying Checksum [2024-11-11T18:22:14.882Z] e2be974225ed: Download complete [2024-11-11T18:22:14.882Z] 988bab9f4d93: Verifying Checksum [2024-11-11T18:22:14.882Z] 988bab9f4d93: Download complete [2024-11-11T18:22:14.882Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T18:22:14.882Z] 1469e6f7b9e6: Download complete [2024-11-11T18:22:14.882Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T18:22:14.882Z] 339a4e72a1f5: Download complete [2024-11-11T18:22:15.140Z] eaf3925da568: Download complete [2024-11-11T18:22:15.140Z] bde34c3a00c8: Verifying Checksum [2024-11-11T18:22:15.140Z] bde34c3a00c8: Download complete [2024-11-11T18:22:15.140Z] b352a97aabf1: Verifying Checksum [2024-11-11T18:22:15.140Z] b352a97aabf1: Download complete [2024-11-11T18:22:15.140Z] 4872d77fe225: Download complete [2024-11-11T18:22:15.140Z] 5851b861e8e6: Verifying Checksum [2024-11-11T18:22:15.140Z] 5851b861e8e6: Download complete [2024-11-11T18:22:15.140Z] b85a868b505f: Verifying Checksum [2024-11-11T18:22:15.140Z] b85a868b505f: Download complete [2024-11-11T18:22:15.410Z] bab4dde63d76: Verifying Checksum [2024-11-11T18:22:15.410Z] bab4dde63d76: Download complete [2024-11-11T18:22:16.345Z] b85a868b505f: Pull complete [2024-11-11T18:22:16.604Z] e2be974225ed: Pull complete [2024-11-11T18:22:16.870Z] 339a4e72a1f5: Pull complete [2024-11-11T18:22:16.870Z] 988bab9f4d93: Pull complete [2024-11-11T18:22:17.130Z] 1469e6f7b9e6: Pull complete [2024-11-11T18:22:17.390Z] eaf3925da568: Pull complete [2024-11-11T18:22:19.295Z] bab4dde63d76: Pull complete [2024-11-11T18:22:19.295Z] bde34c3a00c8: Pull complete [2024-11-11T18:22:19.295Z] b352a97aabf1: Pull complete [2024-11-11T18:22:19.295Z] 4872d77fe225: Pull complete [2024-11-11T18:22:19.295Z] 5851b861e8e6: Pull complete [2024-11-11T18:22:19.295Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T18:22:19.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T18:22:19.295Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:22:19.576Z] prd-ubuntu20.04-docker-8c-8g-26193 does not seem to be running inside a container [2024-11-11T18:22:19.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-87 -v /w/workspace/edgexfoundry_device-uart_PR-87:/w/workspace/edgexfoundry_device-uart_PR-87:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-87@tmp:/w/workspace/edgexfoundry_device-uart_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T18:22:23.446Z] $ docker top 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 -eo pid,comm [2024-11-11T18:22:23.501Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-11T18:22:23.501Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T18:22:23.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T18:22:23.660Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T18:22:23.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T18:22:23.768Z] $ docker exec 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 ssh-agent [2024-11-11T18:22:23.863Z] SSH_AUTH_SOCK=/tmp/ssh-LAWFluKJLOLV/agent.32 [2024-11-11T18:22:23.863Z] SSH_AGENT_PID=38 [2024-11-11T18:22:23.870Z] Running ssh-add (command line suppressed) [2024-11-11T18:22:23.976Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-87@tmp/private_key_15402007290609381870.key (/w/workspace/edgexfoundry_device-uart_PR-87@tmp/private_key_15402007290609381870.key) [2024-11-11T18:22:23.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T18:22:24.332Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T18:22:24.356Z] $ docker exec --env ******** --env ******** 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 ssh-agent -k [2024-11-11T18:22:24.442Z] unset SSH_AUTH_SOCK; [2024-11-11T18:22:24.443Z] unset SSH_AGENT_PID; [2024-11-11T18:22:24.443Z] echo Agent pid 38 killed; [2024-11-11T18:22:24.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T18:22:24.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T18:22:24.554Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T18:22:24.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T18:22:24.659Z] $ docker exec 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 ssh-agent [2024-11-11T18:22:24.771Z] SSH_AUTH_SOCK=/tmp/ssh-ycp15KnCwoTM/agent.71 [2024-11-11T18:22:24.771Z] SSH_AGENT_PID=77 [2024-11-11T18:22:24.776Z] Running ssh-add (command line suppressed) [2024-11-11T18:22:24.876Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-87@tmp/private_key_4152507585229334355.key (/w/workspace/edgexfoundry_device-uart_PR-87@tmp/private_key_4152507585229334355.key) [2024-11-11T18:22:24.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T18:22:25.233Z] + git semver init [2024-11-11T18:22:25.492Z] 2024-11-11 18:22:25,406 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T18:22:25.492Z] 2024-11-11 18:22:25,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-87/.semver [2024-11-11T18:22:25.492Z] 2024-11-11 18:22:25,407 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-87/.semver [2024-11-11T18:22:25.492Z] 2024-11-11 18:22:25,407 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-87/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-87, universal_newlines=False, shell=None, istream=None) [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,642 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-87/.git/info/exclude [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,643 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-87/.semver/PR-87 with force:False [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,643 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-87/.semver/PR-87 [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,648 [execute] INFO git cat-file --batch-check [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,656 [execute] INFO git cat-file --batch [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T18:22:26.872Z] 2024-11-11 18:22:26,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-87/.semver/PR-87 [2024-11-11T18:22:26.872Z] 0.0.0 [Pipeline] } [2024-11-11T18:22:26.898Z] $ docker exec --env ******** --env ******** 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 ssh-agent -k [2024-11-11T18:22:26.992Z] unset SSH_AUTH_SOCK; [2024-11-11T18:22:26.993Z] unset SSH_AGENT_PID; [2024-11-11T18:22:26.994Z] echo Agent pid 77 killed; [2024-11-11T18:22:27.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T18:22:27.462Z] + git semver [Pipeline] } [2024-11-11T18:22:27.748Z] $ docker stop --time=1 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 [2024-11-11T18:22:29.053Z] $ docker rm -f --volumes 4dd9e65b4b2726431bfd87ab9ec2d67b9f830ebd6ddcb699d2f7d3835e952210 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T18:22:29.470Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T18:22:29.761Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T18:22:29.784Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T18:22:30.473Z] provisioning config files... [2024-11-11T18:22:30.486Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-87@tmp/config2635975656819446357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:22:30.858Z] ---> ****-login.sh [2024-11-11T18:22:30.858Z] nexus3.edgexfoundry.org:10001 [2024-11-11T18:22:30.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:30.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:30.859Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:30.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:30.859Z] [2024-11-11T18:22:30.859Z] Login Succeeded [2024-11-11T18:22:30.859Z] nexus3.edgexfoundry.org:10002 [2024-11-11T18:22:30.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:30.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:30.859Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:30.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:30.859Z] [2024-11-11T18:22:30.859Z] Login Succeeded [2024-11-11T18:22:30.859Z] nexus3.edgexfoundry.org:10003 [2024-11-11T18:22:31.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:31.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:31.118Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:31.118Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:31.118Z] [2024-11-11T18:22:31.118Z] Login Succeeded [2024-11-11T18:22:31.118Z] nexus3.edgexfoundry.org:10004 [2024-11-11T18:22:31.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:31.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:31.118Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:31.118Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:31.118Z] [2024-11-11T18:22:31.118Z] Login Succeeded [2024-11-11T18:22:31.118Z] ****.io [2024-11-11T18:22:31.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:22:31.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:22:31.376Z] Configure a credential helper to remove this warning. See [2024-11-11T18:22:31.376Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:22:31.376Z] [2024-11-11T18:22:31.376Z] Login Succeeded [2024-11-11T18:22:31.376Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T18:22:31.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T18:22:31.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T18:22:31.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T18:22:31.707Z] ========================================================= [2024-11-11T18:22:31.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T18:22:31.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:22:32.225Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T18:22:32.225Z] Sending build context to Docker daemon 25.67MB [2024-11-11T18:22:32.225Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T18:22:32.225Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T18:22:32.485Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T18:22:32.485Z] 43c4264eed91: Pulling fs layer [2024-11-11T18:22:32.485Z] 4cc291be95ef: Pulling fs layer [2024-11-11T18:22:32.485Z] 2ac1f1163629: Pulling fs layer [2024-11-11T18:22:32.485Z] 5c3c966382ef: Pulling fs layer [2024-11-11T18:22:32.485Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T18:22:32.485Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T18:22:32.485Z] 9f66e0745190: Pulling fs layer [2024-11-11T18:22:32.485Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T18:22:32.485Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T18:22:32.485Z] 5c3c966382ef: Waiting [2024-11-11T18:22:32.485Z] 5d5c8e513c77: Waiting [2024-11-11T18:22:32.485Z] 4f4fb700ef54: Waiting [2024-11-11T18:22:32.485Z] 9f66e0745190: Waiting [2024-11-11T18:22:32.485Z] f49a43e4bbc0: Waiting [2024-11-11T18:22:32.485Z] 561ebcabdf7f: Waiting [2024-11-11T18:22:32.485Z] 4cc291be95ef: Download complete [2024-11-11T18:22:32.485Z] 5c3c966382ef: Download complete [2024-11-11T18:22:32.485Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T18:22:32.485Z] 5d5c8e513c77: Download complete [2024-11-11T18:22:32.485Z] 43c4264eed91: Verifying Checksum [2024-11-11T18:22:32.485Z] 43c4264eed91: Download complete [2024-11-11T18:22:32.485Z] 9f66e0745190: Verifying Checksum [2024-11-11T18:22:32.485Z] 9f66e0745190: Download complete [2024-11-11T18:22:32.743Z] 43c4264eed91: Pull complete [2024-11-11T18:22:32.743Z] 561ebcabdf7f: Verifying Checksum [2024-11-11T18:22:32.743Z] 561ebcabdf7f: Download complete [2024-11-11T18:22:32.743Z] 4cc291be95ef: Pull complete [2024-11-11T18:22:33.002Z] 2ac1f1163629: Verifying Checksum [2024-11-11T18:22:33.002Z] 2ac1f1163629: Download complete [2024-11-11T18:22:33.261Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T18:22:33.261Z] f49a43e4bbc0: Download complete [2024-11-11T18:22:36.544Z] 2ac1f1163629: Pull complete [2024-11-11T18:22:36.544Z] 5c3c966382ef: Pull complete [2024-11-11T18:22:36.544Z] 4f4fb700ef54: Pull complete [2024-11-11T18:22:36.544Z] 5d5c8e513c77: Pull complete [2024-11-11T18:22:36.544Z] 9f66e0745190: Pull complete [2024-11-11T18:22:39.075Z] f49a43e4bbc0: Pull complete [2024-11-11T18:22:39.334Z] 561ebcabdf7f: Pull complete [2024-11-11T18:22:39.334Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T18:22:39.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T18:22:39.334Z] ---> 3a752c3f9dda [2024-11-11T18:22:39.334Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T18:22:45.256Z] Still waiting to schedule task [2024-11-11T18:22:45.257Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-11T18:22:45.933Z] ---> Running in 22fe4a257131 [2024-11-11T18:22:45.933Z] Removing intermediate container 22fe4a257131 [2024-11-11T18:22:45.933Z] ---> 5ff94182a9da [2024-11-11T18:22:45.933Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T18:22:45.933Z] ---> Running in 233b447ed91d [2024-11-11T18:22:45.933Z] Removing intermediate container 233b447ed91d [2024-11-11T18:22:45.933Z] ---> d3dadadbf871 [2024-11-11T18:22:45.933Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T18:22:45.933Z] ---> Running in 3e611d9d543c [2024-11-11T18:22:45.933Z] Removing intermediate container 3e611d9d543c [2024-11-11T18:22:45.933Z] ---> b21ae22b4a08 [2024-11-11T18:22:45.933Z] Step 6/12 : WORKDIR /device-uart [2024-11-11T18:22:45.933Z] ---> Running in efce69d39ce7 [2024-11-11T18:22:45.933Z] Removing intermediate container efce69d39ce7 [2024-11-11T18:22:45.933Z] ---> ac40c2340b26 [2024-11-11T18:22:45.933Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T18:22:45.933Z] ---> Running in ecf300205243 [2024-11-11T18:22:46.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T18:22:46.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T18:22:46.711Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T18:22:46.711Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T18:22:46.711Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T18:22:46.711Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T18:22:46.711Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:22:46.711Z] OK: 250 MiB in 58 packages [2024-11-11T18:22:47.278Z] Removing intermediate container ecf300205243 [2024-11-11T18:22:47.278Z] ---> 89c2d5bec621 [2024-11-11T18:22:47.278Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-11T18:22:47.537Z] ---> ce3c678c65a9 [2024-11-11T18:22:47.537Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T18:22:47.537Z] ---> Running in e64910f29d5d [2024-11-11T18:23:55.431Z] Removing intermediate container e64910f29d5d [2024-11-11T18:23:55.431Z] ---> 4a71b9e174a7 [2024-11-11T18:23:55.431Z] Step 10/12 : COPY . . [2024-11-11T18:23:55.431Z] ---> 552a475f3d7a [2024-11-11T18:23:55.431Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T18:23:55.431Z] ---> Running in 409fae55c1f8 [2024-11-11T18:23:55.431Z] Removing intermediate container 409fae55c1f8 [2024-11-11T18:23:55.431Z] ---> c361cf5f87e1 [2024-11-11T18:23:55.431Z] Step 12/12 : RUN ${MAKE} [2024-11-11T18:23:55.431Z] ---> Running in ab363156b7eb [2024-11-11T18:23:55.431Z] noop [2024-11-11T18:23:55.431Z] Removing intermediate container ab363156b7eb [2024-11-11T18:23:55.431Z] ---> afe5d448fabe [2024-11-11T18:23:55.431Z] Successfully built afe5d448fabe [2024-11-11T18:23:55.431Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:23:55.917Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T18:23:55.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:23:56.098Z] prd-ubuntu20.04-docker-8c-8g-26193 does not seem to be running inside a container [2024-11-11T18:23:56.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-87 -v /w/workspace/edgexfoundry_device-uart_PR-87:/w/workspace/edgexfoundry_device-uart_PR-87:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-87@tmp:/w/workspace/edgexfoundry_device-uart_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T18:23:56.466Z] $ docker top 95f486458500427df2d767added93680c0e909185149f6a25ad58318d8db804a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T18:23:56.886Z] + go version [2024-11-11T18:23:56.886Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T18:23:56.918Z] $ docker stop --time=1 95f486458500427df2d767added93680c0e909185149f6a25ad58318d8db804a [2024-11-11T18:23:58.244Z] $ docker rm -f --volumes 95f486458500427df2d767added93680c0e909185149f6a25ad58318d8db804a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:23:59.012Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T18:23:59.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:23:59.176Z] prd-ubuntu20.04-docker-8c-8g-26193 does not seem to be running inside a container [2024-11-11T18:23:59.204Z] $ 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-87 -v /w/workspace/edgexfoundry_device-uart_PR-87:/w/workspace/edgexfoundry_device-uart_PR-87:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-87@tmp:/w/workspace/edgexfoundry_device-uart_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T18:23:59.542Z] $ docker top 7f9d76514d7ed1e075753026246af53db644fbbdc4569cfd442e647b14a8ea7d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T18:23:59.957Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-87 [Pipeline] fileExists [Pipeline] sh [2024-11-11T18:24:00.330Z] + make test [2024-11-11T18:24:00.330Z] go test ./... -coverprofile=coverage.out [2024-11-11T18:24:02.242Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-11T18:24:20.309Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-11T18:24:20.310Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-11T18:24:20.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26194 in /w/workspace/edgexfoundry_device-uart_PR-87 [Pipeline] { [Pipeline] ws [2024-11-11T18:24:20.495Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-11-11T18:24:23.607Z] The recommended git tool is: git [2024-11-11T18:24:28.362Z] using credential edgex-jenkins-ssh [2024-11-11T18:24:28.389Z] Cloning the remote Git repository [2024-11-11T18:24:28.474Z] go vet ./... [2024-11-11T18:24:28.427Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-11-11T18:24:28.530Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-11-11T18:24:28.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-11T18:24:28.707Z] > git --version # timeout=10 [2024-11-11T18:24:28.728Z] > git --version # 'git version 2.25.1' [2024-11-11T18:24:28.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T18:24:28.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T18:24:31.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-11T18:24:31.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T18:24:32.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-11T18:24:32.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-11T18:24:32.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T18:24:32.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T18:24:32.576Z] Merging remotes/origin/main commit 95d8f166fd10006397275f17c20ea67699b419bf into PR head commit fa575f69e71ee5da325b02582661356a7cba609c [2024-11-11T18:24:32.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T18:24:32.657Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T18:24:32.657Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T18:24:32.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T18:24:32.742Z] $ docker stop --time=1 7f9d76514d7ed1e075753026246af53db644fbbdc4569cfd442e647b14a8ea7d [2024-11-11T18:24:32.893Z] Merge succeeded, producing fa575f69e71ee5da325b02582661356a7cba609c [2024-11-11T18:24:32.893Z] Checking out Revision fa575f69e71ee5da325b02582661356a7cba609c (PR-87) [2024-11-11T18:24:33.466Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-11T18:24:33.517Z] > git --version # timeout=10 [2024-11-11T18:24:33.529Z] > git --version # 'git version 2.25.1' [2024-11-11T18:24:33.554Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T18:24:32.593Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T18:24:32.665Z] > git checkout -f fa575f69e71ee5da325b02582661356a7cba609c # timeout=10 [2024-11-11T18:24:32.762Z] > git remote # timeout=10 [2024-11-11T18:24:32.784Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T18:24:32.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T18:24:32.834Z] > git merge 95d8f166fd10006397275f17c20ea67699b419bf # timeout=10 [2024-11-11T18:24:32.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T18:24:32.898Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T18:24:32.919Z] > git checkout -f fa575f69e71ee5da325b02582661356a7cba609c # timeout=10 [2024-11-11T18:24:40.368Z] $ docker rm -f --volumes 7f9d76514d7ed1e075753026246af53db644fbbdc4569cfd442e647b14a8ea7d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-11-11T18:24:40.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-11-11T18:24:41.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-11-11T18:24:41.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T18:24:41.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T18:24:41.497Z] Dload Upload Total Spent Left Speed [2024-11-11T18:24:41.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh [Pipeline] sh [2024-11-11T18:24:41.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T18:24:42.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T18:24:42.237Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-11-11T18:24:42.237Z] /etc/docker/daemon.json [2024-11-11T18:24:42.237Z] { [2024-11-11T18:24:42.237Z] "registry-mirrors": [ [2024-11-11T18:24:42.237Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T18:24:42.237Z] ], [2024-11-11T18:24:42.237Z] "bip": "10.250.0.254/24", [2024-11-11T18:24:42.237Z] "hosts": [ [2024-11-11T18:24:42.237Z] "tcp://0.0.0.0:5555", [2024-11-11T18:24:42.237Z] "unix:///var/run/docker.sock" [2024-11-11T18:24:42.237Z] ], [2024-11-11T18:24:42.237Z] "mtu": 1458, [2024-11-11T18:24:42.237Z] "selinux-enabled": true, [2024-11-11T18:24:42.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T18:24:42.237Z] } [Pipeline] sh [2024-11-11T18:24:42.426Z] + ls -al . [2024-11-11T18:24:42.426Z] total 224 [2024-11-11T18:24:42.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:24 . [2024-11-11T18:24:42.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 18:21 .. [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 18:22 .dockerignore [2024-11-11T18:24:42.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:24 .git [2024-11-11T18:24:42.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:22 .github [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 11 18:22 .gitignore [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 11 18:22 .golangci.yml [2024-11-11T18:24:42.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 18:22 .semver [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 11 18:22 Attribution.txt [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 11 18:22 CHANGELOG.md [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 11 18:22 Dockerfile [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 18:22 GOVERNANCE.md [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 11 18:22 Jenkinsfile [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 18:22 LICENSE [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 2455 Nov 11 18:22 Makefile [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 11 18:22 OWNERS.md [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 11 18:22 README.md [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 18:22 VERSION [2024-11-11T18:24:42.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 18:22 bin [2024-11-11T18:24:42.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:22 cmd [2024-11-11T18:24:42.426Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 11 18:24 coverage.out [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 6220 Nov 11 18:22 go.mod [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 87556 Nov 11 18:22 go.sum [2024-11-11T18:24:42.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:22 internal [2024-11-11T18:24:42.426Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 11 18:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:24:42.588Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T18:24:42.852Z] + 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=fa575f69e71ee5da325b02582661356a7cba609c --label arch=amd64 --label version=0.0.0 . [2024-11-11T18:24:42.852Z] Sending build context to Docker daemon 25.68MB [2024-11-11T18:24:42.852Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T18:24:42.852Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-11T18:24:42.852Z] ---> afe5d448fabe [2024-11-11T18:24:42.852Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T18:24:42.980Z] + sudo service docker restart [2024-11-11T18:24:43.420Z] ---> Running in 529c49d7a02e [2024-11-11T18:24:43.420Z] Removing intermediate container 529c49d7a02e [2024-11-11T18:24:43.420Z] ---> d0be0ef97ce6 [2024-11-11T18:24:43.420Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T18:24:43.420Z] ---> Running in ca85960c60a7 [2024-11-11T18:24:43.678Z] Removing intermediate container ca85960c60a7 [2024-11-11T18:24:43.678Z] ---> 87f73f35afd9 [2024-11-11T18:24:43.678Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-11T18:24:43.678Z] ---> Running in 3bbd1700b468 [2024-11-11T18:24:43.678Z] Removing intermediate container 3bbd1700b468 [2024-11-11T18:24:43.678Z] ---> 8e21bf2ac813 [2024-11-11T18:24:43.678Z] Step 6/26 : WORKDIR /device-uart [2024-11-11T18:24:43.678Z] ---> Running in f883b2b34b3f [2024-11-11T18:24:43.678Z] Removing intermediate container f883b2b34b3f [2024-11-11T18:24:43.678Z] ---> ccbed84d8355 [2024-11-11T18:24:43.678Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T18:24:43.678Z] ---> Running in e917d4f3ebb1 [2024-11-11T18:24:43.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T18:24:44.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T18:24:44.455Z] OK: 250 MiB in 58 packages [2024-11-11T18:24:44.713Z] Removing intermediate container e917d4f3ebb1 [2024-11-11T18:24:44.713Z] ---> 522b58b6051d [2024-11-11T18:24:44.713Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-11T18:24:44.713Z] ---> ff86e2b20226 [2024-11-11T18:24:44.713Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T18:24:44.713Z] ---> Running in b182f9e40116 [2024-11-11T18:24:45.674Z] Removing intermediate container b182f9e40116 [2024-11-11T18:24:45.674Z] ---> 18d76649792f [2024-11-11T18:24:45.674Z] Step 10/26 : COPY . . [2024-11-11T18:24:46.617Z] ---> 5928e3e833e9 [2024-11-11T18:24:46.617Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T18:24:46.617Z] ---> Running in e6328c71e60b [2024-11-11T18:24:46.617Z] Removing intermediate container e6328c71e60b [2024-11-11T18:24:46.617Z] ---> 7a15aca83f4a [2024-11-11T18:24:46.617Z] Step 12/26 : RUN ${MAKE} [2024-11-11T18:24:46.617Z] ---> Running in 0b7f3a2a9a91 [2024-11-11T18:24:46.877Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T18:25:01.328Z] provisioning config files... [2024-11-11T18:25:01.355Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config8271014325281802942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:25:01.859Z] ---> ****-login.sh [2024-11-11T18:25:01.859Z] nexus3.edgexfoundry.org:10001 [2024-11-11T18:25:02.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:25:02.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:25:02.450Z] Configure a credential helper to remove this warning. See [2024-11-11T18:25:02.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:25:02.450Z] [2024-11-11T18:25:02.450Z] Login Succeeded [2024-11-11T18:25:02.450Z] nexus3.edgexfoundry.org:10002 [2024-11-11T18:25:02.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:25:02.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:25:02.990Z] Configure a credential helper to remove this warning. See [2024-11-11T18:25:02.990Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:25:02.990Z] [2024-11-11T18:25:02.990Z] Login Succeeded [2024-11-11T18:25:02.990Z] nexus3.edgexfoundry.org:10003 [2024-11-11T18:25:03.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:25:03.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:25:03.263Z] Configure a credential helper to remove this warning. See [2024-11-11T18:25:03.263Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:25:03.263Z] [2024-11-11T18:25:03.263Z] Login Succeeded [2024-11-11T18:25:03.263Z] nexus3.edgexfoundry.org:10004 [2024-11-11T18:25:03.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:25:03.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:25:03.532Z] Configure a credential helper to remove this warning. See [2024-11-11T18:25:03.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:25:03.532Z] [2024-11-11T18:25:03.532Z] Login Succeeded [2024-11-11T18:25:03.532Z] ****.io [2024-11-11T18:25:03.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T18:25:04.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T18:25:04.071Z] Configure a credential helper to remove this warning. See [2024-11-11T18:25:04.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T18:25:04.072Z] [2024-11-11T18:25:04.072Z] Login Succeeded [2024-11-11T18:25:04.072Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T18:25:04.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T18:25:04.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T18:25:04.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T18:25:04.659Z] ========================================================= [2024-11-11T18:25:04.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T18:25:04.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:25:05.210Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T18:25:05.803Z] Sending build context to Docker daemon 12.91MB [2024-11-11T18:25:05.803Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T18:25:05.803Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T18:25:05.803Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T18:25:05.803Z] cf04c63912e1: Pulling fs layer [2024-11-11T18:25:05.803Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T18:25:05.803Z] a37a00ec5f00: Pulling fs layer [2024-11-11T18:25:05.803Z] 50b3750afda1: Pulling fs layer [2024-11-11T18:25:05.803Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T18:25:05.803Z] 50b3750afda1: Waiting [2024-11-11T18:25:05.803Z] 80978eb59214: Pulling fs layer [2024-11-11T18:25:05.803Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T18:25:05.803Z] c5a475d317c9: Pulling fs layer [2024-11-11T18:25:05.803Z] c9f46d7d2bd2: Waiting [2024-11-11T18:25:05.803Z] c5a475d317c9: Waiting [2024-11-11T18:25:05.803Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T18:25:05.803Z] 55b35a11ae5e: Download complete [2024-11-11T18:25:06.077Z] 50b3750afda1: Verifying Checksum [2024-11-11T18:25:06.077Z] 50b3750afda1: Download complete [2024-11-11T18:25:06.077Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T18:25:06.077Z] 4f4fb700ef54: Download complete [2024-11-11T18:25:06.077Z] 80978eb59214: Verifying Checksum [2024-11-11T18:25:06.077Z] 80978eb59214: Download complete [2024-11-11T18:25:06.077Z] cf04c63912e1: Download complete [2024-11-11T18:25:06.669Z] c5a475d317c9: Verifying Checksum [2024-11-11T18:25:06.669Z] c5a475d317c9: Download complete [2024-11-11T18:25:06.939Z] cf04c63912e1: Pull complete [2024-11-11T18:25:07.536Z] 55b35a11ae5e: Pull complete [2024-11-11T18:25:08.125Z] a37a00ec5f00: Verifying Checksum [2024-11-11T18:25:08.125Z] a37a00ec5f00: Download complete [2024-11-11T18:25:08.718Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T18:25:08.718Z] c9f46d7d2bd2: Download complete [2024-11-11T18:25:18.938Z] Removing intermediate container 0b7f3a2a9a91 [2024-11-11T18:25:18.938Z] ---> 00c85553e947 [2024-11-11T18:25:18.938Z] Step 13/26 : FROM alpine:3.20 [2024-11-11T18:25:18.938Z] 3.20: Pulling from library/alpine [2024-11-11T18:25:18.938Z] 43c4264eed91: Already exists [2024-11-11T18:25:19.201Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T18:25:19.201Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T18:25:19.201Z] ---> 91ef0af61f39 [2024-11-11T18:25:19.201Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-11T18:25:19.201Z] ---> Running in f02fea7a706c [2024-11-11T18:25:19.201Z] Removing intermediate container f02fea7a706c [2024-11-11T18:25:19.201Z] ---> e648eff80a10 [2024-11-11T18:25:19.201Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-11T18:25:19.201Z] ---> Running in 8b828e4a1a86 [2024-11-11T18:25:19.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:19.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:19.979Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T18:25:19.979Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:25:19.979Z] OK: 8 MiB in 15 packages [2024-11-11T18:25:20.237Z] Removing intermediate container 8b828e4a1a86 [2024-11-11T18:25:20.237Z] ---> 80269d9e97c4 [2024-11-11T18:25:20.237Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-11T18:25:20.237Z] ---> Running in a9949b482308 [2024-11-11T18:25:20.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:20.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:20.753Z] Upgrading critical system libraries and apk-tools: [2024-11-11T18:25:20.753Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T18:25:20.753Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:25:20.753Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T18:25:21.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:21.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T18:25:21.052Z] a37a00ec5f00: Pull complete [2024-11-11T18:25:21.272Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T18:25:21.272Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T18:25:21.272Z] OK: 8 MiB in 15 packages [2024-11-11T18:25:21.321Z] 50b3750afda1: Pull complete [2024-11-11T18:25:21.588Z] 4f4fb700ef54: Pull complete [2024-11-11T18:25:21.838Z] Removing intermediate container a9949b482308 [2024-11-11T18:25:21.839Z] ---> c3b51c527078 [2024-11-11T18:25:21.839Z] Step 17/26 : WORKDIR / [2024-11-11T18:25:21.856Z] 80978eb59214: Pull complete [2024-11-11T18:25:22.096Z] ---> Running in 580a93a87687 [2024-11-11T18:25:22.096Z] Removing intermediate container 580a93a87687 [2024-11-11T18:25:22.096Z] ---> e7282ac05458 [2024-11-11T18:25:22.096Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-11T18:25:22.096Z] ---> 597ce39cf097 [2024-11-11T18:25:22.096Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-11T18:25:22.379Z] ---> 7140cec54884 [2024-11-11T18:25:22.379Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-11T18:25:24.298Z] ---> aebb30d57555 [2024-11-11T18:25:24.298Z] Step 21/26 : EXPOSE 59995 [2024-11-11T18:25:24.298Z] ---> Running in 960a824938f1 [2024-11-11T18:25:24.298Z] Removing intermediate container 960a824938f1 [2024-11-11T18:25:24.298Z] ---> 68d4d0a46e21 [2024-11-11T18:25:24.298Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-11T18:25:24.298Z] ---> Running in b5a6227d4f03 [2024-11-11T18:25:24.298Z] Removing intermediate container b5a6227d4f03 [2024-11-11T18:25:24.298Z] ---> dfc4ea905e31 [2024-11-11T18:25:24.298Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T18:25:24.298Z] ---> Running in 292aeb69d6ee [2024-11-11T18:25:24.298Z] Removing intermediate container 292aeb69d6ee [2024-11-11T18:25:24.298Z] ---> 1e45ad444609 [2024-11-11T18:25:24.298Z] Step 24/26 : LABEL arch=amd64 [2024-11-11T18:25:24.298Z] ---> Running in 6dcf8635d335 [2024-11-11T18:25:24.558Z] Removing intermediate container 6dcf8635d335 [2024-11-11T18:25:24.558Z] ---> ca2843ba3832 [2024-11-11T18:25:24.558Z] Step 25/26 : LABEL git_sha=fa575f69e71ee5da325b02582661356a7cba609c [2024-11-11T18:25:24.558Z] ---> Running in 5afcb0951565 [2024-11-11T18:25:24.558Z] Removing intermediate container 5afcb0951565 [2024-11-11T18:25:24.558Z] ---> 1c38a91fa891 [2024-11-11T18:25:24.558Z] Step 26/26 : LABEL version=0.0.0 [2024-11-11T18:25:24.558Z] ---> Running in e0395150ebc8 [2024-11-11T18:25:24.558Z] Removing intermediate container e0395150ebc8 [2024-11-11T18:25:24.558Z] ---> 87cc3846d8bf [2024-11-11T18:25:24.558Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T18:25:24.558Z] Successfully built 87cc3846d8bf [2024-11-11T18:25:24.558Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:25:25.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T18:25:25.905Z] [2024-11-11T18:25:25.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:25:26.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T18:25:26.315Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T18:25:26.315Z] 5eb5b503b376: Pulling fs layer [2024-11-11T18:25:26.315Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T18:25:26.315Z] ec43610c2a17: Pulling fs layer [2024-11-11T18:25:26.315Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T18:25:26.315Z] 33b1e0a273af: Pulling fs layer [2024-11-11T18:25:26.315Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T18:25:26.315Z] 2f39f015ded8: Pulling fs layer [2024-11-11T18:25:26.315Z] 33b1e0a273af: Waiting [2024-11-11T18:25:26.315Z] 5d3b04190fa2: Waiting [2024-11-11T18:25:26.315Z] 2f39f015ded8: Waiting [2024-11-11T18:25:26.315Z] 3a2ae6a8a46f: Waiting [2024-11-11T18:25:26.315Z] 5c69ac0246d0: Download complete [2024-11-11T18:25:26.315Z] 3a2ae6a8a46f: Download complete [2024-11-11T18:25:26.315Z] 33b1e0a273af: Verifying Checksum [2024-11-11T18:25:26.315Z] 33b1e0a273af: Download complete [2024-11-11T18:25:26.315Z] 5d3b04190fa2: Verifying Checksum [2024-11-11T18:25:26.315Z] 5d3b04190fa2: Download complete [2024-11-11T18:25:26.315Z] ec43610c2a17: Verifying Checksum [2024-11-11T18:25:26.315Z] ec43610c2a17: Download complete [2024-11-11T18:25:26.573Z] 5eb5b503b376: Verifying Checksum [2024-11-11T18:25:26.573Z] 5eb5b503b376: Download complete [2024-11-11T18:25:27.138Z] 2f39f015ded8: Download complete [2024-11-11T18:25:27.702Z] 5eb5b503b376: Pull complete [2024-11-11T18:25:27.702Z] 5c69ac0246d0: Pull complete [2024-11-11T18:25:28.284Z] ec43610c2a17: Pull complete [2024-11-11T18:25:28.284Z] 3a2ae6a8a46f: Pull complete [2024-11-11T18:25:28.284Z] 33b1e0a273af: Pull complete [2024-11-11T18:25:28.542Z] 5d3b04190fa2: Pull complete [2024-11-11T18:25:30.095Z] c9f46d7d2bd2: Pull complete [2024-11-11T18:25:31.053Z] c5a475d317c9: Pull complete [2024-11-11T18:25:31.053Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T18:25:31.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T18:25:31.053Z] ---> be29e6b0f0d4 [2024-11-11T18:25:31.053Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T18:25:31.637Z] ---> Running in 94cdc5893b99 [2024-11-11T18:25:31.903Z] Removing intermediate container 94cdc5893b99 [2024-11-11T18:25:31.903Z] ---> 2ffb4e76569b [2024-11-11T18:25:31.903Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T18:25:32.169Z] ---> Running in 7e3f92bf163b [2024-11-11T18:25:32.443Z] Removing intermediate container 7e3f92bf163b [2024-11-11T18:25:32.443Z] ---> f84e16b68940 [2024-11-11T18:25:32.443Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T18:25:32.443Z] ---> Running in aedfac4b0a40 [2024-11-11T18:25:32.710Z] Removing intermediate container aedfac4b0a40 [2024-11-11T18:25:32.710Z] ---> d9a613b1c764 [2024-11-11T18:25:32.710Z] Step 6/12 : WORKDIR /device-uart [2024-11-11T18:25:32.710Z] ---> Running in 69a031d208eb [2024-11-11T18:25:32.731Z] 2f39f015ded8: Pull complete [2024-11-11T18:25:32.731Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T18:25:32.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T18:25:32.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:25:32.975Z] prd-ubuntu20.04-docker-8c-8g-26193 does not seem to be running inside a container [2024-11-11T18:25:32.985Z] Removing intermediate container 69a031d208eb [2024-11-11T18:25:32.985Z] ---> a07988d400bc [2024-11-11T18:25:32.985Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T18:25:33.000Z] $ 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-87 -v /w/workspace/edgexfoundry_device-uart_PR-87:/w/workspace/edgexfoundry_device-uart_PR-87:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-87@tmp:/w/workspace/edgexfoundry_device-uart_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T18:25:33.251Z] ---> Running in 03e29284f237 [2024-11-11T18:25:34.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T18:25:34.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T18:25:36.207Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T18:25:36.207Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T18:25:36.207Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T18:25:36.207Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T18:25:36.207Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:25:36.207Z] OK: 242 MiB in 58 packages [2024-11-11T18:25:37.172Z] Removing intermediate container 03e29284f237 [2024-11-11T18:25:37.172Z] ---> b860f13191b4 [2024-11-11T18:25:37.172Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-11T18:25:37.756Z] ---> 88b302fcbd58 [2024-11-11T18:25:37.756Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T18:25:37.756Z] ---> Running in 77c454dd4739 [2024-11-11T18:25:39.155Z] $ docker top 3b9bd6199ccc4366055394f25700539306773a3af51bc5d28c4cdfeb1bec5a17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:25:39.762Z] ---> job-cost.sh [2024-11-11T18:25:39.762Z] lf-activate-venv: SKIPPING [2024-11-11T18:25:39.762Z] INFO: No Stack... [2024-11-11T18:25:40.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T18:25:40.589Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T18:25:40.908Z] + cat /w/workspace/edgexfoundry_device-uart_PR-87/archives/cost.csv [2024-11-11T18:25:40.908Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T18:25:40.956Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [2024-11-11T18:25:40.962Z] Resource [jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] did not exist. Created. [2024-11-11T18:25:40.968Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T18:25:41.395Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T18:25:41.454Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T18:25:41.490Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T18:25:41.576Z] $ docker stop --time=1 3b9bd6199ccc4366055394f25700539306773a3af51bc5d28c4cdfeb1bec5a17 [2024-11-11T18:25:42.734Z] $ docker rm -f --volumes 3b9bd6199ccc4366055394f25700539306773a3af51bc5d28c4cdfeb1bec5a17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T18:27:29.426Z] Removing intermediate container 77c454dd4739 [2024-11-11T18:27:29.426Z] ---> b54cb335daa6 [2024-11-11T18:27:29.426Z] Step 10/12 : COPY . . [2024-11-11T18:27:29.426Z] ---> 5b4998a39d16 [2024-11-11T18:27:29.426Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T18:27:29.426Z] ---> Running in 5043e4ac5678 [2024-11-11T18:27:29.426Z] Removing intermediate container 5043e4ac5678 [2024-11-11T18:27:29.426Z] ---> a651a46b4647 [2024-11-11T18:27:29.426Z] Step 12/12 : RUN ${MAKE} [2024-11-11T18:27:29.426Z] ---> Running in 1bdbb3ae02dd [2024-11-11T18:27:29.426Z] noop [2024-11-11T18:27:29.426Z] Removing intermediate container 1bdbb3ae02dd [2024-11-11T18:27:29.426Z] ---> d73f8b4f063a [2024-11-11T18:27:29.426Z] Successfully built d73f8b4f063a [2024-11-11T18:27:29.426Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:27:29.935Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T18:27:29.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:27:30.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-26194 does not seem to be running inside a container [2024-11-11T18:27:30.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T18:27:31.415Z] $ docker top d4fda520857aed263fed4b961b4e2ae3a5dd73538bdf73c728fc2d694fea4ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T18:27:32.320Z] + go version [2024-11-11T18:27:32.320Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T18:27:32.357Z] $ docker stop --time=1 d4fda520857aed263fed4b961b4e2ae3a5dd73538bdf73c728fc2d694fea4ca2 [2024-11-11T18:27:33.972Z] $ docker rm -f --volumes d4fda520857aed263fed4b961b4e2ae3a5dd73538bdf73c728fc2d694fea4ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:27:34.914Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T18:27:34.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:27:35.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-26194 does not seem to be running inside a container [2024-11-11T18:27:35.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T18:27:37.744Z] $ docker top 7d5ac9a0674d46e855e1a992b5fc72fb83eee9a69614521f35924bad31fd3577 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T18:27:38.638Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T18:27:39.050Z] + make test [2024-11-11T18:27:39.050Z] go test ./... -coverprofile=coverage.out [2024-11-11T18:27:44.390Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-11T18:30:51.265Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-11T18:30:51.265Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-11T18:30:51.265Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T18:30:51.265Z] go vet ./... [2024-11-11T18:31:23.585Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T18:31:23.585Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T18:31:23.585Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T18:31:23.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T18:31:23.676Z] $ docker stop --time=1 7d5ac9a0674d46e855e1a992b5fc72fb83eee9a69614521f35924bad31fd3577 [2024-11-11T18:31:25.483Z] $ docker rm -f --volumes 7d5ac9a0674d46e855e1a992b5fc72fb83eee9a69614521f35924bad31fd3577 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T18:31:27.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T18:31:27.069Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T18:31:27.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T18:31:28.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T18:31:28.420Z] + ls -al . [2024-11-11T18:31:28.420Z] total 220 [2024-11-11T18:31:28.420Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 11 18:27 . [2024-11-11T18:31:28.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 18:24 .. [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 18:24 .dockerignore [2024-11-11T18:31:28.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:24 .git [2024-11-11T18:31:28.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:24 .github [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 11 18:24 .gitignore [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 11 18:24 .golangci.yml [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 11 18:24 Attribution.txt [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 11 18:24 CHANGELOG.md [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 11 18:24 Dockerfile [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 18:24 GOVERNANCE.md [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 11 18:24 Jenkinsfile [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 18:24 LICENSE [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 2455 Nov 11 18:24 Makefile [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 11 18:24 OWNERS.md [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 11 18:24 README.md [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 18:22 VERSION [2024-11-11T18:31:28.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 18:24 bin [2024-11-11T18:31:28.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:24 cmd [2024-11-11T18:31:28.420Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 11 18:30 coverage.out [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 6220 Nov 11 18:24 go.mod [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 87556 Nov 11 18:24 go.sum [2024-11-11T18:31:28.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:24 internal [2024-11-11T18:31:28.420Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 11 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:31:28.860Z] + 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=fa575f69e71ee5da325b02582661356a7cba609c --label arch=arm64 --label version=0.0.0 . [2024-11-11T18:31:29.125Z] Sending build context to Docker daemon 12.92MB [2024-11-11T18:31:29.394Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T18:31:29.394Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-11T18:31:29.394Z] ---> d73f8b4f063a [2024-11-11T18:31:29.394Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T18:31:29.394Z] ---> Running in c2f802e0754f [2024-11-11T18:31:29.661Z] Removing intermediate container c2f802e0754f [2024-11-11T18:31:29.661Z] ---> 0c752ab5e692 [2024-11-11T18:31:29.661Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T18:31:29.661Z] ---> Running in f70b9258c435 [2024-11-11T18:31:29.927Z] Removing intermediate container f70b9258c435 [2024-11-11T18:31:29.927Z] ---> a575ffbc291e [2024-11-11T18:31:29.927Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-11T18:31:30.197Z] ---> Running in 1619301f7227 [2024-11-11T18:31:30.462Z] Removing intermediate container 1619301f7227 [2024-11-11T18:31:30.462Z] ---> eaa8a1910e80 [2024-11-11T18:31:30.462Z] Step 6/26 : WORKDIR /device-uart [2024-11-11T18:31:30.462Z] ---> Running in e51901c0bbe7 [2024-11-11T18:31:30.729Z] Removing intermediate container e51901c0bbe7 [2024-11-11T18:31:30.729Z] ---> c4fed4b317b7 [2024-11-11T18:31:30.729Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T18:31:30.729Z] ---> Running in 405b93c2773b [2024-11-11T18:31:31.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T18:31:31.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T18:31:33.347Z] OK: 242 MiB in 58 packages [2024-11-11T18:31:34.305Z] Removing intermediate container 405b93c2773b [2024-11-11T18:31:34.305Z] ---> 95f6955bf9f9 [2024-11-11T18:31:34.305Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-11T18:31:34.571Z] ---> fb3eedad9bc6 [2024-11-11T18:31:34.571Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T18:31:34.837Z] ---> Running in 96e48fde97b1 [2024-11-11T18:31:36.786Z] Removing intermediate container 96e48fde97b1 [2024-11-11T18:31:36.786Z] ---> 26f893c2252b [2024-11-11T18:31:36.786Z] Step 10/26 : COPY . . [2024-11-11T18:31:37.761Z] ---> a1a647448847 [2024-11-11T18:31:37.761Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T18:31:38.028Z] ---> Running in dcdc7fbc632f [2024-11-11T18:31:38.294Z] Removing intermediate container dcdc7fbc632f [2024-11-11T18:31:38.294Z] ---> 62e71645d7b8 [2024-11-11T18:31:38.294Z] Step 12/26 : RUN ${MAKE} [2024-11-11T18:31:38.294Z] ---> Running in c25abede20e2 [2024-11-11T18:31:39.249Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [2024-11-11T18:34:46.056Z] Removing intermediate container c25abede20e2 [2024-11-11T18:34:46.056Z] ---> 094a0656ecf6 [2024-11-11T18:34:46.056Z] Step 13/26 : FROM alpine:3.20 [2024-11-11T18:34:46.321Z] 3.20: Pulling from library/alpine [2024-11-11T18:34:46.321Z] cf04c63912e1: Already exists [2024-11-11T18:34:46.321Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T18:34:46.585Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T18:34:46.586Z] ---> c157a85ed455 [2024-11-11T18:34:46.586Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-11T18:34:46.586Z] ---> Running in e937df235270 [2024-11-11T18:34:46.852Z] Removing intermediate container e937df235270 [2024-11-11T18:34:46.852Z] ---> 361b055c4f46 [2024-11-11T18:34:46.852Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-11T18:34:46.852Z] ---> Running in 5bffb84ea79e [2024-11-11T18:34:47.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:48.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:49.473Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T18:34:49.473Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:34:49.473Z] OK: 9 MiB in 15 packages [2024-11-11T18:34:50.428Z] Removing intermediate container 5bffb84ea79e [2024-11-11T18:34:50.428Z] ---> 9cf837819ab7 [2024-11-11T18:34:50.428Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-11T18:34:50.428Z] ---> Running in f117ac5044c1 [2024-11-11T18:34:51.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:51.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:52.786Z] Upgrading critical system libraries and apk-tools: [2024-11-11T18:34:52.786Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T18:34:52.786Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T18:34:53.053Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T18:34:53.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:53.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T18:34:54.277Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T18:34:54.543Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T18:34:54.543Z] OK: 9 MiB in 15 packages [2024-11-11T18:34:55.502Z] Removing intermediate container f117ac5044c1 [2024-11-11T18:34:55.502Z] ---> 230e30e8ac64 [2024-11-11T18:34:55.502Z] Step 17/26 : WORKDIR / [2024-11-11T18:34:55.502Z] ---> Running in 0eeb24a5417a [2024-11-11T18:34:55.767Z] Removing intermediate container 0eeb24a5417a [2024-11-11T18:34:55.767Z] ---> 37d1266df75e [2024-11-11T18:34:55.767Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-11T18:34:56.346Z] ---> a5f2dc63601b [2024-11-11T18:34:56.346Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-11T18:34:56.927Z] ---> b724f81ef274 [2024-11-11T18:34:56.927Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-11T18:34:59.494Z] ---> 57af9aa4241a [2024-11-11T18:34:59.494Z] Step 21/26 : EXPOSE 59995 [2024-11-11T18:34:59.494Z] ---> Running in 7e566e5415f1 [2024-11-11T18:34:59.494Z] Removing intermediate container 7e566e5415f1 [2024-11-11T18:34:59.494Z] ---> 503ae07b08ee [2024-11-11T18:34:59.494Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-11T18:34:59.494Z] ---> Running in cea5f8235a68 [2024-11-11T18:34:59.760Z] Removing intermediate container cea5f8235a68 [2024-11-11T18:34:59.760Z] ---> 64419e85602e [2024-11-11T18:34:59.760Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T18:34:59.760Z] ---> Running in 09ff93a17340 [2024-11-11T18:35:00.028Z] Removing intermediate container 09ff93a17340 [2024-11-11T18:35:00.028Z] ---> 0e894b20e2ad [2024-11-11T18:35:00.028Z] Step 24/26 : LABEL arch=arm64 [2024-11-11T18:35:00.297Z] ---> Running in 8ec2f77bf659 [2024-11-11T18:35:00.562Z] Removing intermediate container 8ec2f77bf659 [2024-11-11T18:35:00.562Z] ---> f76a2f2d1204 [2024-11-11T18:35:00.562Z] Step 25/26 : LABEL git_sha=fa575f69e71ee5da325b02582661356a7cba609c [2024-11-11T18:35:00.562Z] ---> Running in 163a5015dce0 [2024-11-11T18:35:00.828Z] Removing intermediate container 163a5015dce0 [2024-11-11T18:35:00.828Z] ---> 75af4573f37e [2024-11-11T18:35:00.828Z] Step 26/26 : LABEL version=0.0.0 [2024-11-11T18:35:00.828Z] ---> Running in e0e5f1cbf890 [2024-11-11T18:35:01.094Z] Removing intermediate container e0e5f1cbf890 [2024-11-11T18:35:01.094Z] ---> c8e0464eef2d [2024-11-11T18:35:01.094Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T18:35:01.094Z] Successfully built c8e0464eef2d [2024-11-11T18:35:01.094Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:35:02.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T18:35:02.055Z] [2024-11-11T18:35:02.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:35:02.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T18:35:02.515Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T18:35:02.515Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T18:35:02.515Z] 04944245beec: Pulling fs layer [2024-11-11T18:35:02.515Z] 699f458cf7ca: Pulling fs layer [2024-11-11T18:35:02.515Z] 765212b225bb: Pulling fs layer [2024-11-11T18:35:02.515Z] f23df028b6ca: Pulling fs layer [2024-11-11T18:35:02.515Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T18:35:02.515Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T18:35:02.515Z] f23df028b6ca: Waiting [2024-11-11T18:35:02.515Z] d65c8cfc05b1: Waiting [2024-11-11T18:35:02.515Z] 2437ff75d9bd: Waiting [2024-11-11T18:35:02.515Z] 765212b225bb: Waiting [2024-11-11T18:35:02.782Z] 04944245beec: Verifying Checksum [2024-11-11T18:35:02.782Z] 04944245beec: Download complete [2024-11-11T18:35:02.782Z] 765212b225bb: Verifying Checksum [2024-11-11T18:35:02.782Z] 765212b225bb: Download complete [2024-11-11T18:35:02.782Z] f23df028b6ca: Verifying Checksum [2024-11-11T18:35:02.782Z] f23df028b6ca: Download complete [2024-11-11T18:35:02.782Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T18:35:02.782Z] d65c8cfc05b1: Download complete [2024-11-11T18:35:02.782Z] 699f458cf7ca: Verifying Checksum [2024-11-11T18:35:02.782Z] 699f458cf7ca: Download complete [2024-11-11T18:35:03.362Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T18:35:03.362Z] 8998bd30e6a1: Download complete [2024-11-11T18:35:05.378Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T18:35:05.378Z] 2437ff75d9bd: Download complete [2024-11-11T18:35:07.314Z] 8998bd30e6a1: Pull complete [2024-11-11T18:35:07.894Z] 04944245beec: Pull complete [2024-11-11T18:35:09.297Z] 699f458cf7ca: Pull complete [2024-11-11T18:35:09.562Z] 765212b225bb: Pull complete [2024-11-11T18:35:10.142Z] f23df028b6ca: Pull complete [2024-11-11T18:35:10.407Z] d65c8cfc05b1: Pull complete [2024-11-11T18:35:25.372Z] 2437ff75d9bd: Pull complete [2024-11-11T18:35:25.372Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T18:35:25.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T18:35:25.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:35:25.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-26194 does not seem to be running inside a container [2024-11-11T18:35:25.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T18:35:28.409Z] $ docker top e986d3ae53af8d8f3941ef638edf896b72b25f0721cfb48aa18e46293abde157 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:28.974Z] ---> job-cost.sh [2024-11-11T18:35:29.239Z] lf-activate-venv: SKIPPING [2024-11-11T18:35:29.239Z] INFO: No Stack... [2024-11-11T18:35:29.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T18:35:30.467Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T18:35:30.807Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-11-11T18:35:30.807Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T18:35:30.892Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [2024-11-11T18:35:30.897Z] Resource [jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] did not exist. Created. [2024-11-11T18:35:30.903Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T18:35:31.335Z] /w/workspace/device-uart/1@tmp/durable-63555698/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T18:35:31.999Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T18:35:32.043Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T18:35:32.080Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T18:35:32.101Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T18:35:32.186Z] $ docker stop --time=1 e986d3ae53af8d8f3941ef638edf896b72b25f0721cfb48aa18e46293abde157 [2024-11-11T18:35:33.646Z] $ docker rm -f --volumes e986d3ae53af8d8f3941ef638edf896b72b25f0721cfb48aa18e46293abde157 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-11T18:35:34.873Z] provisioning config files... [2024-11-11T18:35:34.878Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-87@tmp/config10902280056424582359tmp [Pipeline] { [Pipeline] sh [2024-11-11T18:35:35.250Z] + set +x [2024-11-11T18:35:35.250Z] + curl -s https://codecov.io/bash [2024-11-11T18:35:35.250Z] + bash -s -- [2024-11-11T18:35:35.250Z] [2024-11-11T18:35:35.250Z] _____ _ [2024-11-11T18:35:35.250Z] / ____| | | [2024-11-11T18:35:35.250Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T18:35:35.250Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T18:35:35.250Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T18:35:35.250Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T18:35:35.250Z] Bash-1.0.6 [2024-11-11T18:35:35.250Z] [2024-11-11T18:35:35.250Z] [2024-11-11T18:35:35.250Z] ==> git version 2.25.1 found [2024-11-11T18:35:35.250Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-11T18:35:35.250Z] Release-Date: 2020-01-08 [2024-11-11T18:35:35.250Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-11T18:35:35.251Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T18:35:35.251Z] ==> Jenkins CI detected. [2024-11-11T18:35:35.251Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-87 [2024-11-11T18:35:35.251Z] project root: . [2024-11-11T18:35:35.251Z] --> token set from env [2024-11-11T18:35:35.251Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T18:35:35.251Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T18:35:35.251Z] ==> Python coveragepy not found [2024-11-11T18:35:35.251Z] ==> Searching for coverage reports in: [2024-11-11T18:35:35.251Z] + . [2024-11-11T18:35:35.251Z] -> Found 1 reports [2024-11-11T18:35:35.251Z] ==> Detecting git/mercurial file structure [2024-11-11T18:35:35.511Z] ==> Reading reports [2024-11-11T18:35:35.511Z] + ./coverage.out bytes=6770 [2024-11-11T18:35:35.511Z] ==> Appending adjustments [2024-11-11T18:35:35.511Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T18:35:35.511Z] + Found adjustments [2024-11-11T18:35:35.511Z] ==> Gzipping contents [2024-11-11T18:35:35.511Z] 4.0K /tmp/codecov.bn5j2j.gz [2024-11-11T18:35:35.511Z] ==> Uploading reports [2024-11-11T18:35:35.511Z] url: https://codecov.io [2024-11-11T18:35:35.511Z] query: branch=PR-87&commit=fa575f69e71ee5da325b02582661356a7cba609c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=87&job=&cmd_args= [2024-11-11T18:35:35.511Z] -> Pinging Codecov [2024-11-11T18:35:35.511Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-87&commit=fa575f69e71ee5da325b02582661356a7cba609c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=87&job=&cmd_args= [2024-11-11T18:35:35.772Z] -> Uploading to [2024-11-11T18:35:35.772Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/fa575f69e71ee5da325b02582661356a7cba609c/47b9db5a-fe43-4ed6-b196-6498f08619f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T183535Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=bbbef219cff53e7b3b3ddc69497d4d3ba36410f66a29b2ddf8fa89fdd8375c15 [2024-11-11T18:35:35.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T18:35:35.772Z] Dload Upload Total Spent Left Speed [2024-11-11T18:35:35.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 6447 --:--:-- --:--:-- --:--:-- 6447 100 1341 0 0 100 1341 0 6095 --:--:-- --:--:-- --:--:-- 6067 [2024-11-11T18:35:35.772Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/fa575f69e71ee5da325b02582661356a7cba609c [Pipeline] } [2024-11-11T18:35:35.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-11T18:35:38.082Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-87/archives ] [2024-11-11T18:35:38.082Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-87/archives [2024-11-11T18:35:38.082Z] total 16 [2024-11-11T18:35:38.082Z] drwxr-xr-x 3 root root 4096 Nov 11 18:25 . [2024-11-11T18:35:38.082Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 18:25 .. [2024-11-11T18:35:38.082Z] drwxr-xr-x 2 root root 4096 Nov 11 18:25 cost [2024-11-11T18:35:38.082Z] -rw-r--r-- 1 root root 82 Nov 11 18:25 cost.csv [2024-11-11T18:35:38.082Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-87/archives [2024-11-11T18:35:38.082Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-87/archives [2024-11-11T18:35:38.082Z] total 16 [2024-11-11T18:35:38.082Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 18:25 . [2024-11-11T18:35:38.082Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 18:25 .. [2024-11-11T18:35:38.082Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 18:25 cost [2024-11-11T18:35:38.082Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 11 18:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:38.417Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:39.328Z] ---> package-listing.sh [2024-11-11T18:35:39.328Z] ++ facter osfamily [2024-11-11T18:35:39.328Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T18:35:39.586Z] + OS_FAMILY=debian [2024-11-11T18:35:39.587Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-87 [2024-11-11T18:35:39.587Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T18:35:39.587Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T18:35:39.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T18:35:39.587Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T18:35:39.587Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-87 ']' [2024-11-11T18:35:39.587Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T18:35:39.587Z] + case "${OS_FAMILY}" in [2024-11-11T18:35:39.587Z] + dpkg -l [2024-11-11T18:35:39.587Z] + grep '^ii' [2024-11-11T18:35:39.587Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T18:35:39.587Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T18:35:39.587Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T18:35:39.587Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-87 ']' [2024-11-11T18:35:39.587Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-87/archives/ [2024-11-11T18:35:39.587Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-87/archives/ [Pipeline] echo [2024-11-11T18:35:39.627Z] 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-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T18:35:39.924Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T18:35:40.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T18:35:40.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T18:35:40.943Z] prd-ubuntu20.04-docker-8c-8g-26193 does not seem to be running inside a container [2024-11-11T18:35:40.978Z] $ 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-87/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-87 -v /w/workspace/edgexfoundry_device-uart_PR-87:/w/workspace/edgexfoundry_device-uart_PR-87:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-87@tmp:/w/workspace/edgexfoundry_device-uart_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T18:35:41.169Z] $ docker top 7d33a7e271eb4c2655770a3ce21ad50832ddfa95e0b207abb20cfae51dc8e3ab -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T18:35:41.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T18:35:41.926Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T18:35:42.247Z] + ls /var/log/sa-host [2024-11-11T18:35:42.247Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T18:35:42.512Z] provisioning config files... [2024-11-11T18:35:42.521Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-87@tmp/config16552886612859533822tmp [Pipeline] { [Pipeline] echo [2024-11-11T18:35:42.592Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:42.921Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T18:35:42.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:43.388Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T18:35:43.429Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:43.762Z] ---> sudo-logs.sh [2024-11-11T18:35:43.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T18:35:43.875Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:44.208Z] ---> job-cost.sh [2024-11-11T18:35:44.208Z] lf-activate-venv: SKIPPING [2024-11-11T18:35:44.208Z] DEBUG: total: 0.2199999988079071 [2024-11-11T18:35:44.208Z] INFO: Retrieving Stack Cost... [2024-11-11T18:35:44.467Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T18:35:44.726Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T18:35:44.766Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T18:35:45.095Z] ---> logs-deploy.sh [2024-11-11T18:35:45.096Z] lf-activate-venv: SKIPPING [2024-11-11T18:35:45.096Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-87/1 [2024-11-11T18:35:45.096Z] INFO: archiving workspace using pattern(s): [2024-11-11T18:35:46.033Z] Archives upload complete. [2024-11-11T18:35:46.033Z] INFO: archiving logs to Nexus