Pull request #20 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh2016562084019704948.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10475927848592108508.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-20/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-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7370239758828827094.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-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1998670163520039945.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh2423153648372582402.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-20/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-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14578328117403929035.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1043’ Running on prd-ubuntu20.04-docker-8c-8g-1045 in /w/workspace/edgexfoundry_device-uart_PR-20 [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-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf Merge succeeded, producing c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 Checking out Revision c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 (PR-20) > 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/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf # 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T08:57:22.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T08:57:23.057Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T08:57:23.158Z] ========================================================= [2023-07-13T08:57:23.158Z] EdgeX Global Pipelines Version Info [2023-07-13T08:57:23.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T08:57:23.899Z] ------------------- [2023-07-13T08:57:23.899Z] stable info: [2023-07-13T08:57:23.899Z] ------------------- [2023-07-13T08:57:23.899Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T08:57:23.899Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T08:57:23.899Z] Message: update stable to v1.0.250 [2023-07-13T08:57:24.468Z] ------------------- [2023-07-13T08:57:24.468Z] experimental info: [2023-07-13T08:57:24.468Z] ------------------- [2023-07-13T08:57:24.468Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T08:57:24.468Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T08:57:24.468Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T08:57:24.789Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-13T08:57:24.831Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-13T08:57:24.868Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T08:57:24.907Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T08:57:24.945Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T08:57:24.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T08:57:25.021Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T08:57:25.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T08:57:25.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T08:57:25.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T08:57:25.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T08:57:25.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-13T08:57:25.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T08:57:25.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T08:57:25.347Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T08:57:25.386Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T08:57:25.425Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T08:57:25.470Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T08:57:25.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T08:57:25.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T08:57:25.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T08:57:25.637Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T08:57:25.675Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T08:57:25.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T08:57:25.769Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T08:57:25.813Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T08:57:25.858Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T08:57:25.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-13T08:57:25.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-13T08:57:25.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-13T08:57:26.024Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo [2023-07-13T08:57:26.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c87f3e0 [Pipeline] echo [2023-07-13T08:57:26.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T08:57:26.236Z] provisioning config files... [2023-07-13T08:57:26.248Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config9794461007547723181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T08:57:26.591Z] ---> docker-login.sh [2023-07-13T08:57:26.592Z] nexus3.edgexfoundry.org:10001 [2023-07-13T08:57:26.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:26.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:26.852Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:26.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:26.852Z] [2023-07-13T08:57:26.852Z] Login Succeeded [2023-07-13T08:57:26.852Z] nexus3.edgexfoundry.org:10002 [2023-07-13T08:57:26.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:27.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:27.111Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:27.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:27.111Z] [2023-07-13T08:57:27.111Z] Login Succeeded [2023-07-13T08:57:27.111Z] nexus3.edgexfoundry.org:10003 [2023-07-13T08:57:27.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:27.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:27.111Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:27.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:27.111Z] [2023-07-13T08:57:27.111Z] Login Succeeded [2023-07-13T08:57:27.111Z] nexus3.edgexfoundry.org:10004 [2023-07-13T08:57:27.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:27.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:27.111Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:27.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:27.111Z] [2023-07-13T08:57:27.111Z] Login Succeeded [2023-07-13T08:57:27.111Z] docker.io [2023-07-13T08:57:27.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:27.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:27.372Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:27.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:27.372Z] [2023-07-13T08:57:27.372Z] Login Succeeded [2023-07-13T08:57:27.372Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T08:57:27.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T08:57:28.033Z] + git rev-list -1 --merges c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0~1..c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo [2023-07-13T08:57:28.093Z] -----------> git rev-list -1 --merges c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0~1..c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [2023-07-13T08:57:28.093Z] c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [false] [Pipeline] sh [2023-07-13T08:57:28.404Z] + git log --format=format:%s -1 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo [2023-07-13T08:57:28.438Z] ========================================================= [2023-07-13T08:57:28.438Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T08:57:28.438Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T08:57:28.881Z] + git log --format=format:%s -1 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo [2023-07-13T08:57:28.918Z] [semverPrep] GIT_COMMIT: c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-13T08:57:28.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T08:57:29.327Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T08:57:29.327Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T08:57:29.327Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T08:57:29.327Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T08:57:29.328Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T08:57:29.328Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T08:57:29.328Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:57:29.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T08:57:29.847Z] [2023-07-13T08:57:29.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:57:30.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T08:57:30.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T08:57:30.228Z] b85a868b505f: Pulling fs layer [2023-07-13T08:57:30.228Z] e2be974225ed: Pulling fs layer [2023-07-13T08:57:30.228Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T08:57:30.228Z] 988bab9f4d93: Pulling fs layer [2023-07-13T08:57:30.228Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T08:57:30.228Z] eaf3925da568: Pulling fs layer [2023-07-13T08:57:30.228Z] bab4dde63d76: Pulling fs layer [2023-07-13T08:57:30.228Z] bde34c3a00c8: Pulling fs layer [2023-07-13T08:57:30.228Z] b352a97aabf1: Pulling fs layer [2023-07-13T08:57:30.228Z] 4872d77fe225: Pulling fs layer [2023-07-13T08:57:30.228Z] 988bab9f4d93: Waiting [2023-07-13T08:57:30.228Z] 5851b861e8e6: Pulling fs layer [2023-07-13T08:57:30.228Z] 1469e6f7b9e6: Waiting [2023-07-13T08:57:30.228Z] eaf3925da568: Waiting [2023-07-13T08:57:30.228Z] bab4dde63d76: Waiting [2023-07-13T08:57:30.228Z] bde34c3a00c8: Waiting [2023-07-13T08:57:30.228Z] b352a97aabf1: Waiting [2023-07-13T08:57:30.228Z] 4872d77fe225: Waiting [2023-07-13T08:57:30.228Z] 5851b861e8e6: Waiting [2023-07-13T08:57:30.228Z] e2be974225ed: Download complete [2023-07-13T08:57:30.228Z] 988bab9f4d93: Verifying Checksum [2023-07-13T08:57:30.228Z] 988bab9f4d93: Download complete [2023-07-13T08:57:30.228Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T08:57:30.228Z] 1469e6f7b9e6: Download complete [2023-07-13T08:57:30.228Z] eaf3925da568: Verifying Checksum [2023-07-13T08:57:30.228Z] eaf3925da568: Download complete [2023-07-13T08:57:30.487Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T08:57:30.487Z] 339a4e72a1f5: Download complete [2023-07-13T08:57:30.487Z] bde34c3a00c8: Download complete [2023-07-13T08:57:30.487Z] b352a97aabf1: Verifying Checksum [2023-07-13T08:57:30.487Z] b352a97aabf1: Download complete [2023-07-13T08:57:30.487Z] 4872d77fe225: Download complete [2023-07-13T08:57:30.487Z] 5851b861e8e6: Verifying Checksum [2023-07-13T08:57:30.487Z] 5851b861e8e6: Download complete [2023-07-13T08:57:30.487Z] b85a868b505f: Verifying Checksum [2023-07-13T08:57:30.487Z] b85a868b505f: Download complete [2023-07-13T08:57:30.748Z] bab4dde63d76: Verifying Checksum [2023-07-13T08:57:30.748Z] bab4dde63d76: Download complete [2023-07-13T08:57:31.683Z] b85a868b505f: Pull complete [2023-07-13T08:57:31.942Z] e2be974225ed: Pull complete [2023-07-13T08:57:32.202Z] 339a4e72a1f5: Pull complete [2023-07-13T08:57:32.202Z] 988bab9f4d93: Pull complete [2023-07-13T08:57:32.461Z] 1469e6f7b9e6: Pull complete [2023-07-13T08:57:32.720Z] eaf3925da568: Pull complete [2023-07-13T08:57:34.095Z] bab4dde63d76: Pull complete [2023-07-13T08:57:34.355Z] bde34c3a00c8: Pull complete [2023-07-13T08:57:34.355Z] b352a97aabf1: Pull complete [2023-07-13T08:57:34.615Z] 4872d77fe225: Pull complete [2023-07-13T08:57:34.615Z] 5851b861e8e6: Pull complete [2023-07-13T08:57:34.615Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T08:57:34.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T08:57:34.615Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T08:57:34.848Z] prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container [2023-07-13T08:57:34.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T08:57:37.811Z] $ docker top 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 -eo pid,comm [2023-07-13T08:57:37.863Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-13T08:57:37.863Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T08:57:37.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T08:57:37.984Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T08:57:38.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T08:57:38.103Z] $ docker exec 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent [2023-07-13T08:57:38.197Z] SSH_AUTH_SOCK=/tmp/ssh-1bEnY9lw0pZ9/agent.32 [2023-07-13T08:57:38.197Z] SSH_AGENT_PID=38 [2023-07-13T08:57:38.203Z] Running ssh-add (command line suppressed) [2023-07-13T08:57:38.307Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13453657408610991643.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13453657408610991643.key) [2023-07-13T08:57:38.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T08:57:38.641Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T08:57:38.670Z] $ docker exec --env ******** --env ******** 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent -k [2023-07-13T08:57:38.769Z] unset SSH_AUTH_SOCK; [2023-07-13T08:57:38.770Z] unset SSH_AGENT_PID; [2023-07-13T08:57:38.770Z] echo Agent pid 38 killed; [2023-07-13T08:57:38.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T08:57:38.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T08:57:38.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T08:57:38.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T08:57:38.980Z] $ docker exec 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent [2023-07-13T08:57:39.098Z] SSH_AUTH_SOCK=/tmp/ssh-lnqRl0kFjDL8/agent.70 [2023-07-13T08:57:39.098Z] SSH_AGENT_PID=76 [2023-07-13T08:57:39.103Z] Running ssh-add (command line suppressed) [2023-07-13T08:57:39.196Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_17363287600468314369.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_17363287600468314369.key) [2023-07-13T08:57:39.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T08:57:39.536Z] + git semver init [2023-07-13T08:57:39.796Z] 2023-07-13 08:57:39,713 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T08:57:39.796Z] 2023-07-13 08:57:39,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T08:57:39.796Z] 2023-07-13 08:57:39,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T08:57:39.796Z] 2023-07-13 08:57:39,715 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,562 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,562 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,566 [execute] INFO git cat-file --batch-check [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,573 [execute] INFO git cat-file --batch [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T08:57:40.734Z] 2023-07-13 08:57:40,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T08:57:40.734Z] 0.0.0 [Pipeline] } [2023-07-13T08:57:40.764Z] $ docker exec --env ******** --env ******** 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent -k [2023-07-13T08:57:40.868Z] unset SSH_AUTH_SOCK; [2023-07-13T08:57:40.868Z] unset SSH_AGENT_PID; [2023-07-13T08:57:40.869Z] echo Agent pid 76 killed; [2023-07-13T08:57:40.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T08:57:41.284Z] + git semver [Pipeline] } [2023-07-13T08:57:41.570Z] $ docker stop --time=1 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 [2023-07-13T08:57:42.837Z] $ docker rm -f --volumes 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T08:57:43.234Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T08:57:43.545Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T08:57:43.562Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T08:57:44.162Z] provisioning config files... [2023-07-13T08:57:44.171Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config14937806423180932116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T08:57:44.520Z] ---> docker-login.sh [2023-07-13T08:57:44.520Z] nexus3.edgexfoundry.org:10001 [2023-07-13T08:57:44.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:44.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:44.520Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:44.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:44.520Z] [2023-07-13T08:57:44.520Z] Login Succeeded [2023-07-13T08:57:44.520Z] nexus3.edgexfoundry.org:10002 [2023-07-13T08:57:44.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:44.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:44.520Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:44.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:44.520Z] [2023-07-13T08:57:44.520Z] Login Succeeded [2023-07-13T08:57:44.520Z] nexus3.edgexfoundry.org:10003 [2023-07-13T08:57:44.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:44.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:44.778Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:44.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:44.779Z] [2023-07-13T08:57:44.779Z] Login Succeeded [2023-07-13T08:57:44.779Z] nexus3.edgexfoundry.org:10004 [2023-07-13T08:57:44.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:44.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:44.779Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:44.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:44.779Z] [2023-07-13T08:57:44.779Z] Login Succeeded [2023-07-13T08:57:44.779Z] docker.io [2023-07-13T08:57:45.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T08:57:45.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T08:57:45.038Z] Configure a credential helper to remove this warning. See [2023-07-13T08:57:45.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T08:57:45.038Z] [2023-07-13T08:57:45.038Z] Login Succeeded [2023-07-13T08:57:45.038Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T08:57:45.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T08:57:45.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T08:57:45.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T08:57:45.344Z] ========================================================= [2023-07-13T08:57:45.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T08:57:45.344Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:57:45.814Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-13T08:57:45.814Z] Sending build context to Docker daemon 11.1MB [2023-07-13T08:57:45.814Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T08:57:45.814Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T08:57:45.814Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T08:57:45.814Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T08:57:45.814Z] 6911f1a30b25: Pulling fs layer [2023-07-13T08:57:45.814Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T08:57:45.814Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T08:57:45.814Z] ec0bb842ea78: Pulling fs layer [2023-07-13T08:57:45.814Z] 40a00589a448: Pulling fs layer [2023-07-13T08:57:45.814Z] 6c08303d61cc: Pulling fs layer [2023-07-13T08:57:45.814Z] 798269fcf238: Pulling fs layer [2023-07-13T08:57:45.814Z] 6c08303d61cc: Waiting [2023-07-13T08:57:45.814Z] 40a00589a448: Waiting [2023-07-13T08:57:45.814Z] 798269fcf238: Waiting [2023-07-13T08:57:45.814Z] 6863d3e3a2b1: Waiting [2023-07-13T08:57:45.814Z] ec0bb842ea78: Waiting [2023-07-13T08:57:45.814Z] 6911f1a30b25: Download complete [2023-07-13T08:57:46.074Z] 6863d3e3a2b1: Verifying Checksum [2023-07-13T08:57:46.074Z] 6863d3e3a2b1: Download complete [2023-07-13T08:57:46.074Z] ec0bb842ea78: Verifying Checksum [2023-07-13T08:57:46.074Z] ec0bb842ea78: Download complete [2023-07-13T08:57:46.074Z] 4db1b89c0bd1: Download complete [2023-07-13T08:57:46.074Z] 40a00589a448: Verifying Checksum [2023-07-13T08:57:46.074Z] 40a00589a448: Download complete [2023-07-13T08:57:46.074Z] 4db1b89c0bd1: Pull complete [2023-07-13T08:57:46.334Z] 6911f1a30b25: Pull complete [2023-07-13T08:57:46.592Z] 798269fcf238: Verifying Checksum [2023-07-13T08:57:46.592Z] 798269fcf238: Download complete [2023-07-13T08:57:46.592Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T08:57:46.592Z] e194b8c5c2a9: Download complete [2023-07-13T08:57:46.849Z] 6c08303d61cc: Verifying Checksum [2023-07-13T08:57:46.849Z] 6c08303d61cc: Download complete [2023-07-13T08:57:50.136Z] e194b8c5c2a9: Pull complete [2023-07-13T08:57:50.136Z] 6863d3e3a2b1: Pull complete [2023-07-13T08:57:50.136Z] ec0bb842ea78: Pull complete [2023-07-13T08:57:50.136Z] 40a00589a448: Pull complete [2023-07-13T08:57:52.036Z] 6c08303d61cc: Pull complete [2023-07-13T08:57:52.970Z] 798269fcf238: Pull complete [2023-07-13T08:57:52.970Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T08:57:52.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T08:57:52.970Z] ---> ec979cd7f677 [2023-07-13T08:57:52.970Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T08:57:58.246Z] ---> Running in 3fa594375b25 [2023-07-13T08:57:58.246Z] Removing intermediate container 3fa594375b25 [2023-07-13T08:57:58.246Z] ---> 392d9e0499e9 [2023-07-13T08:57:58.246Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T08:57:58.246Z] ---> Running in 871b918ba6d7 [2023-07-13T08:57:58.246Z] Removing intermediate container 871b918ba6d7 [2023-07-13T08:57:58.246Z] ---> 67545df33279 [2023-07-13T08:57:58.246Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T08:57:58.246Z] ---> Running in 871897b7f3f9 [2023-07-13T08:57:58.246Z] Removing intermediate container 871897b7f3f9 [2023-07-13T08:57:58.246Z] ---> dcba7c4caf62 [2023-07-13T08:57:58.246Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T08:57:58.246Z] ---> Running in fe8d64b90c47 [2023-07-13T08:57:58.246Z] Removing intermediate container fe8d64b90c47 [2023-07-13T08:57:58.246Z] ---> 7beb555ebc92 [2023-07-13T08:57:58.246Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T08:57:58.246Z] ---> Running in bf41fbe1a02a [2023-07-13T08:57:58.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T08:57:58.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T08:57:58.763Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T08:57:58.764Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T08:57:58.764Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T08:57:58.764Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T08:57:58.764Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T08:57:58.764Z] OK: 269 MiB in 57 packages [2023-07-13T08:57:58.978Z] Still waiting to schedule task [2023-07-13T08:57:58.979Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1044’ [2023-07-13T08:57:59.330Z] Removing intermediate container bf41fbe1a02a [2023-07-13T08:57:59.330Z] ---> 45672100c223 [2023-07-13T08:57:59.330Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T08:57:59.330Z] ---> 8f3cea36f0a4 [2023-07-13T08:57:59.330Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T08:57:59.330Z] ---> Running in d5bc1fa6f6ce [2023-07-13T08:58:38.086Z] Removing intermediate container d5bc1fa6f6ce [2023-07-13T08:58:38.086Z] ---> 6f0fb5885f71 [2023-07-13T08:58:38.086Z] Step 10/12 : COPY . . [2023-07-13T08:58:38.086Z] ---> f3da225b1af8 [2023-07-13T08:58:38.086Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T08:58:38.086Z] ---> Running in d4a967faf50b [2023-07-13T08:58:38.086Z] Removing intermediate container d4a967faf50b [2023-07-13T08:58:38.086Z] ---> 7d98bcc47c88 [2023-07-13T08:58:38.086Z] Step 12/12 : RUN ${MAKE} [2023-07-13T08:58:38.086Z] ---> Running in cc7a121a3ee9 [2023-07-13T08:58:38.086Z] noop [2023-07-13T08:58:38.086Z] Removing intermediate container cc7a121a3ee9 [2023-07-13T08:58:38.086Z] ---> 4e13498c65b1 [2023-07-13T08:58:38.086Z] Successfully built 4e13498c65b1 [2023-07-13T08:58:38.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:58:38.533Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T08:58:38.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T08:58:38.693Z] prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container [2023-07-13T08:58:38.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T08:58:39.059Z] $ docker top 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T08:58:39.448Z] + go version [2023-07-13T08:58:39.448Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T08:58:39.479Z] $ docker stop --time=1 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc [2023-07-13T08:58:40.759Z] $ docker rm -f --volumes 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:58:41.439Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T08:58:41.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T08:58:41.579Z] prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container [2023-07-13T08:58:41.616Z] $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T08:58:41.917Z] $ docker top b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T08:58:42.313Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-13T08:58:42.682Z] + make test [2023-07-13T08:58:42.682Z] go test ./... -coverprofile=coverage.out [2023-07-13T08:58:46.867Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T08:58:56.866Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T08:58:56.866Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T08:59:03.464Z] internal/driver/driver.go:209:19: S1039: unnecessary use of fmt.Sprintf (gosimple) [2023-07-13T08:59:03.464Z] s.lc.Debugf(fmt.Sprintf("Driver.HandleWriteCommands(): Error in hex.DecodeString")) [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:120:5: S1023: redundant break statement (gosimple) [2023-07-13T08:59:03.464Z] break [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:124:5: S1023: redundant break statement (gosimple) [2023-07-13T08:59:03.464Z] break [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:127:5: S1023: redundant break statement (gosimple) [2023-07-13T08:59:03.464Z] break [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:119:9: ineffectual assignment to err (ineffassign) [2023-07-13T08:59:03.464Z] cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, int8(value)) [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:123:9: ineffectual assignment to err (ineffassign) [2023-07-13T08:59:03.464Z] cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, int16(value)) [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] internal/driver/driver.go:126:9: ineffectual assignment to err (ineffassign) [2023-07-13T08:59:03.464Z] cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, rxbuf) [2023-07-13T08:59:03.464Z] ^ [2023-07-13T08:59:03.464Z] make: *** [Makefile:30: lint] Error 1 [Pipeline] } [2023-07-13T08:59:03.514Z] $ docker stop --time=1 b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e [2023-07-13T08:59:06.799Z] $ docker rm -f --volumes b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:59:08.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T08:59:08.026Z] [2023-07-13T08:59:08.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T08:59:08.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T08:59:08.405Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T08:59:08.405Z] 5eb5b503b376: Pulling fs layer [2023-07-13T08:59:08.405Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T08:59:08.405Z] ec43610c2a17: Pulling fs layer [2023-07-13T08:59:08.405Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T08:59:08.405Z] 33b1e0a273af: Pulling fs layer [2023-07-13T08:59:08.405Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T08:59:08.405Z] 2f39f015ded8: Pulling fs layer [2023-07-13T08:59:08.405Z] 5d3b04190fa2: Waiting [2023-07-13T08:59:08.405Z] 3a2ae6a8a46f: Waiting [2023-07-13T08:59:08.405Z] 33b1e0a273af: Waiting [2023-07-13T08:59:08.405Z] 2f39f015ded8: Waiting [2023-07-13T08:59:08.405Z] 5c69ac0246d0: Download complete [2023-07-13T08:59:08.405Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T08:59:08.405Z] 3a2ae6a8a46f: Download complete [2023-07-13T08:59:08.405Z] 33b1e0a273af: Verifying Checksum [2023-07-13T08:59:08.405Z] 33b1e0a273af: Download complete [2023-07-13T08:59:08.405Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T08:59:08.405Z] 5d3b04190fa2: Download complete [2023-07-13T08:59:08.405Z] ec43610c2a17: Verifying Checksum [2023-07-13T08:59:08.405Z] ec43610c2a17: Download complete [2023-07-13T08:59:08.663Z] 5eb5b503b376: Verifying Checksum [2023-07-13T08:59:08.663Z] 5eb5b503b376: Download complete [2023-07-13T08:59:09.229Z] 2f39f015ded8: Download complete [2023-07-13T08:59:09.796Z] 5eb5b503b376: Pull complete [2023-07-13T08:59:10.055Z] 5c69ac0246d0: Pull complete [2023-07-13T08:59:10.622Z] ec43610c2a17: Pull complete [2023-07-13T08:59:10.622Z] 3a2ae6a8a46f: Pull complete [2023-07-13T08:59:10.622Z] 33b1e0a273af: Pull complete [2023-07-13T08:59:10.879Z] 5d3b04190fa2: Pull complete [2023-07-13T08:59:15.059Z] 2f39f015ded8: Pull complete [2023-07-13T08:59:15.059Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T08:59:15.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T08:59:15.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T08:59:15.284Z] prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container [2023-07-13T08:59:15.316Z] $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T08:59:18.816Z] $ docker top 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T08:59:19.276Z] ---> job-cost.sh [2023-07-13T08:59:19.276Z] lf-activate-venv: SKIPPING [2023-07-13T08:59:19.276Z] INFO: No Stack... [2023-07-13T08:59:19.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T08:59:20.105Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T08:59:20.417Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-13T08:59:20.417Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T08:59:20.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [2023-07-13T08:59:20.461Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] did not exist. Created. [2023-07-13T08:59:20.461Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T08:59:20.857Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T08:59:20.915Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T08:59:20.933Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T08:59:21.020Z] $ docker stop --time=1 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f [2023-07-13T08:59:22.164Z] $ docker rm -f --volumes 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T08:59:22.520Z] Failed in branch amd64 [2023-07-13T09:01:35.886Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1046 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws [2023-07-13T09:01:35.938Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2023-07-13T09:01:36.015Z] The recommended git tool is: git [2023-07-13T09:01:41.606Z] using credential edgex-jenkins-ssh [2023-07-13T09:01:41.622Z] Cloning the remote Git repository [2023-07-13T09:01:41.665Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-13T09:01:41.763Z] > git init /w/workspace/device-uart/1 # timeout=10 [2023-07-13T09:01:41.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T09:01:41.924Z] > git --version # timeout=10 [2023-07-13T09:01:41.951Z] > git --version # 'git version 2.25.1' [2023-07-13T09:01:41.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T09:01:42.106Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T09:01:43.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T09:01:43.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T09:01:44.727Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf [2023-07-13T09:01:44.115Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T09:01:44.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T09:01:44.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T09:01:44.175Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-13T09:01:44.745Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T09:01:45.052Z] Merge succeeded, producing 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 [2023-07-13T09:01:45.052Z] Checking out Revision 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 (PR-20) [2023-07-13T09:01:44.832Z] > git checkout -f 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf # timeout=10 [2023-07-13T09:01:44.912Z] > git remote # timeout=10 [2023-07-13T09:01:44.938Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T09:01:44.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T09:01:44.978Z] > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-13T09:01:45.032Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T09:01:45.057Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T09:01:45.072Z] > git checkout -f 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 [2023-07-13T09:01:48.535Z] Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" [2023-07-13T09:01:48.535Z] First time build. Skipping changelog. [2023-07-13T09:01:48.585Z] > git --version # timeout=10 [2023-07-13T09:01:48.601Z] > git --version # 'git version 2.25.1' [2023-07-13T09:01:48.618Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T09:01:49.831Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T09:01:49.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T09:01:49.831Z] Dload Upload Total Spent Left Speed [2023-07-13T09:01:49.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh [2023-07-13T09:01:50.531Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T09:01:50.893Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T09:01:50.893Z] + sudo tee /etc/docker/daemon.new [2023-07-13T09:01:50.893Z] { [2023-07-13T09:01:50.893Z] "registry-mirrors": [ [2023-07-13T09:01:50.893Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T09:01:50.893Z] ], [2023-07-13T09:01:50.893Z] "bip": "10.250.0.254/24", [2023-07-13T09:01:50.893Z] "hosts": [ [2023-07-13T09:01:50.893Z] "tcp://0.0.0.0:5555", [2023-07-13T09:01:50.893Z] "unix:///var/run/docker.sock" [2023-07-13T09:01:50.893Z] ], [2023-07-13T09:01:50.893Z] "mtu": 1458, [2023-07-13T09:01:50.893Z] "selinux-enabled": true, [2023-07-13T09:01:50.893Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T09:01:50.893Z] } [Pipeline] sh [2023-07-13T09:01:51.241Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T09:01:51.592Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T09:02:09.928Z] provisioning config files... [2023-07-13T09:02:09.958Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config11068656921019967953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:02:10.357Z] ---> docker-login.sh [2023-07-13T09:02:10.358Z] nexus3.edgexfoundry.org:10001 [2023-07-13T09:02:10.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T09:02:10.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T09:02:10.957Z] Configure a credential helper to remove this warning. See [2023-07-13T09:02:10.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T09:02:10.957Z] [2023-07-13T09:02:10.957Z] Login Succeeded [2023-07-13T09:02:10.957Z] nexus3.edgexfoundry.org:10002 [2023-07-13T09:02:11.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T09:02:11.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T09:02:11.497Z] Configure a credential helper to remove this warning. See [2023-07-13T09:02:11.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T09:02:11.497Z] [2023-07-13T09:02:11.497Z] Login Succeeded [2023-07-13T09:02:11.497Z] nexus3.edgexfoundry.org:10003 [2023-07-13T09:02:11.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T09:02:11.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T09:02:11.767Z] Configure a credential helper to remove this warning. See [2023-07-13T09:02:11.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T09:02:11.767Z] [2023-07-13T09:02:11.767Z] Login Succeeded [2023-07-13T09:02:11.767Z] nexus3.edgexfoundry.org:10004 [2023-07-13T09:02:12.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T09:02:12.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T09:02:12.040Z] Configure a credential helper to remove this warning. See [2023-07-13T09:02:12.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T09:02:12.040Z] [2023-07-13T09:02:12.040Z] Login Succeeded [2023-07-13T09:02:12.040Z] docker.io [2023-07-13T09:02:12.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T09:02:12.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T09:02:12.638Z] Configure a credential helper to remove this warning. See [2023-07-13T09:02:12.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T09:02:12.638Z] [2023-07-13T09:02:12.638Z] Login Succeeded [2023-07-13T09:02:12.638Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T09:02:12.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T09:02:13.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T09:02:13.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T09:02:13.210Z] ========================================================= [2023-07-13T09:02:13.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T09:02:13.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:02:13.719Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-13T09:02:13.989Z] Sending build context to Docker daemon 5.6MB [2023-07-13T09:02:13.989Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T09:02:13.989Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T09:02:14.258Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T09:02:14.258Z] edb6bdbacee9: Pulling fs layer [2023-07-13T09:02:14.258Z] 5f9638ab2659: Pulling fs layer [2023-07-13T09:02:14.258Z] 8d51d6327a98: Pulling fs layer [2023-07-13T09:02:14.258Z] 8b374f2dd631: Pulling fs layer [2023-07-13T09:02:14.258Z] ec14aa9079de: Pulling fs layer [2023-07-13T09:02:14.258Z] 2f466654f4bb: Pulling fs layer [2023-07-13T09:02:14.258Z] 554e91adad29: Pulling fs layer [2023-07-13T09:02:14.258Z] ec14aa9079de: Waiting [2023-07-13T09:02:14.258Z] 8b374f2dd631: Waiting [2023-07-13T09:02:14.258Z] 554e91adad29: Waiting [2023-07-13T09:02:14.258Z] 2f466654f4bb: Waiting [2023-07-13T09:02:14.258Z] 5f9638ab2659: Download complete [2023-07-13T09:02:14.258Z] 8b374f2dd631: Verifying Checksum [2023-07-13T09:02:14.258Z] 8b374f2dd631: Download complete [2023-07-13T09:02:14.258Z] ec14aa9079de: Verifying Checksum [2023-07-13T09:02:14.258Z] ec14aa9079de: Download complete [2023-07-13T09:02:14.258Z] edb6bdbacee9: Verifying Checksum [2023-07-13T09:02:14.258Z] edb6bdbacee9: Download complete [2023-07-13T09:02:15.239Z] edb6bdbacee9: Pull complete [2023-07-13T09:02:15.509Z] 554e91adad29: Verifying Checksum [2023-07-13T09:02:15.509Z] 554e91adad29: Download complete [2023-07-13T09:02:15.779Z] 5f9638ab2659: Pull complete [2023-07-13T09:02:16.865Z] 8d51d6327a98: Verifying Checksum [2023-07-13T09:02:16.865Z] 8d51d6327a98: Download complete [2023-07-13T09:02:16.865Z] 2f466654f4bb: Verifying Checksum [2023-07-13T09:02:16.865Z] 2f466654f4bb: Download complete [2023-07-13T09:02:29.221Z] 8d51d6327a98: Pull complete [2023-07-13T09:02:29.221Z] 8b374f2dd631: Pull complete [2023-07-13T09:02:29.221Z] ec14aa9079de: Pull complete [2023-07-13T09:02:34.580Z] 2f466654f4bb: Pull complete [2023-07-13T09:02:37.175Z] 554e91adad29: Pull complete [2023-07-13T09:02:37.175Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T09:02:37.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T09:02:37.175Z] ---> 1e15ea492957 [2023-07-13T09:02:37.175Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T09:02:38.603Z] ---> Running in f17f8e63a962 [2023-07-13T09:02:38.874Z] Removing intermediate container f17f8e63a962 [2023-07-13T09:02:38.874Z] ---> ee7fb1bb14c3 [2023-07-13T09:02:38.874Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T09:02:39.142Z] ---> Running in 603336068cca [2023-07-13T09:02:39.412Z] Removing intermediate container 603336068cca [2023-07-13T09:02:39.412Z] ---> c8e4646a5f81 [2023-07-13T09:02:39.412Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T09:02:39.412Z] ---> Running in 332b9a316b88 [2023-07-13T09:02:39.681Z] Removing intermediate container 332b9a316b88 [2023-07-13T09:02:39.681Z] ---> e23695d59945 [2023-07-13T09:02:39.681Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T09:02:39.681Z] ---> Running in d7bb133e8069 [2023-07-13T09:02:39.949Z] Removing intermediate container d7bb133e8069 [2023-07-13T09:02:39.949Z] ---> 012ade3712c8 [2023-07-13T09:02:39.949Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T09:02:40.220Z] ---> Running in 37ad003ef0d6 [2023-07-13T09:02:41.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T09:02:42.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T09:02:43.117Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T09:02:43.117Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T09:02:43.117Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T09:02:43.117Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T09:02:43.117Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T09:02:43.117Z] OK: 268 MiB in 57 packages [2023-07-13T09:02:44.079Z] Removing intermediate container 37ad003ef0d6 [2023-07-13T09:02:44.079Z] ---> 5989c1bc69ba [2023-07-13T09:02:44.079Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T09:02:46.030Z] ---> 22d1e9d9efa2 [2023-07-13T09:02:46.030Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T09:02:46.030Z] ---> Running in 39f218032208 [2023-07-13T09:03:53.923Z] Removing intermediate container 39f218032208 [2023-07-13T09:03:53.923Z] ---> e0c5ce7ecae3 [2023-07-13T09:03:53.923Z] Step 10/12 : COPY . . [2023-07-13T09:03:53.923Z] ---> f45f504fac5d [2023-07-13T09:03:53.923Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T09:03:53.923Z] ---> Running in 4cc8ba0e4562 [2023-07-13T09:03:53.923Z] Removing intermediate container 4cc8ba0e4562 [2023-07-13T09:03:53.923Z] ---> a2b47d35f2bf [2023-07-13T09:03:53.923Z] Step 12/12 : RUN ${MAKE} [2023-07-13T09:03:53.923Z] ---> Running in 40bb0c65772e [2023-07-13T09:03:53.923Z] noop [2023-07-13T09:03:53.923Z] Removing intermediate container 40bb0c65772e [2023-07-13T09:03:53.923Z] ---> 45adbb4425e7 [2023-07-13T09:03:53.923Z] Successfully built 45adbb4425e7 [2023-07-13T09:03:53.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:03:54.407Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T09:03:54.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T09:03:54.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container [2023-07-13T09:03:54.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T09:03:56.011Z] $ docker top 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T09:03:56.892Z] + go version [2023-07-13T09:03:56.892Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T09:03:56.925Z] $ docker stop --time=1 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 [2023-07-13T09:03:58.554Z] $ docker rm -f --volumes 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:03:59.418Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T09:03:59.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T09:03:59.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container [2023-07-13T09:03:59.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T09:04:00.893Z] $ docker top 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T09:04:01.445Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2023-07-13T09:04:02.098Z] + make test [2023-07-13T09:04:02.098Z] go test ./... -coverprofile=coverage.out [2023-07-13T09:04:34.330Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T09:06:26.011Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T09:06:26.011Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T09:06:26.011Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T09:06:26.011Z] go vet ./... [2023-07-13T09:06:48.133Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T09:06:48.133Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T09:06:48.133Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-13T09:06:48.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T09:06:48.205Z] $ docker stop --time=1 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c [2023-07-13T09:06:50.188Z] $ docker rm -f --volumes 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T09:06:51.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T09:06:52.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T09:06:53.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T09:06:53.808Z] + ls -al . [2023-07-13T09:06:53.808Z] total 136 [2023-07-13T09:06:53.808Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 09:04 . [2023-07-13T09:06:53.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 09:01 .. [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 09:01 .dockerignore [2023-07-13T09:06:53.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 09:01 .git [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 09:01 .gitignore [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 09:01 .golangci.yml [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 09:01 Attribution.txt [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 09:01 Dockerfile [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 09:01 GOVERNANCE.md [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 09:01 Jenkinsfile [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 09:01 LICENSE [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 09:01 Makefile [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 09:01 OWNERS.md [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 09:01 README.md [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 08:57 VERSION [2023-07-13T09:06:53.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 09:01 bin [2023-07-13T09:06:53.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 09:01 cmd [2023-07-13T09:06:53.808Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 13 09:04 coverage.out [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 09:01 go.mod [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 09:01 go.sum [2023-07-13T09:06:53.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 09:01 internal [2023-07-13T09:06:53.808Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:06:54.399Z] + 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=5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 --label arch=arm64 --label version=0.0.0 . [2023-07-13T09:06:55.003Z] Sending build context to Docker daemon 5.601MB [2023-07-13T09:06:55.003Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T09:06:55.003Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-13T09:06:55.003Z] ---> 45adbb4425e7 [2023-07-13T09:06:55.003Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T09:06:55.003Z] ---> Running in df0cd6f4166e [2023-07-13T09:06:55.593Z] Removing intermediate container df0cd6f4166e [2023-07-13T09:06:55.593Z] ---> ca61f169703b [2023-07-13T09:06:55.593Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T09:06:55.593Z] ---> Running in 230515a5011e [2023-07-13T09:06:56.554Z] Removing intermediate container 230515a5011e [2023-07-13T09:06:56.554Z] ---> 3e174d131418 [2023-07-13T09:06:56.554Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-13T09:06:56.554Z] ---> Running in 4b51d563e02b [2023-07-13T09:06:57.156Z] Removing intermediate container 4b51d563e02b [2023-07-13T09:06:57.156Z] ---> ae39d50c111b [2023-07-13T09:06:57.156Z] Step 6/25 : WORKDIR /device-uart [2023-07-13T09:06:57.156Z] ---> Running in d18ea6a238ec [2023-07-13T09:06:58.564Z] Removing intermediate container d18ea6a238ec [2023-07-13T09:06:58.564Z] ---> 87e1dbc17b58 [2023-07-13T09:06:58.564Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T09:06:58.564Z] ---> Running in 30c55a1fb84c [2023-07-13T09:06:59.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T09:07:00.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T09:07:01.543Z] OK: 268 MiB in 57 packages [2023-07-13T09:07:02.962Z] Removing intermediate container 30c55a1fb84c [2023-07-13T09:07:02.962Z] ---> 3e06e40c8b86 [2023-07-13T09:07:02.962Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-13T09:07:03.231Z] ---> 6b92cc3de795 [2023-07-13T09:07:03.231Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T09:07:03.231Z] ---> Running in 47383523325d [2023-07-13T09:07:05.171Z] Removing intermediate container 47383523325d [2023-07-13T09:07:05.171Z] ---> 8a7ff2247c8a [2023-07-13T09:07:05.171Z] Step 10/25 : COPY . . [2023-07-13T09:07:06.133Z] ---> 8304b899c69a [2023-07-13T09:07:06.133Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T09:07:06.133Z] ---> Running in d22294eb81fd [2023-07-13T09:07:06.404Z] Removing intermediate container d22294eb81fd [2023-07-13T09:07:06.404Z] ---> 0e8233809c34 [2023-07-13T09:07:06.404Z] Step 12/25 : RUN ${MAKE} [2023-07-13T09:07:06.404Z] ---> Running in 51c6a82da5a3 [2023-07-13T09:07:07.365Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-07-13T09:09:14.042Z] Removing intermediate container 51c6a82da5a3 [2023-07-13T09:09:14.042Z] ---> f126bcc1bff9 [2023-07-13T09:09:14.042Z] Step 13/25 : FROM alpine:3.17 [2023-07-13T09:09:14.042Z] 3.17: Pulling from library/alpine [2023-07-13T09:09:14.042Z] edb6bdbacee9: Already exists [2023-07-13T09:09:14.042Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T09:09:14.042Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T09:09:14.042Z] ---> 779605e5fbc0 [2023-07-13T09:09:14.042Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-13T09:09:14.042Z] ---> Running in 3e8b8aaf900a [2023-07-13T09:09:14.042Z] Removing intermediate container 3e8b8aaf900a [2023-07-13T09:09:14.042Z] ---> 5fa04a4ca8d2 [2023-07-13T09:09:14.042Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-13T09:09:14.042Z] ---> Running in 94e370be872d [2023-07-13T09:09:14.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T09:09:14.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T09:09:14.042Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-13T09:09:14.042Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T09:09:14.042Z] OK: 8 MiB in 16 packages [2023-07-13T09:09:14.042Z] Removing intermediate container 94e370be872d [2023-07-13T09:09:14.042Z] ---> 8a961529ac1d [2023-07-13T09:09:14.042Z] Step 16/25 : WORKDIR / [2023-07-13T09:09:14.042Z] ---> Running in 89a4dd002534 [2023-07-13T09:09:14.042Z] Removing intermediate container 89a4dd002534 [2023-07-13T09:09:14.042Z] ---> 30e407f644d4 [2023-07-13T09:09:14.042Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-13T09:09:14.042Z] ---> 64e3e95b05df [2023-07-13T09:09:14.042Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-13T09:09:14.042Z] ---> 8dbadc131e0f [2023-07-13T09:09:14.042Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-13T09:09:14.042Z] ---> 0c45ef9d825d [2023-07-13T09:09:14.042Z] Step 20/25 : EXPOSE 59995 [2023-07-13T09:09:14.042Z] ---> Running in 0af94d5ecafe [2023-07-13T09:09:14.042Z] Removing intermediate container 0af94d5ecafe [2023-07-13T09:09:14.042Z] ---> a36a119e35b4 [2023-07-13T09:09:14.042Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-13T09:09:14.042Z] ---> Running in 5cedd1a252da [2023-07-13T09:09:14.042Z] Removing intermediate container 5cedd1a252da [2023-07-13T09:09:14.042Z] ---> 4bd37cedd7c4 [2023-07-13T09:09:14.042Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-13T09:09:14.042Z] ---> Running in ce8b0616ad64 [2023-07-13T09:09:14.042Z] Removing intermediate container ce8b0616ad64 [2023-07-13T09:09:14.042Z] ---> 9608be878d1a [2023-07-13T09:09:14.042Z] Step 23/25 : LABEL arch=arm64 [2023-07-13T09:09:14.042Z] ---> Running in 01297f647f1f [2023-07-13T09:09:14.042Z] Removing intermediate container 01297f647f1f [2023-07-13T09:09:14.042Z] ---> 6ff6b1e93420 [2023-07-13T09:09:14.042Z] Step 24/25 : LABEL git_sha=5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 [2023-07-13T09:09:14.042Z] ---> Running in d8546c7a73e6 [2023-07-13T09:09:14.042Z] Removing intermediate container d8546c7a73e6 [2023-07-13T09:09:14.042Z] ---> 4208634c1861 [2023-07-13T09:09:14.042Z] Step 25/25 : LABEL version=0.0.0 [2023-07-13T09:09:14.042Z] ---> Running in f2c4d1e97851 [2023-07-13T09:09:14.307Z] Removing intermediate container f2c4d1e97851 [2023-07-13T09:09:14.307Z] ---> ba1d4e613c27 [2023-07-13T09:09:14.308Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T09:09:14.308Z] Successfully built ba1d4e613c27 [2023-07-13T09:09:14.308Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:09:15.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T09:09:15.151Z] [2023-07-13T09:09:15.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:09:15.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T09:09:15.552Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T09:09:15.552Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T09:09:15.552Z] 04944245beec: Pulling fs layer [2023-07-13T09:09:15.552Z] 699f458cf7ca: Pulling fs layer [2023-07-13T09:09:15.552Z] 765212b225bb: Pulling fs layer [2023-07-13T09:09:15.552Z] f23df028b6ca: Pulling fs layer [2023-07-13T09:09:15.552Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T09:09:15.552Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T09:09:15.552Z] 765212b225bb: Waiting [2023-07-13T09:09:15.552Z] f23df028b6ca: Waiting [2023-07-13T09:09:15.552Z] d65c8cfc05b1: Waiting [2023-07-13T09:09:15.552Z] 2437ff75d9bd: Waiting [2023-07-13T09:09:15.820Z] 04944245beec: Verifying Checksum [2023-07-13T09:09:15.820Z] 04944245beec: Download complete [2023-07-13T09:09:15.820Z] 765212b225bb: Download complete [2023-07-13T09:09:15.820Z] f23df028b6ca: Verifying Checksum [2023-07-13T09:09:15.820Z] f23df028b6ca: Download complete [2023-07-13T09:09:15.820Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T09:09:15.820Z] d65c8cfc05b1: Download complete [2023-07-13T09:09:15.820Z] 699f458cf7ca: Verifying Checksum [2023-07-13T09:09:15.820Z] 699f458cf7ca: Download complete [2023-07-13T09:09:16.405Z] 8998bd30e6a1: Download complete [2023-07-13T09:09:18.983Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T09:09:18.983Z] 2437ff75d9bd: Download complete [2023-07-13T09:09:20.401Z] 8998bd30e6a1: Pull complete [2023-07-13T09:09:20.667Z] 04944245beec: Pull complete [2023-07-13T09:09:22.072Z] 699f458cf7ca: Pull complete [2023-07-13T09:09:22.072Z] 765212b225bb: Pull complete [2023-07-13T09:09:22.655Z] f23df028b6ca: Pull complete [2023-07-13T09:09:22.923Z] d65c8cfc05b1: Pull complete [2023-07-13T09:09:37.904Z] 2437ff75d9bd: Pull complete [2023-07-13T09:09:37.904Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T09:09:37.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T09:09:37.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T09:09:38.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container [2023-07-13T09:09:38.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T09:09:40.626Z] $ docker top 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:41.516Z] ---> job-cost.sh [2023-07-13T09:09:41.516Z] lf-activate-venv: SKIPPING [2023-07-13T09:09:41.516Z] INFO: No Stack... [2023-07-13T09:09:42.096Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T09:09:42.703Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T09:09:43.036Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2023-07-13T09:09:43.036Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T09:09:43.380Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [2023-07-13T09:09:43.385Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] did not exist. Created. [2023-07-13T09:09:43.385Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T09:09:43.792Z] /w/workspace/device-uart/1@tmp/durable-9cae0c09/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T09:09:44.142Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T09:09:44.179Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T09:09:44.221Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T09:09:44.235Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T09:09:44.309Z] $ docker stop --time=1 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca [2023-07-13T09:09:45.780Z] $ docker rm -f --volumes 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-13T09:09:48.315Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-13T09:09:48.315Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T09:09:48.315Z] total 16 [2023-07-13T09:09:48.315Z] drwxr-xr-x 3 root root 4096 Jul 13 08:59 . [2023-07-13T09:09:48.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 08:59 .. [2023-07-13T09:09:48.315Z] drwxr-xr-x 2 root root 4096 Jul 13 08:59 cost [2023-07-13T09:09:48.315Z] -rw-r--r-- 1 root root 82 Jul 13 08:59 cost.csv [2023-07-13T09:09:48.315Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T09:09:48.315Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T09:09:48.315Z] total 16 [2023-07-13T09:09:48.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 08:59 . [2023-07-13T09:09:48.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 08:59 .. [2023-07-13T09:09:48.315Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 08:59 cost [2023-07-13T09:09:48.315Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 13 08:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:48.640Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:49.529Z] ---> package-listing.sh [2023-07-13T09:09:49.529Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T09:09:49.529Z] ++ facter osfamily [2023-07-13T09:09:49.529Z] + OS_FAMILY=debian [2023-07-13T09:09:49.529Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-13T09:09:49.529Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T09:09:49.529Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T09:09:49.529Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T09:09:49.529Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T09:09:49.529Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T09:09:49.529Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T09:09:49.529Z] + case "${OS_FAMILY}" in [2023-07-13T09:09:49.529Z] + dpkg -l [2023-07-13T09:09:49.529Z] + grep '^ii' [2023-07-13T09:09:49.788Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T09:09:49.788Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T09:09:49.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T09:09:49.788Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T09:09:49.788Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-13T09:09:49.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo [2023-07-13T09:09:49.825Z] 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-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-13T09:09:50.117Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T09:09:50.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T09:09:50.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T09:09:50.892Z] prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container [2023-07-13T09:09:50.921Z] $ 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-20/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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T09:09:51.550Z] $ docker top 518d963d22978b8c6ae62a3daf3906e57283fe7845220f2e9ebd2a81f32940e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T09:09:55.828Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T09:09:56.615Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T09:09:57.927Z] + ls /var/log/sa-host [2023-07-13T09:09:57.927Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T09:09:58.069Z] provisioning config files... [2023-07-13T09:09:58.078Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config1321282065337563560tmp [Pipeline] { [Pipeline] echo [2023-07-13T09:09:58.132Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:58.444Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T09:09:58.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:58.866Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T09:09:58.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:59.205Z] ---> sudo-logs.sh [2023-07-13T09:09:59.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T09:09:59.287Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:09:59.598Z] ---> job-cost.sh [2023-07-13T09:09:59.598Z] lf-activate-venv: SKIPPING [2023-07-13T09:09:59.598Z] DEBUG: total: 0.2199999988079071 [2023-07-13T09:09:59.598Z] INFO: Retrieving Stack Cost... [2023-07-13T09:09:59.859Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T09:10:00.425Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T09:10:00.460Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T09:10:00.769Z] ---> logs-deploy.sh [2023-07-13T09:10:00.769Z] lf-activate-venv: SKIPPING [2023-07-13T09:10:00.769Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/1 [2023-07-13T09:10:00.769Z] INFO: archiving workspace using pattern(s): [2023-07-13T09:10:01.705Z] Archives upload complete. [2023-07-13T09:10:01.705Z] INFO: archiving logs to Nexus