Pull request #37 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 984d911bc6d9fdf2a61b3afbd303516cda764fd6+56a8503eef07c46f22bc765105e6cf123a2f1194 (8e8a63935151ec41a8f963153b7ce213cb2e130b) 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-ssh11587465848873058515.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15263655409828654923.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-37/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-37/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4621019383712062676.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-37/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9862388288151506229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1282599330204613611.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-37/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-37/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2068865715030658998.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-24080 in /w/workspace/edgexfoundry_device-uart_PR-37 [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-37 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 56a8503eef07c46f22bc765105e6cf123a2f1194 into PR head commit 984d911bc6d9fdf2a61b3afbd303516cda764fd6 Merge succeeded, producing 984d911bc6d9fdf2a61b3afbd303516cda764fd6 Checking out Revision 984d911bc6d9fdf2a61b3afbd303516cda764fd6 (PR-37) > 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/37/head:refs/remotes/origin/PR-37 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 984d911bc6d9fdf2a61b3afbd303516cda764fd6 # 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 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 984d911bc6d9fdf2a61b3afbd303516cda764fd6 # timeout=10 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:13:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:13:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:13:49 ========================================================= 18:13:49 EdgeX Global Pipelines Version Info 18:13:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:13:49 ------------------- 18:13:49 stable info: 18:13:49 ------------------- 18:13:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:13:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:13:49 Message: update stable to v1.0.258 18:13:50 ------------------- 18:13:50 experimental info: 18:13:50 ------------------- 18:13:50 Commited By: **** collab-it+edgex@linuxfoundation.org 18:13:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:13:50 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:13:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:13:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-37 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-37 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-37 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 984d911bc6d9fdf2a61b3afbd303516cda764fd6 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 984d911 [Pipeline] echo 18:13:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:52 provisioning config files... 18:13:52 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-37@tmp/config17100204105803701061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:53 ---> ****-login.sh 18:13:53 nexus3.edgexfoundry.org:10001 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 nexus3.edgexfoundry.org:10002 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 nexus3.edgexfoundry.org:10003 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 nexus3.edgexfoundry.org:10004 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 ****.io 18:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:13:55 Configure a credential helper to remove this warning. See 18:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:13:55 18:13:55 Login Succeeded 18:13:55 ---> ****-login.sh ends [Pipeline] } 18:13:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:13:56 + git rev-list -1 --merges 984d911bc6d9fdf2a61b3afbd303516cda764fd6~1..984d911bc6d9fdf2a61b3afbd303516cda764fd6 [Pipeline] echo 18:13:56 -----------> git rev-list -1 --merges 984d911bc6d9fdf2a61b3afbd303516cda764fd6~1..984d911bc6d9fdf2a61b3afbd303516cda764fd6 984d911bc6d9fdf2a61b3afbd303516cda764fd6 [false] [Pipeline] sh 18:13:56 + git log --format=format:%s -1 984d911bc6d9fdf2a61b3afbd303516cda764fd6 [Pipeline] echo 18:13:56 ========================================================= 18:13:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:13:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:57 + git log --format=format:%s -1 984d911bc6d9fdf2a61b3afbd303516cda764fd6 [Pipeline] echo 18:13:57 [semverPrep] GIT_COMMIT: 984d911bc6d9fdf2a61b3afbd303516cda764fd6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:13:57 [semverPrep] This is not a build commit. [Pipeline] sh 18:13:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:13:57 + grep -v github /etc/ssh/ssh_known_hosts 18:13:57 + [ -e /tmp/ssh_known_hosts ] 18:13:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:13:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:13:57 + sudo tee -a /etc/ssh/ssh_known_hosts 18:13:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:58 18:13:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:58 0.1.4: Pulling from edgex-devops/py-git-semver 18:13:58 b85a868b505f: Pulling fs layer 18:13:58 e2be974225ed: Pulling fs layer 18:13:58 339a4e72a1f5: Pulling fs layer 18:13:58 988bab9f4d93: Pulling fs layer 18:13:58 1469e6f7b9e6: Pulling fs layer 18:13:58 eaf3925da568: Pulling fs layer 18:13:58 bab4dde63d76: Pulling fs layer 18:13:58 bde34c3a00c8: Pulling fs layer 18:13:58 b352a97aabf1: Pulling fs layer 18:13:58 4872d77fe225: Pulling fs layer 18:13:58 5851b861e8e6: Pulling fs layer 18:13:58 988bab9f4d93: Waiting 18:13:58 1469e6f7b9e6: Waiting 18:13:58 eaf3925da568: Waiting 18:13:58 bab4dde63d76: Waiting 18:13:58 bde34c3a00c8: Waiting 18:13:58 b352a97aabf1: Waiting 18:13:58 4872d77fe225: Waiting 18:13:58 5851b861e8e6: Waiting 18:13:58 e2be974225ed: Download complete 18:13:58 988bab9f4d93: Download complete 18:13:58 1469e6f7b9e6: Verifying Checksum 18:13:58 1469e6f7b9e6: Download complete 18:13:58 eaf3925da568: Verifying Checksum 18:13:58 eaf3925da568: Download complete 18:13:58 339a4e72a1f5: Verifying Checksum 18:13:58 339a4e72a1f5: Download complete 18:13:58 bde34c3a00c8: Download complete 18:13:58 b352a97aabf1: Download complete 18:13:58 4872d77fe225: Verifying Checksum 18:13:58 5851b861e8e6: Verifying Checksum 18:13:58 5851b861e8e6: Download complete 18:13:58 b85a868b505f: Verifying Checksum 18:13:58 b85a868b505f: Download complete 18:13:58 bab4dde63d76: Verifying Checksum 18:13:58 bab4dde63d76: Download complete 18:13:59 b85a868b505f: Pull complete 18:14:00 e2be974225ed: Pull complete 18:14:00 339a4e72a1f5: Pull complete 18:14:00 988bab9f4d93: Pull complete 18:14:01 1469e6f7b9e6: Pull complete 18:14:01 eaf3925da568: Pull complete 18:14:02 bab4dde63d76: Pull complete 18:14:02 bde34c3a00c8: Pull complete 18:14:02 b352a97aabf1: Pull complete 18:14:02 4872d77fe225: Pull complete 18:14:02 5851b861e8e6: Pull complete 18:14:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:03 prd-ubuntu20.04-docker-8c-8g-24080 does not seem to be running inside a container 18:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-37 -v /w/workspace/edgexfoundry_device-uart_PR-37:/w/workspace/edgexfoundry_device-uart_PR-37:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-37@tmp:/w/workspace/edgexfoundry_device-uart_PR-37@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 18:14:07 $ docker top 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae -eo pid,comm 18:14:07 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). 18:14:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:14:07 [ssh-agent] Looking for ssh-agent implementation... 18:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:14:07 $ docker exec 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae ssh-agent 18:14:07 SSH_AUTH_SOCK=/tmp/ssh-edUaC5Y1qI7o/agent.33 18:14:07 SSH_AGENT_PID=39 18:14:07 Running ssh-add (command line suppressed) 18:14:07 Identity added: /w/workspace/edgexfoundry_device-uart_PR-37@tmp/private_key_17138147107105619990.key (/w/workspace/edgexfoundry_device-uart_PR-37@tmp/private_key_17138147107105619990.key) 18:14:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:14:08 + git tag --points-at HEAD [Pipeline] } 18:14:08 $ docker exec --env ******** --env ******** 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae ssh-agent -k 18:14:08 unset SSH_AUTH_SOCK; 18:14:08 unset SSH_AGENT_PID; 18:14:08 echo Agent pid 39 killed; 18:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:14:08 [ssh-agent] Looking for ssh-agent implementation... 18:14:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:14:08 $ docker exec 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae ssh-agent 18:14:08 SSH_AUTH_SOCK=/tmp/ssh-CFTaBgj4UU4X/agent.71 18:14:08 SSH_AGENT_PID=77 18:14:08 Running ssh-add (command line suppressed) 18:14:08 Identity added: /w/workspace/edgexfoundry_device-uart_PR-37@tmp/private_key_15542176158131346474.key (/w/workspace/edgexfoundry_device-uart_PR-37@tmp/private_key_15542176158131346474.key) 18:14:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:14:09 + git semver init 18:14:09 2023-12-05 18:14:09,396 [run_init] DEBUG init version:0.0.0 force:False 18:14:09 2023-12-05 18:14:09,397 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-37/.semver 18:14:09 2023-12-05 18:14:09,397 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-37/.semver 18:14:09 2023-12-05 18:14:09,398 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-37/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-37, universal_newlines=False, shell=None, istream=None) 18:14:10 2023-12-05 18:14:10,621 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-37/.git/info/exclude 18:14:10 2023-12-05 18:14:10,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-37/.semver/PR-37 with force:False 18:14:10 2023-12-05 18:14:10,622 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-37/.semver/PR-37 18:14:10 2023-12-05 18:14:10,626 [execute] INFO git cat-file --batch-check 18:14:10 2023-12-05 18:14:10,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-37/.semver, universal_newlines=False, shell=None, istream=) 18:14:10 2023-12-05 18:14:10,632 [execute] INFO git cat-file --batch 18:14:10 2023-12-05 18:14:10,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-37/.semver, universal_newlines=False, shell=None, istream=) 18:14:10 2023-12-05 18:14:10,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-37/.semver/PR-37 18:14:10 0.0.0 [Pipeline] } 18:14:10 $ docker exec --env ******** --env ******** 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae ssh-agent -k 18:14:10 unset SSH_AUTH_SOCK; 18:14:10 unset SSH_AGENT_PID; 18:14:10 echo Agent pid 77 killed; 18:14:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:14:11 + git semver [Pipeline] } 18:14:11 $ docker stop --time=1 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae 18:14:13 $ docker rm -f --volumes 199d9eb6fad5e8c08c690e426d420987e24ab6d27ff6e9889992ed3bc58833ae [Pipeline] // withDockerContainer [Pipeline] sh 18:14:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:14:13 Stashed 1 file(s) [Pipeline] echo 18:14:13 [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 18:14:14 provisioning config files... 18:14:14 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-37@tmp/config6806882461581155417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:15 ---> ****-login.sh 18:14:15 nexus3.edgexfoundry.org:10001 18:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:15 Configure a credential helper to remove this warning. See 18:14:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:15 18:14:15 Login Succeeded 18:14:15 nexus3.edgexfoundry.org:10002 18:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:15 Configure a credential helper to remove this warning. See 18:14:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:15 18:14:15 Login Succeeded 18:14:15 nexus3.edgexfoundry.org:10003 18:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:15 Configure a credential helper to remove this warning. See 18:14:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:15 18:14:15 Login Succeeded 18:14:15 nexus3.edgexfoundry.org:10004 18:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:15 Configure a credential helper to remove this warning. See 18:14:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:15 18:14:15 Login Succeeded 18:14:15 ****.io 18:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:15 Configure a credential helper to remove this warning. See 18:14:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:15 18:14:15 Login Succeeded 18:14:15 ---> ****-login.sh ends [Pipeline] } 18:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:16 ========================================================= 18:14:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:14:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:16 + 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 . 18:14:16 Sending build context to Docker daemon 23.05MB 18:14:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:14:16 Step 2/12 : FROM ${BASE} AS builder 18:14:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:14:17 7264a8db6415: Pulling fs layer 18:14:17 c4d48a809fc2: Pulling fs layer 18:14:17 4f1c88b9dad5: Pulling fs layer 18:14:17 ad3a456e5733: Pulling fs layer 18:14:17 69c7f0334f64: Pulling fs layer 18:14:17 1f1c1a5573a3: Pulling fs layer 18:14:17 ce7588e14bc9: Pulling fs layer 18:14:17 b5e4710f87ac: Pulling fs layer 18:14:17 ce7588e14bc9: Waiting 18:14:17 69c7f0334f64: Waiting 18:14:17 ad3a456e5733: Waiting 18:14:17 c4d48a809fc2: Verifying Checksum 18:14:17 c4d48a809fc2: Download complete 18:14:17 ad3a456e5733: Download complete 18:14:17 69c7f0334f64: Verifying Checksum 18:14:17 69c7f0334f64: Download complete 18:14:17 7264a8db6415: Verifying Checksum 18:14:17 7264a8db6415: Download complete 18:14:17 1f1c1a5573a3: Verifying Checksum 18:14:17 1f1c1a5573a3: Download complete 18:14:17 7264a8db6415: Pull complete 18:14:17 b5e4710f87ac: Verifying Checksum 18:14:17 b5e4710f87ac: Download complete 18:14:17 c4d48a809fc2: Pull complete 18:14:17 4f1c88b9dad5: Verifying Checksum 18:14:17 4f1c88b9dad5: Download complete 18:14:18 ce7588e14bc9: Verifying Checksum 18:14:18 ce7588e14bc9: Download complete 18:14:21 4f1c88b9dad5: Pull complete 18:14:21 ad3a456e5733: Pull complete 18:14:21 69c7f0334f64: Pull complete 18:14:21 1f1c1a5573a3: Pull complete 18:14:24 ce7588e14bc9: Pull complete 18:14:25 b5e4710f87ac: Pull complete 18:14:25 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:14:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:14:25 ---> 88b5674ff536 18:14:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:14:29 Still waiting to schedule task 18:14:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:14:30 ---> Running in 97828fa334e0 18:14:30 Removing intermediate container 97828fa334e0 18:14:30 ---> 693730c5bebe 18:14:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:14:30 ---> Running in 71c54fc88d71 18:14:30 Removing intermediate container 71c54fc88d71 18:14:30 ---> df37fedff77e 18:14:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:14:30 ---> Running in 660e8cd781e4 18:14:30 Removing intermediate container 660e8cd781e4 18:14:30 ---> 2e54205748cd 18:14:30 Step 6/12 : WORKDIR /device-uart 18:14:30 ---> Running in 2ee13fced10b 18:14:30 Removing intermediate container 2ee13fced10b 18:14:30 ---> b24f3f4e550c 18:14:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:30 ---> Running in 78575eaa592e 18:14:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:31 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:14:31 (2/4) Installing libedit (20221030.3.1-r1) 18:14:31 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:14:31 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:14:31 Executing busybox-1.36.1-r5.trigger 18:14:31 OK: 268 MiB in 56 packages 18:14:32 Removing intermediate container 78575eaa592e 18:14:32 ---> 42ac6780a982 18:14:32 Step 8/12 : COPY go.mod vendor* ./ 18:14:32 ---> efb1a3e6d167 18:14:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:32 ---> Running in ec2626634f91 18:15:53 Removing intermediate container ec2626634f91 18:15:53 ---> f2c71871cae5 18:15:53 Step 10/12 : COPY . . 18:15:53 ---> 389755ab0298 18:15:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:53 ---> Running in aaff27b67b23 18:15:53 Removing intermediate container aaff27b67b23 18:15:53 ---> 4a65be1db9b6 18:15:53 Step 12/12 : RUN ${MAKE} 18:15:53 ---> Running in dd0ba681fbd7 18:15:53 noop 18:15:53 Removing intermediate container dd0ba681fbd7 18:15:53 ---> be330693bb13 18:15:53 Successfully built be330693bb13 18:15:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:54 + docker inspect -f . ci-base-image-x86_64 18:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:54 prd-ubuntu20.04-docker-8c-8g-24080 does not seem to be running inside a container 18:15:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-37 -v /w/workspace/edgexfoundry_device-uart_PR-37:/w/workspace/edgexfoundry_device-uart_PR-37:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-37@tmp:/w/workspace/edgexfoundry_device-uart_PR-37@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 18:15:54 $ docker top 43845d06413051a707977b6d5699a062aec7332adc903addacfbd3d6a4ffba39 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:55 + go version 18:15:55 go version go1.21.0 linux/amd64 [Pipeline] } 18:15:55 $ docker stop --time=1 43845d06413051a707977b6d5699a062aec7332adc903addacfbd3d6a4ffba39 18:15:56 $ docker rm -f --volumes 43845d06413051a707977b6d5699a062aec7332adc903addacfbd3d6a4ffba39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:57 + docker inspect -f . ci-base-image-x86_64 18:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:57 prd-ubuntu20.04-docker-8c-8g-24080 does not seem to be running inside a container 18:15:57 $ 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-37 -v /w/workspace/edgexfoundry_device-uart_PR-37:/w/workspace/edgexfoundry_device-uart_PR-37:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-37@tmp:/w/workspace/edgexfoundry_device-uart_PR-37@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 18:15:58 $ docker top 64fe1bee975e8405858b1f88e405ae53bc0b61a1651d79c90d5ff2073db44c5b -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-37 [Pipeline] fileExists [Pipeline] sh 18:15:59 + make test 18:15:59 go test ./... -coverprofile=coverage.out 18:16:00 ? github.com/edgexfoundry/device-uart [no test files] 18:16:10 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:16:10 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:16:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24081 in /w/workspace/edgexfoundry_device-uart_PR-37 [Pipeline] { [Pipeline] ws 18:16:15 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:16:17 go vet ./... 18:16:18 The recommended git tool is: git 18:16:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:16:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:16:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:16:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:16:21 $ docker stop --time=1 64fe1bee975e8405858b1f88e405ae53bc0b61a1651d79c90d5ff2073db44c5b 18:16:25 $ docker rm -f --volumes 64fe1bee975e8405858b1f88e405ae53bc0b61a1651d79c90d5ff2073db44c5b [Pipeline] // withDockerContainer [Pipeline] sh 18:16:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:16:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:16:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:27 using credential edgex-jenkins-ssh 18:16:27 Cloning the remote Git repository 18:16:27 + ls -al . 18:16:27 total 156 18:16:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:15 . 18:16:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:13 .. 18:16:27 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 18:13 .dockerignore 18:16:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:16 .git 18:16:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:13 .github 18:16:27 -rw-rw-r-- 1 jenkins jenkins 343 Dec 5 18:13 .gitignore 18:16:27 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 18:13 .golangci.yml 18:16:27 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:14 .semver 18:16:27 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 5 18:13 Attribution.txt 18:16:27 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 5 18:13 CHANGELOG.md 18:16:27 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 5 18:13 Dockerfile 18:16:27 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 18:13 GOVERNANCE.md 18:16:27 -rw-rw-r-- 1 jenkins jenkins 675 Dec 5 18:13 Jenkinsfile 18:16:27 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 18:13 LICENSE 18:16:27 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 5 18:13 Makefile 18:16:27 -rw-rw-r-- 1 jenkins jenkins 617 Dec 5 18:13 OWNERS.md 18:16:27 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 5 18:13 README.md 18:16:27 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:14 VERSION 18:16:27 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:13 bin 18:16:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:13 cmd 18:16:27 -rw-r--r-- 1 jenkins jenkins 10 Dec 5 18:15 coverage.out 18:16:27 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 5 18:13 go.mod 18:16:27 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 5 18:13 go.sum 18:16:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:13 internal 18:16:27 -rw-rw-r-- 1 jenkins jenkins 209 Dec 5 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:27 + 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=984d911bc6d9fdf2a61b3afbd303516cda764fd6 --label arch=amd64 --label version=0.0.0 . 18:16:27 Sending build context to Docker daemon 23.05MB 18:16:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:16:27 Step 2/26 : FROM ${BASE} AS builder 18:16:27 ---> be330693bb13 18:16:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:16:27 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:16:27 > git init /w/workspace/device-uart/1 # timeout=10 18:16:27 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:16:27 > git --version # timeout=10 18:16:27 > git --version # 'git version 2.25.1' 18:16:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:28 ---> Running in daff7ab4045f 18:16:28 Removing intermediate container daff7ab4045f 18:16:28 ---> 4a20478eade4 18:16:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:16:28 ---> Running in 69bf579cdfce 18:16:28 Removing intermediate container 69bf579cdfce 18:16:28 ---> 387b6f4b34e3 18:16:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:16:28 ---> Running in a338892d8b28 18:16:28 Removing intermediate container a338892d8b28 18:16:28 ---> fa973b16bc49 18:16:28 Step 6/26 : WORKDIR /device-uart 18:16:28 ---> Running in 3c60294bf475 18:16:28 Removing intermediate container 3c60294bf475 18:16:28 ---> 55c7d489b2b8 18:16:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:28 ---> Running in 9c8be5f32a66 18:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:16:29 OK: 268 MiB in 56 packages 18:16:29 Removing intermediate container 9c8be5f32a66 18:16:29 ---> 92d439661339 18:16:29 Step 8/26 : COPY go.mod vendor* ./ 18:16:30 ---> 708b2cb1792a 18:16:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:30 ---> Running in 6a79c2f5da47 18:16:30 Removing intermediate container 6a79c2f5da47 18:16:30 ---> f1857d5fc1b6 18:16:30 Step 10/26 : COPY . . 18:16:29 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:16:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:30 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:16:30 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:16:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:16:31 Merging remotes/origin/main commit 56a8503eef07c46f22bc765105e6cf123a2f1194 into PR head commit 984d911bc6d9fdf2a61b3afbd303516cda764fd6 18:16:31 Merge succeeded, producing 984d911bc6d9fdf2a61b3afbd303516cda764fd6 18:16:31 Checking out Revision 984d911bc6d9fdf2a61b3afbd303516cda764fd6 (PR-37) 18:16:32 ---> 673766546e13 18:16:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:32 ---> Running in de105c8d0e80 18:16:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:16:32 > git --version # timeout=10 18:16:32 > git --version # 'git version 2.25.1' 18:16:32 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:16:32 Removing intermediate container de105c8d0e80 18:16:32 ---> d0733a2219de 18:16:32 Step 12/26 : RUN ${MAKE} 18:16:31 > git config core.sparsecheckout # timeout=10 18:16:31 > git checkout -f 984d911bc6d9fdf2a61b3afbd303516cda764fd6 # timeout=10 18:16:31 > git remote # timeout=10 18:16:31 > git config --get remote.origin.url # timeout=10 18:16:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:31 > git merge 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 18:16:31 > git rev-parse HEAD^{commit} # timeout=10 18:16:31 > git config core.sparsecheckout # timeout=10 18:16:31 > git checkout -f 984d911bc6d9fdf2a61b3afbd303516cda764fd6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:16:33 ---> Running in aa40f2b89263 [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:33 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.2" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:16:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:16:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:16:33 Dload Upload Total Spent Left Speed 18:16:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 83434 0 --:--:-- --:--:-- --:--:-- 83986 [Pipeline] sh 18:16:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:16:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:16:34 + sudo tee /etc/docker/daemon.new 18:16:34 { 18:16:34 "registry-mirrors": [ 18:16:34 "https://nexus3.edgexfoundry.org:10001" 18:16:34 ], 18:16:34 "bip": "10.250.0.254/24", 18:16:34 "hosts": [ 18:16:34 "tcp://0.0.0.0:5555", 18:16:34 "unix:///var/run/docker.sock" 18:16:34 ], 18:16:34 "mtu": 1458, 18:16:34 "selinux-enabled": true, 18:16:34 "seccomp-profile": "/etc/docker/seccomp.json" 18:16:34 } [Pipeline] sh 18:16:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:16:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:57 provisioning config files... 18:16:57 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config12873741734542779948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:58 ---> ****-login.sh 18:16:58 nexus3.edgexfoundry.org:10001 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10002 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10003 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 nexus3.edgexfoundry.org:10004 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 ****.io 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 ---> ****-login.sh ends 18:17:00 Removing intermediate container aa40f2b89263 18:17:00 ---> 119e22e5f02f 18:17:00 Step 13/26 : FROM alpine:3.18 18:17:00 3.18: Pulling from library/alpine 18:17:00 c926b61bad3b: Pulling fs layer 18:17:00 c926b61bad3b: Download complete 18:17:00 c926b61bad3b: Pull complete 18:17:00 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:17:00 Status: Downloaded newer image for alpine:3.18 18:17:00 ---> b541f2080109 18:17:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:17:00 ---> Running in 90088fec09ba 18:17:00 Removing intermediate container 90088fec09ba 18:17:00 ---> 685e103d0a2f 18:17:00 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:17:00 ---> Running in bfbc00006b56 18:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:17:00 (1/1) Installing dumb-init (1.2.5-r2) 18:17:00 Executing busybox-1.36.1-r5.trigger 18:17:00 OK: 7 MiB in 16 packages 18:17:00 Removing intermediate container bfbc00006b56 18:17:00 ---> 1fc2fc06c383 18:17:00 Step 16/26 : RUN apk --no-cache upgrade 18:17:00 ---> Running in fa3d5e7ab233 18:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:17:00 OK: 7 MiB in 16 packages 18:17:00 Removing intermediate container fa3d5e7ab233 18:17:00 ---> c1766bd2e390 18:17:00 Step 17/26 : WORKDIR / [Pipeline] } 18:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 18:17:00 ---> Running in 041b3170c72e 18:17:00 Removing intermediate container 041b3170c72e 18:17:00 ---> 4559135da693 18:17:00 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:17:00 ---> 9cde7ff69334 18:17:00 Step 19/26 : COPY --from=builder /device-uart/LICENSE / [Pipeline] unstash 18:17:00 ---> fa1f3198b097 18:17:00 Step 20/26 : COPY --from=builder /device-uart/cmd/ / [Pipeline] echo 18:17:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:17:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:17:00 ========================================================= 18:17:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:17:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:01 + 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 . 18:17:01 ---> 69d01401a2e0 18:17:01 Step 21/26 : EXPOSE 59995 18:17:01 ---> Running in 0f20a293e546 18:17:01 Removing intermediate container 0f20a293e546 18:17:01 ---> a699e76f0f7b 18:17:01 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:17:01 ---> Running in fe298d31821e 18:17:02 Removing intermediate container fe298d31821e 18:17:02 ---> 74b1a9d3ef1f 18:17:02 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:17:02 ---> Running in 905828cd4c92 18:17:02 Removing intermediate container 905828cd4c92 18:17:02 ---> f6dcb3d38a23 18:17:02 Step 24/26 : LABEL arch=amd64 18:17:02 ---> Running in 9e4ccb156adb 18:17:02 Removing intermediate container 9e4ccb156adb 18:17:02 ---> d44ec8563e08 18:17:02 Step 25/26 : LABEL git_sha=984d911bc6d9fdf2a61b3afbd303516cda764fd6 18:17:02 #0 building with "default" instance using docker driver 18:17:02 18:17:02 #1 [internal] load build definition from Dockerfile 18:17:02 #1 transferring dockerfile: 1.93kB 0.0s done 18:17:02 #1 DONE 0.1s 18:17:02 18:17:02 #2 [internal] load .dockerignore 18:17:02 #2 transferring context: 182B done 18:17:02 #2 DONE 0.1s 18:17:02 18:17:02 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:17:02 #3 DONE 0.1s 18:17:02 18:17:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:17:02 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:17:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 18:17:02 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:17:02 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 978.94kB / 3.33MB 0.1s 18:17:02 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:17:02 ---> Running in bf054c53e9dd 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 18:17:03 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:17:03 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 18:17:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 18:17:03 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.3s done 18:17:03 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s 18:17:03 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 18:17:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 18:17:03 Removing intermediate container bf054c53e9dd 18:17:03 ---> c01a195e45d2 18:17:03 Step 26/26 : LABEL version=0.0.0 18:17:03 ---> Running in e31d341a6807 18:17:03 #4 ... 18:17:03 18:17:03 #5 [internal] load build context 18:17:03 #5 transferring context: 11.51MB 0.4s done 18:17:03 #5 DONE 0.4s 18:17:03 18:17:03 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.30MB / 97.63MB 0.5s 18:17:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.87MB / 11.40MB 0.5s 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.47MB / 63.99MB 0.6s 18:17:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.6s 18:17:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.6s 18:17:03 Removing intermediate container e31d341a6807 18:17:03 ---> 057352ff3833 18:17:03 [Warning] One or more build-args [ARCH] were not consumed 18:17:03 Successfully built 057352ff3833 18:17:03 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.31MB / 63.99MB 0.8s 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.89MB / 97.63MB 0.8s 18:17:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.9s 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.9s [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.79MB / 63.99MB 1.0s 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.40MB / 97.63MB 1.0s 18:17:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 18:17:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.1s 18:17:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.1s 18:17:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 18:17:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.98MB / 63.99MB 1.3s 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.80MB / 97.63MB 1.3s 18:17:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.58MB / 63.99MB 1.4s 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.4s 18:17:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.5s [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 18:17:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.6s 18:17:04 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.35MB / 97.63MB 1.7s [Pipeline] sh 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.90MB / 97.63MB 1.9s 18:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:04 18:17:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 2.1s 18:17:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 18:17:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:05 latest: Pulling from edgex-lftools-log-publisher 18:17:05 5eb5b503b376: Pulling fs layer 18:17:05 5c69ac0246d0: Pulling fs layer 18:17:05 ec43610c2a17: Pulling fs layer 18:17:05 3a2ae6a8a46f: Pulling fs layer 18:17:05 33b1e0a273af: Pulling fs layer 18:17:05 5d3b04190fa2: Pulling fs layer 18:17:05 2f39f015ded8: Pulling fs layer 18:17:05 33b1e0a273af: Waiting 18:17:05 5d3b04190fa2: Waiting 18:17:05 2f39f015ded8: Waiting 18:17:05 3a2ae6a8a46f: Waiting 18:17:05 5c69ac0246d0: Verifying Checksum 18:17:05 5c69ac0246d0: Download complete 18:17:05 3a2ae6a8a46f: Verifying Checksum 18:17:05 3a2ae6a8a46f: Download complete 18:17:05 33b1e0a273af: Verifying Checksum 18:17:05 33b1e0a273af: Download complete 18:17:05 5d3b04190fa2: Verifying Checksum 18:17:05 5d3b04190fa2: Download complete 18:17:05 ec43610c2a17: Verifying Checksum 18:17:05 ec43610c2a17: Download complete 18:17:05 5eb5b503b376: Verifying Checksum 18:17:05 5eb5b503b376: Download complete 18:17:06 2f39f015ded8: Verifying Checksum 18:17:06 2f39f015ded8: Download complete 18:17:07 5eb5b503b376: Pull complete 18:17:07 5c69ac0246d0: Pull complete 18:17:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.3s done 18:17:08 ec43610c2a17: Pull complete 18:17:08 3a2ae6a8a46f: Pull complete 18:17:08 33b1e0a273af: Pull complete 18:17:08 5d3b04190fa2: Pull complete 18:17:10 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.3s 18:17:14 2f39f015ded8: Pull complete 18:17:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:14 prd-ubuntu20.04-docker-8c-8g-24080 does not seem to be running inside a container 18:17:14 $ 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-37 -v /w/workspace/edgexfoundry_device-uart_PR-37:/w/workspace/edgexfoundry_device-uart_PR-37:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-37@tmp:/w/workspace/edgexfoundry_device-uart_PR-37@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 18:17:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s 18:17:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.1s done 18:17:23 $ docker top 0e452ff23bad2edd3ca0850583e04a2473f9ea48f1e5ea509213c79a2ec609f5 -eo pid,comm 18:17:23 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [Pipeline] { 18:17:24 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:17:24 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:17:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [Pipeline] libraryResource [Pipeline] sh 18:17:24 ---> job-cost.sh 18:17:24 lf-activate-venv: SKIPPING 18:17:24 INFO: No Stack... 18:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:25 INFO: Archiving Costs [Pipeline] sh 18:17:25 + cut -d, -f6 18:17:25 + cat /w/workspace/edgexfoundry_device-uart_PR-37/archives/cost.csv [Pipeline] lock 18:17:25 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] 18:17:25 Resource [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] did not exist. Created. 18:17:25 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:17:26 + echo total: 0.2199999988079071 [Pipeline] stash 18:17:26 Stashed 1 file(s) [Pipeline] } 18:17:26 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:17:26 $ docker stop --time=1 0e452ff23bad2edd3ca0850583e04a2473f9ea48f1e5ea509213c79a2ec609f5 18:17:27 $ docker rm -f --volumes 0e452ff23bad2edd3ca0850583e04a2473f9ea48f1e5ea509213c79a2ec609f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:17:29 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 18:17:33 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.2s done 18:17:33 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:17:35 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 18:17:37 #4 DONE 34.8s 18:17:37 18:17:37 #6 [builder 2/7] WORKDIR /device-uart 18:17:39 #6 DONE 1.8s 18:17:39 18:17:39 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:17:40 #7 0.779 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:40 #7 1.280 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:42 #7 2.934 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:17:42 #7 2.969 (2/4) Installing libedit (20221030.3.1-r1) 18:17:42 #7 2.984 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:17:42 #7 3.068 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:17:42 #7 3.104 Executing busybox-1.36.1-r5.trigger 18:17:42 #7 3.151 OK: 271 MiB in 56 packages 18:17:42 #7 DONE 3.5s 18:17:43 18:17:43 #8 [builder 4/7] COPY go.mod vendor* ./ 18:17:43 #8 DONE 0.1s 18:17:43 18:17:43 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:15 #9 DONE 27.5s 18:18:15 18:18:15 #10 [builder 6/7] COPY . . 18:18:15 #10 DONE 0.4s 18:18:15 18:18:15 #11 [builder 7/7] RUN echo noop 18:18:15 #11 0.679 noop 18:18:15 #11 DONE 0.7s 18:18:15 18:18:15 #12 exporting to image 18:18:15 #12 exporting layers 18:18:39 #12 exporting layers 23.8s done 18:18:39 #12 writing image sha256:d566da720fee3b466de6f6420be0ef8b4e54ea73bd39a310776f17570ae037fc done 18:18:39 #12 naming to docker.io/library/ci-base-image-arm64 done 18:18:39 #12 DONE 23.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:41 + docker inspect -f . ci-base-image-arm64 18:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:43 prd-ubuntu20.04-docker-arm64-4c-16g-24081 does not seem to be running inside a container 18:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:18:45 $ docker top 8b7d8531440ccf869fb993b024782cc7e7c768be0ef88a2ff926067e647d2ee9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:18:45 + go version 18:18:46 go version go1.21.0 linux/arm64 [Pipeline] } 18:18:46 $ docker stop --time=1 8b7d8531440ccf869fb993b024782cc7e7c768be0ef88a2ff926067e647d2ee9 18:18:49 $ docker rm -f --volumes 8b7d8531440ccf869fb993b024782cc7e7c768be0ef88a2ff926067e647d2ee9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:50 + docker inspect -f . ci-base-image-arm64 18:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-24081 does not seem to be running inside a container 18:18:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:18:51 $ docker top 1cefb935895fa9e3b69beec5bb3314a905f0b618826575d2e8a8d720198b5284 -eo pid,comm [Pipeline] { [Pipeline] sh 18:18:53 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:18:53 + make test 18:18:54 go test ./... -coverprofile=coverage.out 18:18:58 ? github.com/edgexfoundry/device-uart [no test files] 18:19:54 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:19:54 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:19:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:19:54 go vet ./... 18:20:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:20:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:20:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:20:07 $ docker stop --time=1 1cefb935895fa9e3b69beec5bb3314a905f0b618826575d2e8a8d720198b5284 18:20:09 $ docker rm -f --volumes 1cefb935895fa9e3b69beec5bb3314a905f0b618826575d2e8a8d720198b5284 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:20:10 Warning: overwriting stash ‘coverage-report’ 18:20:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:12 + ls -al . 18:20:12 total 152 18:20:12 drwxrwxr-x 7 jenkins jenkins 4096 Dec 5 18:18 . 18:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:16 .. 18:20:12 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 18:16 .dockerignore 18:20:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:16 .git 18:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:16 .github 18:20:12 -rw-rw-r-- 1 jenkins jenkins 343 Dec 5 18:16 .gitignore 18:20:12 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 18:16 .golangci.yml 18:20:12 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 5 18:16 Attribution.txt 18:20:12 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 5 18:16 CHANGELOG.md 18:20:12 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 5 18:16 Dockerfile 18:20:12 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 18:16 GOVERNANCE.md 18:20:12 -rw-rw-r-- 1 jenkins jenkins 675 Dec 5 18:16 Jenkinsfile 18:20:12 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 18:16 LICENSE 18:20:12 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 5 18:16 Makefile 18:20:12 -rw-rw-r-- 1 jenkins jenkins 617 Dec 5 18:16 OWNERS.md 18:20:12 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 5 18:16 README.md 18:20:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:14 VERSION 18:20:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:16 bin 18:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:16 cmd 18:20:12 -rw-r--r-- 1 jenkins jenkins 10 Dec 5 18:18 coverage.out 18:20:12 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 5 18:16 go.mod 18:20:12 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 5 18:16 go.sum 18:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:16 internal 18:20:12 -rw-rw-r-- 1 jenkins jenkins 209 Dec 5 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:12 + 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=984d911bc6d9fdf2a61b3afbd303516cda764fd6 --label arch=arm64 --label version=0.0.0 . 18:20:13 #0 building with "default" instance using docker driver 18:20:13 18:20:13 #1 [internal] load build definition from Dockerfile 18:20:13 #1 transferring dockerfile: 1.93kB 0.0s done 18:20:13 #1 DONE 0.0s 18:20:13 18:20:13 #2 [internal] load .dockerignore 18:20:13 #2 transferring context: 182B 0.0s done 18:20:13 #2 DONE 0.0s 18:20:13 18:20:13 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:20:13 #3 DONE 0.0s 18:20:13 18:20:13 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:20:13 #4 DONE 0.4s 18:20:13 18:20:13 #5 [internal] load build context 18:20:13 #5 transferring context: 5.48kB 0.0s done 18:20:13 #5 DONE 0.1s 18:20:13 18:20:13 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:20:13 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:20:13 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:20:13 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:20:13 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:20:13 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 18:20:14 #6 ... 18:20:14 18:20:14 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:20:14 #7 DONE 0.2s 18:20:14 18:20:14 #8 [builder 2/7] WORKDIR /device-uart 18:20:14 #8 DONE 0.1s 18:20:14 18:20:14 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:20:14 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:20:14 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:20:14 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 18:20:15 #6 DONE 1.9s 18:20:15 18:20:15 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:20:15 #9 1.643 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:16 #9 2.110 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:17 #9 3.365 OK: 271 MiB in 56 packages 18:20:17 #9 DONE 3.7s 18:20:17 18:20:17 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:20:17 #10 0.730 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:17 #10 1.114 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:17 #10 ... 18:20:17 18:20:17 #11 [builder 4/7] COPY go.mod vendor* ./ 18:20:17 #11 DONE 0.1s 18:20:17 18:20:17 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:20:17 #10 2.319 (1/1) Installing dumb-init (1.2.5-r2) 18:20:17 #10 2.350 Executing busybox-1.36.1-r5.trigger 18:20:18 #10 2.386 OK: 8 MiB in 16 packages 18:20:18 #10 DONE 2.7s 18:20:18 18:20:18 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:20:19 #12 ... 18:20:19 18:20:19 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:19 #13 DONE 1.4s 18:20:19 18:20:19 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:20:19 #12 0.912 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:19 #12 ... 18:20:19 18:20:19 #14 [builder 6/7] COPY . . 18:20:19 #14 DONE 0.4s 18:20:19 18:20:19 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:20:19 #12 1.340 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:21 #12 2.588 OK: 8 MiB in 16 packages 18:20:21 #12 DONE 2.9s 18:20:21 18:20:21 #15 [builder 7/7] RUN make build 18:20:21 #15 0.670 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.2" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:21:43 #15 DONE 71.5s 18:21:43 18:21:43 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 18:21:43 #16 DONE 0.1s 18:21:43 18:21:43 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 18:21:43 #17 DONE 0.1s 18:21:43 18:21:43 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 18:21:43 #18 DONE 0.3s 18:21:43 18:21:43 #19 exporting to image 18:21:43 #19 exporting layers 18:21:43 #19 exporting layers 0.4s done 18:21:43 #19 writing image sha256:65d081d462e0672a07fbff269ad1a05f6c75aa257ea973b81958dca03224c58c done 18:21:43 #19 naming to docker.io/library/device-uart-arm64 done 18:21:43 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:21:44 18:21:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:21:45 arm64: Pulling from edgex-lftools-log-publisher 18:21:45 8998bd30e6a1: Pulling fs layer 18:21:45 04944245beec: Pulling fs layer 18:21:45 699f458cf7ca: Pulling fs layer 18:21:45 765212b225bb: Pulling fs layer 18:21:45 f23df028b6ca: Pulling fs layer 18:21:45 d65c8cfc05b1: Pulling fs layer 18:21:45 2437ff75d9bd: Pulling fs layer 18:21:45 765212b225bb: Waiting 18:21:45 f23df028b6ca: Waiting 18:21:45 d65c8cfc05b1: Waiting 18:21:45 2437ff75d9bd: Waiting 18:21:45 04944245beec: Download complete 18:21:45 765212b225bb: Verifying Checksum 18:21:45 765212b225bb: Download complete 18:21:45 f23df028b6ca: Verifying Checksum 18:21:45 f23df028b6ca: Download complete 18:21:45 d65c8cfc05b1: Verifying Checksum 18:21:45 d65c8cfc05b1: Download complete 18:21:45 699f458cf7ca: Verifying Checksum 18:21:45 699f458cf7ca: Download complete 18:21:45 8998bd30e6a1: Verifying Checksum 18:21:45 8998bd30e6a1: Download complete 18:21:48 2437ff75d9bd: Verifying Checksum 18:21:48 2437ff75d9bd: Download complete 18:21:52 8998bd30e6a1: Pull complete 18:21:52 04944245beec: Pull complete 18:21:55 699f458cf7ca: Pull complete 18:21:57 765212b225bb: Pull complete 18:21:58 f23df028b6ca: Pull complete 18:21:58 d65c8cfc05b1: Pull complete 18:22:25 2437ff75d9bd: Pull complete 18:22:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:22:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:25 prd-ubuntu20.04-docker-arm64-4c-16g-24081 does not seem to be running inside a container 18:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:22:28 $ docker top 2ef66a45c0f51827ae6d5f291c6d1478b728c84d96dcb47db7ecf967f7bd6166 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:29 ---> job-cost.sh 18:22:29 lf-activate-venv: SKIPPING 18:22:29 INFO: No Stack... 18:22:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:22:30 INFO: Archiving Costs [Pipeline] sh 18:22:31 + cat /w/workspace/device-uart/1/archives/cost.csv 18:22:31 + cut -d, -f6 [Pipeline] lock 18:22:31 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] 18:22:31 Resource [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] did not exist. Created. 18:22:31 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:22:31 /w/workspace/device-uart/1@tmp/durable-c2742a6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:22:32 + echo total: 0.2199999988079071 [Pipeline] stash 18:22:32 Warning: overwriting stash ‘stack-cost’ 18:22:32 Stashed 1 file(s) [Pipeline] } 18:22:32 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-37-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:22:32 $ docker stop --time=1 2ef66a45c0f51827ae6d5f291c6d1478b728c84d96dcb47db7ecf967f7bd6166 18:22:33 $ docker rm -f --volumes 2ef66a45c0f51827ae6d5f291c6d1478b728c84d96dcb47db7ecf967f7bd6166 [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 18:22:35 provisioning config files... 18:22:35 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-37@tmp/config12059313749730199641tmp [Pipeline] { [Pipeline] sh 18:22:36 + set +x 18:22:36 + curl -s https://codecov.io/bash 18:22:36 + bash -s -- 18:22:36 18:22:36 _____ _ 18:22:36 / ____| | | 18:22:36 | | ___ __| | ___ ___ _____ __ 18:22:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:22:36 | |___| (_) | (_| | __/ (_| (_) \ V / 18:22:36 \_____\___/ \__,_|\___|\___\___/ \_/ 18:22:36 Bash-1.0.6 18:22:36 18:22:36 18:22:36 ==> git version 2.25.1 found 18:22:36 ==> 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 18:22:36 Release-Date: 2020-01-08 18:22:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:22:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:22:36 ==> Jenkins CI detected. 18:22:36 current dir:  /w/workspace/edgexfoundry_device-uart_PR-37 18:22:36 project root: . 18:22:36 --> token set from env 18:22:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:22:36 ==> Running gcov in . (disable via -X gcov) 18:22:36 ==> Python coveragepy not found 18:22:36 ==> Searching for coverage reports in: 18:22:36 + . 18:22:36 -> Found 1 reports 18:22:36 ==> Detecting git/mercurial file structure 18:22:36 ==> Reading reports 18:22:36 + ./coverage.out bytes=10 18:22:36 ==> Appending adjustments 18:22:36 https://docs.codecov.io/docs/fixing-reports 18:22:36 + Found adjustments 18:22:36 ==> Gzipping contents 18:22:36 4.0K /tmp/codecov.qLKoMQ.gz 18:22:36 ==> Uploading reports 18:22:36 url: https://codecov.io 18:22:36 query: branch=PR-37&commit=984d911bc6d9fdf2a61b3afbd303516cda764fd6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-37%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=37&job=&cmd_args= 18:22:36 -> Pinging Codecov 18:22:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-37&commit=984d911bc6d9fdf2a61b3afbd303516cda764fd6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-37%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=37&job=&cmd_args= 18:22:37 -> Uploading to 18:22:37 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/B9AA6E0BBD74AE3A32605C7A7C664919/984d911bc6d9fdf2a61b3afbd303516cda764fd6/0addefda-051f-4df8-bc0f-44eee55f4e2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T182236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75de746e663205373737cd4437405b00c174f9e31f97d09a6a229e3b0c4e36be 18:22:37 % Total % Received % Xferd Average Speed Time Time Time Current 18:22:37 Dload Upload Total Spent Left Speed 18:22:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2533 --:--:-- --:--:-- --:--:-- 2533 18:22:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/984d911bc6d9fdf2a61b3afbd303516cda764fd6 [Pipeline] } 18:22:37 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:22:40 + [ -d /w/workspace/edgexfoundry_device-uart_PR-37/archives ] 18:22:40 + ls -al /w/workspace/edgexfoundry_device-uart_PR-37/archives 18:22:40 total 16 18:22:40 drwxr-xr-x 3 root root 4096 Dec 5 18:17 . 18:22:40 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 18:17 .. 18:22:40 drwxr-xr-x 2 root root 4096 Dec 5 18:17 cost 18:22:40 -rw-r--r-- 1 root root 82 Dec 5 18:17 cost.csv 18:22:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-37/archives 18:22:40 + ls -al /w/workspace/edgexfoundry_device-uart_PR-37/archives 18:22:40 total 16 18:22:40 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:17 . 18:22:40 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 18:17 .. 18:22:40 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 18:17 cost 18:22:40 -rw-r--r-- 1 jenkins jenkins 82 Dec 5 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:22:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:22:41 ---> package-listing.sh 18:22:41 ++ facter osfamily 18:22:41 ++ tr '[:upper:]' '[:lower:]' 18:22:42 + OS_FAMILY=debian 18:22:42 + workspace=/w/workspace/edgexfoundry_device-uart_PR-37 18:22:42 + START_PACKAGES=/tmp/packages_start.txt 18:22:42 + END_PACKAGES=/tmp/packages_end.txt 18:22:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:22:42 + PACKAGES=/tmp/packages_start.txt 18:22:42 + '[' /w/workspace/edgexfoundry_device-uart_PR-37 ']' 18:22:42 + PACKAGES=/tmp/packages_end.txt 18:22:42 + case "${OS_FAMILY}" in 18:22:42 + dpkg -l 18:22:42 + grep '^ii' 18:22:42 + '[' -f /tmp/packages_start.txt ']' 18:22:42 + '[' -f /tmp/packages_end.txt ']' 18:22:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:22:42 + '[' /w/workspace/edgexfoundry_device-uart_PR-37 ']' 18:22:42 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-37/archives/ 18:22:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-37/archives/ [Pipeline] echo 18:22:42 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-37/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:22:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:43 prd-ubuntu20.04-docker-8c-8g-24080 does not seem to be running inside a container 18:22:43 $ 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-37/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-37 -v /w/workspace/edgexfoundry_device-uart_PR-37:/w/workspace/edgexfoundry_device-uart_PR-37:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-37@tmp:/w/workspace/edgexfoundry_device-uart_PR-37@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 18:22:43 $ docker top d49fff49fcf30e403fdc3e26f22598e4ff208b19e16d3aa6826f8799597f34f6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:22:44 + mkdir -p /var/log/sysstat [Pipeline] sh 18:22:44 + ls /var/log/sa-host 18:22:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:22:44 provisioning config files... 18:22:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-37@tmp/config3113695235254308944tmp [Pipeline] { [Pipeline] echo 18:22:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:22:45 ---> create-netrc.sh [Pipeline] } 18:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:22:45 ---> python-tools-install.sh [Pipeline] echo 18:22:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:22:46 ---> sudo-logs.sh 18:22:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:22:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:22:46 ---> job-cost.sh 18:22:46 lf-activate-venv: SKIPPING 18:22:46 DEBUG: total: 0.2199999988079071 18:22:46 INFO: Retrieving Stack Cost... 18:22:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:22:47 INFO: Archiving Costs [Pipeline] echo 18:22:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:22:47 ---> logs-deploy.sh 18:22:47 lf-activate-venv: SKIPPING 18:22:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-37/1 18:22:47 INFO: archiving workspace using pattern(s): 18:22:48 Archives upload complete. 18:22:48 INFO: archiving logs to Nexus