Pull request #57 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb350d139e1841c4ca5cea05452acc70a84c5384+3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd (999aea5aeb6659a279cd535d74e5ca2a546f2bbd) 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-ssh3941616655098273231.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3430603262401873535.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-57/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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14328476429272891944.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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13927751374717209906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5559103732157193178.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-57/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-57/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13284809768998535346.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4937 in /w/workspace/edgexfoundry_device-uart_PR-57 [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-57 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd into PR head commit fb350d139e1841c4ca5cea05452acc70a84c5384 Merge succeeded, producing fb350d139e1841c4ca5cea05452acc70a84c5384 Checking out Revision fb350d139e1841c4ca5cea05452acc70a84c5384 (PR-57) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f fb350d139e1841c4ca5cea05452acc70a84c5384 # 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 3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb350d139e1841c4ca5cea05452acc70a84c5384 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:08:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:46 ========================================================= 19:08:46 EdgeX Global Pipelines Version Info 19:08:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:08:47 ------------------- 19:08:47 stable info: 19:08:47 ------------------- 19:08:47 Commited By: Ginny Guan ginny@iotechsys.com 19:08:47 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 19:08:47 Message: update stable to v1.0.260 19:08:47 ------------------- 19:08:47 experimental info: 19:08:47 ------------------- 19:08:47 Commited By: Ginny Guan ginny@iotechsys.com 19:08:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 19:08:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-57 [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-57 [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-57 [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb350d139e1841c4ca5cea05452acc70a84c5384 [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb350d1 [Pipeline] echo 19:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:50 provisioning config files... 19:08:50 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-57@tmp/config9145911467497218040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:51 ---> ****-login.sh 19:08:51 nexus3.edgexfoundry.org:10001 19:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:51 Configure a credential helper to remove this warning. See 19:08:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:51 19:08:51 Login Succeeded 19:08:51 nexus3.edgexfoundry.org:10002 19:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:51 Configure a credential helper to remove this warning. See 19:08:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:51 19:08:51 Login Succeeded 19:08:51 nexus3.edgexfoundry.org:10003 19:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:51 Configure a credential helper to remove this warning. See 19:08:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:51 19:08:51 Login Succeeded 19:08:51 nexus3.edgexfoundry.org:10004 19:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:52 Configure a credential helper to remove this warning. See 19:08:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:52 19:08:52 Login Succeeded 19:08:52 ****.io 19:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:52 Configure a credential helper to remove this warning. See 19:08:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:52 19:08:52 Login Succeeded 19:08:52 ---> ****-login.sh ends [Pipeline] } 19:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:08:53 + git rev-list -1 --merges fb350d139e1841c4ca5cea05452acc70a84c5384~1..fb350d139e1841c4ca5cea05452acc70a84c5384 [Pipeline] echo 19:08:53 -----------> git rev-list -1 --merges fb350d139e1841c4ca5cea05452acc70a84c5384~1..fb350d139e1841c4ca5cea05452acc70a84c5384 fb350d139e1841c4ca5cea05452acc70a84c5384 [false] [Pipeline] sh 19:08:53 + git log --format=format:%s -1 fb350d139e1841c4ca5cea05452acc70a84c5384 [Pipeline] echo 19:08:53 ========================================================= 19:08:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:08:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:54 + git log --format=format:%s -1 fb350d139e1841c4ca5cea05452acc70a84c5384 [Pipeline] echo 19:08:54 [semverPrep] GIT_COMMIT: fb350d139e1841c4ca5cea05452acc70a84c5384, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 19:08:54 [semverPrep] This is not a build commit. [Pipeline] sh 19:08:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:54 + grep -v github /etc/ssh/ssh_known_hosts 19:08:54 + [ -e /tmp/ssh_known_hosts ] 19:08:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:08:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:08:54 + sudo tee -a /etc/ssh/ssh_known_hosts 19:08:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:55 19:08:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:55 0.1.4: Pulling from edgex-devops/py-git-semver 19:08:55 b85a868b505f: Pulling fs layer 19:08:55 e2be974225ed: Pulling fs layer 19:08:55 339a4e72a1f5: Pulling fs layer 19:08:55 988bab9f4d93: Pulling fs layer 19:08:55 1469e6f7b9e6: Pulling fs layer 19:08:55 eaf3925da568: Pulling fs layer 19:08:55 bab4dde63d76: Pulling fs layer 19:08:55 bde34c3a00c8: Pulling fs layer 19:08:55 b352a97aabf1: Pulling fs layer 19:08:55 4872d77fe225: Pulling fs layer 19:08:55 5851b861e8e6: Pulling fs layer 19:08:55 bab4dde63d76: Waiting 19:08:55 4872d77fe225: Waiting 19:08:55 5851b861e8e6: Waiting 19:08:55 bde34c3a00c8: Waiting 19:08:55 b352a97aabf1: Waiting 19:08:55 1469e6f7b9e6: Waiting 19:08:55 988bab9f4d93: Waiting 19:08:55 eaf3925da568: Waiting 19:08:55 e2be974225ed: Verifying Checksum 19:08:55 e2be974225ed: Download complete 19:08:55 988bab9f4d93: Download complete 19:08:56 1469e6f7b9e6: Verifying Checksum 19:08:56 1469e6f7b9e6: Download complete 19:08:56 eaf3925da568: Download complete 19:08:56 339a4e72a1f5: Verifying Checksum 19:08:56 339a4e72a1f5: Download complete 19:08:56 b352a97aabf1: Download complete 19:08:56 4872d77fe225: Verifying Checksum 19:08:56 4872d77fe225: Download complete 19:08:56 5851b861e8e6: Verifying Checksum 19:08:56 5851b861e8e6: Download complete 19:08:56 b85a868b505f: Verifying Checksum 19:08:56 b85a868b505f: Download complete 19:08:56 bab4dde63d76: Verifying Checksum 19:08:56 bab4dde63d76: Download complete 19:08:57 b85a868b505f: Pull complete 19:08:57 e2be974225ed: Pull complete 19:08:58 339a4e72a1f5: Pull complete 19:08:58 988bab9f4d93: Pull complete 19:08:58 1469e6f7b9e6: Pull complete 19:08:58 eaf3925da568: Pull complete 19:09:00 bab4dde63d76: Pull complete 19:09:00 bde34c3a00c8: Pull complete 19:09:00 b352a97aabf1: Pull complete 19:09:00 4872d77fe225: Pull complete 19:09:00 5851b861e8e6: Pull complete 19:09:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:01 prd-ubuntu20.04-docker-8c-8g-4937 does not seem to be running inside a container 19:09:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-57 -v /w/workspace/edgexfoundry_device-uart_PR-57:/w/workspace/edgexfoundry_device-uart_PR-57:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-57@tmp:/w/workspace/edgexfoundry_device-uart_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:09:02 $ docker top 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d -eo pid,comm 19:09:02 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). 19:09:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:02 [ssh-agent] Looking for ssh-agent implementation... 19:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:02 $ docker exec 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d ssh-agent 19:09:02 SSH_AUTH_SOCK=/tmp/ssh-NYidV19oTfzr/agent.32 19:09:02 SSH_AGENT_PID=38 19:09:02 Running ssh-add (command line suppressed) 19:09:02 Identity added: /w/workspace/edgexfoundry_device-uart_PR-57@tmp/private_key_4361052119147790883.key (/w/workspace/edgexfoundry_device-uart_PR-57@tmp/private_key_4361052119147790883.key) 19:09:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:03 + git tag --points-at HEAD [Pipeline] } 19:09:03 $ docker exec --env ******** --env ******** 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d ssh-agent -k 19:09:03 unset SSH_AUTH_SOCK; 19:09:03 unset SSH_AGENT_PID; 19:09:03 echo Agent pid 38 killed; 19:09:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:09:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:03 [ssh-agent] Looking for ssh-agent implementation... 19:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:03 $ docker exec 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d ssh-agent 19:09:03 SSH_AUTH_SOCK=/tmp/ssh-XMDJ2iXv2J7u/agent.71 19:09:03 SSH_AGENT_PID=77 19:09:03 Running ssh-add (command line suppressed) 19:09:03 Identity added: /w/workspace/edgexfoundry_device-uart_PR-57@tmp/private_key_4667160339933421161.key (/w/workspace/edgexfoundry_device-uart_PR-57@tmp/private_key_4667160339933421161.key) 19:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:04 + git semver init 19:09:04 2024-07-03 19:09:04,353 [run_init] DEBUG init version:0.0.0 force:False 19:09:04 2024-07-03 19:09:04,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-57/.semver 19:09:04 2024-07-03 19:09:04,354 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-57/.semver 19:09:04 2024-07-03 19:09:04,354 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-57/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-57, universal_newlines=False, shell=None, istream=None) 19:09:05 2024-07-03 19:09:05,639 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-57/.git/info/exclude 19:09:05 2024-07-03 19:09:05,639 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-57/.semver/PR-57 with force:False 19:09:05 2024-07-03 19:09:05,640 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-57/.semver/PR-57 19:09:05 2024-07-03 19:09:05,644 [execute] INFO git cat-file --batch-check 19:09:05 2024-07-03 19:09:05,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-57/.semver, universal_newlines=False, shell=None, istream=) 19:09:05 2024-07-03 19:09:05,661 [execute] INFO git cat-file --batch 19:09:05 2024-07-03 19:09:05,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-57/.semver, universal_newlines=False, shell=None, istream=) 19:09:05 2024-07-03 19:09:05,666 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-57/.semver/PR-57 19:09:05 0.0.0 [Pipeline] } 19:09:05 $ docker exec --env ******** --env ******** 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d ssh-agent -k 19:09:05 unset SSH_AUTH_SOCK; 19:09:05 unset SSH_AGENT_PID; 19:09:05 echo Agent pid 77 killed; 19:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:06 + git semver [Pipeline] } 19:09:06 $ docker stop --time=1 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d 19:09:08 $ docker rm -f --volumes 99924c568845a5bb6a9dc390decb8c1401eddabdf6f5e59d97015ef90635706d [Pipeline] // withDockerContainer [Pipeline] sh 19:09:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:09:08 Stashed 1 file(s) [Pipeline] echo 19:09:08 [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 19:09:09 provisioning config files... 19:09:09 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-57@tmp/config7907404673268870452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:10 ---> ****-login.sh 19:09:10 nexus3.edgexfoundry.org:10001 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 nexus3.edgexfoundry.org:10002 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 nexus3.edgexfoundry.org:10003 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 nexus3.edgexfoundry.org:10004 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 ****.io 19:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:09:10 Configure a credential helper to remove this warning. See 19:09:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:09:10 19:09:10 Login Succeeded 19:09:10 ---> ****-login.sh ends [Pipeline] } 19:09:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:09:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:09:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:09:11 ========================================================= 19:09:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:09:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:09:11 Sending build context to Docker daemon 29.08MB 19:09:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:09:11 Step 2/12 : FROM ${BASE} AS builder 19:09:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:09:11 619be1103602: Pulling fs layer 19:09:11 7862e08f4a3e: Pulling fs layer 19:09:11 5df492c9dc93: Pulling fs layer 19:09:11 7629e6793208: Pulling fs layer 19:09:11 4f4fb700ef54: Pulling fs layer 19:09:11 fb5054dd5b73: Pulling fs layer 19:09:11 eeca6798cff9: Pulling fs layer 19:09:11 aa269ceb94a6: Pulling fs layer 19:09:11 ada007ff1a6a: Pulling fs layer 19:09:11 4f4fb700ef54: Waiting 19:09:11 fb5054dd5b73: Waiting 19:09:11 eeca6798cff9: Waiting 19:09:11 aa269ceb94a6: Waiting 19:09:11 ada007ff1a6a: Waiting 19:09:11 7629e6793208: Waiting 19:09:11 7862e08f4a3e: Download complete 19:09:11 7629e6793208: Verifying Checksum 19:09:11 7629e6793208: Download complete 19:09:11 4f4fb700ef54: Verifying Checksum 19:09:11 4f4fb700ef54: Download complete 19:09:11 fb5054dd5b73: Download complete 19:09:11 619be1103602: Verifying Checksum 19:09:11 619be1103602: Download complete 19:09:11 eeca6798cff9: Verifying Checksum 19:09:11 eeca6798cff9: Download complete 19:09:11 619be1103602: Pull complete 19:09:12 7862e08f4a3e: Pull complete 19:09:12 ada007ff1a6a: Verifying Checksum 19:09:12 ada007ff1a6a: Download complete 19:09:12 5df492c9dc93: Verifying Checksum 19:09:12 5df492c9dc93: Download complete 19:09:12 aa269ceb94a6: Verifying Checksum 19:09:12 aa269ceb94a6: Download complete 19:09:15 5df492c9dc93: Pull complete 19:09:15 7629e6793208: Pull complete 19:09:15 4f4fb700ef54: Pull complete 19:09:15 fb5054dd5b73: Pull complete 19:09:15 eeca6798cff9: Pull complete 19:09:18 aa269ceb94a6: Pull complete 19:09:18 ada007ff1a6a: Pull complete 19:09:18 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 19:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:09:18 ---> f489d0715acc 19:09:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:09:19 ---> Running in bc523dd736e9 19:09:19 Removing intermediate container bc523dd736e9 19:09:19 ---> 6ecf1067416c 19:09:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:09:19 ---> Running in e6fe2ac9093b 19:09:20 Removing intermediate container e6fe2ac9093b 19:09:20 ---> def23875a1dc 19:09:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:09:20 ---> Running in 07c400b7925d 19:09:20 Removing intermediate container 07c400b7925d 19:09:20 ---> af7961c9bf7c 19:09:20 Step 6/12 : WORKDIR /device-uart 19:09:20 ---> Running in aae47cbb03ab 19:09:20 Removing intermediate container aae47cbb03ab 19:09:20 ---> bade5a54e250 19:09:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:20 ---> Running in 63bb9b16948d 19:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:09:21 (1/4) Installing openssh-keygen (9.3_p2-r2) 19:09:21 (2/4) Installing libedit (20221030.3.1-r1) 19:09:21 (3/4) Installing openssh-client-common (9.3_p2-r2) 19:09:21 (4/4) Installing openssh-client-default (9.3_p2-r2) 19:09:21 Executing busybox-1.36.1-r5.trigger 19:09:21 OK: 268 MiB in 56 packages 19:09:21 Removing intermediate container 63bb9b16948d 19:09:21 ---> 4b32881a476d 19:09:21 Step 8/12 : COPY go.mod vendor* ./ 19:09:21 ---> 20911862000d 19:09:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:21 ---> Running in fca71d328993 19:09:24 Still waiting to schedule task 19:09:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:10:17 Removing intermediate container fca71d328993 19:10:17 ---> 2d198dbc0575 19:10:17 Step 10/12 : COPY . . 19:10:17 ---> 4e5311ef94ff 19:10:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:17 ---> Running in dcf6824fe7c9 19:10:17 Removing intermediate container dcf6824fe7c9 19:10:17 ---> ef5b749faf40 19:10:17 Step 12/12 : RUN ${MAKE} 19:10:17 ---> Running in 0041b342de1a 19:10:17 noop 19:10:17 Removing intermediate container 0041b342de1a 19:10:17 ---> 6879c615699c 19:10:17 Successfully built 6879c615699c 19:10:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:18 + docker inspect -f . ci-base-image-x86_64 19:10:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:18 prd-ubuntu20.04-docker-8c-8g-4937 does not seem to be running inside a container 19:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-57 -v /w/workspace/edgexfoundry_device-uart_PR-57:/w/workspace/edgexfoundry_device-uart_PR-57:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-57@tmp:/w/workspace/edgexfoundry_device-uart_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:10:18 $ docker top cd891d7f779159777e2c1f12e9476a164ff5a6905800582d3432f77749ed13f9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:19 + go version 19:10:19 go version go1.21.9 linux/amd64 [Pipeline] } 19:10:19 $ docker stop --time=1 cd891d7f779159777e2c1f12e9476a164ff5a6905800582d3432f77749ed13f9 19:10:20 $ docker rm -f --volumes cd891d7f779159777e2c1f12e9476a164ff5a6905800582d3432f77749ed13f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:21 + docker inspect -f . ci-base-image-x86_64 19:10:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:21 prd-ubuntu20.04-docker-8c-8g-4937 does not seem to be running inside a container 19:10:21 $ 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-57 -v /w/workspace/edgexfoundry_device-uart_PR-57:/w/workspace/edgexfoundry_device-uart_PR-57:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-57@tmp:/w/workspace/edgexfoundry_device-uart_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:10:21 $ docker top bfe8739b7920818c589e93d837c7bb2f3771b7b7112530ecdbeafe5015bd9430 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-57 [Pipeline] fileExists [Pipeline] sh 19:10:22 + make test 19:10:22 go test ./... -coverprofile=coverage.out 19:10:24 ? github.com/edgexfoundry/device-uart [no test files] 19:10:42 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:10:42 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:10:52 go vet ./... 19:10:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4938 in /w/workspace/edgexfoundry_device-uart_PR-57 [Pipeline] { [Pipeline] ws 19:10:53 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 19:10:53 The recommended git tool is: git 19:10:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:10:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:10:56 ./bin/test-attribution-txt.sh 19:10:56 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 19:10:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 19:10:56 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 19:10:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 19:10:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 19:10:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 19:10:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 19:10:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 19:10:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 19:10:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 19:10:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 19:10:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:10:56 $ docker stop --time=1 bfe8739b7920818c589e93d837c7bb2f3771b7b7112530ecdbeafe5015bd9430 19:10:58 using credential edgex-jenkins-ssh 19:10:58 Cloning the remote Git repository 19:10:58 Cloning repository git@github.com:edgexfoundry/device-uart.git 19:10:58 > git init /w/workspace/device-uart/1 # timeout=10 19:10:58 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:10:58 > git --version # timeout=10 19:10:58 > git --version # 'git version 2.25.1' 19:10:58 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:11:01 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:11:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:11:02 $ docker rm -f --volumes bfe8739b7920818c589e93d837c7bb2f3771b7b7112530ecdbeafe5015bd9430 [Pipeline] // withDockerContainer [Pipeline] sh 19:11:02 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:11:02 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:11:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:11:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:11:02 Merging remotes/origin/main commit 3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd into PR head commit fb350d139e1841c4ca5cea05452acc70a84c5384 19:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:11:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 19:11:02 Merge succeeded, producing fb350d139e1841c4ca5cea05452acc70a84c5384 19:11:02 Checking out Revision fb350d139e1841c4ca5cea05452acc70a84c5384 (PR-57) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:11:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 19:11:03 > git --version # timeout=10 19:11:03 > git --version # 'git version 2.25.1' 19:11:03 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 19:11:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:11:03 + ls -al . 19:11:03 total 224 19:11:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 19:10 . 19:11:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 19:08 .. 19:11:03 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 19:08 .dockerignore 19:11:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 19:10 .git 19:11:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:08 .github 19:11:03 -rw-rw-r-- 1 jenkins jenkins 343 Jul 3 19:08 .gitignore 19:11:03 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 19:08 .golangci.yml 19:11:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 19:09 .semver 19:11:03 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 3 19:08 Attribution.txt 19:11:03 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 3 19:08 CHANGELOG.md 19:11:03 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 3 19:08 Dockerfile 19:11:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 19:08 GOVERNANCE.md 19:11:03 -rw-rw-r-- 1 jenkins jenkins 675 Jul 3 19:08 Jenkinsfile 19:11:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 19:08 LICENSE 19:11:03 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 3 19:08 Makefile 19:11:03 -rw-rw-r-- 1 jenkins jenkins 617 Jul 3 19:08 OWNERS.md 19:11:03 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 3 19:08 README.md 19:11:03 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 19:09 VERSION 19:11:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 19:08 bin 19:11:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:08 cmd 19:11:03 -rw-r--r-- 1 jenkins jenkins 10 Jul 3 19:10 coverage.out 19:11:03 -rw-rw-r-- 1 jenkins jenkins 7021 Jul 3 19:08 go.mod 19:11:03 -rw-rw-r-- 1 jenkins jenkins 102170 Jul 3 19:08 go.sum 19:11:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:08 internal 19:11:03 -rw-rw-r-- 1 jenkins jenkins 209 Jul 3 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 19:11:02 > git config core.sparsecheckout # timeout=10 19:11:02 > git checkout -f fb350d139e1841c4ca5cea05452acc70a84c5384 # timeout=10 19:11:02 > git remote # timeout=10 19:11:02 > git config --get remote.origin.url # timeout=10 19:11:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:11:02 > git merge 3e8cf5cad54dd62e9a2737a5dbd5d1ece3e550bd # timeout=10 19:11:02 > git rev-parse HEAD^{commit} # timeout=10 19:11:02 > git config core.sparsecheckout # timeout=10 19:11:02 > git checkout -f fb350d139e1841c4ca5cea05452acc70a84c5384 # timeout=10 [Pipeline] sh 19:11:04 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fb350d139e1841c4ca5cea05452acc70a84c5384 --label arch=amd64 --label version=0.0.0 . 19:11:04 Sending build context to Docker daemon 29.08MB 19:11:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:11:04 Step 2/26 : FROM ${BASE} AS builder 19:11:04 ---> 6879c615699c 19:11:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:11:04 ---> Running in b73a404904cb 19:11:04 Removing intermediate container b73a404904cb 19:11:04 ---> ae97abbac184 19:11:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:11:05 ---> Running in b644f9a2c8aa 19:11:05 Removing intermediate container b644f9a2c8aa 19:11:05 ---> 069085bff0f4 19:11:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:11:05 ---> Running in aaa2fcfb1400 19:11:05 Removing intermediate container aaa2fcfb1400 19:11:05 ---> 9afa10cdcb6d 19:11:05 Step 6/26 : WORKDIR /device-uart 19:11:05 ---> Running in 50abca665511 19:11:05 Removing intermediate container 50abca665511 19:11:05 ---> f122649cd1bf 19:11:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:11:05 ---> Running in 223eb7519074 19:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:11:06 OK: 268 MiB in 56 packages 19:11:06 Removing intermediate container 223eb7519074 19:11:06 ---> db952a31e323 19:11:06 Step 8/26 : COPY go.mod vendor* ./ 19:11:06 ---> b634118fc73c 19:11:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:06 ---> Running in e63e7034f21b 19:11:07 Removing intermediate container e63e7034f21b 19:11:07 ---> c508e31099e8 19:11:07 Step 10/26 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:11:08 ---> a24af3a4e3f2 19:11:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:11:08 ---> Running in fbe392930936 19:11:08 Removing intermediate container fbe392930936 19:11:08 ---> ee3f2c6631e2 19:11:08 Step 12/26 : RUN ${MAKE} 19:11:08 ---> Running in ce6f91476313 19:11:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:11:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:11:08 % Total % Received % Xferd Average Speed Time Time Time Current 19:11:08 Dload Upload Total Spent Left Speed 19:11:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k [Pipeline] sh 19:11:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:11:09 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 19:11:09 /etc/docker/daemon.json 19:11:09 { 19:11:09 "registry-mirrors": [ 19:11:09 "https://nexus3.edgexfoundry.org:10001" 19:11:09 ], 19:11:09 "bip": "10.250.0.254/24", 19:11:09 "hosts": [ 19:11:09 "tcp://0.0.0.0:5555", 19:11:09 "unix:///var/run/docker.sock" 19:11:09 ], 19:11:09 "mtu": 1458, 19:11:09 "selinux-enabled": true, 19:11:09 "seccomp-profile": "/etc/docker/seccomp.json" 19:11:09 } [Pipeline] sh 19:11:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:11:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:28 provisioning config files... 19:11:28 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6202985241123272245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:28 ---> ****-login.sh 19:11:28 nexus3.edgexfoundry.org:10001 19:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:29 Configure a credential helper to remove this warning. See 19:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:29 19:11:29 Login Succeeded 19:11:29 nexus3.edgexfoundry.org:10002 19:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:29 Configure a credential helper to remove this warning. See 19:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:29 19:11:29 Login Succeeded 19:11:29 nexus3.edgexfoundry.org:10003 19:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:30 Configure a credential helper to remove this warning. See 19:11:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:30 19:11:30 Login Succeeded 19:11:30 nexus3.edgexfoundry.org:10004 19:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:30 Configure a credential helper to remove this warning. See 19:11:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:30 19:11:30 Login Succeeded 19:11:30 ****.io 19:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:30 Configure a credential helper to remove this warning. See 19:11:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:30 19:11:30 Login Succeeded 19:11:30 ---> ****-login.sh ends [Pipeline] } 19:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:11:31 ========================================================= 19:11:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:11:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:11:32 Sending build context to Docker daemon 14.6MB 19:11:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:11:32 Step 2/12 : FROM ${BASE} AS builder 19:11:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:11:32 c6b39de5b339: Pulling fs layer 19:11:32 a69c41024577: Pulling fs layer 19:11:32 d6de4b400683: Pulling fs layer 19:11:32 35cb2a7552d0: Pulling fs layer 19:11:32 4f4fb700ef54: Pulling fs layer 19:11:32 464afbd9ba4c: Pulling fs layer 19:11:32 00f215d4a9da: Pulling fs layer 19:11:32 d496ad576159: Pulling fs layer 19:11:32 35cb2a7552d0: Waiting 19:11:32 4f4fb700ef54: Waiting 19:11:32 d496ad576159: Waiting 19:11:32 00f215d4a9da: Waiting 19:11:32 a69c41024577: Verifying Checksum 19:11:32 a69c41024577: Download complete 19:11:32 35cb2a7552d0: Verifying Checksum 19:11:32 35cb2a7552d0: Download complete 19:11:32 4f4fb700ef54: Verifying Checksum 19:11:32 4f4fb700ef54: Download complete 19:11:32 464afbd9ba4c: Verifying Checksum 19:11:32 464afbd9ba4c: Download complete 19:11:32 c6b39de5b339: Verifying Checksum 19:11:32 c6b39de5b339: Download complete 19:11:33 d496ad576159: Verifying Checksum 19:11:33 d496ad576159: Download complete 19:11:33 c6b39de5b339: Pull complete 19:11:34 a69c41024577: Pull complete 19:11:34 d6de4b400683: Verifying Checksum 19:11:34 d6de4b400683: Download complete 19:11:35 00f215d4a9da: Verifying Checksum 19:11:35 00f215d4a9da: Download complete 19:11:40 Removing intermediate container ce6f91476313 19:11:40 ---> 2e00ab5ca1ea 19:11:40 Step 13/26 : FROM alpine:3.18 19:11:40 3.18: Pulling from library/alpine 19:11:40 73baa7ef167e: Pulling fs layer 19:11:41 73baa7ef167e: Verifying Checksum 19:11:41 73baa7ef167e: Download complete 19:11:41 73baa7ef167e: Pull complete 19:11:41 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 19:11:41 Status: Downloaded newer image for alpine:3.18 19:11:41 ---> 8fd7cac70a4a 19:11:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:11:41 ---> Running in 761da37c586d 19:11:41 Removing intermediate container 761da37c586d 19:11:41 ---> 1c1509db3581 19:11:41 Step 15/26 : RUN apk add --update --no-cache dumb-init 19:11:41 ---> Running in 89f747174e19 19:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:11:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:11:42 (1/1) Installing dumb-init (1.2.5-r2) 19:11:42 Executing busybox-1.36.1-r7.trigger 19:11:42 OK: 7 MiB in 16 packages 19:11:42 Removing intermediate container 89f747174e19 19:11:42 ---> faff9bc0ae93 19:11:42 Step 16/26 : RUN apk --no-cache upgrade 19:11:42 ---> Running in 2228a3009b4f 19:11:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:11:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:11:43 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 19:11:43 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 19:11:43 OK: 7 MiB in 16 packages 19:11:43 Removing intermediate container 2228a3009b4f 19:11:43 ---> eb74ed0eddc6 19:11:43 Step 17/26 : WORKDIR / 19:11:43 ---> Running in a9e084f13db6 19:11:43 Removing intermediate container a9e084f13db6 19:11:43 ---> 1144e46eede2 19:11:43 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 19:11:43 ---> 81381b1b58ad 19:11:43 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 19:11:44 ---> 78bb94b73d1d 19:11:44 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 19:11:45 ---> e3e552d96ae3 19:11:45 Step 21/26 : EXPOSE 59995 19:11:45 ---> Running in 128d38cc980d 19:11:45 Removing intermediate container 128d38cc980d 19:11:45 ---> fdceb23b028b 19:11:45 Step 22/26 : ENTRYPOINT ["/device-uart"] 19:11:45 ---> Running in e228cb7ea83f 19:11:45 Removing intermediate container e228cb7ea83f 19:11:45 ---> 3bacc920b0dc 19:11:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:11:46 ---> Running in 74a7888f0a2a 19:11:46 Removing intermediate container 74a7888f0a2a 19:11:46 ---> 38ae31b083fa 19:11:46 Step 24/26 : LABEL arch=amd64 19:11:46 ---> Running in f02cf27fe90c 19:11:46 Removing intermediate container f02cf27fe90c 19:11:46 ---> d72e5cd411eb 19:11:46 Step 25/26 : LABEL git_sha=fb350d139e1841c4ca5cea05452acc70a84c5384 19:11:46 ---> Running in 169a1f494f30 19:11:46 Removing intermediate container 169a1f494f30 19:11:46 ---> c60cf6ac7e80 19:11:46 Step 26/26 : LABEL version=0.0.0 19:11:46 ---> Running in d608c511dbac 19:11:46 Removing intermediate container d608c511dbac 19:11:46 ---> 212ba6307d0d 19:11:46 [Warning] One or more build-args [ARCH] were not consumed 19:11:46 Successfully built 212ba6307d0d 19:11:46 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:11:47 19:11:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:11:47 latest: Pulling from edgex-lftools-log-publisher 19:11:47 5eb5b503b376: Pulling fs layer 19:11:47 5c69ac0246d0: Pulling fs layer 19:11:47 ec43610c2a17: Pulling fs layer 19:11:47 3a2ae6a8a46f: Pulling fs layer 19:11:47 33b1e0a273af: Pulling fs layer 19:11:47 5d3b04190fa2: Pulling fs layer 19:11:47 2f39f015ded8: Pulling fs layer 19:11:47 3a2ae6a8a46f: Waiting 19:11:47 33b1e0a273af: Waiting 19:11:47 5d3b04190fa2: Waiting 19:11:47 2f39f015ded8: Waiting 19:11:47 5c69ac0246d0: Verifying Checksum 19:11:47 5c69ac0246d0: Download complete 19:11:47 3a2ae6a8a46f: Verifying Checksum 19:11:47 3a2ae6a8a46f: Download complete 19:11:47 33b1e0a273af: Verifying Checksum 19:11:47 33b1e0a273af: Download complete 19:11:47 5d3b04190fa2: Verifying Checksum 19:11:47 5d3b04190fa2: Download complete 19:11:47 ec43610c2a17: Verifying Checksum 19:11:47 ec43610c2a17: Download complete 19:11:47 d6de4b400683: Pull complete 19:11:47 35cb2a7552d0: Pull complete 19:11:47 4f4fb700ef54: Pull complete 19:11:47 464afbd9ba4c: Pull complete 19:11:48 5eb5b503b376: Verifying Checksum 19:11:48 5eb5b503b376: Download complete 19:11:48 2f39f015ded8: Verifying Checksum 19:11:48 2f39f015ded8: Download complete 19:11:49 5eb5b503b376: Pull complete 19:11:49 5c69ac0246d0: Pull complete 19:11:50 ec43610c2a17: Pull complete 19:11:50 3a2ae6a8a46f: Pull complete 19:11:50 33b1e0a273af: Pull complete 19:11:50 5d3b04190fa2: Pull complete 19:11:55 2f39f015ded8: Pull complete 19:11:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:11:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:55 prd-ubuntu20.04-docker-8c-8g-4937 does not seem to be running inside a container 19:11:55 $ 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-57 -v /w/workspace/edgexfoundry_device-uart_PR-57:/w/workspace/edgexfoundry_device-uart_PR-57:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-57@tmp:/w/workspace/edgexfoundry_device-uart_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:11:56 00f215d4a9da: Pull complete 19:11:57 d496ad576159: Pull complete 19:11:57 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 19:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:11:57 ---> f246e2811388 19:11:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:11:59 ---> Running in 3e66382740d4 19:11:59 Removing intermediate container 3e66382740d4 19:11:59 ---> 366cc0cbcad3 19:11:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:11:59 ---> Running in 7cdcca9dcc80 19:11:59 Removing intermediate container 7cdcca9dcc80 19:11:59 ---> bd992d69e898 19:11:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:12:00 ---> Running in 3c76e646d184 19:12:00 Removing intermediate container 3c76e646d184 19:12:00 ---> c1831517632c 19:12:00 Step 6/12 : WORKDIR /device-uart 19:12:00 ---> Running in 609ca4bde341 19:12:00 Removing intermediate container 609ca4bde341 19:12:00 ---> f4e9ab123ab0 19:12:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:12:00 ---> Running in 5b7181b141c5 19:12:01 $ docker top 3b20989b1269abac250ea08c5e9189ebd9edc261cc829b0c6066e586a8fcc067 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:12:02 ---> job-cost.sh 19:12:02 lf-activate-venv: SKIPPING 19:12:02 INFO: No Stack... 19:12:02 INFO: Retrieving Pricing Info for: v3-standard-8 19:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:12:02 INFO: Archiving Costs [Pipeline] sh 19:12:03 (1/4) Installing openssh-keygen (9.3_p2-r2) 19:12:03 (2/4) Installing libedit (20221030.3.1-r1) 19:12:03 (3/4) Installing openssh-client-common (9.3_p2-r2) 19:12:03 + cat /w/workspace/edgexfoundry_device-uart_PR-57/archives/cost.csv 19:12:03 + cut -d, -f6 [Pipeline] lock 19:12:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] 19:12:03 Resource [jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] did not exist. Created. 19:12:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] [Pipeline] { 19:12:03 (4/4) Installing openssh-client-default (9.3_p2-r2) 19:12:03 Executing busybox-1.36.1-r5.trigger 19:12:03 OK: 271 MiB in 56 packages [Pipeline] unstash [Pipeline] sh 19:12:03 + echo total: 0.2199999988079071 [Pipeline] stash 19:12:03 Stashed 1 file(s) [Pipeline] } 19:12:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:12:04 $ docker stop --time=1 3b20989b1269abac250ea08c5e9189ebd9edc261cc829b0c6066e586a8fcc067 19:12:04 Removing intermediate container 5b7181b141c5 19:12:04 ---> d7d14be79669 19:12:04 Step 8/12 : COPY go.mod vendor* ./ 19:12:04 ---> 4a8cb3eba888 19:12:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:12:04 ---> Running in 181a42bd88ce 19:12:05 $ docker rm -f --volumes 3b20989b1269abac250ea08c5e9189ebd9edc261cc829b0c6066e586a8fcc067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:13:56 Removing intermediate container 181a42bd88ce 19:13:56 ---> 3274554c5df9 19:13:56 Step 10/12 : COPY . . 19:13:56 ---> ea923bfb1114 19:13:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:13:56 ---> Running in cc4ce4c65251 19:13:56 Removing intermediate container cc4ce4c65251 19:13:56 ---> 50dae6f99d48 19:13:56 Step 12/12 : RUN ${MAKE} 19:13:56 ---> Running in 62c5423ef837 19:13:56 noop 19:13:56 Removing intermediate container 62c5423ef837 19:13:56 ---> 9390c51a01de 19:13:56 Successfully built 9390c51a01de 19:13:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:57 + docker inspect -f . ci-base-image-arm64 19:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:57 prd-ubuntu20.04-docker-arm64-4c-16g-4938 does not seem to be running inside a container 19:13:57 $ 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 ******** ci-base-image-arm64 cat 19:13:58 $ docker top 9dd32741fe6e6b21c8e19ffce9352d3834679a058231fc99025f1cd8407813e6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:59 + go version 19:13:59 go version go1.21.9 linux/arm64 [Pipeline] } 19:13:59 $ docker stop --time=1 9dd32741fe6e6b21c8e19ffce9352d3834679a058231fc99025f1cd8407813e6 19:14:01 $ docker rm -f --volumes 9dd32741fe6e6b21c8e19ffce9352d3834679a058231fc99025f1cd8407813e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:02 + docker inspect -f . ci-base-image-arm64 19:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-4938 does not seem to be running inside a container 19:14:02 $ 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 ******** ci-base-image-arm64 cat 19:14:03 $ docker top b5381e95021b9b9b5307dc1c5426e963dfda40dff8d6c318c4b74351ec985f11 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:04 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 19:14:05 + make test 19:14:05 go test ./... -coverprofile=coverage.out 19:14:11 ? github.com/edgexfoundry/device-uart [no test files] 19:17:48 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:17:48 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:17:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:17:48 go vet ./... 19:18:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:18:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:18:27 ./bin/test-attribution-txt.sh 19:18:27 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 19:18:27 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 19:18:27 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 19:18:27 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 19:18:27 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 19:18:27 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 19:18:27 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 19:18:27 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 19:18:27 An attribution for golang.org/x/term is missing from Attribution.txt, please add 19:18:27 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 19:18:27 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 19:18:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:18:41 $ docker stop --time=1 b5381e95021b9b9b5307dc1c5426e963dfda40dff8d6c318c4b74351ec985f11 19:18:43 $ docker rm -f --volumes b5381e95021b9b9b5307dc1c5426e963dfda40dff8d6c318c4b74351ec985f11 [Pipeline] // withDockerContainer [Pipeline] sh 19:18:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:18:44 Warning: overwriting stash ‘coverage-report’ 19:18:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:18:46 + ls -al . 19:18:46 total 220 19:18:46 drwxrwxr-x 7 jenkins jenkins 4096 Jul 3 19:14 . 19:18:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 19:10 .. 19:18:46 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 19:11 .dockerignore 19:18:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 19:11 .git 19:18:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:11 .github 19:18:46 -rw-rw-r-- 1 jenkins jenkins 343 Jul 3 19:11 .gitignore 19:18:46 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 19:11 .golangci.yml 19:18:46 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 3 19:11 Attribution.txt 19:18:46 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 3 19:11 CHANGELOG.md 19:18:46 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 3 19:11 Dockerfile 19:18:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 19:11 GOVERNANCE.md 19:18:46 -rw-rw-r-- 1 jenkins jenkins 675 Jul 3 19:11 Jenkinsfile 19:18:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 19:11 LICENSE 19:18:46 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 3 19:11 Makefile 19:18:46 -rw-rw-r-- 1 jenkins jenkins 617 Jul 3 19:11 OWNERS.md 19:18:46 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 3 19:11 README.md 19:18:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 19:09 VERSION 19:18:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 19:11 bin 19:18:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:11 cmd 19:18:46 -rw-r--r-- 1 jenkins jenkins 10 Jul 3 19:14 coverage.out 19:18:46 -rw-rw-r-- 1 jenkins jenkins 7021 Jul 3 19:11 go.mod 19:18:46 -rw-rw-r-- 1 jenkins jenkins 102170 Jul 3 19:11 go.sum 19:18:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 19:11 internal 19:18:46 -rw-rw-r-- 1 jenkins jenkins 209 Jul 3 19:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:46 + 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=fb350d139e1841c4ca5cea05452acc70a84c5384 --label arch=arm64 --label version=0.0.0 . 19:18:47 Sending build context to Docker daemon 14.6MB 19:18:47 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:18:47 Step 2/26 : FROM ${BASE} AS builder 19:18:47 ---> 9390c51a01de 19:18:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:18:47 ---> Running in 22322badb280 19:18:47 Removing intermediate container 22322badb280 19:18:47 ---> 4771a25ee092 19:18:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:18:47 ---> Running in 49a09278785c 19:18:48 Removing intermediate container 49a09278785c 19:18:48 ---> 80e305d80551 19:18:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:18:48 ---> Running in 02b48097df33 19:18:48 Removing intermediate container 02b48097df33 19:18:48 ---> 852b42883a7a 19:18:48 Step 6/26 : WORKDIR /device-uart 19:18:48 ---> Running in f089c5621b3b 19:18:48 Removing intermediate container f089c5621b3b 19:18:48 ---> 45e686a2280b 19:18:48 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:18:48 ---> Running in 7ce9db21df13 19:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:18:51 OK: 271 MiB in 56 packages 19:18:52 Removing intermediate container 7ce9db21df13 19:18:52 ---> 16e14243de3d 19:18:52 Step 8/26 : COPY go.mod vendor* ./ 19:18:53 ---> 6cf704ced37b 19:18:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:53 ---> Running in b372e3c77274 19:18:55 Removing intermediate container b372e3c77274 19:18:55 ---> 80759213d5ad 19:18:55 Step 10/26 : COPY . . 19:18:56 ---> 485864171997 19:18:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:18:56 ---> Running in adcf51c0dcd1 19:18:56 Removing intermediate container adcf51c0dcd1 19:18:56 ---> ecb014149a6e 19:18:56 Step 12/26 : RUN ${MAKE} 19:18:56 ---> Running in 0276f01a3797 19:18:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:22:21 Removing intermediate container 0276f01a3797 19:22:21 ---> 89b0cdbb111e 19:22:21 Step 13/26 : FROM alpine:3.18 19:22:21 3.18: Pulling from library/alpine 19:22:21 5c905c7ebe2f: Pulling fs layer 19:22:21 5c905c7ebe2f: Verifying Checksum 19:22:21 5c905c7ebe2f: Download complete 19:22:21 5c905c7ebe2f: Pull complete 19:22:21 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 19:22:21 Status: Downloaded newer image for alpine:3.18 19:22:21 ---> dec292d02e07 19:22:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:22:21 ---> Running in cf26835e5545 19:22:21 Removing intermediate container cf26835e5545 19:22:21 ---> 0fa0e1971b7f 19:22:21 Step 15/26 : RUN apk add --update --no-cache dumb-init 19:22:21 ---> Running in cd46d49372b3 19:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:22:21 (1/1) Installing dumb-init (1.2.5-r2) 19:22:21 Executing busybox-1.36.1-r7.trigger 19:22:21 OK: 8 MiB in 16 packages 19:22:21 Removing intermediate container cd46d49372b3 19:22:21 ---> c1902d6dc83b 19:22:21 Step 16/26 : RUN apk --no-cache upgrade 19:22:21 ---> Running in 2ee5eb0f96f9 19:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:22:22 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 19:22:22 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 19:22:22 OK: 8 MiB in 16 packages 19:22:23 Removing intermediate container 2ee5eb0f96f9 19:22:23 ---> f37303bd3b77 19:22:23 Step 17/26 : WORKDIR / 19:22:23 ---> Running in dbdb10fbb7a3 19:22:23 Removing intermediate container dbdb10fbb7a3 19:22:23 ---> abfb878c72ad 19:22:23 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 19:22:23 ---> d37528669036 19:22:23 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 19:22:24 ---> fdceca47c152 19:22:24 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 19:22:26 ---> 134898ea96b2 19:22:26 Step 21/26 : EXPOSE 59995 19:22:26 ---> Running in e5a07ee1cb93 19:22:26 Removing intermediate container e5a07ee1cb93 19:22:26 ---> 0c44cd5870f7 19:22:26 Step 22/26 : ENTRYPOINT ["/device-uart"] 19:22:26 ---> Running in 87a22432f370 19:22:26 Removing intermediate container 87a22432f370 19:22:26 ---> 1846edef489c 19:22:26 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:22:27 ---> Running in 3144602d09f7 19:22:27 Removing intermediate container 3144602d09f7 19:22:27 ---> 7bcfcfd1ab56 19:22:27 Step 24/26 : LABEL arch=arm64 19:22:27 ---> Running in 822d5b110daf 19:22:27 Removing intermediate container 822d5b110daf 19:22:27 ---> 1873308b8e85 19:22:27 Step 25/26 : LABEL git_sha=fb350d139e1841c4ca5cea05452acc70a84c5384 19:22:27 ---> Running in 6cc707106425 19:22:27 Removing intermediate container 6cc707106425 19:22:27 ---> 2c7476998949 19:22:27 Step 26/26 : LABEL version=0.0.0 19:22:28 ---> Running in 066782611b6f 19:22:28 Removing intermediate container 066782611b6f 19:22:28 ---> 288d4ad6fe87 19:22:28 [Warning] One or more build-args [ARCH] were not consumed 19:22:28 Successfully built 288d4ad6fe87 19:22:28 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:29 19:22:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:29 arm64: Pulling from edgex-lftools-log-publisher 19:22:29 8998bd30e6a1: Pulling fs layer 19:22:29 04944245beec: Pulling fs layer 19:22:29 699f458cf7ca: Pulling fs layer 19:22:29 765212b225bb: Pulling fs layer 19:22:29 f23df028b6ca: Pulling fs layer 19:22:29 d65c8cfc05b1: Pulling fs layer 19:22:29 2437ff75d9bd: Pulling fs layer 19:22:29 765212b225bb: Waiting 19:22:29 f23df028b6ca: Waiting 19:22:29 d65c8cfc05b1: Waiting 19:22:29 2437ff75d9bd: Waiting 19:22:30 04944245beec: Verifying Checksum 19:22:30 04944245beec: Download complete 19:22:30 765212b225bb: Verifying Checksum 19:22:30 765212b225bb: Download complete 19:22:30 f23df028b6ca: Verifying Checksum 19:22:30 f23df028b6ca: Download complete 19:22:30 d65c8cfc05b1: Verifying Checksum 19:22:30 d65c8cfc05b1: Download complete 19:22:30 699f458cf7ca: Verifying Checksum 19:22:30 699f458cf7ca: Download complete 19:22:30 8998bd30e6a1: Verifying Checksum 19:22:30 8998bd30e6a1: Download complete 19:22:33 2437ff75d9bd: Verifying Checksum 19:22:33 2437ff75d9bd: Download complete 19:22:35 8998bd30e6a1: Pull complete 19:22:35 04944245beec: Pull complete 19:22:37 699f458cf7ca: Pull complete 19:22:37 765212b225bb: Pull complete 19:22:38 f23df028b6ca: Pull complete 19:22:38 d65c8cfc05b1: Pull complete 19:22:56 2437ff75d9bd: Pull complete 19:22:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-4938 does not seem to be running inside a container 19:22:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:22:59 $ docker top f5423f9f5139ae1f87c59a6471dd405bbab1b464b9088a3d7b35d84bb5a4e6fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:23:00 ---> job-cost.sh 19:23:00 lf-activate-venv: SKIPPING 19:23:00 INFO: No Stack... 19:23:01 INFO: Retrieving Pricing Info for: v3-standard-4 19:23:01 INFO: Archiving Costs [Pipeline] sh 19:23:02 + cat /w/workspace/device-uart/1/archives/cost.csv 19:23:02 + cut -d, -f6 [Pipeline] lock 19:23:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] 19:23:02 Resource [jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] did not exist. Created. 19:23:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:23:03 /w/workspace/device-uart/1@tmp/durable-c479b5ce/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:23:03 + echo total: 0.10999999940395355 [Pipeline] stash 19:23:03 Warning: overwriting stash ‘stack-cost’ 19:23:03 Stashed 1 file(s) [Pipeline] } 19:23:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:23:03 $ docker stop --time=1 f5423f9f5139ae1f87c59a6471dd405bbab1b464b9088a3d7b35d84bb5a4e6fd 19:23:05 $ docker rm -f --volumes f5423f9f5139ae1f87c59a6471dd405bbab1b464b9088a3d7b35d84bb5a4e6fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:23:06 provisioning config files... 19:23:06 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-57@tmp/config44425530240127072tmp [Pipeline] { [Pipeline] sh 19:23:07 + set +x 19:23:07 + curl -s https://codecov.io/bash 19:23:07 + bash -s -- 19:23:07 19:23:07 _____ _ 19:23:07 / ____| | | 19:23:07 | | ___ __| | ___ ___ _____ __ 19:23:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:23:07 | |___| (_) | (_| | __/ (_| (_) \ V / 19:23:07 \_____\___/ \__,_|\___|\___\___/ \_/ 19:23:07 Bash-1.0.6 19:23:07 19:23:07 19:23:07 ==> git version 2.25.1 found 19:23:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:23:07 Release-Date: 2020-01-08 19:23:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:23:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:23:07 ==> Jenkins CI detected. 19:23:07 current dir:  /w/workspace/edgexfoundry_device-uart_PR-57 19:23:07 project root: . 19:23:07 --> token set from env 19:23:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:23:07 ==> Running gcov in . (disable via -X gcov) 19:23:07 ==> Python coveragepy not found 19:23:07 ==> Searching for coverage reports in: 19:23:07 + . 19:23:07 -> Found 1 reports 19:23:07 ==> Detecting git/mercurial file structure 19:23:07 ==> Reading reports 19:23:07 + ./coverage.out bytes=10 19:23:07 ==> Appending adjustments 19:23:07 https://docs.codecov.io/docs/fixing-reports 19:23:07 + Found adjustments 19:23:07 ==> Gzipping contents 19:23:07 4.0K /tmp/codecov.Iv1oP9.gz 19:23:07 ==> Uploading reports 19:23:07 url: https://codecov.io 19:23:07 query: branch=PR-57&commit=fb350d139e1841c4ca5cea05452acc70a84c5384&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=57&job=&cmd_args= 19:23:07 -> Pinging Codecov 19:23:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-57&commit=fb350d139e1841c4ca5cea05452acc70a84c5384&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=57&job=&cmd_args= 19:23:07 -> Uploading to 19:23:07 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/B9AA6E0BBD74AE3A32605C7A7C664919/fb350d139e1841c4ca5cea05452acc70a84c5384/e3d20114-b67f-431e-a1da-5190b5520fac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T192307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bf4d656c1b59a9868e1fde5643b8a5ec91c67eeae16283e2d4bc19639826ade 19:23:07 % Total % Received % Xferd Average Speed Time Time Time Current 19:23:07 Dload Upload Total Spent Left Speed 19:23:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2633 --:--:-- --:--:-- --:--:-- 2633 19:23:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/fb350d139e1841c4ca5cea05452acc70a84c5384 [Pipeline] } 19:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:23:12 + [ -d /w/workspace/edgexfoundry_device-uart_PR-57/archives ] 19:23:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-57/archives 19:23:12 total 16 19:23:12 drwxr-xr-x 3 root root 4096 Jul 3 19:12 . 19:23:12 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 19:12 .. 19:23:12 drwxr-xr-x 2 root root 4096 Jul 3 19:12 cost 19:23:12 -rw-r--r-- 1 root root 82 Jul 3 19:12 cost.csv 19:23:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-57/archives 19:23:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-57/archives 19:23:12 total 16 19:23:12 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 19:12 . 19:23:12 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 19:12 .. 19:23:12 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 19:12 cost 19:23:12 -rw-r--r-- 1 jenkins jenkins 82 Jul 3 19:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:23:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:23:13 ---> package-listing.sh 19:23:13 ++ facter osfamily 19:23:13 ++ tr '[:upper:]' '[:lower:]' 19:23:13 + OS_FAMILY=debian 19:23:13 + workspace=/w/workspace/edgexfoundry_device-uart_PR-57 19:23:13 + START_PACKAGES=/tmp/packages_start.txt 19:23:13 + END_PACKAGES=/tmp/packages_end.txt 19:23:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:23:13 + PACKAGES=/tmp/packages_start.txt 19:23:13 + '[' /w/workspace/edgexfoundry_device-uart_PR-57 ']' 19:23:13 + PACKAGES=/tmp/packages_end.txt 19:23:13 + case "${OS_FAMILY}" in 19:23:13 + dpkg -l 19:23:13 + grep '^ii' 19:23:13 + '[' -f /tmp/packages_start.txt ']' 19:23:13 + '[' -f /tmp/packages_end.txt ']' 19:23:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:23:13 + '[' /w/workspace/edgexfoundry_device-uart_PR-57 ']' 19:23:13 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-57/archives/ 19:23:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-57/archives/ [Pipeline] echo 19:23:13 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-57/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:23:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:23:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:15 prd-ubuntu20.04-docker-8c-8g-4937 does not seem to be running inside a container 19:23:15 $ 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-57/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-57 -v /w/workspace/edgexfoundry_device-uart_PR-57:/w/workspace/edgexfoundry_device-uart_PR-57:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-57@tmp:/w/workspace/edgexfoundry_device-uart_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:23:15 $ docker top b2619d5af3dd18217844db0162c97d687d0b1792f9f24592bc7a78940fc138fc -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:15 + touch /tmp/pre-build-complete [Pipeline] sh 19:23:16 + mkdir -p /var/log/sysstat [Pipeline] sh 19:23:16 + ls /var/log/sa-host 19:23:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:23:16 provisioning config files... 19:23:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-57@tmp/config460613337918320169tmp [Pipeline] { [Pipeline] echo 19:23:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:23:17 ---> create-netrc.sh [Pipeline] } 19:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:23:18 ---> python-tools-install.sh [Pipeline] echo 19:23:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:23:18 ---> sudo-logs.sh 19:23:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:23:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:23:19 ---> job-cost.sh 19:23:19 lf-activate-venv: SKIPPING 19:23:19 DEBUG: total: 0.2199999988079071 19:23:19 INFO: Retrieving Stack Cost... 19:23:19 INFO: Retrieving Pricing Info for: v3-standard-8 19:23:19 INFO: Archiving Costs [Pipeline] echo 19:23:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:23:20 ---> logs-deploy.sh 19:23:20 lf-activate-venv: SKIPPING 19:23:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-57/1 19:23:20 INFO: archiving workspace using pattern(s): 19:23:21 Archives upload complete. 19:23:21 INFO: archiving logs to Nexus 19:23:21 ---> uname -a: 19:23:21 Linux prd-ubuntu20-04-docker-8c-8g-4937 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:23:21 19:23:21 19:23:21 ---> lscpu: 19:23:21 Architecture: x86_64 19:23:21 CPU op-mode(s): 32-bit, 64-bit 19:23:21 Byte Order: Little Endian 19:23:21 Address sizes: 40 bits physical, 48 bits virtual 19:23:21 CPU(s): 8 19:23:21 On-line CPU(s) list: 0-7 19:23:21 Thread(s) per core: 1 19:23:21 Core(s) per socket: 1 19:23:21 Socket(s): 8 19:23:21 NUMA node(s): 1 19:23:21 Vendor ID: AuthenticAMD 19:23:21 CPU family: 23 19:23:21 Model: 49 19:23:21 Model name: AMD EPYC-Rome Processor 19:23:21 Stepping: 0 19:23:21 CPU MHz: 2799.998 19:23:21 BogoMIPS: 5599.99 19:23:21 Virtualization: AMD-V 19:23:21 Hypervisor vendor: KVM 19:23:21 Virtualization type: full 19:23:21 L1d cache: 256 KiB 19:23:21 L1i cache: 256 KiB 19:23:21 L2 cache: 4 MiB 19:23:21 L3 cache: 128 MiB 19:23:21 NUMA node0 CPU(s): 0-7 19:23:21 Vulnerability Itlb multihit: Not affected 19:23:21 Vulnerability L1tf: Not affected 19:23:21 Vulnerability Mds: Not affected 19:23:21 Vulnerability Meltdown: Not affected 19:23:21 Vulnerability Mmio stale data: Not affected 19:23:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:23:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:23:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:23:21 Vulnerability Srbds: Not affected 19:23:21 Vulnerability Tsx async abort: Not affected 19:23:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:23:21 19:23:21 19:23:21 ---> nproc: 19:23:21 8 19:23:21 19:23:21 19:23:21 ---> df -h: 19:23:21 Filesystem Size Used Avail Use% Mounted on 19:23:21 overlay 155G 12G 143G 8% / 19:23:21 tmpfs 64M 0 64M 0% /dev 19:23:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:23:21 shm 64M 0 64M 0% /dev/shm 19:23:21 /dev/vda1 155G 12G 143G 8% /facter-os 19:23:21 19:23:21