Pull request #60 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f+23fe7f8145c8e877725d764251a9ace1cbcd2e57 (3b5001fec4cd2478d388383dc0865fd443f32439) 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-ssh3009235216985918970.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7594661181818248430.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 590556114a56c6d90cc8043840e039c2f74196dc 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-60/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-60/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1276948526081485686.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-60/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8796063382118941638.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh4043341763302197617.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-60/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-60/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5427836698921136168.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5959 in /w/workspace/edgexfoundry_device-uart_PR-60 [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-60 # 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 23fe7f8145c8e877725d764251a9ace1cbcd2e57 into PR head commit 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f > 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/60/head:refs/remotes/origin/PR-60 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f # timeout=10 Merge succeeded, producing 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f Checking out Revision 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f (PR-60) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 23fe7f8145c8e877725d764251a9ace1cbcd2e57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-19T19:00:20.181Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-19T19:00:20.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-19T19:00:21.257Z] ========================================================= [2024-07-19T19:00:21.257Z] EdgeX Global Pipelines Version Info [2024-07-19T19:00:21.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:00:22.466Z] ------------------- [2024-07-19T19:00:22.466Z] stable info: [2024-07-19T19:00:22.466Z] ------------------- [2024-07-19T19:00:22.466Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T19:00:22.466Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T19:00:22.466Z] Message: update stable to v1.0.260 [2024-07-19T19:00:22.824Z] ------------------- [2024-07-19T19:00:22.824Z] experimental info: [2024-07-19T19:00:22.824Z] ------------------- [2024-07-19T19:00:22.824Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T19:00:22.824Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-19T19:00:22.824Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-19T19:00:23.389Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-07-19T19:00:23.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-07-19T19:00:23.852Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-19T19:00:24.042Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-19T19:00:24.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-19T19:00:24.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-19T19:00:24.531Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-19T19:00:24.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-19T19:00:24.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-19T19:00:25.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-19T19:00:25.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-19T19:00:25.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-07-19T19:00:25.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-19T19:00:25.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-19T19:00:26.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T19:00:26.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T19:00:26.548Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T19:00:26.734Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T19:00:26.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-19T19:00:27.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-19T19:00:27.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-19T19:00:27.544Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-19T19:00:27.676Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-19T19:00:27.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-19T19:00:28.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-19T19:00:28.307Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-19T19:00:28.430Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-19T19:00:28.597Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-60 [Pipeline] echo [2024-07-19T19:00:28.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-60 [Pipeline] echo [2024-07-19T19:00:29.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-60 [Pipeline] echo [2024-07-19T19:00:29.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [Pipeline] echo [2024-07-19T19:00:29.298Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e5c09e [Pipeline] echo [2024-07-19T19:00:29.465Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T19:00:29.810Z] provisioning config files... [2024-07-19T19:00:29.843Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-60@tmp/config8032430194900152275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:00:30.504Z] ---> ****-login.sh [2024-07-19T19:00:30.504Z] nexus3.edgexfoundry.org:10001 [2024-07-19T19:00:30.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:30.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:30.782Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:30.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:30.782Z] [2024-07-19T19:00:30.782Z] Login Succeeded [2024-07-19T19:00:30.782Z] nexus3.edgexfoundry.org:10002 [2024-07-19T19:00:30.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:31.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:31.064Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:31.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:31.064Z] [2024-07-19T19:00:31.064Z] Login Succeeded [2024-07-19T19:00:31.064Z] nexus3.edgexfoundry.org:10003 [2024-07-19T19:00:31.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:31.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:31.065Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:31.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:31.065Z] [2024-07-19T19:00:31.065Z] Login Succeeded [2024-07-19T19:00:31.065Z] nexus3.edgexfoundry.org:10004 [2024-07-19T19:00:31.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:31.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:31.383Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:31.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:31.383Z] [2024-07-19T19:00:31.383Z] Login Succeeded [2024-07-19T19:00:31.383Z] ****.io [2024-07-19T19:00:31.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:31.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:31.383Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:31.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:31.383Z] [2024-07-19T19:00:31.383Z] Login Succeeded [2024-07-19T19:00:31.383Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T19:00:31.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-19T19:00:33.104Z] + git rev-list -1 --merges 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f~1..1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [Pipeline] echo [2024-07-19T19:00:33.271Z] -----------> git rev-list -1 --merges 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f~1..1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [false] [Pipeline] sh [2024-07-19T19:00:33.753Z] + git log --format=format:%s -1 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [Pipeline] echo [2024-07-19T19:00:33.900Z] ========================================================= [2024-07-19T19:00:33.900Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-19T19:00:33.900Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T19:00:34.989Z] + git log --format=format:%s -1 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [Pipeline] echo [2024-07-19T19:00:35.099Z] [semverPrep] GIT_COMMIT: 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-19T19:00:35.195Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-19T19:00:35.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T19:00:35.868Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-19T19:00:35.868Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-19T19:00:35.868Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-19T19:00:35.868Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-19T19:00:35.868Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-19T19:00:35.868Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:00:36.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T19:00:36.724Z] [2024-07-19T19:00:36.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:00:37.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T19:00:37.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-19T19:00:37.483Z] b85a868b505f: Pulling fs layer [2024-07-19T19:00:37.483Z] e2be974225ed: Pulling fs layer [2024-07-19T19:00:37.483Z] 339a4e72a1f5: Pulling fs layer [2024-07-19T19:00:37.483Z] 988bab9f4d93: Pulling fs layer [2024-07-19T19:00:37.483Z] 1469e6f7b9e6: Pulling fs layer [2024-07-19T19:00:37.483Z] 988bab9f4d93: Waiting [2024-07-19T19:00:37.483Z] eaf3925da568: Pulling fs layer [2024-07-19T19:00:37.483Z] bab4dde63d76: Pulling fs layer [2024-07-19T19:00:37.483Z] 1469e6f7b9e6: Waiting [2024-07-19T19:00:37.483Z] bde34c3a00c8: Pulling fs layer [2024-07-19T19:00:37.483Z] bab4dde63d76: Waiting [2024-07-19T19:00:37.483Z] b352a97aabf1: Pulling fs layer [2024-07-19T19:00:37.483Z] 4872d77fe225: Pulling fs layer [2024-07-19T19:00:37.483Z] 5851b861e8e6: Pulling fs layer [2024-07-19T19:00:37.483Z] b352a97aabf1: Waiting [2024-07-19T19:00:37.483Z] 5851b861e8e6: Waiting [2024-07-19T19:00:37.483Z] 4872d77fe225: Waiting [2024-07-19T19:00:37.483Z] e2be974225ed: Verifying Checksum [2024-07-19T19:00:37.483Z] e2be974225ed: Download complete [2024-07-19T19:00:37.483Z] 988bab9f4d93: Verifying Checksum [2024-07-19T19:00:37.483Z] 988bab9f4d93: Download complete [2024-07-19T19:00:37.483Z] 1469e6f7b9e6: Verifying Checksum [2024-07-19T19:00:37.483Z] 1469e6f7b9e6: Download complete [2024-07-19T19:00:37.483Z] 339a4e72a1f5: Verifying Checksum [2024-07-19T19:00:37.483Z] 339a4e72a1f5: Download complete [2024-07-19T19:00:37.483Z] eaf3925da568: Verifying Checksum [2024-07-19T19:00:37.483Z] eaf3925da568: Download complete [2024-07-19T19:00:37.483Z] bde34c3a00c8: Download complete [2024-07-19T19:00:37.768Z] b352a97aabf1: Download complete [2024-07-19T19:00:37.768Z] 4872d77fe225: Download complete [2024-07-19T19:00:37.768Z] 5851b861e8e6: Download complete [2024-07-19T19:00:37.768Z] b85a868b505f: Verifying Checksum [2024-07-19T19:00:37.768Z] b85a868b505f: Download complete [2024-07-19T19:00:38.060Z] bab4dde63d76: Download complete [2024-07-19T19:00:39.088Z] b85a868b505f: Pull complete [2024-07-19T19:00:39.088Z] e2be974225ed: Pull complete [2024-07-19T19:00:39.374Z] 339a4e72a1f5: Pull complete [2024-07-19T19:00:39.664Z] 988bab9f4d93: Pull complete [2024-07-19T19:00:39.664Z] 1469e6f7b9e6: Pull complete [2024-07-19T19:00:39.960Z] eaf3925da568: Pull complete [2024-07-19T19:00:41.465Z] bab4dde63d76: Pull complete [2024-07-19T19:00:41.761Z] bde34c3a00c8: Pull complete [2024-07-19T19:00:41.761Z] b352a97aabf1: Pull complete [2024-07-19T19:00:41.761Z] 4872d77fe225: Pull complete [2024-07-19T19:00:41.761Z] 5851b861e8e6: Pull complete [2024-07-19T19:00:41.761Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-19T19:00:41.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T19:00:41.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:00:42.590Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2024-07-19T19:00:42.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-60 -v /w/workspace/edgexfoundry_device-uart_PR-60:/w/workspace/edgexfoundry_device-uart_PR-60:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-60@tmp:/w/workspace/edgexfoundry_device-uart_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-19T19:00:43.810Z] $ docker top f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T19:00:44.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T19:00:44.329Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T19:00:44.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T19:00:44.434Z] $ docker exec f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f ssh-agent [2024-07-19T19:00:44.552Z] SSH_AUTH_SOCK=/tmp/ssh-gbOq7cVSkKVq/agent.32 [2024-07-19T19:00:44.552Z] SSH_AGENT_PID=38 [2024-07-19T19:00:44.582Z] Running ssh-add (command line suppressed) [2024-07-19T19:00:44.676Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-60@tmp/private_key_4610360279761798498.key (/w/workspace/edgexfoundry_device-uart_PR-60@tmp/private_key_4610360279761798498.key) [2024-07-19T19:00:44.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T19:00:45.224Z] + git tag --points-at HEAD [Pipeline] } [2024-07-19T19:00:45.346Z] $ docker exec --env ******** --env ******** f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f ssh-agent -k [2024-07-19T19:00:45.452Z] unset SSH_AUTH_SOCK; [2024-07-19T19:00:45.453Z] unset SSH_AGENT_PID; [2024-07-19T19:00:45.453Z] echo Agent pid 38 killed; [2024-07-19T19:00:45.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-19T19:00:45.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T19:00:45.839Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T19:00:45.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T19:00:45.974Z] $ docker exec f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f ssh-agent [2024-07-19T19:00:46.124Z] SSH_AUTH_SOCK=/tmp/ssh-kK7ywlPFy4R6/agent.71 [2024-07-19T19:00:46.124Z] SSH_AGENT_PID=77 [2024-07-19T19:00:46.143Z] Running ssh-add (command line suppressed) [2024-07-19T19:00:46.231Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-60@tmp/private_key_16027444155881773481.key (/w/workspace/edgexfoundry_device-uart_PR-60@tmp/private_key_16027444155881773481.key) [2024-07-19T19:00:46.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T19:00:46.872Z] + git semver init [2024-07-19T19:00:47.171Z] 2024-07-19 19:00:47,001 [run_init] DEBUG init version:0.0.0 force:False [2024-07-19T19:00:47.171Z] 2024-07-19 19:00:47,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-60/.semver [2024-07-19T19:00:47.171Z] 2024-07-19 19:00:47,002 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-60/.semver [2024-07-19T19:00:47.171Z] 2024-07-19 19:00:47,002 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-60/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-60, universal_newlines=False, shell=None, istream=None) [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,002 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-60/.git/info/exclude [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-60/.semver/PR-60 with force:False [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,003 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-60/.semver/PR-60 [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,007 [execute] INFO git cat-file --batch-check [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-60/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,014 [execute] INFO git cat-file --batch [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-60/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T19:00:48.181Z] 2024-07-19 19:00:48,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-60/.semver/PR-60 [2024-07-19T19:00:48.181Z] 0.0.0 [Pipeline] } [2024-07-19T19:00:48.226Z] $ docker exec --env ******** --env ******** f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f ssh-agent -k [2024-07-19T19:00:48.323Z] unset SSH_AUTH_SOCK; [2024-07-19T19:00:48.324Z] unset SSH_AGENT_PID; [2024-07-19T19:00:48.324Z] echo Agent pid 77 killed; [2024-07-19T19:00:48.338Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T19:00:48.826Z] + git semver [Pipeline] } [2024-07-19T19:00:49.110Z] $ docker stop --time=1 f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f [2024-07-19T19:00:50.415Z] $ docker rm -f --volumes f00c63ca8d66025d32849bef738e9283aa6eab19fc1af0499414334d4b04793f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T19:00:50.831Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-19T19:00:51.137Z] Stashed 1 file(s) [Pipeline] echo [2024-07-19T19:00:51.167Z] [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-07-19T19:00:51.872Z] provisioning config files... [2024-07-19T19:00:51.882Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-60@tmp/config9668365375104308528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:00:52.249Z] ---> ****-login.sh [2024-07-19T19:00:52.249Z] nexus3.edgexfoundry.org:10001 [2024-07-19T19:00:52.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:52.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:52.249Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:52.249Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:52.249Z] [2024-07-19T19:00:52.249Z] Login Succeeded [2024-07-19T19:00:52.249Z] nexus3.edgexfoundry.org:10002 [2024-07-19T19:00:52.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:52.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:52.249Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:52.249Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:52.249Z] [2024-07-19T19:00:52.249Z] Login Succeeded [2024-07-19T19:00:52.249Z] nexus3.edgexfoundry.org:10003 [2024-07-19T19:00:52.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:52.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:52.509Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:52.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:52.509Z] [2024-07-19T19:00:52.509Z] Login Succeeded [2024-07-19T19:00:52.509Z] nexus3.edgexfoundry.org:10004 [2024-07-19T19:00:52.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:52.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:52.509Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:52.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:52.509Z] [2024-07-19T19:00:52.509Z] Login Succeeded [2024-07-19T19:00:52.509Z] ****.io [2024-07-19T19:00:52.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:00:52.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:00:52.770Z] Configure a credential helper to remove this warning. See [2024-07-19T19:00:52.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:00:52.770Z] [2024-07-19T19:00:52.770Z] Login Succeeded [2024-07-19T19:00:52.770Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T19:00:52.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T19:00:53.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T19:00:53.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T19:00:53.114Z] ========================================================= [2024-07-19T19:00:53.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-19T19:00:53.114Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:00:53.617Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-19T19:00:53.617Z] Sending build context to Docker daemon 25.53MB [2024-07-19T19:00:53.617Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T19:00:53.617Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T19:00:53.877Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-19T19:00:53.877Z] 619be1103602: Pulling fs layer [2024-07-19T19:00:53.877Z] 7862e08f4a3e: Pulling fs layer [2024-07-19T19:00:53.877Z] 5df492c9dc93: Pulling fs layer [2024-07-19T19:00:53.877Z] 7629e6793208: Pulling fs layer [2024-07-19T19:00:53.877Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T19:00:53.877Z] fb5054dd5b73: Pulling fs layer [2024-07-19T19:00:53.877Z] eeca6798cff9: Pulling fs layer [2024-07-19T19:00:53.877Z] aa269ceb94a6: Pulling fs layer [2024-07-19T19:00:53.877Z] ada007ff1a6a: Pulling fs layer [2024-07-19T19:00:53.877Z] 7629e6793208: Waiting [2024-07-19T19:00:53.877Z] eeca6798cff9: Waiting [2024-07-19T19:00:53.877Z] aa269ceb94a6: Waiting [2024-07-19T19:00:53.877Z] 4f4fb700ef54: Waiting [2024-07-19T19:00:53.877Z] fb5054dd5b73: Waiting [2024-07-19T19:00:53.877Z] 7862e08f4a3e: Download complete [2024-07-19T19:00:53.877Z] 7629e6793208: Verifying Checksum [2024-07-19T19:00:53.877Z] 7629e6793208: Download complete [2024-07-19T19:00:53.877Z] 4f4fb700ef54: Download complete [2024-07-19T19:00:53.877Z] 619be1103602: Verifying Checksum [2024-07-19T19:00:53.877Z] 619be1103602: Download complete [2024-07-19T19:00:53.877Z] fb5054dd5b73: Verifying Checksum [2024-07-19T19:00:53.877Z] fb5054dd5b73: Download complete [2024-07-19T19:00:53.877Z] eeca6798cff9: Verifying Checksum [2024-07-19T19:00:53.877Z] eeca6798cff9: Download complete [2024-07-19T19:00:53.877Z] 619be1103602: Pull complete [2024-07-19T19:00:54.137Z] ada007ff1a6a: Verifying Checksum [2024-07-19T19:00:54.137Z] ada007ff1a6a: Download complete [2024-07-19T19:00:54.137Z] 7862e08f4a3e: Pull complete [2024-07-19T19:00:54.137Z] 5df492c9dc93: Verifying Checksum [2024-07-19T19:00:54.137Z] 5df492c9dc93: Download complete [2024-07-19T19:00:54.711Z] aa269ceb94a6: Verifying Checksum [2024-07-19T19:00:54.711Z] aa269ceb94a6: Download complete [2024-07-19T19:00:57.995Z] 5df492c9dc93: Pull complete [2024-07-19T19:00:57.995Z] 7629e6793208: Pull complete [2024-07-19T19:00:57.995Z] 4f4fb700ef54: Pull complete [2024-07-19T19:00:57.995Z] fb5054dd5b73: Pull complete [2024-07-19T19:00:57.995Z] eeca6798cff9: Pull complete [2024-07-19T19:00:59.897Z] aa269ceb94a6: Pull complete [2024-07-19T19:01:00.465Z] ada007ff1a6a: Pull complete [2024-07-19T19:01:00.465Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-19T19:01:00.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-19T19:01:00.465Z] ---> f489d0715acc [2024-07-19T19:01:00.465Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T19:01:01.845Z] ---> Running in 5ca2bc1779e3 [2024-07-19T19:01:02.103Z] Removing intermediate container 5ca2bc1779e3 [2024-07-19T19:01:02.104Z] ---> 9015187bd195 [2024-07-19T19:01:02.104Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T19:01:02.104Z] ---> Running in 0df657d3b780 [2024-07-19T19:01:02.104Z] Removing intermediate container 0df657d3b780 [2024-07-19T19:01:02.104Z] ---> ea5674cc7404 [2024-07-19T19:01:02.104Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T19:01:02.104Z] ---> Running in 95a9871cb979 [2024-07-19T19:01:02.104Z] Removing intermediate container 95a9871cb979 [2024-07-19T19:01:02.104Z] ---> 8d9878ba75e7 [2024-07-19T19:01:02.104Z] Step 6/12 : WORKDIR /device-uart [2024-07-19T19:01:02.363Z] ---> Running in 3ab4508d2c5e [2024-07-19T19:01:02.363Z] Removing intermediate container 3ab4508d2c5e [2024-07-19T19:01:02.363Z] ---> b2a132cf51d3 [2024-07-19T19:01:02.363Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T19:01:02.363Z] ---> Running in 59ddd8f2338c [2024-07-19T19:01:02.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T19:01:02.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T19:01:03.141Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T19:01:03.141Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T19:01:03.141Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T19:01:03.141Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T19:01:03.141Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T19:01:03.141Z] OK: 268 MiB in 56 packages [2024-07-19T19:01:03.400Z] Removing intermediate container 59ddd8f2338c [2024-07-19T19:01:03.400Z] ---> aa9439b2184b [2024-07-19T19:01:03.400Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-19T19:01:03.658Z] ---> 696df32244f8 [2024-07-19T19:01:03.658Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T19:01:03.658Z] ---> Running in 9e36ce84b08d [2024-07-19T19:01:06.665Z] Still waiting to schedule task [2024-07-19T19:01:06.665Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-19T19:01:42.390Z] Removing intermediate container 9e36ce84b08d [2024-07-19T19:01:42.391Z] ---> 6fbd0234e4d6 [2024-07-19T19:01:42.391Z] Step 10/12 : COPY . . [2024-07-19T19:01:42.391Z] ---> 1e37403b3ac4 [2024-07-19T19:01:42.391Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T19:01:42.391Z] ---> Running in 9b85cdc8f79b [2024-07-19T19:01:42.391Z] Removing intermediate container 9b85cdc8f79b [2024-07-19T19:01:42.391Z] ---> 3232789ced95 [2024-07-19T19:01:42.391Z] Step 12/12 : RUN ${MAKE} [2024-07-19T19:01:42.391Z] ---> Running in 914bfaa2a462 [2024-07-19T19:01:42.391Z] noop [2024-07-19T19:01:42.391Z] Removing intermediate container 914bfaa2a462 [2024-07-19T19:01:42.391Z] ---> 7297d36aefbe [2024-07-19T19:01:42.391Z] Successfully built 7297d36aefbe [2024-07-19T19:01:42.391Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:01:42.879Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T19:01:42.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:01:43.041Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2024-07-19T19:01:43.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-60 -v /w/workspace/edgexfoundry_device-uart_PR-60:/w/workspace/edgexfoundry_device-uart_PR-60:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-60@tmp:/w/workspace/edgexfoundry_device-uart_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T19:01:43.408Z] $ docker top 753cbf20ad9d71ff1ead06e30a5d5944c150079ea8a26b79246aefe910aa5cbd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T19:01:43.813Z] + go version [2024-07-19T19:01:43.813Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-19T19:01:43.852Z] $ docker stop --time=1 753cbf20ad9d71ff1ead06e30a5d5944c150079ea8a26b79246aefe910aa5cbd [2024-07-19T19:01:45.132Z] $ docker rm -f --volumes 753cbf20ad9d71ff1ead06e30a5d5944c150079ea8a26b79246aefe910aa5cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:01:45.904Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T19:01:45.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:01:46.078Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2024-07-19T19:01:46.105Z] $ 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-60 -v /w/workspace/edgexfoundry_device-uart_PR-60:/w/workspace/edgexfoundry_device-uart_PR-60:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-60@tmp:/w/workspace/edgexfoundry_device-uart_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T19:01:46.422Z] $ docker top 1ba35a7c462b47e0841b1ced2f3398a19c9d46092fc626f32888ba3de0b7a79a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T19:01:46.821Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-60 [Pipeline] fileExists [Pipeline] sh [2024-07-19T19:01:47.197Z] + make test [2024-07-19T19:01:47.197Z] go test ./... -coverprofile=coverage.out [2024-07-19T19:01:48.132Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-19T19:02:06.201Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-19T19:02:06.201Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-19T19:02:12.755Z] go vet ./... [2024-07-19T19:02:18.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T19:02:18.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T19:02:18.018Z] ./bin/test-attribution-txt.sh [2024-07-19T19:02:18.018Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T19:02:18.018Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T19:02:18.019Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T19:02:18.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T19:02:18.109Z] $ docker stop --time=1 1ba35a7c462b47e0841b1ced2f3398a19c9d46092fc626f32888ba3de0b7a79a [2024-07-19T19:02:20.166Z] $ docker rm -f --volumes 1ba35a7c462b47e0841b1ced2f3398a19c9d46092fc626f32888ba3de0b7a79a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T19:02:20.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T19:02:20.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-19T19:02:21.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T19:02:21.851Z] + ls -al . [2024-07-19T19:02:21.851Z] total 224 [2024-07-19T19:02:21.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 19:01 . [2024-07-19T19:02:21.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 19:00 .. [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 19:00 .dockerignore [2024-07-19T19:02:21.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 19:02 .git [2024-07-19T19:02:21.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:00 .github [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 19:00 .gitignore [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 19:00 .golangci.yml [2024-07-19T19:02:21.851Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 19:00 .semver [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 19 19:00 Attribution.txt [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 19 19:00 CHANGELOG.md [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 19 19:00 Dockerfile [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 19:00 GOVERNANCE.md [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 19:00 Jenkinsfile [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 19:00 LICENSE [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 19 19:00 Makefile [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 19:00 OWNERS.md [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 19 19:00 README.md [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 19:00 VERSION [2024-07-19T19:02:21.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 19:00 bin [2024-07-19T19:02:21.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:00 cmd [2024-07-19T19:02:21.851Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 19 19:01 coverage.out [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 6963 Jul 19 19:00 go.mod [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 101890 Jul 19 19:00 go.sum [2024-07-19T19:02:21.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:00 internal [2024-07-19T19:02:21.851Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:02:22.273Z] + 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=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f --label arch=amd64 --label version=0.0.0 . [2024-07-19T19:02:22.273Z] Sending build context to Docker daemon 25.53MB [2024-07-19T19:02:22.273Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T19:02:22.273Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T19:02:22.273Z] ---> 7297d36aefbe [2024-07-19T19:02:22.273Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T19:02:22.273Z] ---> Running in 00c2de9fd1b2 [2024-07-19T19:02:22.532Z] Removing intermediate container 00c2de9fd1b2 [2024-07-19T19:02:22.532Z] ---> 0381c0253a61 [2024-07-19T19:02:22.532Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T19:02:22.532Z] ---> Running in dbcffc1e2454 [2024-07-19T19:02:22.532Z] Removing intermediate container dbcffc1e2454 [2024-07-19T19:02:22.532Z] ---> 86e4dae65dcb [2024-07-19T19:02:22.532Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T19:02:22.532Z] ---> Running in 46cb7ae0d1a1 [2024-07-19T19:02:22.792Z] Removing intermediate container 46cb7ae0d1a1 [2024-07-19T19:02:22.792Z] ---> 7592a31c78dd [2024-07-19T19:02:22.792Z] Step 6/26 : WORKDIR /device-uart [2024-07-19T19:02:22.792Z] ---> Running in f47b4aa24d8b [2024-07-19T19:02:22.792Z] Removing intermediate container f47b4aa24d8b [2024-07-19T19:02:22.792Z] ---> 2a63a0312bfe [2024-07-19T19:02:22.792Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T19:02:22.792Z] ---> Running in d45eff6dedd5 [2024-07-19T19:02:23.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:23.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:23.569Z] OK: 268 MiB in 56 packages [2024-07-19T19:02:23.830Z] Removing intermediate container d45eff6dedd5 [2024-07-19T19:02:23.830Z] ---> 6dea84958f21 [2024-07-19T19:02:23.830Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-19T19:02:23.830Z] ---> 25bcd21486da [2024-07-19T19:02:23.830Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T19:02:23.830Z] ---> Running in ee46dcc39fad [2024-07-19T19:02:24.768Z] Removing intermediate container ee46dcc39fad [2024-07-19T19:02:24.768Z] ---> cfc084e9d1fa [2024-07-19T19:02:24.768Z] Step 10/26 : COPY . . [2024-07-19T19:02:25.027Z] ---> 359552aa896a [2024-07-19T19:02:25.027Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T19:02:25.027Z] ---> Running in 4f275921c4f1 [2024-07-19T19:02:25.027Z] Removing intermediate container 4f275921c4f1 [2024-07-19T19:02:25.027Z] ---> e37c21a4899a [2024-07-19T19:02:25.027Z] Step 12/26 : RUN ${MAKE} [2024-07-19T19:02:25.027Z] ---> Running in abe1aaf77414 [2024-07-19T19:02:25.285Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-19T19:02:40.475Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5960 in /w/workspace/edgexfoundry_device-uart_PR-60 [Pipeline] { [Pipeline] ws [2024-07-19T19:02:40.550Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-07-19T19:02:43.672Z] The recommended git tool is: git [2024-07-19T19:02:51.073Z] using credential edgex-jenkins-ssh [2024-07-19T19:02:51.096Z] Cloning the remote Git repository [2024-07-19T19:02:51.130Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-07-19T19:02:51.835Z] Removing intermediate container abe1aaf77414 [2024-07-19T19:02:51.835Z] ---> 2dc8371dc299 [2024-07-19T19:02:51.835Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T19:02:51.835Z] 3.18: Pulling from library/alpine [2024-07-19T19:02:51.835Z] 73baa7ef167e: Pulling fs layer [2024-07-19T19:02:51.835Z] 73baa7ef167e: Verifying Checksum [2024-07-19T19:02:51.835Z] 73baa7ef167e: Download complete [2024-07-19T19:02:51.835Z] 73baa7ef167e: Pull complete [2024-07-19T19:02:51.835Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T19:02:51.835Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T19:02:51.835Z] ---> 8fd7cac70a4a [2024-07-19T19:02:51.835Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-19T19:02:51.835Z] ---> Running in 16886da1b8d7 [2024-07-19T19:02:51.835Z] Removing intermediate container 16886da1b8d7 [2024-07-19T19:02:51.835Z] ---> eabd750539bf [2024-07-19T19:02:51.835Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T19:02:51.835Z] ---> Running in 581af66739dd [2024-07-19T19:02:51.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:51.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:51.835Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T19:02:51.835Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T19:02:51.835Z] OK: 7 MiB in 16 packages [2024-07-19T19:02:51.835Z] Removing intermediate container 581af66739dd [2024-07-19T19:02:51.835Z] ---> 4a28bebe6d48 [2024-07-19T19:02:51.835Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-19T19:02:51.835Z] ---> Running in 5c4620091ba3 [2024-07-19T19:02:51.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:51.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T19:02:51.835Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T19:02:51.835Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T19:02:51.835Z] OK: 7 MiB in 16 packages [2024-07-19T19:02:52.096Z] Removing intermediate container 5c4620091ba3 [2024-07-19T19:02:52.096Z] ---> 9c306e7e1fc8 [2024-07-19T19:02:52.096Z] Step 17/26 : WORKDIR / [2024-07-19T19:02:52.096Z] ---> Running in e5bd88faa30f [2024-07-19T19:02:52.096Z] Removing intermediate container e5bd88faa30f [2024-07-19T19:02:52.096Z] ---> 95730de9cfa6 [2024-07-19T19:02:52.096Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-19T19:02:52.354Z] ---> 12cd40ce52b9 [2024-07-19T19:02:52.354Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-19T19:02:52.354Z] ---> cee3c61ae9a3 [2024-07-19T19:02:52.354Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-19T19:02:51.345Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-07-19T19:02:51.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-19T19:02:51.688Z] > git --version # timeout=10 [2024-07-19T19:02:51.746Z] > git --version # 'git version 2.25.1' [2024-07-19T19:02:51.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T19:02:51.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T19:02:52.921Z] ---> 0c6d5ce03331 [2024-07-19T19:02:52.921Z] Step 21/26 : EXPOSE 59995 [2024-07-19T19:02:52.921Z] ---> Running in 2593edc7a7be [2024-07-19T19:02:53.180Z] Removing intermediate container 2593edc7a7be [2024-07-19T19:02:53.180Z] ---> 72b59ab630d9 [2024-07-19T19:02:53.180Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-19T19:02:53.180Z] ---> Running in 20c326ece314 [2024-07-19T19:02:53.180Z] Removing intermediate container 20c326ece314 [2024-07-19T19:02:53.180Z] ---> 3e418eba5fbf [2024-07-19T19:02:53.180Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T19:02:53.180Z] ---> Running in 044beb7e068e [2024-07-19T19:02:53.180Z] Removing intermediate container 044beb7e068e [2024-07-19T19:02:53.180Z] ---> 978e219a6297 [2024-07-19T19:02:53.180Z] Step 24/26 : LABEL arch=amd64 [2024-07-19T19:02:53.180Z] ---> Running in 7d1f75b0a671 [2024-07-19T19:02:53.439Z] Removing intermediate container 7d1f75b0a671 [2024-07-19T19:02:53.439Z] ---> 9308ffb49e51 [2024-07-19T19:02:53.439Z] Step 25/26 : LABEL git_sha=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [2024-07-19T19:02:53.439Z] ---> Running in 8cf38502329a [2024-07-19T19:02:53.439Z] Removing intermediate container 8cf38502329a [2024-07-19T19:02:53.439Z] ---> ba3374154646 [2024-07-19T19:02:53.439Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T19:02:53.439Z] ---> Running in ff95e948782a [2024-07-19T19:02:53.439Z] Removing intermediate container ff95e948782a [2024-07-19T19:02:53.439Z] ---> 19be984cde18 [2024-07-19T19:02:53.439Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T19:02:53.439Z] Successfully built 19be984cde18 [2024-07-19T19:02:53.439Z] 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-07-19T19:02:54.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T19:02:54.455Z] [2024-07-19T19:02:54.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:02:54.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T19:02:54.872Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-19T19:02:54.872Z] 5eb5b503b376: Pulling fs layer [2024-07-19T19:02:54.872Z] 5c69ac0246d0: Pulling fs layer [2024-07-19T19:02:54.872Z] ec43610c2a17: Pulling fs layer [2024-07-19T19:02:54.872Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-19T19:02:54.872Z] 33b1e0a273af: Pulling fs layer [2024-07-19T19:02:54.872Z] 5d3b04190fa2: Pulling fs layer [2024-07-19T19:02:54.872Z] 2f39f015ded8: Pulling fs layer [2024-07-19T19:02:54.872Z] 33b1e0a273af: Waiting [2024-07-19T19:02:54.872Z] 5d3b04190fa2: Waiting [2024-07-19T19:02:54.872Z] 2f39f015ded8: Waiting [2024-07-19T19:02:54.872Z] 3a2ae6a8a46f: Waiting [2024-07-19T19:02:54.872Z] 5c69ac0246d0: Verifying Checksum [2024-07-19T19:02:54.872Z] 5c69ac0246d0: Download complete [2024-07-19T19:02:54.872Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-19T19:02:54.872Z] 3a2ae6a8a46f: Download complete [2024-07-19T19:02:54.872Z] 33b1e0a273af: Verifying Checksum [2024-07-19T19:02:54.872Z] 33b1e0a273af: Download complete [2024-07-19T19:02:54.872Z] 5d3b04190fa2: Download complete [2024-07-19T19:02:54.872Z] ec43610c2a17: Verifying Checksum [2024-07-19T19:02:54.872Z] ec43610c2a17: Download complete [2024-07-19T19:02:55.128Z] 5eb5b503b376: Verifying Checksum [2024-07-19T19:02:55.128Z] 5eb5b503b376: Download complete [2024-07-19T19:02:54.363Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-19T19:02:54.418Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T19:02:55.693Z] 2f39f015ded8: Download complete [2024-07-19T19:02:56.157Z] Merging remotes/origin/main commit 23fe7f8145c8e877725d764251a9ace1cbcd2e57 into PR head commit 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [2024-07-19T19:02:56.258Z] 5eb5b503b376: Pull complete [2024-07-19T19:02:56.258Z] 5c69ac0246d0: Pull complete [2024-07-19T19:02:56.494Z] Merge succeeded, producing 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [2024-07-19T19:02:56.495Z] Checking out Revision 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f (PR-60) [2024-07-19T19:02:56.824Z] ec43610c2a17: Pull complete [2024-07-19T19:02:56.824Z] 3a2ae6a8a46f: Pull complete [2024-07-19T19:02:56.824Z] 33b1e0a273af: Pull complete [2024-07-19T19:02:57.082Z] 5d3b04190fa2: Pull complete [2024-07-19T19:02:55.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-19T19:02:55.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-19T19:02:55.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T19:02:55.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/60/head:refs/remotes/origin/PR-60 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-19T19:02:56.176Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T19:02:56.247Z] > git checkout -f 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f # timeout=10 [2024-07-19T19:02:56.357Z] > git remote # timeout=10 [2024-07-19T19:02:56.374Z] > git config --get remote.origin.url # timeout=10 [2024-07-19T19:02:56.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T19:02:56.435Z] > git merge 23fe7f8145c8e877725d764251a9ace1cbcd2e57 # timeout=10 [2024-07-19T19:02:56.469Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-19T19:02:56.497Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T19:02:56.531Z] > git checkout -f 1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f # timeout=10 [2024-07-19T19:02:57.247Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-19T19:02:57.295Z] > git --version # timeout=10 [2024-07-19T19:02:57.315Z] > git --version # 'git version 2.25.1' [2024-07-19T19:02:57.343Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T19:03:01.265Z] 2f39f015ded8: Pull complete [2024-07-19T19:03:01.265Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-19T19:03:01.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T19:03:01.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:03:01.522Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2024-07-19T19:03:01.534Z] [2024-07-19T19:03:01.534Z] GitHub has been notified of this commit’s build result [2024-07-19T19:03:01.534Z] [2024-07-19T19:03:01.553Z] $ 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-60 -v /w/workspace/edgexfoundry_device-uart_PR-60:/w/workspace/edgexfoundry_device-uart_PR-60:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-60@tmp:/w/workspace/edgexfoundry_device-uart_PR-60@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-07-19T19:03:02.739Z] $ docker top 892822e5589113ed4da22514480e77b025251507e2d72eccb0c2356031f29b2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-07-19T19:03:03.226Z] ---> job-cost.sh [2024-07-19T19:03:03.226Z] lf-activate-venv: SKIPPING [2024-07-19T19:03:03.226Z] INFO: No Stack... [Pipeline] sh [2024-07-19T19:03:03.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T19:03:03.743Z] INFO: Archiving Costs [2024-07-19T19:03:03.767Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-19T19:03:03.767Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T19:03:03.767Z] Dload Upload Total Spent Left Speed [2024-07-19T19:03:03.767Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 80679 100 12828 100 12828 0 0 80175 0 --:--:-- --:--:-- --:--:-- 79677 [Pipeline] sh [Pipeline] sh [2024-07-19T19:03:04.061Z] + cat /w/workspace/edgexfoundry_device-uart_PR-60/archives/cost.csv [2024-07-19T19:03:04.061Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T19:03:04.113Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [2024-07-19T19:03:04.119Z] Resource [jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] did not exist. Created. [2024-07-19T19:03:04.126Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [Pipeline] { [2024-07-19T19:03:04.186Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2024-07-19T19:03:04.589Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-07-19T19:03:04.589Z] /etc/docker/daemon.json [2024-07-19T19:03:04.589Z] { [2024-07-19T19:03:04.589Z] "registry-mirrors": [ [2024-07-19T19:03:04.589Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-19T19:03:04.589Z] ], [2024-07-19T19:03:04.589Z] "bip": "10.250.0.254/24", [2024-07-19T19:03:04.589Z] "hosts": [ [2024-07-19T19:03:04.589Z] "tcp://0.0.0.0:5555", [2024-07-19T19:03:04.589Z] "unix:///var/run/docker.sock" [2024-07-19T19:03:04.589Z] ], [2024-07-19T19:03:04.589Z] "mtu": 1458, [2024-07-19T19:03:04.589Z] "selinux-enabled": true, [2024-07-19T19:03:04.589Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-19T19:03:04.589Z] } [Pipeline] sh [2024-07-19T19:03:04.628Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-19T19:03:04.754Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T19:03:04.792Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T19:03:04.885Z] $ docker stop --time=1 892822e5589113ed4da22514480e77b025251507e2d72eccb0c2356031f29b2c [2024-07-19T19:03:04.932Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-07-19T19:03:06.034Z] $ docker rm -f --volumes 892822e5589113ed4da22514480e77b025251507e2d72eccb0c2356031f29b2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2024-07-19T19:03:06.483Z] + sudo service docker restart [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T19:03:24.780Z] provisioning config files... [2024-07-19T19:03:24.803Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config4314291649830226745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:03:25.301Z] ---> ****-login.sh [2024-07-19T19:03:25.301Z] nexus3.edgexfoundry.org:10001 [2024-07-19T19:03:25.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:03:25.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:03:25.846Z] Configure a credential helper to remove this warning. See [2024-07-19T19:03:25.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:03:25.846Z] [2024-07-19T19:03:25.846Z] Login Succeeded [2024-07-19T19:03:25.846Z] nexus3.edgexfoundry.org:10002 [2024-07-19T19:03:26.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:03:26.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:03:26.388Z] Configure a credential helper to remove this warning. See [2024-07-19T19:03:26.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:03:26.388Z] [2024-07-19T19:03:26.388Z] Login Succeeded [2024-07-19T19:03:26.388Z] nexus3.edgexfoundry.org:10003 [2024-07-19T19:03:26.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:03:26.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:03:26.664Z] Configure a credential helper to remove this warning. See [2024-07-19T19:03:26.664Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:03:26.664Z] [2024-07-19T19:03:26.664Z] Login Succeeded [2024-07-19T19:03:26.664Z] nexus3.edgexfoundry.org:10004 [2024-07-19T19:03:26.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:03:26.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:03:26.937Z] Configure a credential helper to remove this warning. See [2024-07-19T19:03:26.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:03:26.938Z] [2024-07-19T19:03:26.938Z] Login Succeeded [2024-07-19T19:03:26.938Z] ****.io [2024-07-19T19:03:27.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T19:03:27.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T19:03:27.473Z] Configure a credential helper to remove this warning. See [2024-07-19T19:03:27.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T19:03:27.473Z] [2024-07-19T19:03:27.473Z] Login Succeeded [2024-07-19T19:03:27.473Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T19:03:27.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T19:03:27.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T19:03:28.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T19:03:28.064Z] ========================================================= [2024-07-19T19:03:28.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-19T19:03:28.064Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:03:28.609Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-19T19:03:28.876Z] Sending build context to Docker daemon 12.83MB [2024-07-19T19:03:29.144Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T19:03:29.144Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T19:03:29.144Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-19T19:03:29.144Z] c6b39de5b339: Pulling fs layer [2024-07-19T19:03:29.144Z] a69c41024577: Pulling fs layer [2024-07-19T19:03:29.144Z] d6de4b400683: Pulling fs layer [2024-07-19T19:03:29.144Z] 35cb2a7552d0: Pulling fs layer [2024-07-19T19:03:29.144Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T19:03:29.144Z] 464afbd9ba4c: Pulling fs layer [2024-07-19T19:03:29.144Z] 00f215d4a9da: Pulling fs layer [2024-07-19T19:03:29.144Z] d496ad576159: Pulling fs layer [2024-07-19T19:03:29.144Z] 35cb2a7552d0: Waiting [2024-07-19T19:03:29.144Z] 4f4fb700ef54: Waiting [2024-07-19T19:03:29.144Z] 464afbd9ba4c: Waiting [2024-07-19T19:03:29.144Z] 00f215d4a9da: Waiting [2024-07-19T19:03:29.144Z] d496ad576159: Waiting [2024-07-19T19:03:29.144Z] a69c41024577: Verifying Checksum [2024-07-19T19:03:29.144Z] a69c41024577: Download complete [2024-07-19T19:03:29.144Z] 35cb2a7552d0: Verifying Checksum [2024-07-19T19:03:29.144Z] 35cb2a7552d0: Download complete [2024-07-19T19:03:29.144Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T19:03:29.144Z] 4f4fb700ef54: Download complete [2024-07-19T19:03:29.144Z] 464afbd9ba4c: Verifying Checksum [2024-07-19T19:03:29.144Z] 464afbd9ba4c: Download complete [2024-07-19T19:03:29.412Z] c6b39de5b339: Download complete [2024-07-19T19:03:29.683Z] d496ad576159: Verifying Checksum [2024-07-19T19:03:29.683Z] d496ad576159: Download complete [2024-07-19T19:03:30.277Z] c6b39de5b339: Pull complete [2024-07-19T19:03:30.546Z] a69c41024577: Pull complete [2024-07-19T19:03:31.131Z] d6de4b400683: Verifying Checksum [2024-07-19T19:03:31.131Z] d6de4b400683: Download complete [2024-07-19T19:03:32.095Z] 00f215d4a9da: Verifying Checksum [2024-07-19T19:03:32.095Z] 00f215d4a9da: Download complete [2024-07-19T19:03:44.414Z] d6de4b400683: Pull complete [2024-07-19T19:03:44.414Z] 35cb2a7552d0: Pull complete [2024-07-19T19:03:44.414Z] 4f4fb700ef54: Pull complete [2024-07-19T19:03:44.414Z] 464afbd9ba4c: Pull complete [2024-07-19T19:03:52.631Z] 00f215d4a9da: Pull complete [2024-07-19T19:03:54.052Z] d496ad576159: Pull complete [2024-07-19T19:03:54.052Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-19T19:03:54.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-19T19:03:54.052Z] ---> f246e2811388 [2024-07-19T19:03:54.052Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T19:03:56.006Z] ---> Running in 36530791afc5 [2024-07-19T19:03:56.007Z] Removing intermediate container 36530791afc5 [2024-07-19T19:03:56.007Z] ---> d2cebdbcff9f [2024-07-19T19:03:56.007Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T19:03:56.280Z] ---> Running in 7551ffb38a75 [2024-07-19T19:03:56.548Z] Removing intermediate container 7551ffb38a75 [2024-07-19T19:03:56.548Z] ---> 35ec25e8d548 [2024-07-19T19:03:56.548Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T19:03:56.548Z] ---> Running in 5bca64caf8aa [2024-07-19T19:03:56.815Z] Removing intermediate container 5bca64caf8aa [2024-07-19T19:03:56.815Z] ---> 6f01e8b23a09 [2024-07-19T19:03:56.815Z] Step 6/12 : WORKDIR /device-uart [2024-07-19T19:03:56.815Z] ---> Running in 828903338c00 [2024-07-19T19:03:57.088Z] Removing intermediate container 828903338c00 [2024-07-19T19:03:57.088Z] ---> 9c8fd29f689c [2024-07-19T19:03:57.088Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T19:03:57.088Z] ---> Running in f1459d91f208 [2024-07-19T19:03:58.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T19:03:58.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T19:03:59.732Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T19:03:59.732Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T19:03:59.732Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T19:03:59.732Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T19:03:59.732Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T19:03:59.732Z] OK: 271 MiB in 56 packages [2024-07-19T19:04:00.696Z] Removing intermediate container f1459d91f208 [2024-07-19T19:04:00.696Z] ---> 916112b61805 [2024-07-19T19:04:00.696Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-19T19:04:01.281Z] ---> 40f43494c8c6 [2024-07-19T19:04:01.281Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T19:04:01.281Z] ---> Running in 18c707a40fd4 [2024-07-19T19:05:53.054Z] Removing intermediate container 18c707a40fd4 [2024-07-19T19:05:53.054Z] ---> abba2d32058e [2024-07-19T19:05:53.054Z] Step 10/12 : COPY . . [2024-07-19T19:05:53.054Z] ---> a2dc222ab42f [2024-07-19T19:05:53.054Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T19:05:53.054Z] ---> Running in f5c63666cba6 [2024-07-19T19:05:53.054Z] Removing intermediate container f5c63666cba6 [2024-07-19T19:05:53.054Z] ---> 33c948528dbc [2024-07-19T19:05:53.054Z] Step 12/12 : RUN ${MAKE} [2024-07-19T19:05:53.054Z] ---> Running in 235e327ad035 [2024-07-19T19:05:53.054Z] noop [2024-07-19T19:05:53.054Z] Removing intermediate container 235e327ad035 [2024-07-19T19:05:53.054Z] ---> 9f0278167af8 [2024-07-19T19:05:53.054Z] Successfully built 9f0278167af8 [2024-07-19T19:05:53.054Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:05:53.573Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T19:05:53.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:05:55.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-5960 does not seem to be running inside a container [2024-07-19T19:05:55.458Z] $ 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-07-19T19:05:57.474Z] $ docker top 9a54c47f6822503b70dbd8d860ec3c9612f7db2d1062fac7462c1b1841dd5a85 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T19:05:59.603Z] + go version [2024-07-19T19:05:59.603Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-19T19:05:59.635Z] $ docker stop --time=1 9a54c47f6822503b70dbd8d860ec3c9612f7db2d1062fac7462c1b1841dd5a85 [2024-07-19T19:06:01.488Z] $ docker rm -f --volumes 9a54c47f6822503b70dbd8d860ec3c9612f7db2d1062fac7462c1b1841dd5a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:06:05.425Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T19:06:05.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:06:05.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-5960 does not seem to be running inside a container [2024-07-19T19:06:05.762Z] $ 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-07-19T19:06:06.921Z] $ docker top 33d7c11b01aecf22d7d301af42a280a247b762082c0ec7cbd0df13a9c4377ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T19:06:07.805Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-07-19T19:06:08.510Z] + make test [2024-07-19T19:06:08.510Z] go test ./... -coverprofile=coverage.out [2024-07-19T19:06:13.847Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-19T19:09:20.586Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-19T19:09:20.586Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-19T19:09:20.586Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-19T19:09:20.586Z] go vet ./... [2024-07-19T19:09:59.478Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T19:09:59.478Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T19:09:59.478Z] ./bin/test-attribution-txt.sh [2024-07-19T19:09:59.478Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T19:09:59.478Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T19:09:59.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T19:09:59.555Z] $ docker stop --time=1 33d7c11b01aecf22d7d301af42a280a247b762082c0ec7cbd0df13a9c4377ca2 [2024-07-19T19:10:01.462Z] $ docker rm -f --volumes 33d7c11b01aecf22d7d301af42a280a247b762082c0ec7cbd0df13a9c4377ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T19:10:03.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T19:10:03.094Z] Warning: overwriting stash ‘coverage-report’ [2024-07-19T19:10:03.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T19:10:04.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T19:10:04.453Z] + ls -al . [2024-07-19T19:10:04.453Z] total 220 [2024-07-19T19:10:04.453Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 19 19:06 . [2024-07-19T19:10:04.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 19:02 .. [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 19:02 .dockerignore [2024-07-19T19:10:04.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 19:03 .git [2024-07-19T19:10:04.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:02 .github [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 19 19:02 .gitignore [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 19:02 .golangci.yml [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 19 19:02 Attribution.txt [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 19 19:02 CHANGELOG.md [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 19 19:02 Dockerfile [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 19:02 GOVERNANCE.md [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 19 19:02 Jenkinsfile [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 19:02 LICENSE [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 19 19:02 Makefile [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 19:02 OWNERS.md [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 19 19:02 README.md [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 19:00 VERSION [2024-07-19T19:10:04.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 19:02 bin [2024-07-19T19:10:04.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:02 cmd [2024-07-19T19:10:04.453Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 19 19:06 coverage.out [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 6963 Jul 19 19:02 go.mod [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 101890 Jul 19 19:02 go.sum [2024-07-19T19:10:04.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 19:02 internal [2024-07-19T19:10:04.453Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 19 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:10:04.883Z] + 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=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f --label arch=arm64 --label version=0.0.0 . [2024-07-19T19:10:05.155Z] Sending build context to Docker daemon 12.83MB [2024-07-19T19:10:05.155Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T19:10:05.155Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T19:10:05.155Z] ---> 9f0278167af8 [2024-07-19T19:10:05.155Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T19:10:05.424Z] ---> Running in f7587de5115c [2024-07-19T19:10:05.690Z] Removing intermediate container f7587de5115c [2024-07-19T19:10:05.690Z] ---> 0ae3d588118f [2024-07-19T19:10:05.690Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T19:10:05.690Z] ---> Running in a0f1af337818 [2024-07-19T19:10:05.957Z] Removing intermediate container a0f1af337818 [2024-07-19T19:10:05.958Z] ---> eba986343936 [2024-07-19T19:10:05.958Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T19:10:06.228Z] ---> Running in 4d7f23f3daf7 [2024-07-19T19:10:06.494Z] Removing intermediate container 4d7f23f3daf7 [2024-07-19T19:10:06.494Z] ---> 05e9a12c83fa [2024-07-19T19:10:06.494Z] Step 6/26 : WORKDIR /device-uart [2024-07-19T19:10:06.494Z] ---> Running in db6fcc2c92c9 [2024-07-19T19:10:06.763Z] Removing intermediate container db6fcc2c92c9 [2024-07-19T19:10:06.763Z] ---> fbc21a270032 [2024-07-19T19:10:06.763Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T19:10:06.763Z] ---> Running in 09400f71d800 [2024-07-19T19:10:07.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T19:10:08.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T19:10:09.265Z] OK: 271 MiB in 56 packages [2024-07-19T19:10:09.847Z] Removing intermediate container 09400f71d800 [2024-07-19T19:10:09.848Z] ---> 92fedbc5ca40 [2024-07-19T19:10:09.848Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-19T19:10:10.428Z] ---> 991bb064d2ed [2024-07-19T19:10:10.428Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T19:10:10.428Z] ---> Running in 6d56af2e3a00 [2024-07-19T19:10:12.373Z] Removing intermediate container 6d56af2e3a00 [2024-07-19T19:10:12.373Z] ---> c735adce9ab4 [2024-07-19T19:10:12.373Z] Step 10/26 : COPY . . [2024-07-19T19:10:13.797Z] ---> 4a633499c1c7 [2024-07-19T19:10:13.797Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T19:10:13.797Z] ---> Running in 70d943c2ae9f [2024-07-19T19:10:13.797Z] Removing intermediate container 70d943c2ae9f [2024-07-19T19:10:13.797Z] ---> 452a0e084685 [2024-07-19T19:10:13.797Z] Step 12/26 : RUN ${MAKE} [2024-07-19T19:10:13.797Z] ---> Running in aefee4d5a540 [2024-07-19T19:10:14.761Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-19T19:13:36.837Z] Removing intermediate container aefee4d5a540 [2024-07-19T19:13:36.837Z] ---> 6a21348adc5d [2024-07-19T19:13:36.837Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T19:13:36.837Z] 3.18: Pulling from library/alpine [2024-07-19T19:13:36.837Z] 5c905c7ebe2f: Pulling fs layer [2024-07-19T19:13:36.837Z] 5c905c7ebe2f: Verifying Checksum [2024-07-19T19:13:36.837Z] 5c905c7ebe2f: Download complete [2024-07-19T19:13:36.837Z] 5c905c7ebe2f: Pull complete [2024-07-19T19:13:36.837Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T19:13:36.837Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T19:13:36.837Z] ---> dec292d02e07 [2024-07-19T19:13:36.837Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-19T19:13:36.837Z] ---> Running in 47a0e72ee559 [2024-07-19T19:13:36.837Z] Removing intermediate container 47a0e72ee559 [2024-07-19T19:13:36.837Z] ---> 32611840b22e [2024-07-19T19:13:36.837Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T19:13:36.837Z] ---> Running in 14581493699e [2024-07-19T19:13:36.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T19:13:36.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T19:13:36.837Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T19:13:36.837Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T19:13:36.837Z] OK: 8 MiB in 16 packages [2024-07-19T19:13:36.837Z] Removing intermediate container 14581493699e [2024-07-19T19:13:36.837Z] ---> 428713283c04 [2024-07-19T19:13:36.837Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-19T19:13:36.837Z] ---> Running in 9bdb42349c4c [2024-07-19T19:13:36.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T19:13:36.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T19:13:36.837Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T19:13:36.837Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T19:13:36.837Z] OK: 8 MiB in 16 packages [2024-07-19T19:13:37.874Z] Removing intermediate container 9bdb42349c4c [2024-07-19T19:13:37.874Z] ---> c408c98d1533 [2024-07-19T19:13:37.874Z] Step 17/26 : WORKDIR / [2024-07-19T19:13:37.874Z] ---> Running in 3253bc9e7281 [2024-07-19T19:13:38.188Z] Removing intermediate container 3253bc9e7281 [2024-07-19T19:13:38.188Z] ---> 8d8443643b1e [2024-07-19T19:13:38.188Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-19T19:13:38.811Z] ---> 3119585dc597 [2024-07-19T19:13:38.811Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-19T19:13:39.109Z] ---> 2a93ca87d1c4 [2024-07-19T19:13:39.109Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-19T19:13:41.250Z] ---> 77015163df03 [2024-07-19T19:13:41.250Z] Step 21/26 : EXPOSE 59995 [2024-07-19T19:13:41.250Z] ---> Running in b5d47c6a80ab [2024-07-19T19:13:41.567Z] Removing intermediate container b5d47c6a80ab [2024-07-19T19:13:41.567Z] ---> 13fbfc0741e1 [2024-07-19T19:13:41.567Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-19T19:13:41.567Z] ---> Running in 07c1af34ccc2 [2024-07-19T19:13:41.905Z] Removing intermediate container 07c1af34ccc2 [2024-07-19T19:13:41.905Z] ---> f74975fcab0d [2024-07-19T19:13:41.905Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T19:13:41.905Z] ---> Running in 8ad75cb724b7 [2024-07-19T19:13:42.217Z] Removing intermediate container 8ad75cb724b7 [2024-07-19T19:13:42.217Z] ---> 8b6d6d4cb012 [2024-07-19T19:13:42.217Z] Step 24/26 : LABEL arch=arm64 [2024-07-19T19:13:42.217Z] ---> Running in 1de70d15b8d6 [2024-07-19T19:13:42.578Z] Removing intermediate container 1de70d15b8d6 [2024-07-19T19:13:42.578Z] ---> 2717041ea619 [2024-07-19T19:13:42.578Z] Step 25/26 : LABEL git_sha=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [2024-07-19T19:13:42.578Z] ---> Running in 0ad7a5583e31 [2024-07-19T19:13:42.870Z] Removing intermediate container 0ad7a5583e31 [2024-07-19T19:13:42.870Z] ---> 86523d76efbe [2024-07-19T19:13:42.870Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T19:13:43.191Z] ---> Running in 57e229ed09dc [2024-07-19T19:13:43.508Z] Removing intermediate container 57e229ed09dc [2024-07-19T19:13:43.508Z] ---> 7fa63b8450d0 [2024-07-19T19:13:43.508Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T19:13:43.508Z] Successfully built 7fa63b8450d0 [2024-07-19T19:13:43.508Z] 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-07-19T19:13:45.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T19:13:45.842Z] [2024-07-19T19:13:45.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:13:46.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T19:13:46.666Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-19T19:13:46.666Z] 8998bd30e6a1: Pulling fs layer [2024-07-19T19:13:46.666Z] 04944245beec: Pulling fs layer [2024-07-19T19:13:46.666Z] 699f458cf7ca: Pulling fs layer [2024-07-19T19:13:46.666Z] 765212b225bb: Pulling fs layer [2024-07-19T19:13:46.666Z] f23df028b6ca: Pulling fs layer [2024-07-19T19:13:46.666Z] d65c8cfc05b1: Pulling fs layer [2024-07-19T19:13:46.666Z] 2437ff75d9bd: Pulling fs layer [2024-07-19T19:13:46.666Z] f23df028b6ca: Waiting [2024-07-19T19:13:46.666Z] d65c8cfc05b1: Waiting [2024-07-19T19:13:46.666Z] 765212b225bb: Waiting [2024-07-19T19:13:46.666Z] 2437ff75d9bd: Waiting [2024-07-19T19:13:46.666Z] 04944245beec: Verifying Checksum [2024-07-19T19:13:46.666Z] 04944245beec: Download complete [2024-07-19T19:13:46.983Z] 765212b225bb: Verifying Checksum [2024-07-19T19:13:46.983Z] 765212b225bb: Download complete [2024-07-19T19:13:46.983Z] f23df028b6ca: Verifying Checksum [2024-07-19T19:13:46.983Z] f23df028b6ca: Download complete [2024-07-19T19:13:46.983Z] d65c8cfc05b1: Verifying Checksum [2024-07-19T19:13:46.983Z] d65c8cfc05b1: Download complete [2024-07-19T19:13:46.983Z] 699f458cf7ca: Verifying Checksum [2024-07-19T19:13:46.983Z] 699f458cf7ca: Download complete [2024-07-19T19:13:47.649Z] 8998bd30e6a1: Verifying Checksum [2024-07-19T19:13:47.649Z] 8998bd30e6a1: Download complete [2024-07-19T19:13:49.795Z] 2437ff75d9bd: Verifying Checksum [2024-07-19T19:13:49.795Z] 2437ff75d9bd: Download complete [2024-07-19T19:13:51.897Z] 8998bd30e6a1: Pull complete [2024-07-19T19:13:52.528Z] 04944245beec: Pull complete [2024-07-19T19:13:54.093Z] 699f458cf7ca: Pull complete [2024-07-19T19:13:54.396Z] 765212b225bb: Pull complete [2024-07-19T19:13:55.083Z] f23df028b6ca: Pull complete [2024-07-19T19:13:55.386Z] d65c8cfc05b1: Pull complete [2024-07-19T19:14:14.057Z] 2437ff75d9bd: Pull complete [2024-07-19T19:14:14.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-19T19:14:14.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T19:14:14.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:14:14.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-5960 does not seem to be running inside a container [2024-07-19T19:14:15.047Z] $ 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-07-19T19:14:17.616Z] $ docker top 7f3e539d0232124d9dd9c94c5ef916a671993de6181c698ffc3b37c5ce57e160 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:18.847Z] ---> job-cost.sh [2024-07-19T19:14:18.847Z] lf-activate-venv: SKIPPING [2024-07-19T19:14:18.847Z] INFO: No Stack... [2024-07-19T19:14:19.455Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-19T19:14:20.080Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T19:14:20.558Z] + cat+ /w/workspace/device-uart/1/archives/cost.csv [2024-07-19T19:14:20.558Z] cut -d, -f6 [Pipeline] lock [2024-07-19T19:14:20.797Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [2024-07-19T19:14:20.842Z] Resource [jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] did not exist. Created. [2024-07-19T19:14:20.874Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T19:14:21.683Z] /w/workspace/device-uart/1@tmp/durable-841286f4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-19T19:14:22.211Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-19T19:14:22.357Z] Warning: overwriting stash ‘stack-cost’ [2024-07-19T19:14:22.414Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T19:14:22.555Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-60-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T19:14:22.779Z] $ docker stop --time=1 7f3e539d0232124d9dd9c94c5ef916a671993de6181c698ffc3b37c5ce57e160 [2024-07-19T19:14:24.277Z] $ docker rm -f --volumes 7f3e539d0232124d9dd9c94c5ef916a671993de6181c698ffc3b37c5ce57e160 [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-07-19T19:14:27.301Z] provisioning config files... [2024-07-19T19:14:27.331Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-60@tmp/config4134058498098412453tmp [Pipeline] { [Pipeline] sh [2024-07-19T19:14:27.954Z] + set +x [2024-07-19T19:14:27.954Z] + bash -s -- [2024-07-19T19:14:27.954Z] + curl -s https://codecov.io/bash [2024-07-19T19:14:28.246Z] [2024-07-19T19:14:28.246Z] _____ _ [2024-07-19T19:14:28.246Z] / ____| | | [2024-07-19T19:14:28.246Z] | | ___ __| | ___ ___ _____ __ [2024-07-19T19:14:28.246Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-19T19:14:28.246Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-19T19:14:28.246Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-19T19:14:28.246Z] Bash-1.0.6 [2024-07-19T19:14:28.246Z] [2024-07-19T19:14:28.246Z] [2024-07-19T19:14:28.246Z] ==> git version 2.25.1 found [2024-07-19T19:14:28.246Z] ==> 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-07-19T19:14:28.246Z] Release-Date: 2020-01-08 [2024-07-19T19:14:28.246Z] 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-07-19T19:14:28.246Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-19T19:14:28.246Z] ==> Jenkins CI detected. [2024-07-19T19:14:28.246Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-60 [2024-07-19T19:14:28.246Z] project root: . [2024-07-19T19:14:28.246Z] --> token set from env [2024-07-19T19:14:28.246Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-19T19:14:28.246Z] ==> Running gcov in . (disable via -X gcov) [2024-07-19T19:14:28.246Z] ==> Python coveragepy not found [2024-07-19T19:14:28.246Z] ==> Searching for coverage reports in: [2024-07-19T19:14:28.246Z] + . [2024-07-19T19:14:28.246Z] -> Found 1 reports [2024-07-19T19:14:28.246Z] ==> Detecting git/mercurial file structure [2024-07-19T19:14:28.246Z] ==> Reading reports [2024-07-19T19:14:28.246Z] + ./coverage.out bytes=10 [2024-07-19T19:14:28.246Z] ==> Appending adjustments [2024-07-19T19:14:28.246Z] https://docs.codecov.io/docs/fixing-reports [2024-07-19T19:14:28.246Z] + Found adjustments [2024-07-19T19:14:28.246Z] ==> Gzipping contents [2024-07-19T19:14:28.246Z] 4.0K /tmp/codecov.LfOQFk.gz [2024-07-19T19:14:28.246Z] ==> Uploading reports [2024-07-19T19:14:28.246Z] url: https://codecov.io [2024-07-19T19:14:28.246Z] query: branch=PR-60&commit=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-60%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=60&job=&cmd_args= [2024-07-19T19:14:28.246Z] -> Pinging Codecov [2024-07-19T19:14:28.246Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-60&commit=1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-60%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=60&job=&cmd_args= [2024-07-19T19:14:28.901Z] -> Uploading to [2024-07-19T19:14:28.901Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-19/B9AA6E0BBD74AE3A32605C7A7C664919/1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f/0ced981e-4c5d-46ea-a2e6-4bf758d313f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T191428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2803335e0433e33d8904b13c71f7a048b7be37167dfce09a7022e3304c30eaa1 [2024-07-19T19:14:28.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T19:14:28.901Z] Dload Upload Total Spent Left Speed [2024-07-19T19:14:29.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2451 --:--:-- --:--:-- --:--:-- 2451 [2024-07-19T19:14:29.209Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/1e5c09eefd7ab65ee35abdfbdc56e816408e5d6f [Pipeline] } [2024-07-19T19:14:29.313Z] 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-07-19T19:14:35.812Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-60/archives ] [2024-07-19T19:14:35.812Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-60/archives [2024-07-19T19:14:35.812Z] total 16 [2024-07-19T19:14:35.812Z] drwxr-xr-x 3 root root 4096 Jul 19 19:03 . [2024-07-19T19:14:35.812Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 19:03 .. [2024-07-19T19:14:35.812Z] drwxr-xr-x 2 root root 4096 Jul 19 19:03 cost [2024-07-19T19:14:35.812Z] -rw-r--r-- 1 root root 82 Jul 19 19:03 cost.csv [2024-07-19T19:14:35.812Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-60/archives [2024-07-19T19:14:35.812Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-60/archives [2024-07-19T19:14:35.812Z] total 16 [2024-07-19T19:14:35.812Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 19:03 . [2024-07-19T19:14:35.812Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 19:03 .. [2024-07-19T19:14:35.812Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 19:03 cost [2024-07-19T19:14:35.812Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 19 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:36.367Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:37.260Z] ---> package-listing.sh [2024-07-19T19:14:37.260Z] ++ facter osfamily [2024-07-19T19:14:37.260Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-19T19:14:37.260Z] + OS_FAMILY=debian [2024-07-19T19:14:37.260Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-60 [2024-07-19T19:14:37.260Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-19T19:14:37.260Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-19T19:14:37.260Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-19T19:14:37.260Z] + PACKAGES=/tmp/packages_start.txt [2024-07-19T19:14:37.260Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-60 ']' [2024-07-19T19:14:37.260Z] + PACKAGES=/tmp/packages_end.txt [2024-07-19T19:14:37.260Z] + case "${OS_FAMILY}" in [2024-07-19T19:14:37.260Z] + dpkg -l [2024-07-19T19:14:37.260Z] + grep '^ii' [2024-07-19T19:14:37.558Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-19T19:14:37.558Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-19T19:14:37.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-19T19:14:37.558Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-60 ']' [2024-07-19T19:14:37.558Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-60/archives/ [2024-07-19T19:14:37.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-60/archives/ [Pipeline] echo [2024-07-19T19:14:37.681Z] 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-60/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-19T19:14:38.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T19:14:38.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T19:14:38.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T19:14:39.547Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2024-07-19T19:14:39.688Z] $ 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-60/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-60 -v /w/workspace/edgexfoundry_device-uart_PR-60:/w/workspace/edgexfoundry_device-uart_PR-60:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-60@tmp:/w/workspace/edgexfoundry_device-uart_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-19T19:14:39.893Z] $ docker top 9b43af5bdd436a524f80abcc08ee4953d13780ac5d13eb184f2c518b15a2a4b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T19:14:40.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-19T19:14:41.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-19T19:14:41.579Z] + ls /var/log/sa-host [2024-07-19T19:14:41.579Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T19:14:42.073Z] provisioning config files... [2024-07-19T19:14:42.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-60@tmp/config5731323024152218325tmp [Pipeline] { [Pipeline] echo [2024-07-19T19:14:42.312Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:42.894Z] ---> create-netrc.sh [Pipeline] } [2024-07-19T19:14:43.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:43.739Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-19T19:14:43.883Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:44.468Z] ---> sudo-logs.sh [2024-07-19T19:14:44.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-19T19:14:44.872Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:45.398Z] ---> job-cost.sh [2024-07-19T19:14:45.398Z] lf-activate-venv: SKIPPING [2024-07-19T19:14:45.398Z] DEBUG: total: 0.2199999988079071 [2024-07-19T19:14:45.398Z] INFO: Retrieving Stack Cost... [2024-07-19T19:14:45.686Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T19:14:45.997Z] INFO: Archiving Costs [Pipeline] echo [2024-07-19T19:14:46.112Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T19:14:46.750Z] ---> logs-deploy.sh [2024-07-19T19:14:46.750Z] lf-activate-venv: SKIPPING [2024-07-19T19:14:46.750Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-60/1 [2024-07-19T19:14:46.750Z] INFO: archiving workspace using pattern(s): [2024-07-19T19:14:47.443Z] Archives upload complete. [2024-07-19T19:14:47.761Z] INFO: archiving logs to Nexus