Pull request #58 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37b1e9587454122e807d9d51f35834d0303e66e2+f8749581d9de8ec9f8c1a4606090d5570a6645d2 (5ccde4e47c8c5e55e00b215ea8268a46a3585c46) 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-ssh16452408574717715428.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-ssh13673512074712007606.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-58/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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7839031102812508093.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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10381220742258564298.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-ssh13477871863439346556.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-58/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-58/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16255068510939167698.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-5465 in /w/workspace/edgexfoundry_device-uart_PR-58 [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-58 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f8749581d9de8ec9f8c1a4606090d5570a6645d2 into PR head commit 37b1e9587454122e807d9d51f35834d0303e66e2 Merge succeeded, producing 37b1e9587454122e807d9d51f35834d0303e66e2 Checking out Revision 37b1e9587454122e807d9d51f35834d0303e66e2 (PR-58) 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 config core.sparsecheckout # timeout=10 > git checkout -f 37b1e9587454122e807d9d51f35834d0303e66e2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f8749581d9de8ec9f8c1a4606090d5570a6645d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37b1e9587454122e807d9d51f35834d0303e66e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-12T18:35:33.030Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-12T18:35:33.279Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-12T18:35:33.410Z] ========================================================= [2024-07-12T18:35:33.410Z] EdgeX Global Pipelines Version Info [2024-07-12T18:35:33.410Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:35:34.173Z] ------------------- [2024-07-12T18:35:34.173Z] stable info: [2024-07-12T18:35:34.173Z] ------------------- [2024-07-12T18:35:34.173Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T18:35:34.173Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-12T18:35:34.173Z] Message: update stable to v1.0.260 [2024-07-12T18:35:34.742Z] ------------------- [2024-07-12T18:35:34.742Z] experimental info: [2024-07-12T18:35:34.742Z] ------------------- [2024-07-12T18:35:34.742Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T18:35:34.742Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-12T18:35:34.742Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-12T18:35:34.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-07-12T18:35:35.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-07-12T18:35:35.088Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-12T18:35:35.148Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-12T18:35:35.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-12T18:35:35.267Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-12T18:35:35.327Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-12T18:35:35.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-12T18:35:35.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-12T18:35:35.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-12T18:35:35.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-12T18:35:35.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-07-12T18:35:35.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-12T18:35:35.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-12T18:35:36.030Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T18:35:36.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T18:35:36.149Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T18:35:36.213Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T18:35:36.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-12T18:35:36.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-12T18:35:36.423Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-12T18:35:36.487Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-12T18:35:36.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-12T18:35:36.617Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-12T18:35:36.683Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-12T18:35:36.743Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-12T18:35:36.805Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-12T18:35:36.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo [2024-07-12T18:35:36.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo [2024-07-12T18:35:36.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo [2024-07-12T18:35:37.055Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37b1e9587454122e807d9d51f35834d0303e66e2 [Pipeline] echo [2024-07-12T18:35:37.125Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37b1e95 [Pipeline] echo [2024-07-12T18:35:37.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T18:35:37.341Z] provisioning config files... [2024-07-12T18:35:37.356Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-58@tmp/config12446824534397877255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:35:37.754Z] ---> ****-login.sh [2024-07-12T18:35:37.754Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:35:38.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:38.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:38.015Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:38.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:38.015Z] [2024-07-12T18:35:38.015Z] Login Succeeded [2024-07-12T18:35:38.015Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:35:38.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:38.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:38.277Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:38.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:38.277Z] [2024-07-12T18:35:38.277Z] Login Succeeded [2024-07-12T18:35:38.277Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:35:38.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:38.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:38.277Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:38.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:38.277Z] [2024-07-12T18:35:38.277Z] Login Succeeded [2024-07-12T18:35:38.277Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:35:38.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:38.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:38.537Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:38.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:38.537Z] [2024-07-12T18:35:38.537Z] Login Succeeded [2024-07-12T18:35:38.537Z] ****.io [2024-07-12T18:35:38.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:38.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:38.799Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:38.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:38.799Z] [2024-07-12T18:35:38.799Z] Login Succeeded [2024-07-12T18:35:38.799Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:35:38.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-12T18:35:39.540Z] + git rev-list -1 --merges 37b1e9587454122e807d9d51f35834d0303e66e2~1..37b1e9587454122e807d9d51f35834d0303e66e2 [Pipeline] echo [2024-07-12T18:35:39.587Z] -----------> git rev-list -1 --merges 37b1e9587454122e807d9d51f35834d0303e66e2~1..37b1e9587454122e807d9d51f35834d0303e66e2 37b1e9587454122e807d9d51f35834d0303e66e2 [false] [Pipeline] sh [2024-07-12T18:35:39.909Z] + git log --format=format:%s -1 37b1e9587454122e807d9d51f35834d0303e66e2 [Pipeline] echo [2024-07-12T18:35:39.953Z] ========================================================= [2024-07-12T18:35:39.953Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-12T18:35:39.953Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T18:35:40.440Z] + git log --format=format:%s -1 37b1e9587454122e807d9d51f35834d0303e66e2 [Pipeline] echo [2024-07-12T18:35:40.483Z] [semverPrep] GIT_COMMIT: 37b1e9587454122e807d9d51f35834d0303e66e2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-12T18:35:40.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-12T18:35:40.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T18:35:40.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-12T18:35:40.955Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-12T18:35:40.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-12T18:35:40.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-12T18:35:40.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-12T18:35:40.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:35:41.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:35:41.502Z] [2024-07-12T18:35:41.502Z] 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-12T18:35:41.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:35:41.942Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-12T18:35:41.942Z] b85a868b505f: Pulling fs layer [2024-07-12T18:35:41.942Z] e2be974225ed: Pulling fs layer [2024-07-12T18:35:41.942Z] 339a4e72a1f5: Pulling fs layer [2024-07-12T18:35:41.942Z] 988bab9f4d93: Pulling fs layer [2024-07-12T18:35:41.942Z] 1469e6f7b9e6: Pulling fs layer [2024-07-12T18:35:41.942Z] eaf3925da568: Pulling fs layer [2024-07-12T18:35:41.942Z] bab4dde63d76: Pulling fs layer [2024-07-12T18:35:41.942Z] bde34c3a00c8: Pulling fs layer [2024-07-12T18:35:41.942Z] b352a97aabf1: Pulling fs layer [2024-07-12T18:35:41.942Z] 4872d77fe225: Pulling fs layer [2024-07-12T18:35:41.942Z] 5851b861e8e6: Pulling fs layer [2024-07-12T18:35:41.942Z] bde34c3a00c8: Waiting [2024-07-12T18:35:41.942Z] b352a97aabf1: Waiting [2024-07-12T18:35:41.942Z] 1469e6f7b9e6: Waiting [2024-07-12T18:35:41.942Z] bab4dde63d76: Waiting [2024-07-12T18:35:41.942Z] 4872d77fe225: Waiting [2024-07-12T18:35:41.942Z] 5851b861e8e6: Waiting [2024-07-12T18:35:41.942Z] eaf3925da568: Waiting [2024-07-12T18:35:41.942Z] e2be974225ed: Verifying Checksum [2024-07-12T18:35:41.942Z] e2be974225ed: Download complete [2024-07-12T18:35:41.942Z] 988bab9f4d93: Verifying Checksum [2024-07-12T18:35:41.942Z] 988bab9f4d93: Download complete [2024-07-12T18:35:42.214Z] 1469e6f7b9e6: Verifying Checksum [2024-07-12T18:35:42.214Z] 1469e6f7b9e6: Download complete [2024-07-12T18:35:42.214Z] eaf3925da568: Verifying Checksum [2024-07-12T18:35:42.214Z] eaf3925da568: Download complete [2024-07-12T18:35:42.214Z] 339a4e72a1f5: Verifying Checksum [2024-07-12T18:35:42.214Z] 339a4e72a1f5: Download complete [2024-07-12T18:35:42.214Z] bde34c3a00c8: Download complete [2024-07-12T18:35:42.214Z] b352a97aabf1: Verifying Checksum [2024-07-12T18:35:42.214Z] b352a97aabf1: Download complete [2024-07-12T18:35:42.214Z] 4872d77fe225: Download complete [2024-07-12T18:35:42.214Z] 5851b861e8e6: Download complete [2024-07-12T18:35:42.214Z] b85a868b505f: Verifying Checksum [2024-07-12T18:35:42.214Z] b85a868b505f: Download complete [2024-07-12T18:35:42.472Z] bab4dde63d76: Verifying Checksum [2024-07-12T18:35:42.472Z] bab4dde63d76: Download complete [2024-07-12T18:35:43.424Z] b85a868b505f: Pull complete [2024-07-12T18:35:43.424Z] e2be974225ed: Pull complete [2024-07-12T18:35:43.993Z] 339a4e72a1f5: Pull complete [2024-07-12T18:35:43.993Z] 988bab9f4d93: Pull complete [2024-07-12T18:35:44.252Z] 1469e6f7b9e6: Pull complete [2024-07-12T18:35:44.252Z] eaf3925da568: Pull complete [2024-07-12T18:35:46.155Z] bab4dde63d76: Pull complete [2024-07-12T18:35:46.155Z] bde34c3a00c8: Pull complete [2024-07-12T18:35:46.155Z] b352a97aabf1: Pull complete [2024-07-12T18:35:46.155Z] 4872d77fe225: Pull complete [2024-07-12T18:35:46.155Z] 5851b861e8e6: Pull complete [2024-07-12T18:35:46.155Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-12T18:35:46.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:35:46.155Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:35:46.446Z] prd-ubuntu20.04-docker-8c-8g-5465 does not seem to be running inside a container [2024-07-12T18:35:46.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-58 -v /w/workspace/edgexfoundry_device-uart_PR-58:/w/workspace/edgexfoundry_device-uart_PR-58:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-58@tmp:/w/workspace/edgexfoundry_device-uart_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T18:35:48.132Z] $ docker top 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 -eo pid,comm [2024-07-12T18:35:48.185Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-12T18:35:48.185Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T18:35:48.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T18:35:48.372Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T18:35:48.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T18:35:48.480Z] $ docker exec 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 ssh-agent [2024-07-12T18:35:48.588Z] SSH_AUTH_SOCK=/tmp/ssh-qXPqzqDuRm8Q/agent.31 [2024-07-12T18:35:48.588Z] SSH_AGENT_PID=37 [2024-07-12T18:35:48.595Z] Running ssh-add (command line suppressed) [2024-07-12T18:35:48.691Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-58@tmp/private_key_7617348934623164254.key (/w/workspace/edgexfoundry_device-uart_PR-58@tmp/private_key_7617348934623164254.key) [2024-07-12T18:35:48.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T18:35:49.068Z] + git tag --points-at HEAD [Pipeline] } [2024-07-12T18:35:49.097Z] $ docker exec --env ******** --env ******** 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 ssh-agent -k [2024-07-12T18:35:49.189Z] unset SSH_AUTH_SOCK; [2024-07-12T18:35:49.190Z] unset SSH_AGENT_PID; [2024-07-12T18:35:49.190Z] echo Agent pid 37 killed; [2024-07-12T18:35:49.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-12T18:35:49.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T18:35:49.319Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T18:35:50.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T18:35:50.281Z] $ docker exec 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 ssh-agent [2024-07-12T18:35:52.445Z] SSH_AUTH_SOCK=/tmp/ssh-BfngTtG0v9mF/agent.72 [2024-07-12T18:35:52.445Z] SSH_AGENT_PID=78 [2024-07-12T18:35:52.451Z] Running ssh-add (command line suppressed) [2024-07-12T18:35:52.551Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-58@tmp/private_key_5271137689234304582.key (/w/workspace/edgexfoundry_device-uart_PR-58@tmp/private_key_5271137689234304582.key) [2024-07-12T18:35:52.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T18:35:52.923Z] + git semver init [2024-07-12T18:35:53.184Z] 2024-07-12 18:35:53,094 [run_init] DEBUG init version:0.0.0 force:False [2024-07-12T18:35:53.184Z] 2024-07-12 18:35:53,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-58/.semver [2024-07-12T18:35:53.184Z] 2024-07-12 18:35:53,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-58/.semver [2024-07-12T18:35:53.184Z] 2024-07-12 18:35:53,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-58/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-58, universal_newlines=False, shell=None, istream=None) [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,416 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-58/.git/info/exclude [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-58/.semver/PR-58 with force:False [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,417 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-58/.semver/PR-58 [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,420 [execute] INFO git cat-file --batch-check [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-58/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,426 [execute] INFO git cat-file --batch [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-58/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T18:35:54.568Z] 2024-07-12 18:35:54,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-58/.semver/PR-58 [2024-07-12T18:35:54.568Z] 0.0.0 [Pipeline] } [2024-07-12T18:35:54.593Z] $ docker exec --env ******** --env ******** 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 ssh-agent -k [2024-07-12T18:35:54.717Z] unset SSH_AUTH_SOCK; [2024-07-12T18:35:54.718Z] unset SSH_AGENT_PID; [2024-07-12T18:35:54.718Z] echo Agent pid 78 killed; [2024-07-12T18:35:54.734Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T18:35:55.236Z] + git semver [Pipeline] } [2024-07-12T18:35:55.525Z] $ docker stop --time=1 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 [2024-07-12T18:35:56.821Z] $ docker rm -f --volumes 1353ac0a3477cfe51021459e4dff285c437c66069e7ac49981a6ddb2aceabd51 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T18:35:57.253Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-12T18:35:57.581Z] Stashed 1 file(s) [Pipeline] echo [2024-07-12T18:35:57.607Z] [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-12T18:35:58.631Z] provisioning config files... [2024-07-12T18:35:58.641Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-58@tmp/config17372638492447529729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:35:59.015Z] ---> ****-login.sh [2024-07-12T18:35:59.015Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:35:59.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:59.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:59.015Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:59.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:59.015Z] [2024-07-12T18:35:59.015Z] Login Succeeded [2024-07-12T18:35:59.015Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:35:59.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:59.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:59.015Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:59.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:59.015Z] [2024-07-12T18:35:59.015Z] Login Succeeded [2024-07-12T18:35:59.016Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:35:59.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:59.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:59.277Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:59.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:59.277Z] [2024-07-12T18:35:59.277Z] Login Succeeded [2024-07-12T18:35:59.277Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:35:59.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:59.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:59.278Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:59.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:59.278Z] [2024-07-12T18:35:59.278Z] Login Succeeded [2024-07-12T18:35:59.278Z] ****.io [2024-07-12T18:35:59.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:35:59.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:35:59.538Z] Configure a credential helper to remove this warning. See [2024-07-12T18:35:59.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:35:59.539Z] [2024-07-12T18:35:59.539Z] Login Succeeded [2024-07-12T18:35:59.539Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:35:59.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T18:35:59.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:35:59.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:35:59.942Z] ========================================================= [2024-07-12T18:35:59.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-12T18:35:59.942Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:36:00.472Z] + 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-12T18:36:00.472Z] Sending build context to Docker daemon 29.08MB [2024-07-12T18:36:00.472Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:36:00.472Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-12T18:36:00.733Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-12T18:36:00.733Z] 619be1103602: Pulling fs layer [2024-07-12T18:36:00.733Z] 7862e08f4a3e: Pulling fs layer [2024-07-12T18:36:00.733Z] 5df492c9dc93: Pulling fs layer [2024-07-12T18:36:00.733Z] 7629e6793208: Pulling fs layer [2024-07-12T18:36:00.733Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T18:36:00.733Z] fb5054dd5b73: Pulling fs layer [2024-07-12T18:36:00.733Z] eeca6798cff9: Pulling fs layer [2024-07-12T18:36:00.733Z] aa269ceb94a6: Pulling fs layer [2024-07-12T18:36:00.733Z] ada007ff1a6a: Pulling fs layer [2024-07-12T18:36:00.733Z] aa269ceb94a6: Waiting [2024-07-12T18:36:00.733Z] 4f4fb700ef54: Waiting [2024-07-12T18:36:00.733Z] fb5054dd5b73: Waiting [2024-07-12T18:36:00.733Z] ada007ff1a6a: Waiting [2024-07-12T18:36:00.733Z] eeca6798cff9: Waiting [2024-07-12T18:36:00.733Z] 7629e6793208: Waiting [2024-07-12T18:36:00.733Z] 7862e08f4a3e: Download complete [2024-07-12T18:36:00.733Z] 7629e6793208: Verifying Checksum [2024-07-12T18:36:00.733Z] 7629e6793208: Download complete [2024-07-12T18:36:00.733Z] 619be1103602: Verifying Checksum [2024-07-12T18:36:00.733Z] 619be1103602: Download complete [2024-07-12T18:36:00.733Z] fb5054dd5b73: Verifying Checksum [2024-07-12T18:36:00.733Z] fb5054dd5b73: Download complete [2024-07-12T18:36:00.733Z] eeca6798cff9: Verifying Checksum [2024-07-12T18:36:00.733Z] eeca6798cff9: Download complete [2024-07-12T18:36:00.733Z] 619be1103602: Pull complete [2024-07-12T18:36:00.993Z] ada007ff1a6a: Verifying Checksum [2024-07-12T18:36:00.993Z] ada007ff1a6a: Download complete [2024-07-12T18:36:00.993Z] 7862e08f4a3e: Pull complete [2024-07-12T18:36:01.252Z] 5df492c9dc93: Verifying Checksum [2024-07-12T18:36:01.252Z] 5df492c9dc93: Download complete [2024-07-12T18:36:01.511Z] aa269ceb94a6: Verifying Checksum [2024-07-12T18:36:01.511Z] aa269ceb94a6: Download complete [2024-07-12T18:36:04.055Z] 5df492c9dc93: Pull complete [2024-07-12T18:36:04.055Z] 7629e6793208: Pull complete [2024-07-12T18:36:04.055Z] 4f4fb700ef54: Pull complete [2024-07-12T18:36:04.055Z] fb5054dd5b73: Pull complete [2024-07-12T18:36:04.055Z] eeca6798cff9: Pull complete [2024-07-12T18:36:06.589Z] aa269ceb94a6: Pull complete [2024-07-12T18:36:06.589Z] ada007ff1a6a: Pull complete [2024-07-12T18:36:06.589Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-12T18:36:06.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-12T18:36:06.850Z] ---> f489d0715acc [2024-07-12T18:36:06.850Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T18:36:08.228Z] ---> Running in f3f0f8fb0a48 [2024-07-12T18:36:08.228Z] Removing intermediate container f3f0f8fb0a48 [2024-07-12T18:36:08.228Z] ---> 06536b1babf0 [2024-07-12T18:36:08.228Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T18:36:08.228Z] ---> Running in 0ff6ced579c7 [2024-07-12T18:36:08.228Z] Removing intermediate container 0ff6ced579c7 [2024-07-12T18:36:08.228Z] ---> 7804f3a484b9 [2024-07-12T18:36:08.228Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-12T18:36:08.487Z] ---> Running in 88a9bb5a0a43 [2024-07-12T18:36:08.487Z] Removing intermediate container 88a9bb5a0a43 [2024-07-12T18:36:08.487Z] ---> 93ecbf15dbb6 [2024-07-12T18:36:08.487Z] Step 6/12 : WORKDIR /device-uart [2024-07-12T18:36:08.487Z] ---> Running in e13df9e1ae49 [2024-07-12T18:36:08.487Z] Removing intermediate container e13df9e1ae49 [2024-07-12T18:36:08.487Z] ---> 674af3df0ac0 [2024-07-12T18:36:08.487Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T18:36:08.487Z] ---> Running in 5a1e168c5ebf [2024-07-12T18:36:08.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T18:36:09.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T18:36:09.315Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-12T18:36:09.315Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-12T18:36:09.315Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-12T18:36:09.574Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-12T18:36:09.574Z] Executing busybox-1.36.1-r5.trigger [2024-07-12T18:36:09.574Z] OK: 268 MiB in 56 packages [2024-07-12T18:36:09.831Z] Removing intermediate container 5a1e168c5ebf [2024-07-12T18:36:09.831Z] ---> ff18a854b2fd [2024-07-12T18:36:09.831Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-12T18:36:09.831Z] ---> 04b45aef327a [2024-07-12T18:36:09.831Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:36:09.831Z] ---> Running in 1746e97a4cd7 [2024-07-12T18:36:13.272Z] Still waiting to schedule task [2024-07-12T18:36:13.272Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-12T18:36:48.562Z] Removing intermediate container 1746e97a4cd7 [2024-07-12T18:36:48.563Z] ---> 3fffb12f5d8a [2024-07-12T18:36:48.563Z] Step 10/12 : COPY . . [2024-07-12T18:36:48.563Z] ---> 67f00a373148 [2024-07-12T18:36:48.563Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T18:36:48.563Z] ---> Running in 6840a5a46210 [2024-07-12T18:36:48.563Z] Removing intermediate container 6840a5a46210 [2024-07-12T18:36:48.563Z] ---> 8ef27b850e45 [2024-07-12T18:36:48.563Z] Step 12/12 : RUN ${MAKE} [2024-07-12T18:36:48.563Z] ---> Running in 3e0684eaaa94 [2024-07-12T18:36:48.563Z] noop [2024-07-12T18:36:48.563Z] Removing intermediate container 3e0684eaaa94 [2024-07-12T18:36:48.563Z] ---> b67afdb48381 [2024-07-12T18:36:48.563Z] Successfully built b67afdb48381 [2024-07-12T18:36:48.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:36:49.064Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T18:36:49.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:36:49.249Z] prd-ubuntu20.04-docker-8c-8g-5465 does not seem to be running inside a container [2024-07-12T18:36:49.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-58 -v /w/workspace/edgexfoundry_device-uart_PR-58:/w/workspace/edgexfoundry_device-uart_PR-58:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-58@tmp:/w/workspace/edgexfoundry_device-uart_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T18:36:49.634Z] $ docker top e1308b0a5b7b51fa1665ee5cf24e146674359d27675a3d37d614103c33dd5368 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:36:50.084Z] + go version [2024-07-12T18:36:50.085Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-12T18:36:50.120Z] $ docker stop --time=1 e1308b0a5b7b51fa1665ee5cf24e146674359d27675a3d37d614103c33dd5368 [2024-07-12T18:36:51.421Z] $ docker rm -f --volumes e1308b0a5b7b51fa1665ee5cf24e146674359d27675a3d37d614103c33dd5368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:36:52.225Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T18:36:52.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:36:52.408Z] prd-ubuntu20.04-docker-8c-8g-5465 does not seem to be running inside a container [2024-07-12T18:36:52.438Z] $ 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-58 -v /w/workspace/edgexfoundry_device-uart_PR-58:/w/workspace/edgexfoundry_device-uart_PR-58:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-58@tmp:/w/workspace/edgexfoundry_device-uart_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T18:36:52.726Z] $ docker top 91eb32f22202de54bbecd78d6ea8789ada8deb047bd3ad0cc6c928383b32aa50 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:36:53.141Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-58 [Pipeline] fileExists [Pipeline] sh [2024-07-12T18:36:53.520Z] + make test [2024-07-12T18:36:53.520Z] go test ./... -coverprofile=coverage.out [2024-07-12T18:36:54.456Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-12T18:37:12.545Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-12T18:37:12.545Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-12T18:37:19.103Z] go vet ./... [2024-07-12T18:37:24.362Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T18:37:24.362Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T18:37:24.362Z] ./bin/test-attribution-txt.sh [2024-07-12T18:37:24.362Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T18:37:24.362Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T18:37:24.363Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T18:37:24.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T18:37:24.443Z] $ docker stop --time=1 91eb32f22202de54bbecd78d6ea8789ada8deb047bd3ad0cc6c928383b32aa50 [2024-07-12T18:37:26.540Z] $ docker rm -f --volumes 91eb32f22202de54bbecd78d6ea8789ada8deb047bd3ad0cc6c928383b32aa50 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T18:37:27.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T18:37:27.236Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-12T18:37:28.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T18:37:28.323Z] + ls -al . [2024-07-12T18:37:28.323Z] total 228 [2024-07-12T18:37:28.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:36 . [2024-07-12T18:37:28.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:35 .. [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 18:35 .dockerignore [2024-07-12T18:37:28.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:37 .git [2024-07-12T18:37:28.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:35 .github [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 18:35 .gitignore [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 18:35 .golangci.yml [2024-07-12T18:37:28.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:35 .semver [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 12 18:35 Attribution.txt [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 12 18:35 CHANGELOG.md [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 12 18:35 Dockerfile [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:35 GOVERNANCE.md [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 18:35 Jenkinsfile [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 18:35 LICENSE [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 18:35 Makefile [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 18:35 OWNERS.md [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 12 18:35 README.md [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 18:35 VERSION [2024-07-12T18:37:28.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:35 bin [2024-07-12T18:37:28.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:35 cmd [2024-07-12T18:37:28.323Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 18:36 coverage.out [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 7070 Jul 12 18:35 go.mod [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 102515 Jul 12 18:35 go.sum [2024-07-12T18:37:28.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:35 internal [2024-07-12T18:37:28.323Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 18:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:37:28.748Z] + 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=37b1e9587454122e807d9d51f35834d0303e66e2 --label arch=amd64 --label version=0.0.0 . [2024-07-12T18:37:28.748Z] Sending build context to Docker daemon 29.09MB [2024-07-12T18:37:28.748Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:37:28.748Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-12T18:37:28.748Z] ---> b67afdb48381 [2024-07-12T18:37:28.748Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T18:37:29.007Z] ---> Running in 03da9103c037 [2024-07-12T18:37:29.007Z] Removing intermediate container 03da9103c037 [2024-07-12T18:37:29.007Z] ---> 310280b8d196 [2024-07-12T18:37:29.007Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T18:37:29.007Z] ---> Running in 6341a3d716e2 [2024-07-12T18:37:29.007Z] Removing intermediate container 6341a3d716e2 [2024-07-12T18:37:29.007Z] ---> ed18c4718826 [2024-07-12T18:37:29.007Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-12T18:37:29.007Z] ---> Running in 5c02f807fbdf [2024-07-12T18:37:29.266Z] Removing intermediate container 5c02f807fbdf [2024-07-12T18:37:29.266Z] ---> 9877ea606bbf [2024-07-12T18:37:29.266Z] Step 6/26 : WORKDIR /device-uart [2024-07-12T18:37:29.266Z] ---> Running in f2b43206792d [2024-07-12T18:37:29.266Z] Removing intermediate container f2b43206792d [2024-07-12T18:37:29.266Z] ---> e83b37a6d8e1 [2024-07-12T18:37:29.266Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T18:37:29.266Z] ---> Running in e98c483ebe46 [2024-07-12T18:37:29.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:29.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:30.044Z] OK: 268 MiB in 56 packages [2024-07-12T18:37:30.304Z] Removing intermediate container e98c483ebe46 [2024-07-12T18:37:30.304Z] ---> cc4d4edadebb [2024-07-12T18:37:30.304Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-12T18:37:30.304Z] ---> 9cc2d9b4c47a [2024-07-12T18:37:30.304Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:37:30.304Z] ---> Running in 6bad884715fe [2024-07-12T18:37:30.870Z] Removing intermediate container 6bad884715fe [2024-07-12T18:37:30.870Z] ---> c6a137df621f [2024-07-12T18:37:30.870Z] Step 10/26 : COPY . . [2024-07-12T18:37:31.437Z] ---> a9b42b602f41 [2024-07-12T18:37:31.437Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T18:37:31.437Z] ---> Running in 0b2813a882e2 [2024-07-12T18:37:31.437Z] Removing intermediate container 0b2813a882e2 [2024-07-12T18:37:31.437Z] ---> c521aea463e2 [2024-07-12T18:37:31.437Z] Step 12/26 : RUN ${MAKE} [2024-07-12T18:37:31.437Z] ---> Running in 491d0afce29f [2024-07-12T18:37:31.696Z] 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.21" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-12T18:37:51.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5466 in /w/workspace/edgexfoundry_device-uart_PR-58 [Pipeline] { [Pipeline] ws [2024-07-12T18:37:51.674Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-07-12T18:37:51.794Z] The recommended git tool is: git [2024-07-12T18:37:58.228Z] Removing intermediate container 491d0afce29f [2024-07-12T18:37:58.228Z] ---> 21369d29183b [2024-07-12T18:37:58.228Z] Step 13/26 : FROM alpine:3.18 [2024-07-12T18:37:58.228Z] 3.18: Pulling from library/alpine [2024-07-12T18:37:58.228Z] 73baa7ef167e: Pulling fs layer [2024-07-12T18:37:58.228Z] 73baa7ef167e: Verifying Checksum [2024-07-12T18:37:58.228Z] 73baa7ef167e: Download complete [2024-07-12T18:37:58.228Z] 73baa7ef167e: Pull complete [2024-07-12T18:37:58.228Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T18:37:58.228Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T18:37:58.228Z] ---> 8fd7cac70a4a [2024-07-12T18:37:58.228Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-12T18:37:58.228Z] ---> Running in ee157bed3105 [2024-07-12T18:37:58.228Z] Removing intermediate container ee157bed3105 [2024-07-12T18:37:58.228Z] ---> 94a14c5aeace [2024-07-12T18:37:58.228Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-12T18:37:58.228Z] ---> Running in fc2cfd0c92a4 [2024-07-12T18:37:58.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:58.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:58.228Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T18:37:58.228Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T18:37:58.228Z] OK: 7 MiB in 16 packages [2024-07-12T18:37:58.228Z] Removing intermediate container fc2cfd0c92a4 [2024-07-12T18:37:58.228Z] ---> 4d52c3d89234 [2024-07-12T18:37:58.228Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-12T18:37:58.228Z] ---> Running in a1cbc5ac5c77 [2024-07-12T18:37:58.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:58.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T18:37:58.745Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T18:37:58.745Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T18:37:58.745Z] OK: 7 MiB in 16 packages [2024-07-12T18:37:59.004Z] Removing intermediate container a1cbc5ac5c77 [2024-07-12T18:37:59.004Z] ---> 2b281df48e01 [2024-07-12T18:37:59.004Z] Step 17/26 : WORKDIR / [2024-07-12T18:37:59.004Z] ---> Running in 9eaff4ec8cc9 [2024-07-12T18:37:59.263Z] Removing intermediate container 9eaff4ec8cc9 [2024-07-12T18:37:59.263Z] ---> e465877e8526 [2024-07-12T18:37:59.263Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-12T18:37:59.263Z] ---> b1b224cc3615 [2024-07-12T18:37:59.263Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-12T18:37:59.263Z] ---> debf0c56ef1d [2024-07-12T18:37:59.263Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-12T18:37:59.932Z] using credential edgex-jenkins-ssh [2024-07-12T18:37:59.954Z] Cloning the remote Git repository [2024-07-12T18:38:00.200Z] ---> 56c143792556 [2024-07-12T18:38:00.200Z] Step 21/26 : EXPOSE 59995 [2024-07-12T18:38:00.200Z] ---> Running in abf72ea888ce [2024-07-12T18:38:00.200Z] Removing intermediate container abf72ea888ce [2024-07-12T18:38:00.200Z] ---> 988cbf794ae7 [2024-07-12T18:38:00.200Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-12T18:38:00.200Z] ---> Running in ecba857ffb2b [2024-07-12T18:38:00.200Z] Removing intermediate container ecba857ffb2b [2024-07-12T18:38:00.200Z] ---> 86b66176cfa1 [2024-07-12T18:38:00.200Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-12T18:38:00.200Z] ---> Running in 69068f08a36f [2024-07-12T18:38:00.200Z] Removing intermediate container 69068f08a36f [2024-07-12T18:38:00.200Z] ---> 9abece9f4cfa [2024-07-12T18:38:00.200Z] Step 24/26 : LABEL arch=amd64 [2024-07-12T18:38:00.460Z] ---> Running in caf24b105a64 [2024-07-12T18:38:00.460Z] Removing intermediate container caf24b105a64 [2024-07-12T18:38:00.460Z] ---> c3c315eaa5c6 [2024-07-12T18:38:00.460Z] Step 25/26 : LABEL git_sha=37b1e9587454122e807d9d51f35834d0303e66e2 [2024-07-12T18:38:00.460Z] ---> Running in 16d83db0139b [2024-07-12T18:38:00.460Z] Removing intermediate container 16d83db0139b [2024-07-12T18:38:00.460Z] ---> 760d55bd342e [2024-07-12T18:38:00.460Z] Step 26/26 : LABEL version=0.0.0 [2024-07-12T18:38:00.460Z] ---> Running in f18231e3b907 [2024-07-12T18:38:00.719Z] Removing intermediate container f18231e3b907 [2024-07-12T18:38:00.719Z] ---> ba03ff255fdd [2024-07-12T18:38:00.719Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T18:38:00.719Z] Successfully built ba03ff255fdd [2024-07-12T18:38:00.719Z] 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] } [2024-07-12T18:38:00.029Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-07-12T18:38:00.169Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-07-12T18:38:00.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-12T18:38:00.353Z] > git --version # timeout=10 [2024-07-12T18:38:00.387Z] > git --version # 'git version 2.25.1' [2024-07-12T18:38:00.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:38:00.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [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-12T18:38:01.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:38:01.761Z] [2024-07-12T18:38:01.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:38:02.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:38:02.169Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-12T18:38:02.169Z] 5eb5b503b376: Pulling fs layer [2024-07-12T18:38:02.169Z] 5c69ac0246d0: Pulling fs layer [2024-07-12T18:38:02.169Z] ec43610c2a17: Pulling fs layer [2024-07-12T18:38:02.169Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-12T18:38:02.169Z] 33b1e0a273af: Pulling fs layer [2024-07-12T18:38:02.169Z] 5d3b04190fa2: Pulling fs layer [2024-07-12T18:38:02.169Z] 2f39f015ded8: Pulling fs layer [2024-07-12T18:38:02.169Z] 3a2ae6a8a46f: Waiting [2024-07-12T18:38:02.169Z] 33b1e0a273af: Waiting [2024-07-12T18:38:02.169Z] 5d3b04190fa2: Waiting [2024-07-12T18:38:02.169Z] 2f39f015ded8: Waiting [2024-07-12T18:38:02.169Z] 5c69ac0246d0: Verifying Checksum [2024-07-12T18:38:02.169Z] 5c69ac0246d0: Download complete [2024-07-12T18:38:02.169Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-12T18:38:02.169Z] 3a2ae6a8a46f: Download complete [2024-07-12T18:38:02.169Z] 33b1e0a273af: Verifying Checksum [2024-07-12T18:38:02.169Z] 33b1e0a273af: Download complete [2024-07-12T18:38:02.169Z] 5d3b04190fa2: Download complete [2024-07-12T18:38:02.169Z] ec43610c2a17: Verifying Checksum [2024-07-12T18:38:02.169Z] ec43610c2a17: Download complete [2024-07-12T18:38:02.428Z] 5eb5b503b376: Verifying Checksum [2024-07-12T18:38:02.428Z] 5eb5b503b376: Download complete [2024-07-12T18:38:02.995Z] 2f39f015ded8: Download complete [2024-07-12T18:38:03.561Z] 5eb5b503b376: Pull complete [2024-07-12T18:38:03.561Z] 5c69ac0246d0: Pull complete [2024-07-12T18:38:03.900Z] ec43610c2a17: Pull complete [2024-07-12T18:38:03.900Z] 3a2ae6a8a46f: Pull complete [2024-07-12T18:38:03.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-12T18:38:03.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T18:38:04.168Z] 33b1e0a273af: Pull complete [2024-07-12T18:38:04.169Z] 5d3b04190fa2: Pull complete [2024-07-12T18:38:05.207Z] Merging remotes/origin/main commit f8749581d9de8ec9f8c1a4606090d5570a6645d2 into PR head commit 37b1e9587454122e807d9d51f35834d0303e66e2 [2024-07-12T18:38:04.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-12T18:38:04.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-12T18:38:04.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:38:04.727Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-12T18:38:05.230Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T18:38:05.301Z] > git checkout -f 37b1e9587454122e807d9d51f35834d0303e66e2 # timeout=10 [2024-07-12T18:38:05.434Z] > git remote # timeout=10 [2024-07-12T18:38:05.465Z] > git config --get remote.origin.url # timeout=10 [2024-07-12T18:38:05.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:38:05.516Z] > git merge f8749581d9de8ec9f8c1a4606090d5570a6645d2 # timeout=10 [2024-07-12T18:38:05.594Z] Merge succeeded, producing 37b1e9587454122e807d9d51f35834d0303e66e2 [2024-07-12T18:38:05.595Z] Checking out Revision 37b1e9587454122e807d9d51f35834d0303e66e2 (PR-58) [2024-07-12T18:38:06.241Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-12T18:38:06.310Z] > git --version # timeout=10 [2024-07-12T18:38:06.329Z] > git --version # 'git version 2.25.1' [2024-07-12T18:38:06.363Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-12T18:38:05.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-12T18:38:05.597Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T18:38:05.676Z] > git checkout -f 37b1e9587454122e807d9d51f35834d0303e66e2 # timeout=10 [2024-07-12T18:38:08.355Z] 2f39f015ded8: Pull complete [2024-07-12T18:38:08.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-12T18:38:08.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:38:08.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:38:08.621Z] prd-ubuntu20.04-docker-8c-8g-5465 does not seem to be running inside a container [2024-07-12T18:38:08.649Z] $ 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-58 -v /w/workspace/edgexfoundry_device-uart_PR-58:/w/workspace/edgexfoundry_device-uart_PR-58:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-58@tmp:/w/workspace/edgexfoundry_device-uart_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-12T18:38:10.602Z] [2024-07-12T18:38:10.602Z] GitHub has been notified of this commit’s build result [2024-07-12T18:38:10.602Z] [2024-07-12T18:38:13.102Z] $ docker top 775ad0a0d4df2d9ca426c41c395499446bb8fdbbb4e32bb00fba430c55825f5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-07-12T18:38:13.597Z] ---> job-cost.sh [2024-07-12T18:38:13.597Z] lf-activate-venv: SKIPPING [2024-07-12T18:38:13.597Z] INFO: No Stack... [Pipeline] sh [2024-07-12T18:38:13.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T18:38:14.114Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T18:38:14.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-12T18:38:14.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T18:38:14.172Z] Dload Upload Total Spent Left Speed [2024-07-12T18:38:14.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89706 0 --:--:-- --:--:-- --:--:-- 89706 [Pipeline] sh [2024-07-12T18:38:14.438Z] + cat /w/workspace/edgexfoundry_device-uart_PR-58/archives/cost.csv [2024-07-12T18:38:14.438Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T18:38:14.489Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [2024-07-12T18:38:14.498Z] Resource [jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] did not exist. Created. [2024-07-12T18:38:14.504Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-07-12T18:38:14.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh [2024-07-12T18:38:14.966Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2024-07-12T18:38:14.966Z] tee /etc/docker/daemon.new [2024-07-12T18:38:14.966Z] { [2024-07-12T18:38:14.966Z] "registry-mirrors": [ [2024-07-12T18:38:14.966Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-12T18:38:14.966Z] ], [2024-07-12T18:38:14.966Z] "bip": "10.250.0.254/24", [2024-07-12T18:38:14.966Z] "hosts": [ [2024-07-12T18:38:14.966Z] "tcp://0.0.0.0:5555", [2024-07-12T18:38:14.966Z] "unix:///var/run/docker.sock" [2024-07-12T18:38:14.966Z] ], [2024-07-12T18:38:14.966Z] "mtu": 1458, [2024-07-12T18:38:14.966Z] "selinux-enabled": true, [2024-07-12T18:38:14.966Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-12T18:38:14.966Z] } [Pipeline] sh [2024-07-12T18:38:15.006Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-12T18:38:15.158Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T18:38:15.198Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T18:38:15.297Z] $ docker stop --time=1 775ad0a0d4df2d9ca426c41c395499446bb8fdbbb4e32bb00fba430c55825f5b [2024-07-12T18:38:15.319Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-07-12T18:38:16.482Z] $ docker rm -f --volumes 775ad0a0d4df2d9ca426c41c395499446bb8fdbbb4e32bb00fba430c55825f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-12T18:38:16.939Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T18:38:35.270Z] provisioning config files... [2024-07-12T18:38:35.301Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config3712346500917044916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:38:35.811Z] ---> ****-login.sh [2024-07-12T18:38:35.812Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:38:36.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:38:36.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:38:36.353Z] Configure a credential helper to remove this warning. See [2024-07-12T18:38:36.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:38:36.353Z] [2024-07-12T18:38:36.353Z] Login Succeeded [2024-07-12T18:38:36.353Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:38:36.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:38:36.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:38:36.621Z] Configure a credential helper to remove this warning. See [2024-07-12T18:38:36.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:38:36.621Z] [2024-07-12T18:38:36.621Z] Login Succeeded [2024-07-12T18:38:36.894Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:38:36.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:38:37.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:38:37.164Z] Configure a credential helper to remove this warning. See [2024-07-12T18:38:37.164Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:38:37.164Z] [2024-07-12T18:38:37.164Z] Login Succeeded [2024-07-12T18:38:37.164Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:38:37.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:38:37.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:38:37.433Z] Configure a credential helper to remove this warning. See [2024-07-12T18:38:37.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:38:37.433Z] [2024-07-12T18:38:37.433Z] Login Succeeded [2024-07-12T18:38:37.433Z] ****.io [2024-07-12T18:38:37.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:38:37.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:38:37.966Z] Configure a credential helper to remove this warning. See [2024-07-12T18:38:37.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:38:37.966Z] [2024-07-12T18:38:37.966Z] Login Succeeded [2024-07-12T18:38:37.966Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:38:38.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T18:38:38.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:38:38.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:38:38.587Z] ========================================================= [2024-07-12T18:38:38.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-12T18:38:38.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:38:39.142Z] + 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-12T18:38:39.412Z] Sending build context to Docker daemon 14.61MB [2024-07-12T18:38:39.682Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:38:39.682Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-12T18:38:39.682Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-12T18:38:39.682Z] c6b39de5b339: Pulling fs layer [2024-07-12T18:38:39.682Z] a69c41024577: Pulling fs layer [2024-07-12T18:38:39.682Z] d6de4b400683: Pulling fs layer [2024-07-12T18:38:39.682Z] 35cb2a7552d0: Pulling fs layer [2024-07-12T18:38:39.682Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T18:38:39.682Z] 464afbd9ba4c: Pulling fs layer [2024-07-12T18:38:39.682Z] 00f215d4a9da: Pulling fs layer [2024-07-12T18:38:39.682Z] d496ad576159: Pulling fs layer [2024-07-12T18:38:39.682Z] 464afbd9ba4c: Waiting [2024-07-12T18:38:39.682Z] 00f215d4a9da: Waiting [2024-07-12T18:38:39.682Z] d496ad576159: Waiting [2024-07-12T18:38:39.682Z] 35cb2a7552d0: Waiting [2024-07-12T18:38:39.682Z] 4f4fb700ef54: Waiting [2024-07-12T18:38:39.682Z] a69c41024577: Verifying Checksum [2024-07-12T18:38:39.682Z] a69c41024577: Download complete [2024-07-12T18:38:39.682Z] 35cb2a7552d0: Verifying Checksum [2024-07-12T18:38:39.682Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T18:38:39.682Z] 4f4fb700ef54: Download complete [2024-07-12T18:38:39.951Z] c6b39de5b339: Download complete [2024-07-12T18:38:39.951Z] 464afbd9ba4c: Verifying Checksum [2024-07-12T18:38:39.951Z] 464afbd9ba4c: Download complete [2024-07-12T18:38:40.223Z] d496ad576159: Verifying Checksum [2024-07-12T18:38:40.223Z] d496ad576159: Download complete [2024-07-12T18:38:40.811Z] c6b39de5b339: Pull complete [2024-07-12T18:38:41.403Z] a69c41024577: Pull complete [2024-07-12T18:38:41.672Z] d6de4b400683: Verifying Checksum [2024-07-12T18:38:41.672Z] d6de4b400683: Download complete [2024-07-12T18:38:42.638Z] 00f215d4a9da: Verifying Checksum [2024-07-12T18:38:42.638Z] 00f215d4a9da: Download complete [2024-07-12T18:38:54.966Z] d6de4b400683: Pull complete [2024-07-12T18:38:54.966Z] 35cb2a7552d0: Pull complete [2024-07-12T18:38:54.966Z] 4f4fb700ef54: Pull complete [2024-07-12T18:38:55.233Z] 464afbd9ba4c: Pull complete [2024-07-12T18:39:05.326Z] 00f215d4a9da: Pull complete [2024-07-12T18:39:05.594Z] d496ad576159: Pull complete [2024-07-12T18:39:05.594Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-12T18:39:05.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-12T18:39:05.594Z] ---> f246e2811388 [2024-07-12T18:39:05.594Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T18:39:06.180Z] ---> Running in e1410e255dd1 [2024-07-12T18:39:06.450Z] Removing intermediate container e1410e255dd1 [2024-07-12T18:39:06.450Z] ---> 5551d5c9394a [2024-07-12T18:39:06.450Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T18:39:06.717Z] ---> Running in feb6393540b6 [2024-07-12T18:39:06.986Z] Removing intermediate container feb6393540b6 [2024-07-12T18:39:06.986Z] ---> 343e92958bf6 [2024-07-12T18:39:06.986Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-12T18:39:06.986Z] ---> Running in 434c7653e3be [2024-07-12T18:39:07.253Z] Removing intermediate container 434c7653e3be [2024-07-12T18:39:07.253Z] ---> 2d2a6ab24959 [2024-07-12T18:39:07.253Z] Step 6/12 : WORKDIR /device-uart [2024-07-12T18:39:07.253Z] ---> Running in 284b960275ce [2024-07-12T18:39:07.839Z] Removing intermediate container 284b960275ce [2024-07-12T18:39:07.839Z] ---> 114dd859c875 [2024-07-12T18:39:07.839Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T18:39:07.839Z] ---> Running in b9f9beb620b9 [2024-07-12T18:39:09.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:39:10.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:39:11.029Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-12T18:39:11.029Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-12T18:39:11.029Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-12T18:39:11.029Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-12T18:39:11.029Z] Executing busybox-1.36.1-r5.trigger [2024-07-12T18:39:11.029Z] OK: 271 MiB in 56 packages [2024-07-12T18:39:11.992Z] Removing intermediate container b9f9beb620b9 [2024-07-12T18:39:11.992Z] ---> 06029d059a7f [2024-07-12T18:39:11.992Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-12T18:39:12.575Z] ---> c057386fa970 [2024-07-12T18:39:12.575Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:39:12.575Z] ---> Running in 9994190fee97 [2024-07-12T18:41:04.240Z] Removing intermediate container 9994190fee97 [2024-07-12T18:41:04.240Z] ---> 333316919106 [2024-07-12T18:41:04.240Z] Step 10/12 : COPY . . [2024-07-12T18:41:04.240Z] ---> 6bb31efcc3c3 [2024-07-12T18:41:04.240Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T18:41:04.240Z] ---> Running in 728aa043c720 [2024-07-12T18:41:04.240Z] Removing intermediate container 728aa043c720 [2024-07-12T18:41:04.240Z] ---> afadd4b89e33 [2024-07-12T18:41:04.240Z] Step 12/12 : RUN ${MAKE} [2024-07-12T18:41:04.240Z] ---> Running in 61cfd3ff6aeb [2024-07-12T18:41:04.240Z] noop [2024-07-12T18:41:04.240Z] Removing intermediate container 61cfd3ff6aeb [2024-07-12T18:41:04.240Z] ---> 90c9bb9c4fab [2024-07-12T18:41:04.240Z] Successfully built 90c9bb9c4fab [2024-07-12T18:41:04.240Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:41:04.802Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T18:41:04.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:41:05.098Z] prd-ubuntu20.04-docker-arm64-4c-16g-5466 does not seem to be running inside a container [2024-07-12T18:41:05.152Z] $ 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-12T18:41:06.327Z] $ docker top 9d98002e0468a453dbb0998fd17edd68d737aeaa3cdb709e758f73c244a84332 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:41:07.219Z] + go version [2024-07-12T18:41:07.219Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-12T18:41:07.253Z] $ docker stop --time=1 9d98002e0468a453dbb0998fd17edd68d737aeaa3cdb709e758f73c244a84332 [2024-07-12T18:41:08.889Z] $ docker rm -f --volumes 9d98002e0468a453dbb0998fd17edd68d737aeaa3cdb709e758f73c244a84332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:41:09.852Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T18:41:09.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:41:10.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-5466 does not seem to be running inside a container [2024-07-12T18:41:10.192Z] $ 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-12T18:41:11.372Z] $ docker top 1a0a469efc86f10db642f12c83ab89714fcbfb880fcd39f84c32493f84e3bac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:41:12.272Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-07-12T18:41:12.995Z] + make test [2024-07-12T18:41:12.995Z] go test ./... -coverprofile=coverage.out [2024-07-12T18:41:18.334Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-12T18:44:25.373Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-12T18:44:25.373Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-12T18:44:25.373Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-12T18:44:25.373Z] go vet ./... [2024-07-12T18:45:12.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T18:45:12.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T18:45:12.244Z] ./bin/test-attribution-txt.sh [2024-07-12T18:45:12.244Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T18:45:12.244Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T18:45:12.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T18:45:12.336Z] $ docker stop --time=1 1a0a469efc86f10db642f12c83ab89714fcbfb880fcd39f84c32493f84e3bac5 [2024-07-12T18:45:14.182Z] $ docker rm -f --volumes 1a0a469efc86f10db642f12c83ab89714fcbfb880fcd39f84c32493f84e3bac5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T18:45:15.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T18:45:15.802Z] Warning: overwriting stash ‘coverage-report’ [2024-07-12T18:45:16.216Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T18:45:16.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T18:45:17.240Z] + ls -al . [2024-07-12T18:45:17.240Z] total 224 [2024-07-12T18:45:17.240Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 12 18:41 . [2024-07-12T18:45:17.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:38 .. [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 18:38 .dockerignore [2024-07-12T18:45:17.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:38 .git [2024-07-12T18:45:17.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:38 .github [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 18:38 .gitignore [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 18:38 .golangci.yml [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 12 18:38 Attribution.txt [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 12 18:38 CHANGELOG.md [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 12 18:38 Dockerfile [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:38 GOVERNANCE.md [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 18:38 Jenkinsfile [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 18:38 LICENSE [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 18:38 Makefile [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 18:38 OWNERS.md [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 12 18:38 README.md [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 18:35 VERSION [2024-07-12T18:45:17.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:38 bin [2024-07-12T18:45:17.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:38 cmd [2024-07-12T18:45:17.240Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 18:41 coverage.out [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 7070 Jul 12 18:38 go.mod [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 102515 Jul 12 18:38 go.sum [2024-07-12T18:45:17.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:38 internal [2024-07-12T18:45:17.240Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:45:17.690Z] + 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=37b1e9587454122e807d9d51f35834d0303e66e2 --label arch=arm64 --label version=0.0.0 . [2024-07-12T18:45:18.274Z] Sending build context to Docker daemon 14.61MB [2024-07-12T18:45:18.274Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:45:18.274Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-12T18:45:18.274Z] ---> 90c9bb9c4fab [2024-07-12T18:45:18.274Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-12T18:45:18.274Z] ---> Running in c3c00841ebd7 [2024-07-12T18:45:18.861Z] Removing intermediate container c3c00841ebd7 [2024-07-12T18:45:18.861Z] ---> f812e7587909 [2024-07-12T18:45:18.861Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-12T18:45:18.861Z] ---> Running in e9dbcdf7e390 [2024-07-12T18:45:19.128Z] Removing intermediate container e9dbcdf7e390 [2024-07-12T18:45:19.128Z] ---> 9ba74e0737c0 [2024-07-12T18:45:19.128Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-12T18:45:19.128Z] ---> Running in 5be9a9b9cdb0 [2024-07-12T18:45:19.396Z] Removing intermediate container 5be9a9b9cdb0 [2024-07-12T18:45:19.396Z] ---> 39290a36657f [2024-07-12T18:45:19.396Z] Step 6/26 : WORKDIR /device-uart [2024-07-12T18:45:19.663Z] ---> Running in 8d2c35e4f132 [2024-07-12T18:45:19.930Z] Removing intermediate container 8d2c35e4f132 [2024-07-12T18:45:19.930Z] ---> 47eea739ce57 [2024-07-12T18:45:19.930Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-12T18:45:19.930Z] ---> Running in 2687b787ea86 [2024-07-12T18:45:21.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:45:21.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:45:23.018Z] OK: 271 MiB in 56 packages [2024-07-12T18:45:23.604Z] Removing intermediate container 2687b787ea86 [2024-07-12T18:45:23.604Z] ---> 2d79c5bf796e [2024-07-12T18:45:23.604Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-12T18:45:24.194Z] ---> 9ce425b84be8 [2024-07-12T18:45:24.194Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:45:24.462Z] ---> Running in 3474b43c8fe2 [2024-07-12T18:45:27.050Z] Removing intermediate container 3474b43c8fe2 [2024-07-12T18:45:27.050Z] ---> a337f1a2fd25 [2024-07-12T18:45:27.050Z] Step 10/26 : COPY . . [2024-07-12T18:45:28.009Z] ---> 559723b27031 [2024-07-12T18:45:28.009Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-12T18:45:28.287Z] ---> Running in fe35bc4eb00a [2024-07-12T18:45:28.555Z] Removing intermediate container fe35bc4eb00a [2024-07-12T18:45:28.556Z] ---> d47e42add404 [2024-07-12T18:45:28.556Z] Step 12/26 : RUN ${MAKE} [2024-07-12T18:45:28.556Z] ---> Running in e1a70e9e357a [2024-07-12T18:45:29.512Z] 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.21" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-12T18:49:21.318Z] Removing intermediate container e1a70e9e357a [2024-07-12T18:49:21.318Z] ---> 50c0c46df7ee [2024-07-12T18:49:21.318Z] Step 13/26 : FROM alpine:3.18 [2024-07-12T18:49:21.318Z] 3.18: Pulling from library/alpine [2024-07-12T18:49:21.318Z] 5c905c7ebe2f: Pulling fs layer [2024-07-12T18:49:21.318Z] 5c905c7ebe2f: Verifying Checksum [2024-07-12T18:49:21.318Z] 5c905c7ebe2f: Download complete [2024-07-12T18:49:21.318Z] 5c905c7ebe2f: Pull complete [2024-07-12T18:49:21.318Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T18:49:21.318Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T18:49:21.318Z] ---> dec292d02e07 [2024-07-12T18:49:21.318Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-12T18:49:21.318Z] ---> Running in a9e2ea71dc15 [2024-07-12T18:49:21.318Z] Removing intermediate container a9e2ea71dc15 [2024-07-12T18:49:21.318Z] ---> 426b11b9332f [2024-07-12T18:49:21.318Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-12T18:49:21.318Z] ---> Running in 503fa12c9f0f [2024-07-12T18:49:21.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:49:21.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:49:21.318Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T18:49:21.318Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T18:49:21.318Z] OK: 8 MiB in 16 packages [2024-07-12T18:49:21.318Z] Removing intermediate container 503fa12c9f0f [2024-07-12T18:49:21.318Z] ---> e55fe172a270 [2024-07-12T18:49:21.318Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-12T18:49:21.318Z] ---> Running in 497acfd7f3d4 [2024-07-12T18:49:21.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:49:21.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:49:21.318Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T18:49:21.318Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T18:49:21.318Z] OK: 8 MiB in 16 packages [2024-07-12T18:49:21.318Z] Removing intermediate container 497acfd7f3d4 [2024-07-12T18:49:21.318Z] ---> d54809e3f9d3 [2024-07-12T18:49:21.318Z] Step 17/26 : WORKDIR / [2024-07-12T18:49:21.318Z] ---> Running in 4b7ba54643e5 [2024-07-12T18:49:21.318Z] Removing intermediate container 4b7ba54643e5 [2024-07-12T18:49:21.318Z] ---> 6962d5aedf0b [2024-07-12T18:49:21.318Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-12T18:49:21.587Z] ---> 23dfcc0dada7 [2024-07-12T18:49:21.587Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-12T18:49:22.178Z] ---> 6e0c9b6542a9 [2024-07-12T18:49:22.179Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-12T18:49:24.763Z] ---> 7cf10a904484 [2024-07-12T18:49:24.763Z] Step 21/26 : EXPOSE 59995 [2024-07-12T18:49:24.763Z] ---> Running in b924d94575dd [2024-07-12T18:49:24.763Z] Removing intermediate container b924d94575dd [2024-07-12T18:49:24.763Z] ---> 442a0b7bf246 [2024-07-12T18:49:24.763Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-12T18:49:24.763Z] ---> Running in 806c9e150728 [2024-07-12T18:49:25.350Z] Removing intermediate container 806c9e150728 [2024-07-12T18:49:25.350Z] ---> 71b0fd512e6b [2024-07-12T18:49:25.350Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-12T18:49:25.350Z] ---> Running in a66a421fcbd0 [2024-07-12T18:49:25.617Z] Removing intermediate container a66a421fcbd0 [2024-07-12T18:49:25.617Z] ---> 1afbe7270013 [2024-07-12T18:49:25.617Z] Step 24/26 : LABEL arch=arm64 [2024-07-12T18:49:25.617Z] ---> Running in d0aac3a214d2 [2024-07-12T18:49:25.883Z] Removing intermediate container d0aac3a214d2 [2024-07-12T18:49:25.883Z] ---> caea6f43f8ba [2024-07-12T18:49:25.883Z] Step 25/26 : LABEL git_sha=37b1e9587454122e807d9d51f35834d0303e66e2 [2024-07-12T18:49:25.883Z] ---> Running in 7b2f2d49a27c [2024-07-12T18:49:26.153Z] Removing intermediate container 7b2f2d49a27c [2024-07-12T18:49:26.153Z] ---> 3acbfa8d2582 [2024-07-12T18:49:26.153Z] Step 26/26 : LABEL version=0.0.0 [2024-07-12T18:49:26.421Z] ---> Running in d923914f2f4b [2024-07-12T18:49:26.686Z] Removing intermediate container d923914f2f4b [2024-07-12T18:49:26.686Z] ---> 27b70ea0e124 [2024-07-12T18:49:26.686Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T18:49:26.686Z] Successfully built 27b70ea0e124 [2024-07-12T18:49:26.686Z] 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-12T18:49:27.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T18:49:27.615Z] [2024-07-12T18:49:27.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:49:28.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T18:49:28.303Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-12T18:49:28.303Z] 8998bd30e6a1: Pulling fs layer [2024-07-12T18:49:28.303Z] 04944245beec: Pulling fs layer [2024-07-12T18:49:28.303Z] 699f458cf7ca: Pulling fs layer [2024-07-12T18:49:28.303Z] 765212b225bb: Pulling fs layer [2024-07-12T18:49:28.303Z] f23df028b6ca: Pulling fs layer [2024-07-12T18:49:28.303Z] d65c8cfc05b1: Pulling fs layer [2024-07-12T18:49:28.303Z] 2437ff75d9bd: Pulling fs layer [2024-07-12T18:49:28.303Z] 765212b225bb: Waiting [2024-07-12T18:49:28.303Z] f23df028b6ca: Waiting [2024-07-12T18:49:28.303Z] d65c8cfc05b1: Waiting [2024-07-12T18:49:28.303Z] 2437ff75d9bd: Waiting [2024-07-12T18:49:28.303Z] 04944245beec: Verifying Checksum [2024-07-12T18:49:28.303Z] 04944245beec: Download complete [2024-07-12T18:49:28.303Z] 765212b225bb: Verifying Checksum [2024-07-12T18:49:28.303Z] 765212b225bb: Download complete [2024-07-12T18:49:28.303Z] f23df028b6ca: Verifying Checksum [2024-07-12T18:49:28.303Z] f23df028b6ca: Download complete [2024-07-12T18:49:28.303Z] d65c8cfc05b1: Verifying Checksum [2024-07-12T18:49:28.303Z] d65c8cfc05b1: Download complete [2024-07-12T18:49:28.569Z] 699f458cf7ca: Verifying Checksum [2024-07-12T18:49:28.569Z] 699f458cf7ca: Download complete [2024-07-12T18:49:28.959Z] 8998bd30e6a1: Verifying Checksum [2024-07-12T18:49:28.959Z] 8998bd30e6a1: Download complete [2024-07-12T18:49:31.540Z] 2437ff75d9bd: Verifying Checksum [2024-07-12T18:49:31.540Z] 2437ff75d9bd: Download complete [2024-07-12T18:49:34.119Z] 8998bd30e6a1: Pull complete [2024-07-12T18:49:34.385Z] 04944245beec: Pull complete [2024-07-12T18:49:35.787Z] 699f458cf7ca: Pull complete [2024-07-12T18:49:36.053Z] 765212b225bb: Pull complete [2024-07-12T18:49:37.008Z] f23df028b6ca: Pull complete [2024-07-12T18:49:37.273Z] d65c8cfc05b1: Pull complete [2024-07-12T18:49:55.468Z] 2437ff75d9bd: Pull complete [2024-07-12T18:49:55.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-12T18:49:55.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T18:49:55.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:49:55.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-5466 does not seem to be running inside a container [2024-07-12T18:49:55.901Z] $ 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-12T18:49:58.976Z] $ docker top 210cdfb475d953a525ac8b7f6c555b952f2b1e3bcdd876fed6d0eeba0ff24754 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:49:59.941Z] ---> job-cost.sh [2024-07-12T18:49:59.941Z] lf-activate-venv: SKIPPING [2024-07-12T18:49:59.941Z] INFO: No Stack... [2024-07-12T18:50:00.210Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-12T18:50:01.178Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T18:50:01.870Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-07-12T18:50:01.870Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T18:50:01.958Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [2024-07-12T18:50:01.965Z] Resource [jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] did not exist. Created. [2024-07-12T18:50:01.971Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T18:50:02.731Z] /w/workspace/device-uart/1@tmp/durable-40ffe680/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-12T18:50:03.410Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-12T18:50:03.452Z] Warning: overwriting stash ‘stack-cost’ [2024-07-12T18:50:03.528Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T18:50:03.548Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T18:50:03.659Z] $ docker stop --time=1 210cdfb475d953a525ac8b7f6c555b952f2b1e3bcdd876fed6d0eeba0ff24754 [2024-07-12T18:50:05.194Z] $ docker rm -f --volumes 210cdfb475d953a525ac8b7f6c555b952f2b1e3bcdd876fed6d0eeba0ff24754 [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-12T18:50:06.567Z] provisioning config files... [2024-07-12T18:50:06.578Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-58@tmp/config15636464613535652313tmp [Pipeline] { [Pipeline] sh [2024-07-12T18:50:06.938Z] + set +x [2024-07-12T18:50:06.938Z] + + curlbash -s -s https://codecov.io/bash -- [2024-07-12T18:50:06.938Z] [2024-07-12T18:50:06.938Z] [2024-07-12T18:50:06.938Z] _____ _ [2024-07-12T18:50:06.938Z] / ____| | | [2024-07-12T18:50:06.938Z] | | ___ __| | ___ ___ _____ __ [2024-07-12T18:50:06.938Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-12T18:50:06.938Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-12T18:50:06.938Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-12T18:50:06.938Z] Bash-1.0.6 [2024-07-12T18:50:06.938Z] [2024-07-12T18:50:06.938Z] [2024-07-12T18:50:06.938Z] ==> git version 2.25.1 found [2024-07-12T18:50:06.938Z] ==> 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-12T18:50:06.938Z] Release-Date: 2020-01-08 [2024-07-12T18:50:06.938Z] 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-12T18:50:06.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-12T18:50:06.938Z] ==> Jenkins CI detected. [2024-07-12T18:50:06.938Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-58 [2024-07-12T18:50:06.938Z] project root: . [2024-07-12T18:50:06.938Z] --> token set from env [2024-07-12T18:50:06.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-12T18:50:06.938Z] ==> Running gcov in . (disable via -X gcov) [2024-07-12T18:50:06.938Z] ==> Python coveragepy not found [2024-07-12T18:50:06.938Z] ==> Searching for coverage reports in: [2024-07-12T18:50:06.938Z] + . [2024-07-12T18:50:06.938Z] -> Found 1 reports [2024-07-12T18:50:06.938Z] ==> Detecting git/mercurial file structure [2024-07-12T18:50:07.198Z] ==> Reading reports [2024-07-12T18:50:07.198Z] + ./coverage.out bytes=10 [2024-07-12T18:50:07.198Z] ==> Appending adjustments [2024-07-12T18:50:07.198Z] https://docs.codecov.io/docs/fixing-reports [2024-07-12T18:50:07.198Z] + Found adjustments [2024-07-12T18:50:07.198Z] ==> Gzipping contents [2024-07-12T18:50:07.198Z] 4.0K /tmp/codecov.gDcSQZ.gz [2024-07-12T18:50:07.198Z] ==> Uploading reports [2024-07-12T18:50:07.198Z] url: https://codecov.io [2024-07-12T18:50:07.198Z] query: branch=PR-58&commit=37b1e9587454122e807d9d51f35834d0303e66e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=58&job=&cmd_args= [2024-07-12T18:50:07.198Z] -> Pinging Codecov [2024-07-12T18:50:07.198Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-58&commit=37b1e9587454122e807d9d51f35834d0303e66e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=58&job=&cmd_args= [2024-07-12T18:50:07.766Z] -> Uploading to [2024-07-12T18:50:07.766Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-12/B9AA6E0BBD74AE3A32605C7A7C664919/37b1e9587454122e807d9d51f35834d0303e66e2/5ec32526-d035-4167-acf8-5494c4feb01a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240712%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240712T185007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b87f54a6a14af9c820fc12ed6151267952a92e460f0b0adbfbdc459eb7d48fc2 [2024-07-12T18:50:07.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T18:50:07.766Z] Dload Upload Total Spent Left Speed [2024-07-12T18:50:07.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2512 --:--:-- --:--:-- --:--:-- 2512 [2024-07-12T18:50:07.766Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/37b1e9587454122e807d9d51f35834d0303e66e2 [Pipeline] } [2024-07-12T18:50:07.805Z] 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-12T18:50:10.222Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-58/archives ] [2024-07-12T18:50:10.222Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-58/archives [2024-07-12T18:50:10.222Z] total 16 [2024-07-12T18:50:10.222Z] drwxr-xr-x 3 root root 4096 Jul 12 18:38 . [2024-07-12T18:50:10.222Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 18:38 .. [2024-07-12T18:50:10.222Z] drwxr-xr-x 2 root root 4096 Jul 12 18:38 cost [2024-07-12T18:50:10.222Z] -rw-r--r-- 1 root root 82 Jul 12 18:38 cost.csv [2024-07-12T18:50:10.222Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-58/archives [2024-07-12T18:50:10.222Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-58/archives [2024-07-12T18:50:10.222Z] total 16 [2024-07-12T18:50:10.222Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:38 . [2024-07-12T18:50:10.222Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 18:38 .. [2024-07-12T18:50:10.222Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 18:38 cost [2024-07-12T18:50:10.222Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 12 18:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:10.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:11.456Z] ---> package-listing.sh [2024-07-12T18:50:11.456Z] ++ facter osfamily [2024-07-12T18:50:11.456Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-12T18:50:11.715Z] + OS_FAMILY=debian [2024-07-12T18:50:11.715Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-58 [2024-07-12T18:50:11.715Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-12T18:50:11.715Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-12T18:50:11.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-12T18:50:11.715Z] + PACKAGES=/tmp/packages_start.txt [2024-07-12T18:50:11.715Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-58 ']' [2024-07-12T18:50:11.715Z] + PACKAGES=/tmp/packages_end.txt [2024-07-12T18:50:11.715Z] + case "${OS_FAMILY}" in [2024-07-12T18:50:11.715Z] + dpkg -l [2024-07-12T18:50:11.715Z] + grep '^ii' [2024-07-12T18:50:11.715Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-12T18:50:11.715Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-12T18:50:11.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-12T18:50:11.715Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-58 ']' [2024-07-12T18:50:11.715Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-58/archives/ [2024-07-12T18:50:11.715Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-58/archives/ [Pipeline] echo [2024-07-12T18:50:11.766Z] 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-58/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-12T18:50:12.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:50:12.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:50:12.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:50:12.890Z] prd-ubuntu20.04-docker-8c-8g-5465 does not seem to be running inside a container [2024-07-12T18:50:12.917Z] $ 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-58/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-58 -v /w/workspace/edgexfoundry_device-uart_PR-58:/w/workspace/edgexfoundry_device-uart_PR-58:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-58@tmp:/w/workspace/edgexfoundry_device-uart_PR-58@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-12T18:50:13.162Z] $ docker top 369891a603c2e0a54ba30fd3aa3790e2b432a0bbdd6f76b75f4f2cd2c007126c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:50:13.663Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-12T18:50:13.977Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-12T18:50:14.292Z] + ls /var/log/sa-host [2024-07-12T18:50:14.292Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T18:50:14.566Z] provisioning config files... [2024-07-12T18:50:14.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-58@tmp/config8853474573307662564tmp [Pipeline] { [Pipeline] echo [2024-07-12T18:50:14.653Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:14.982Z] ---> create-netrc.sh [Pipeline] } [2024-07-12T18:50:15.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:15.444Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-12T18:50:15.484Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:15.813Z] ---> sudo-logs.sh [2024-07-12T18:50:15.813Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-12T18:50:15.917Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:16.246Z] ---> job-cost.sh [2024-07-12T18:50:16.246Z] lf-activate-venv: SKIPPING [2024-07-12T18:50:16.246Z] DEBUG: total: 0.2199999988079071 [2024-07-12T18:50:16.246Z] INFO: Retrieving Stack Cost... [2024-07-12T18:50:16.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T18:50:17.075Z] INFO: Archiving Costs [Pipeline] echo [2024-07-12T18:50:17.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:50:17.445Z] ---> logs-deploy.sh [2024-07-12T18:50:17.445Z] lf-activate-venv: SKIPPING [2024-07-12T18:50:17.445Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-58/1 [2024-07-12T18:50:17.445Z] INFO: archiving workspace using pattern(s): [2024-07-12T18:50:18.378Z] Archives upload complete. [2024-07-12T18:50:18.378Z] INFO: archiving logs to Nexus