Pull request #29 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d99496cffa5c22785e92c353c4d1db738a0d636+c30bf90ffa9b09e56965655bf5f596629c9edc5f (73069c0ef7817dfe1a6836340cf89e7c5f048b7b) 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-ssh463048111256424810.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1388902512427302759.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-29/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-29/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15896186316234305470.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-29/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17290002233817227820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1223941882708762498.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-29/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-29/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8215513191853473084.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-11971 in /w/workspace/edgexfoundry_device-uart_PR-29 [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-29 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c30bf90ffa9b09e56965655bf5f596629c9edc5f into PR head commit 9d99496cffa5c22785e92c353c4d1db738a0d636 Merge succeeded, producing 9d99496cffa5c22785e92c353c4d1db738a0d636 Checking out Revision 9d99496cffa5c22785e92c353c4d1db738a0d636 (PR-29) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:44:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 9d99496cffa5c22785e92c353c4d1db738a0d636 # 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 c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d99496cffa5c22785e92c353c4d1db738a0d636 # timeout=10 [Pipeline] withCredentials 18:44:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:44:54 ========================================================= 18:44:54 EdgeX Global Pipelines Version Info 18:44:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:44:56 ------------------- 18:44:56 stable info: 18:44:56 ------------------- 18:44:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:44:56 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:44:56 Message: update stable to v1.0.254 18:44:57 ------------------- 18:44:57 experimental info: 18:44:57 ------------------- 18:44:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:44:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:44:57 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:44:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-29 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-29 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-29 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d99496cffa5c22785e92c353c4d1db738a0d636 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d99496 [Pipeline] echo 18:44:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:58 provisioning config files... 18:44:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-29@tmp/config11977740159474832603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:59 ---> docker-login.sh 18:44:59 nexus3.edgexfoundry.org:10001 18:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:59 Configure a credential helper to remove this warning. See 18:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:59 18:44:59 Login Succeeded 18:44:59 nexus3.edgexfoundry.org:10002 18:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:59 Configure a credential helper to remove this warning. See 18:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:59 18:44:59 Login Succeeded 18:44:59 nexus3.edgexfoundry.org:10003 18:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:59 Configure a credential helper to remove this warning. See 18:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:59 18:44:59 Login Succeeded 18:44:59 nexus3.edgexfoundry.org:10004 18:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:59 Configure a credential helper to remove this warning. See 18:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:59 18:44:59 Login Succeeded 18:44:59 docker.io 18:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 ---> docker-login.sh ends [Pipeline] } 18:45:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:45:00 + git rev-list -1 --merges 9d99496cffa5c22785e92c353c4d1db738a0d636~1..9d99496cffa5c22785e92c353c4d1db738a0d636 [Pipeline] echo 18:45:00 -----------> git rev-list -1 --merges 9d99496cffa5c22785e92c353c4d1db738a0d636~1..9d99496cffa5c22785e92c353c4d1db738a0d636 9d99496cffa5c22785e92c353c4d1db738a0d636 [false] [Pipeline] sh 18:45:01 + git log --format=format:%s -1 9d99496cffa5c22785e92c353c4d1db738a0d636 [Pipeline] echo 18:45:01 ========================================================= 18:45:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:45:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:01 + git log --format=format:%s -1 9d99496cffa5c22785e92c353c4d1db738a0d636 [Pipeline] echo 18:45:01 [semverPrep] GIT_COMMIT: 9d99496cffa5c22785e92c353c4d1db738a0d636, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:45:01 [semverPrep] This is not a build commit. [Pipeline] sh 18:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:45:02 + grep -v github /etc/ssh/ssh_known_hosts 18:45:02 + [ -e /tmp/ssh_known_hosts ] 18:45:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:45:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:45:02 sudo tee -a /etc/ssh/ssh_known_hosts 18:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:02 18:45:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:45:03 b85a868b505f: Pulling fs layer 18:45:03 e2be974225ed: Pulling fs layer 18:45:03 339a4e72a1f5: Pulling fs layer 18:45:03 988bab9f4d93: Pulling fs layer 18:45:03 1469e6f7b9e6: Pulling fs layer 18:45:03 eaf3925da568: Pulling fs layer 18:45:03 bab4dde63d76: Pulling fs layer 18:45:03 bde34c3a00c8: Pulling fs layer 18:45:03 b352a97aabf1: Pulling fs layer 18:45:03 4872d77fe225: Pulling fs layer 18:45:03 5851b861e8e6: Pulling fs layer 18:45:03 bab4dde63d76: Waiting 18:45:03 1469e6f7b9e6: Waiting 18:45:03 bde34c3a00c8: Waiting 18:45:03 4872d77fe225: Waiting 18:45:03 5851b861e8e6: Waiting 18:45:03 988bab9f4d93: Waiting 18:45:03 b352a97aabf1: Waiting 18:45:03 eaf3925da568: Waiting 18:45:03 e2be974225ed: Download complete 18:45:03 988bab9f4d93: Download complete 18:45:03 1469e6f7b9e6: Verifying Checksum 18:45:03 1469e6f7b9e6: Download complete 18:45:03 eaf3925da568: Verifying Checksum 18:45:03 eaf3925da568: Download complete 18:45:03 339a4e72a1f5: Verifying Checksum 18:45:03 339a4e72a1f5: Download complete 18:45:03 bde34c3a00c8: Verifying Checksum 18:45:03 bde34c3a00c8: Download complete 18:45:03 b352a97aabf1: Download complete 18:45:03 4872d77fe225: Download complete 18:45:03 5851b861e8e6: Verifying Checksum 18:45:03 b85a868b505f: Verifying Checksum 18:45:03 b85a868b505f: Download complete 18:45:03 bab4dde63d76: Verifying Checksum 18:45:04 b85a868b505f: Pull complete 18:45:04 e2be974225ed: Pull complete 18:45:05 339a4e72a1f5: Pull complete 18:45:05 988bab9f4d93: Pull complete 18:45:05 1469e6f7b9e6: Pull complete 18:45:05 eaf3925da568: Pull complete 18:45:07 bab4dde63d76: Pull complete 18:45:07 bde34c3a00c8: Pull complete 18:45:07 b352a97aabf1: Pull complete 18:45:07 4872d77fe225: Pull complete 18:45:07 5851b861e8e6: Pull complete 18:45:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:07 prd-ubuntu20.04-docker-8c-8g-11971 does not seem to be running inside a container 18:45:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-29 -v /w/workspace/edgexfoundry_device-uart_PR-29:/w/workspace/edgexfoundry_device-uart_PR-29:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-29@tmp:/w/workspace/edgexfoundry_device-uart_PR-29@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:45:10 $ docker top e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 -eo pid,comm 18:45:10 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:45:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:11 [ssh-agent] Looking for ssh-agent implementation... 18:45:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:11 $ docker exec e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 ssh-agent 18:45:11 SSH_AUTH_SOCK=/tmp/ssh-zZQp1uEKobwr/agent.30 18:45:11 SSH_AGENT_PID=36 18:45:11 Running ssh-add (command line suppressed) 18:45:11 Identity added: /w/workspace/edgexfoundry_device-uart_PR-29@tmp/private_key_4842649206713818890.key (/w/workspace/edgexfoundry_device-uart_PR-29@tmp/private_key_4842649206713818890.key) 18:45:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:11 + git tag --points-at HEAD [Pipeline] } 18:45:11 $ docker exec --env ******** --env ******** e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 ssh-agent -k 18:45:11 unset SSH_AUTH_SOCK; 18:45:11 unset SSH_AGENT_PID; 18:45:11 echo Agent pid 36 killed; 18:45:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:45:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:12 [ssh-agent] Looking for ssh-agent implementation... 18:45:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:12 $ docker exec e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 ssh-agent 18:45:12 SSH_AUTH_SOCK=/tmp/ssh-pR4ZVVvUOJq0/agent.69 18:45:12 SSH_AGENT_PID=75 18:45:12 Running ssh-add (command line suppressed) 18:45:12 Identity added: /w/workspace/edgexfoundry_device-uart_PR-29@tmp/private_key_3745261332894568504.key (/w/workspace/edgexfoundry_device-uart_PR-29@tmp/private_key_3745261332894568504.key) 18:45:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:12 + git semver init 18:45:12 2023-10-26 18:45:12,811 [run_init] DEBUG init version:0.0.0 force:False 18:45:12 2023-10-26 18:45:12,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-29/.semver 18:45:12 2023-10-26 18:45:12,812 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-29/.semver 18:45:12 2023-10-26 18:45:12,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-29/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-29, universal_newlines=False, shell=None, istream=None) 18:45:13 2023-10-26 18:45:13,749 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-29/.git/info/exclude 18:45:13 2023-10-26 18:45:13,750 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-29/.semver/PR-29 with force:False 18:45:13 2023-10-26 18:45:13,750 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-29/.semver/PR-29 18:45:13 2023-10-26 18:45:13,754 [execute] INFO git cat-file --batch-check 18:45:13 2023-10-26 18:45:13,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-29/.semver, universal_newlines=False, shell=None, istream=) 18:45:13 2023-10-26 18:45:13,760 [execute] INFO git cat-file --batch 18:45:13 2023-10-26 18:45:13,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-29/.semver, universal_newlines=False, shell=None, istream=) 18:45:13 2023-10-26 18:45:13,764 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-29/.semver/PR-29 18:45:13 0.0.0 [Pipeline] } 18:45:13 $ docker exec --env ******** --env ******** e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 ssh-agent -k 18:45:13 unset SSH_AUTH_SOCK; 18:45:13 unset SSH_AGENT_PID; 18:45:13 echo Agent pid 75 killed; 18:45:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:14 + git semver [Pipeline] } 18:45:14 $ docker stop --time=1 e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 18:45:15 $ docker rm -f --volumes e499ad3c15a359ac34d6d422436808caecabd1e100f6dc26f4ae687270404b48 [Pipeline] // withDockerContainer [Pipeline] sh 18:45:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:45:16 Stashed 1 file(s) [Pipeline] echo 18:45:16 [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:45:17 provisioning config files... 18:45:17 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-29@tmp/config573895842584055046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:17 ---> docker-login.sh 18:45:17 nexus3.edgexfoundry.org:10001 18:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:17 Configure a credential helper to remove this warning. See 18:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:17 18:45:17 Login Succeeded 18:45:17 nexus3.edgexfoundry.org:10002 18:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:17 Configure a credential helper to remove this warning. See 18:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:17 18:45:17 Login Succeeded 18:45:17 nexus3.edgexfoundry.org:10003 18:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:17 Configure a credential helper to remove this warning. See 18:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:17 18:45:17 Login Succeeded 18:45:17 nexus3.edgexfoundry.org:10004 18:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:17 Configure a credential helper to remove this warning. See 18:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:17 18:45:17 Login Succeeded 18:45:17 docker.io 18:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:18 Configure a credential helper to remove this warning. See 18:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:18 18:45:18 Login Succeeded 18:45:18 ---> docker-login.sh ends [Pipeline] } 18:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:18 ========================================================= 18:45:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:45:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:18 + 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:45:18 Sending build context to Docker daemon 11.19MB 18:45:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:45:18 Step 2/12 : FROM ${BASE} AS builder 18:45:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:45:18 7264a8db6415: Pulling fs layer 18:45:18 c4d48a809fc2: Pulling fs layer 18:45:18 4f1c88b9dad5: Pulling fs layer 18:45:18 ad3a456e5733: Pulling fs layer 18:45:18 33e27b845d1e: Pulling fs layer 18:45:18 c68163c4e522: Pulling fs layer 18:45:18 50da416c3ac9: Pulling fs layer 18:45:18 23d2d4c4bb30: Pulling fs layer 18:45:18 33e27b845d1e: Waiting 18:45:18 ad3a456e5733: Waiting 18:45:18 c68163c4e522: Waiting 18:45:18 50da416c3ac9: Waiting 18:45:18 23d2d4c4bb30: Waiting 18:45:18 c4d48a809fc2: Download complete 18:45:19 33e27b845d1e: Verifying Checksum 18:45:19 33e27b845d1e: Download complete 18:45:19 7264a8db6415: Verifying Checksum 18:45:19 7264a8db6415: Download complete 18:45:19 c68163c4e522: Verifying Checksum 18:45:19 c68163c4e522: Download complete 18:45:19 7264a8db6415: Pull complete 18:45:19 23d2d4c4bb30: Verifying Checksum 18:45:19 23d2d4c4bb30: Download complete 18:45:19 c4d48a809fc2: Pull complete 18:45:19 4f1c88b9dad5: Verifying Checksum 18:45:19 4f1c88b9dad5: Download complete 18:45:19 50da416c3ac9: Verifying Checksum 18:45:19 50da416c3ac9: Download complete 18:45:22 4f1c88b9dad5: Pull complete 18:45:22 ad3a456e5733: Pull complete 18:45:22 33e27b845d1e: Pull complete 18:45:22 c68163c4e522: Pull complete 18:45:24 50da416c3ac9: Pull complete 18:45:25 23d2d4c4bb30: Pull complete 18:45:25 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:45:25 ---> 0786185ac409 18:45:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:45:30 ---> Running in fc12cb7fc368 18:45:30 Removing intermediate container fc12cb7fc368 18:45:30 ---> c184ccc1c0ac 18:45:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:45:30 ---> Running in e9d26fad7ecd 18:45:30 Removing intermediate container e9d26fad7ecd 18:45:30 ---> e4c6edd4ca77 18:45:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:45:30 ---> Running in 3927417821fc 18:45:30 Removing intermediate container 3927417821fc 18:45:30 ---> 9ca25eb8fbe7 18:45:30 Step 6/12 : WORKDIR /device-uart 18:45:30 ---> Running in df1c22edd7c2 18:45:30 Removing intermediate container df1c22edd7c2 18:45:30 ---> da8a55189918 18:45:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:30 ---> Running in 4279cdea181e 18:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:31 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:45:31 (2/4) Installing libedit (20221030.3.1-r1) 18:45:31 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:45:31 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:45:31 Executing busybox-1.36.1-r2.trigger 18:45:31 OK: 268 MiB in 56 packages 18:45:31 Removing intermediate container 4279cdea181e 18:45:31 ---> 5849cc869288 18:45:31 Step 8/12 : COPY go.mod vendor* ./ 18:45:31 ---> b17069b009be 18:45:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:31 ---> Running in 31aa795be140 18:45:32 Still waiting to schedule task 18:45:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:46:39 Removing intermediate container 31aa795be140 18:46:39 ---> 847d0269e2c1 18:46:39 Step 10/12 : COPY . . 18:46:39 ---> 0a319efdaaf2 18:46:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:39 ---> Running in 23adb1f78d83 18:46:39 Removing intermediate container 23adb1f78d83 18:46:39 ---> b2dae9dd0649 18:46:39 Step 12/12 : RUN ${MAKE} 18:46:39 ---> Running in 8ad6f0463a20 18:46:39 noop 18:46:39 Removing intermediate container 8ad6f0463a20 18:46:39 ---> 4dab49fc16ee 18:46:39 Successfully built 4dab49fc16ee 18:46:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:39 + docker inspect -f . ci-base-image-x86_64 18:46:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:40 prd-ubuntu20.04-docker-8c-8g-11971 does not seem to be running inside a container 18:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-29 -v /w/workspace/edgexfoundry_device-uart_PR-29:/w/workspace/edgexfoundry_device-uart_PR-29:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-29@tmp:/w/workspace/edgexfoundry_device-uart_PR-29@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:46:40 $ docker top fd23c200a7f2773d789f20eed58a5124cddb904718bfa78e3291745a3f0c42d1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:40 + go version 18:46:40 go version go1.21.0 linux/amd64 [Pipeline] } 18:46:40 $ docker stop --time=1 fd23c200a7f2773d789f20eed58a5124cddb904718bfa78e3291745a3f0c42d1 18:46:42 $ docker rm -f --volumes fd23c200a7f2773d789f20eed58a5124cddb904718bfa78e3291745a3f0c42d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:42 + docker inspect -f . ci-base-image-x86_64 18:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:43 prd-ubuntu20.04-docker-8c-8g-11971 does not seem to be running inside a container 18:46:43 $ 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-29 -v /w/workspace/edgexfoundry_device-uart_PR-29:/w/workspace/edgexfoundry_device-uart_PR-29:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-29@tmp:/w/workspace/edgexfoundry_device-uart_PR-29@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:46:43 $ docker top d744d214a47e1787f37847e46384bdd9676a17baa7db5ac78ef133fca2f84b9a -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-29 [Pipeline] fileExists [Pipeline] sh 18:46:44 + make test 18:46:44 go test ./... -coverprofile=coverage.out 18:46:45 ? github.com/edgexfoundry/device-uart [no test files] 18:46:54 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:46:54 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:47:01 go vet ./... 18:47:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:47:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:47:04 ./bin/test-attribution-txt.sh [Pipeline] echo 18:47:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:47:04 $ docker stop --time=1 d744d214a47e1787f37847e46384bdd9676a17baa7db5ac78ef133fca2f84b9a 18:47:07 $ docker rm -f --volumes d744d214a47e1787f37847e46384bdd9676a17baa7db5ac78ef133fca2f84b9a [Pipeline] // withDockerContainer [Pipeline] sh 18:47:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:47:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:09 + ls -al . 18:47:09 total 152 18:47:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 18:46 . 18:47:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:44 .. 18:47:09 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 18:44 .dockerignore 18:47:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 18:46 .git 18:47:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:44 .github 18:47:09 -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 18:44 .gitignore 18:47:09 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 18:44 .golangci.yml 18:47:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 18:45 .semver 18:47:09 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 26 18:44 Attribution.txt 18:47:09 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 26 18:44 Dockerfile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 18:44 GOVERNANCE.md 18:47:09 -rw-rw-r-- 1 jenkins jenkins 675 Oct 26 18:44 Jenkinsfile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 18:44 LICENSE 18:47:09 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 26 18:44 Makefile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 18:44 OWNERS.md 18:47:09 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 26 18:44 README.md 18:47:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 18:45 VERSION 18:47:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:44 bin 18:47:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:44 cmd 18:47:09 -rw-r--r-- 1 jenkins jenkins 10 Oct 26 18:46 coverage.out 18:47:09 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 26 18:44 go.mod 18:47:09 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 26 18:44 go.sum 18:47:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:44 internal 18:47:09 -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:09 + 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=9d99496cffa5c22785e92c353c4d1db738a0d636 --label arch=amd64 --label version=0.0.0 . 18:47:09 Sending build context to Docker daemon 11.19MB 18:47:09 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:47:09 Step 2/25 : FROM ${BASE} AS builder 18:47:09 ---> 4dab49fc16ee 18:47:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:47:10 ---> Running in f689e9b0cc20 18:47:10 Removing intermediate container f689e9b0cc20 18:47:10 ---> 918d29c60a64 18:47:10 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:47:10 ---> Running in 4bfb13ebc64e 18:47:10 Removing intermediate container 4bfb13ebc64e 18:47:10 ---> ac4e4f091146 18:47:10 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:47:10 ---> Running in 9509b7a9d574 18:47:10 Removing intermediate container 9509b7a9d574 18:47:10 ---> 0f4a2d52c3ad 18:47:10 Step 6/25 : WORKDIR /device-uart 18:47:10 ---> Running in 6e448298d694 18:47:10 Removing intermediate container 6e448298d694 18:47:10 ---> 6c6f3c33c6cf 18:47:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:10 ---> Running in 18f00fcaeb29 18:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:47:10 OK: 268 MiB in 56 packages 18:47:11 Removing intermediate container 18f00fcaeb29 18:47:11 ---> b11694351e48 18:47:11 Step 8/25 : COPY go.mod vendor* ./ 18:47:11 ---> 224742026c8f 18:47:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:11 ---> Running in 8967434bbfbc 18:47:11 Removing intermediate container 8967434bbfbc 18:47:11 ---> 3e6e32634b1f 18:47:11 Step 10/25 : COPY . . 18:47:12 ---> 870a5803ca7a 18:47:12 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:12 ---> Running in f98ff9ad9961 18:47:12 Removing intermediate container f98ff9ad9961 18:47:12 ---> 94462a97b708 18:47:12 Step 12/25 : RUN ${MAKE} 18:47:12 ---> Running in 4fb3817479ad 18:47:12 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.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:47:35 Removing intermediate container 4fb3817479ad 18:47:35 ---> 6468afe30cfb 18:47:35 Step 13/25 : FROM alpine:3.18 18:47:35 3.18: Pulling from library/alpine 18:47:35 96526aa774ef: Pulling fs layer 18:47:35 96526aa774ef: Verifying Checksum 18:47:35 96526aa774ef: Download complete 18:47:35 96526aa774ef: Pull complete 18:47:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:47:35 Status: Downloaded newer image for alpine:3.18 18:47:35 ---> 8ca4688f4f35 18:47:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:47:35 ---> Running in 54c99c885869 18:47:35 Removing intermediate container 54c99c885869 18:47:35 ---> 6e04034de730 18:47:35 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:47:35 ---> Running in 0018c14c8f06 18:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:47:35 (1/1) Installing dumb-init (1.2.5-r2) 18:47:35 Executing busybox-1.36.1-r2.trigger 18:47:35 OK: 7 MiB in 16 packages 18:47:35 Removing intermediate container 0018c14c8f06 18:47:35 ---> db85a8f00f6f 18:47:35 Step 16/25 : WORKDIR / 18:47:35 ---> Running in 84bb07ae8a47 18:47:35 Removing intermediate container 84bb07ae8a47 18:47:35 ---> 7009d5f2a2dc 18:47:35 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 18:47:35 ---> 81b4d3896c8d 18:47:35 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 18:47:35 ---> cc6e315f0fc1 18:47:35 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 18:47:35 ---> 44ba074fe06e 18:47:35 Step 20/25 : EXPOSE 59995 18:47:35 ---> Running in 70e9258afaf6 18:47:35 Removing intermediate container 70e9258afaf6 18:47:35 ---> 6902e485005c 18:47:35 Step 21/25 : ENTRYPOINT ["/device-uart"] 18:47:35 ---> Running in b82d7d9ff623 18:47:35 Removing intermediate container b82d7d9ff623 18:47:35 ---> 20625afe1388 18:47:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:47:35 ---> Running in 239360de7f0f 18:47:35 Removing intermediate container 239360de7f0f 18:47:35 ---> 07b0a5908466 18:47:35 Step 23/25 : LABEL arch=amd64 18:47:35 ---> Running in 2b391760703a 18:47:35 Removing intermediate container 2b391760703a 18:47:35 ---> e13a7262cb33 18:47:35 Step 24/25 : LABEL git_sha=9d99496cffa5c22785e92c353c4d1db738a0d636 18:47:35 ---> Running in cebeb9b82800 18:47:35 Removing intermediate container cebeb9b82800 18:47:35 ---> 25c103716846 18:47:35 Step 25/25 : LABEL version=0.0.0 18:47:35 ---> Running in 29a3d09f42e3 18:47:36 Removing intermediate container 29a3d09f42e3 18:47:36 ---> 7523a576aa65 18:47:36 [Warning] One or more build-args [ARCH] were not consumed 18:47:36 Successfully built 7523a576aa65 18:47:36 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:36 18:47:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:37 latest: Pulling from edgex-lftools-log-publisher 18:47:37 5eb5b503b376: Pulling fs layer 18:47:37 5c69ac0246d0: Pulling fs layer 18:47:37 ec43610c2a17: Pulling fs layer 18:47:37 3a2ae6a8a46f: Pulling fs layer 18:47:37 33b1e0a273af: Pulling fs layer 18:47:37 5d3b04190fa2: Pulling fs layer 18:47:37 2f39f015ded8: Pulling fs layer 18:47:37 3a2ae6a8a46f: Waiting 18:47:37 33b1e0a273af: Waiting 18:47:37 5d3b04190fa2: Waiting 18:47:37 2f39f015ded8: Waiting 18:47:37 5c69ac0246d0: Verifying Checksum 18:47:37 5c69ac0246d0: Download complete 18:47:37 3a2ae6a8a46f: Download complete 18:47:37 ec43610c2a17: Verifying Checksum 18:47:37 ec43610c2a17: Download complete 18:47:37 33b1e0a273af: Verifying Checksum 18:47:37 33b1e0a273af: Download complete 18:47:37 5d3b04190fa2: Download complete 18:47:37 5eb5b503b376: Verifying Checksum 18:47:37 5eb5b503b376: Download complete 18:47:38 2f39f015ded8: Download complete 18:47:38 5eb5b503b376: Pull complete 18:47:38 5c69ac0246d0: Pull complete 18:47:39 ec43610c2a17: Pull complete 18:47:39 3a2ae6a8a46f: Pull complete 18:47:39 33b1e0a273af: Pull complete 18:47:39 5d3b04190fa2: Pull complete 18:47:43 2f39f015ded8: Pull complete 18:47:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:44 prd-ubuntu20.04-docker-8c-8g-11971 does not seem to be running inside a container 18:47:44 $ 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-29 -v /w/workspace/edgexfoundry_device-uart_PR-29:/w/workspace/edgexfoundry_device-uart_PR-29:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-29@tmp:/w/workspace/edgexfoundry_device-uart_PR-29@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:47:48 $ docker top ce98866da0721ebb6b46387cddb44e2ce68553e3d88b65a888cc02c084291f98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:49 ---> job-cost.sh 18:47:49 lf-activate-venv: SKIPPING 18:47:49 INFO: No Stack... 18:47:49 INFO: Retrieving Pricing Info for: v3-standard-8 18:47:50 INFO: Archiving Costs [Pipeline] sh 18:47:50 + cat /w/workspace/edgexfoundry_device-uart_PR-29/archives/cost.csv 18:47:50 + cut -d, -f6 [Pipeline] lock 18:47:50 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] 18:47:50 Resource [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] did not exist. Created. 18:47:50 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:51 + echo total: 0.2199999988079071 [Pipeline] stash 18:47:51 Stashed 1 file(s) [Pipeline] } 18:47:51 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:47:51 $ docker stop --time=1 ce98866da0721ebb6b46387cddb44e2ce68553e3d88b65a888cc02c084291f98 18:47:52 $ docker rm -f --volumes ce98866da0721ebb6b46387cddb44e2ce68553e3d88b65a888cc02c084291f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:49:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11986 in /w/workspace/edgexfoundry_device-uart_PR-29 [Pipeline] { [Pipeline] ws 18:49:50 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:49:50 The recommended git tool is: git 18:50:00 using credential edgex-jenkins-ssh 18:50:00 Cloning the remote Git repository 18:50:00 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:50:00 > git init /w/workspace/device-uart/1 # timeout=10 18:50:01 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:50:01 > git --version # timeout=10 18:50:01 > git --version # 'git version 2.25.1' 18:50:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:02 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:50:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:04 Merging remotes/origin/main commit c30bf90ffa9b09e56965655bf5f596629c9edc5f into PR head commit 9d99496cffa5c22785e92c353c4d1db738a0d636 18:50:05 Merge succeeded, producing 9d99496cffa5c22785e92c353c4d1db738a0d636 18:50:05 Checking out Revision 9d99496cffa5c22785e92c353c4d1db738a0d636 (PR-29) 18:50:04 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:50:04 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:50:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:50:04 > git config core.sparsecheckout # timeout=10 18:50:05 > git checkout -f 9d99496cffa5c22785e92c353c4d1db738a0d636 # timeout=10 18:50:05 > git remote # timeout=10 18:50:05 > git config --get remote.origin.url # timeout=10 18:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:05 > git merge c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 18:50:05 > git rev-parse HEAD^{commit} # timeout=10 18:50:05 > git config core.sparsecheckout # timeout=10 18:50:05 > git checkout -f 9d99496cffa5c22785e92c353c4d1db738a0d636 # timeout=10 18:50:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:50:05 > git --version # timeout=10 18:50:05 > git --version # 'git version 2.25.1' 18:50:05 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:50:06 % Total % Received % Xferd Average Speed Time Time Time Current 18:50:06 Dload Upload Total Spent Left Speed 18:50:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 18:50:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:50:07 + sudo tee /etc/docker/daemon.new 18:50:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:50:07 { 18:50:07 "registry-mirrors": [ 18:50:07 "https://nexus3.edgexfoundry.org:10001" 18:50:07 ], 18:50:07 "bip": "10.250.0.254/24", 18:50:07 "hosts": [ 18:50:07 "tcp://0.0.0.0:5555", 18:50:07 "unix:///var/run/docker.sock" 18:50:07 ], 18:50:07 "mtu": 1458, 18:50:07 "selinux-enabled": true, 18:50:07 "seccomp-profile": "/etc/docker/seccomp.json" 18:50:07 } [Pipeline] sh 18:50:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:50:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:30 provisioning config files... 18:50:30 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1847800792411506959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:31 ---> docker-login.sh 18:50:31 nexus3.edgexfoundry.org:10001 18:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:32 Configure a credential helper to remove this warning. See 18:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:32 18:50:32 Login Succeeded 18:50:32 nexus3.edgexfoundry.org:10002 18:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:32 Configure a credential helper to remove this warning. See 18:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:32 18:50:32 Login Succeeded 18:50:32 nexus3.edgexfoundry.org:10003 18:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:32 Configure a credential helper to remove this warning. See 18:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:32 18:50:32 Login Succeeded 18:50:32 nexus3.edgexfoundry.org:10004 18:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:33 Configure a credential helper to remove this warning. See 18:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:33 18:50:33 Login Succeeded 18:50:33 docker.io 18:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:34 Configure a credential helper to remove this warning. See 18:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:34 18:50:34 Login Succeeded 18:50:34 ---> docker-login.sh ends [Pipeline] } 18:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:34 ========================================================= 18:50:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:50:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:35 + 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:50:35 Sending build context to Docker daemon 5.647MB 18:50:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:50:35 Step 2/12 : FROM ${BASE} AS builder 18:50:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:50:35 9fda8d8052c6: Pulling fs layer 18:50:35 5d54e960e981: Pulling fs layer 18:50:35 c4a7e357bf2a: Pulling fs layer 18:50:35 f0e02332f6b5: Pulling fs layer 18:50:35 cefa15bbcfad: Pulling fs layer 18:50:35 17808c966233: Pulling fs layer 18:50:35 f4c1fc716caa: Pulling fs layer 18:50:35 cefa15bbcfad: Waiting 18:50:35 17808c966233: Waiting 18:50:35 f0e02332f6b5: Waiting 18:50:35 f4c1fc716caa: Waiting 18:50:35 5d54e960e981: Download complete 18:50:35 f0e02332f6b5: Verifying Checksum 18:50:35 f0e02332f6b5: Download complete 18:50:35 cefa15bbcfad: Download complete 18:50:35 9fda8d8052c6: Download complete 18:50:36 f4c1fc716caa: Verifying Checksum 18:50:36 f4c1fc716caa: Download complete 18:50:36 9fda8d8052c6: Pull complete 18:50:37 5d54e960e981: Pull complete 18:50:37 c4a7e357bf2a: Verifying Checksum 18:50:37 c4a7e357bf2a: Download complete 18:50:38 17808c966233: Verifying Checksum 18:50:38 17808c966233: Download complete 18:50:51 c4a7e357bf2a: Pull complete 18:50:51 f0e02332f6b5: Pull complete 18:50:51 cefa15bbcfad: Pull complete 18:50:57 17808c966233: Pull complete 18:50:59 f4c1fc716caa: Pull complete 18:50:59 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:50:59 ---> ea914061e18c 18:50:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:51:00 ---> Running in 54a344beafd2 18:51:00 Removing intermediate container 54a344beafd2 18:51:00 ---> 74fe4ed1bb5f 18:51:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:51:00 ---> Running in 6645bbfac377 18:51:01 Removing intermediate container 6645bbfac377 18:51:01 ---> 954b65af21d3 18:51:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:51:01 ---> Running in 039150ebf4f8 18:51:01 Removing intermediate container 039150ebf4f8 18:51:01 ---> edd687f65c95 18:51:01 Step 6/12 : WORKDIR /device-uart 18:51:01 ---> Running in 86b17d157b12 18:51:01 Removing intermediate container 86b17d157b12 18:51:01 ---> 5ed304cb28f7 18:51:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:01 ---> Running in 0d6a836f0927 18:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:51:04 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:51:04 (2/4) Installing libedit (20221030.3.1-r1) 18:51:04 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:51:04 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:51:04 Executing busybox-1.36.1-r2.trigger 18:51:04 OK: 270 MiB in 56 packages 18:51:05 Removing intermediate container 0d6a836f0927 18:51:05 ---> 61aac84b08f0 18:51:05 Step 8/12 : COPY go.mod vendor* ./ 18:51:07 ---> 3ea43ac644f0 18:51:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:07 ---> Running in c92db113abf1 18:52:44 Removing intermediate container c92db113abf1 18:52:44 ---> 2fafeb2907ae 18:52:44 Step 10/12 : COPY . . 18:52:44 ---> 805c8ebe5130 18:52:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:44 ---> Running in b4eb37c2e4b8 18:52:44 Removing intermediate container b4eb37c2e4b8 18:52:44 ---> b07c02b84bb2 18:52:44 Step 12/12 : RUN ${MAKE} 18:52:44 ---> Running in 04eecc826a37 18:52:44 noop 18:52:44 Removing intermediate container 04eecc826a37 18:52:44 ---> bcdef9fdb039 18:52:44 Successfully built bcdef9fdb039 18:52:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:44 + docker inspect -f . ci-base-image-arm64 18:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-11986 does not seem to be running inside a container 18:52:45 $ 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:52:46 $ docker top 2976b02572f14b8898d600bbaee6d840fa77c51c9a3fbe1ad1c3510b1623e5e6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:47 + go version 18:52:47 go version go1.21.0 linux/arm64 [Pipeline] } 18:52:47 $ docker stop --time=1 2976b02572f14b8898d600bbaee6d840fa77c51c9a3fbe1ad1c3510b1623e5e6 18:52:48 $ docker rm -f --volumes 2976b02572f14b8898d600bbaee6d840fa77c51c9a3fbe1ad1c3510b1623e5e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:50 + docker inspect -f . ci-base-image-arm64 18:52:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-11986 does not seem to be running inside a container 18:52: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:52:51 $ docker top f0fe415a4419086cba34fa3fc569e6a7d649b8e86c7bf5e52b04a7313b4bb4d2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:52 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:52:52 + make test 18:52:53 go test ./... -coverprofile=coverage.out 18:52:57 ? github.com/edgexfoundry/device-uart [no test files] 18:54:33 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:54:33 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:54:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:54:33 go vet ./... 18:54:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:46 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:46 $ docker stop --time=1 f0fe415a4419086cba34fa3fc569e6a7d649b8e86c7bf5e52b04a7313b4bb4d2 18:54:48 $ docker rm -f --volumes f0fe415a4419086cba34fa3fc569e6a7d649b8e86c7bf5e52b04a7313b4bb4d2 [Pipeline] // withDockerContainer [Pipeline] sh 18:54:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:49 Warning: overwriting stash ‘coverage-report’ 18:54:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:50 + ls -al . 18:54:50 total 148 18:54:50 drwxrwxr-x 7 jenkins jenkins 4096 Oct 26 18:52 . 18:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:50 .. 18:54:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 18:50 .dockerignore 18:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 18:50 .git 18:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:50 .github 18:54:50 -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 18:50 .gitignore 18:54:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 18:50 .golangci.yml 18:54:50 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 26 18:50 Attribution.txt 18:54:50 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 26 18:50 Dockerfile 18:54:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 18:50 GOVERNANCE.md 18:54:50 -rw-rw-r-- 1 jenkins jenkins 675 Oct 26 18:50 Jenkinsfile 18:54:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 18:50 LICENSE 18:54:50 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 26 18:50 Makefile 18:54:50 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 18:50 OWNERS.md 18:54:50 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 26 18:50 README.md 18:54:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 18:45 VERSION 18:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:50 bin 18:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:50 cmd 18:54:50 -rw-r--r-- 1 jenkins jenkins 10 Oct 26 18:52 coverage.out 18:54:50 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 26 18:50 go.mod 18:54:50 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 26 18:50 go.sum 18:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:50 internal 18:54:50 -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:51 + 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=9d99496cffa5c22785e92c353c4d1db738a0d636 --label arch=arm64 --label version=0.0.0 . 18:54:51 Sending build context to Docker daemon 5.648MB 18:54:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:54:51 Step 2/25 : FROM ${BASE} AS builder 18:54:51 ---> bcdef9fdb039 18:54:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:54:51 ---> Running in d2139dd2cbab 18:54:52 Removing intermediate container d2139dd2cbab 18:54:52 ---> f327d8312f5a 18:54:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:54:52 ---> Running in 31e401ba1408 18:54:52 Removing intermediate container 31e401ba1408 18:54:52 ---> a3aebd219aa1 18:54:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:54:52 ---> Running in 1911b6a719dd 18:54:52 Removing intermediate container 1911b6a719dd 18:54:52 ---> 957bc01e2f39 18:54:52 Step 6/25 : WORKDIR /device-uart 18:54:52 ---> Running in 902d0030ffa2 18:54:53 Removing intermediate container 902d0030ffa2 18:54:53 ---> 672e343ceb51 18:54:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:53 ---> Running in 8114324c7ef6 18:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:54:56 OK: 270 MiB in 56 packages 18:54:56 Removing intermediate container 8114324c7ef6 18:54:56 ---> f926963d06b3 18:54:56 Step 8/25 : COPY go.mod vendor* ./ 18:54:57 ---> b64f9e124f52 18:54:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:57 ---> Running in dd6d1b03ca21 18:54:59 Removing intermediate container dd6d1b03ca21 18:54:59 ---> e0967176e498 18:54:59 Step 10/25 : COPY . . 18:55:00 ---> f0f0d3a0966b 18:55:00 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:00 ---> Running in 0456d3b7c62f 18:55:00 Removing intermediate container 0456d3b7c62f 18:55:00 ---> 4819eed61755 18:55:00 Step 12/25 : RUN ${MAKE} 18:55:00 ---> Running in e2a23d13055e 18:55:01 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.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:56:53 Removing intermediate container e2a23d13055e 18:56:53 ---> 0136cc076e76 18:56:53 Step 13/25 : FROM alpine:3.18 18:56:53 3.18: Pulling from library/alpine 18:56:53 579b34f0a95b: Pulling fs layer 18:56:53 579b34f0a95b: Verifying Checksum 18:56:53 579b34f0a95b: Download complete 18:56:53 579b34f0a95b: Pull complete 18:56:53 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:56:53 Status: Downloaded newer image for alpine:3.18 18:56:53 ---> 3cc203321400 18:56:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:56:53 ---> Running in 19caa85e1644 18:56:53 Removing intermediate container 19caa85e1644 18:56:53 ---> 3ab0b15d38c4 18:56:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:56:53 ---> Running in b5dc0033d703 18:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:56:56 (1/1) Installing dumb-init (1.2.5-r2) 18:56:56 Executing busybox-1.36.1-r2.trigger 18:56:56 OK: 8 MiB in 16 packages 18:56:57 Removing intermediate container b5dc0033d703 18:56:57 ---> d19816cb2aaa 18:56:57 Step 16/25 : WORKDIR / 18:56:57 ---> Running in a8e5525d18e8 18:56:58 Removing intermediate container a8e5525d18e8 18:56:58 ---> d8c8c2900aaa 18:56:58 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 18:56:58 ---> 9b75501867f9 18:56:58 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 18:56:58 ---> 14ced75e9788 18:56:58 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 18:57:00 ---> 203c04a4043f 18:57:00 Step 20/25 : EXPOSE 59995 18:57:00 ---> Running in 50175f366dcf 18:57:00 Removing intermediate container 50175f366dcf 18:57:00 ---> 9a73258d7f8b 18:57:00 Step 21/25 : ENTRYPOINT ["/device-uart"] 18:57:00 ---> Running in 18eb584a0b97 18:57:01 Removing intermediate container 18eb584a0b97 18:57:01 ---> c002f3c3f385 18:57:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:57:01 ---> Running in 4d3968fa8439 18:57:01 Removing intermediate container 4d3968fa8439 18:57:01 ---> 23a94176a7dd 18:57:01 Step 23/25 : LABEL arch=arm64 18:57:01 ---> Running in 5e99d6d07d5f 18:57:02 Removing intermediate container 5e99d6d07d5f 18:57:02 ---> 848ab792ffee 18:57:02 Step 24/25 : LABEL git_sha=9d99496cffa5c22785e92c353c4d1db738a0d636 18:57:02 ---> Running in 8e42b1fe3915 18:57:02 Removing intermediate container 8e42b1fe3915 18:57:02 ---> a6d127a03eb8 18:57:02 Step 25/25 : LABEL version=0.0.0 18:57:02 ---> Running in beea52a7455d 18:57:02 Removing intermediate container beea52a7455d 18:57:02 ---> 30b15868308d 18:57:02 [Warning] One or more build-args [ARCH] were not consumed 18:57:02 Successfully built 30b15868308d 18:57:02 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:03 18:57:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:04 arm64: Pulling from edgex-lftools-log-publisher 18:57:04 8998bd30e6a1: Pulling fs layer 18:57:04 04944245beec: Pulling fs layer 18:57:04 699f458cf7ca: Pulling fs layer 18:57:04 765212b225bb: Pulling fs layer 18:57:04 f23df028b6ca: Pulling fs layer 18:57:04 d65c8cfc05b1: Pulling fs layer 18:57:04 2437ff75d9bd: Pulling fs layer 18:57:04 765212b225bb: Waiting 18:57:04 f23df028b6ca: Waiting 18:57:04 d65c8cfc05b1: Waiting 18:57:04 2437ff75d9bd: Waiting 18:57:04 04944245beec: Verifying Checksum 18:57:04 04944245beec: Download complete 18:57:04 765212b225bb: Verifying Checksum 18:57:04 765212b225bb: Download complete 18:57:04 f23df028b6ca: Verifying Checksum 18:57:04 f23df028b6ca: Download complete 18:57:04 d65c8cfc05b1: Verifying Checksum 18:57:04 d65c8cfc05b1: Download complete 18:57:04 699f458cf7ca: Verifying Checksum 18:57:04 699f458cf7ca: Download complete 18:57:05 8998bd30e6a1: Verifying Checksum 18:57:05 8998bd30e6a1: Download complete 18:57:07 2437ff75d9bd: Verifying Checksum 18:57:07 2437ff75d9bd: Download complete 18:57:09 8998bd30e6a1: Pull complete 18:57:11 04944245beec: Pull complete 18:57:12 699f458cf7ca: Pull complete 18:57:12 765212b225bb: Pull complete 18:57:13 f23df028b6ca: Pull complete 18:57:14 d65c8cfc05b1: Pull complete 18:57:32 2437ff75d9bd: Pull complete 18:57:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:32 prd-ubuntu20.04-docker-arm64-4c-16g-11986 does not seem to be running inside a container 18:57:32 $ 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:57:35 $ docker top 77b909f4ad21bb90f74aa24e727d628935499236649b1cd370683ed401661def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:36 ---> job-cost.sh 18:57:36 lf-activate-venv: SKIPPING 18:57:36 INFO: No Stack... 18:57:36 INFO: Retrieving Pricing Info for: v3-standard-4 18:57:37 INFO: Archiving Costs [Pipeline] sh 18:57:38 + cat /w/workspace/device-uart/1/archives/cost.csv 18:57:38 + cut -d, -f6 [Pipeline] lock 18:57:38 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] 18:57:38 Resource [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] did not exist. Created. 18:57:38 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:39 /w/workspace/device-uart/1@tmp/durable-d372b3df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:57:39 + echo total: 0.10999999940395355 [Pipeline] stash 18:57:39 Warning: overwriting stash ‘stack-cost’ 18:57:40 Stashed 1 file(s) [Pipeline] } 18:57:40 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:40 $ docker stop --time=1 77b909f4ad21bb90f74aa24e727d628935499236649b1cd370683ed401661def 18:57:41 $ docker rm -f --volumes 77b909f4ad21bb90f74aa24e727d628935499236649b1cd370683ed401661def [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:57:42 provisioning config files... 18:57:42 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-29@tmp/config4124840946410762366tmp [Pipeline] { [Pipeline] sh 18:57:43 + set +x 18:57:43 + curl -s https://codecov.io/bash 18:57:43 + bash -s -- 18:57:43 18:57:43 _____ _ 18:57:43 / ____| | | 18:57:43 | | ___ __| | ___ ___ _____ __ 18:57:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:57:43 | |___| (_) | (_| | __/ (_| (_) \ V / 18:57:43 \_____\___/ \__,_|\___|\___\___/ \_/ 18:57:43 Bash-1.0.6 18:57:43 18:57:43 18:57:43 ==> git version 2.25.1 found 18:57:43 ==> 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:57:43 Release-Date: 2020-01-08 18:57:43 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:57:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:57:43 ==> Jenkins CI detected. 18:57:43 current dir:  /w/workspace/edgexfoundry_device-uart_PR-29 18:57:43 project root: . 18:57:43 --> token set from env 18:57:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:57:43 ==> Running gcov in . (disable via -X gcov) 18:57:43 ==> Python coveragepy not found 18:57:43 ==> Searching for coverage reports in: 18:57:43 + . 18:57:43 -> Found 1 reports 18:57:43 ==> Detecting git/mercurial file structure 18:57:43 ==> Reading reports 18:57:43 + ./coverage.out bytes=10 18:57:43 ==> Appending adjustments 18:57:43 https://docs.codecov.io/docs/fixing-reports 18:57:43 + Found adjustments 18:57:43 ==> Gzipping contents 18:57:43 4.0K /tmp/codecov.87j9qS.gz 18:57:43 ==> Uploading reports 18:57:43 url: https://codecov.io 18:57:43 query: branch=PR-29&commit=9d99496cffa5c22785e92c353c4d1db738a0d636&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=29&job=&cmd_args= 18:57:43 -> Pinging Codecov 18:57:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-29&commit=9d99496cffa5c22785e92c353c4d1db738a0d636&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=29&job=&cmd_args= 18:58:15 -> Uploading to 18:58:15 18:58:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:15 Dload Upload Total Spent Left Speed 18:58:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: 18:58:15 X> Failed to upload 18:58:15 ==> Uploading to Codecov 18:58:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:15 Dload Upload Total Spent Left Speed 18:58:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 842 100 239 100 603 1770 4466 --:--:-- --:--:-- --:--:-- 6237 18:58:15 Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "f7456d3f-2f94-4b6f-8b9a-f58b40eab50a", "url": "https://app.codecov.io/github/lf-edge/device-uart/commit/9d99496cffa5c22785e92c353c4d1db738a0d636"} [Pipeline] } 18:58:15 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:58:17 + [ -d /w/workspace/edgexfoundry_device-uart_PR-29/archives ] 18:58:17 + ls -al /w/workspace/edgexfoundry_device-uart_PR-29/archives 18:58:17 total 16 18:58:17 drwxr-xr-x 3 root root 4096 Oct 26 18:47 . 18:58:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 18:47 .. 18:58:17 drwxr-xr-x 2 root root 4096 Oct 26 18:47 cost 18:58:17 -rw-r--r-- 1 root root 82 Oct 26 18:47 cost.csv 18:58:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-29/archives 18:58:17 + ls -al /w/workspace/edgexfoundry_device-uart_PR-29/archives 18:58:17 total 16 18:58:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 18:47 . 18:58:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 18:47 .. 18:58:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 18:47 cost 18:58:17 -rw-r--r-- 1 jenkins jenkins 82 Oct 26 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:58:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:58:18 ---> package-listing.sh 18:58:18 ++ facter osfamily 18:58:18 ++ tr '[:upper:]' '[:lower:]' 18:58:18 + OS_FAMILY=debian 18:58:18 + workspace=/w/workspace/edgexfoundry_device-uart_PR-29 18:58:18 + START_PACKAGES=/tmp/packages_start.txt 18:58:18 + END_PACKAGES=/tmp/packages_end.txt 18:58:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:58:18 + PACKAGES=/tmp/packages_start.txt 18:58:18 + '[' /w/workspace/edgexfoundry_device-uart_PR-29 ']' 18:58:18 + PACKAGES=/tmp/packages_end.txt 18:58:18 + case "${OS_FAMILY}" in 18:58:18 + dpkg -l 18:58:18 + grep '^ii' 18:58:18 + '[' -f /tmp/packages_start.txt ']' 18:58:18 + '[' -f /tmp/packages_end.txt ']' 18:58:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:58:18 + '[' /w/workspace/edgexfoundry_device-uart_PR-29 ']' 18:58:18 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-29/archives/ 18:58:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-29/archives/ [Pipeline] echo 18:58:18 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-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:58:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:19 prd-ubuntu20.04-docker-8c-8g-11971 does not seem to be running inside a container 18:58:20 $ 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-29/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-29 -v /w/workspace/edgexfoundry_device-uart_PR-29:/w/workspace/edgexfoundry_device-uart_PR-29:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-29@tmp:/w/workspace/edgexfoundry_device-uart_PR-29@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:58:20 $ docker top 715d979ebe273f3ca378af9380f6b1bef4535068af2f42bac920d05c4f8a0f07 -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:20 + touch /tmp/pre-build-complete [Pipeline] sh 18:58:20 + mkdir -p /var/log/sysstat [Pipeline] sh 18:58:21 + ls /var/log/sa-host 18:58:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:21 provisioning config files... 18:58:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-29@tmp/config3746636218902095796tmp [Pipeline] { [Pipeline] echo 18:58:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:58:21 ---> create-netrc.sh [Pipeline] } 18:58:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:58:22 ---> python-tools-install.sh [Pipeline] echo 18:58:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:58:22 ---> sudo-logs.sh 18:58:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:58:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:58:22 ---> job-cost.sh 18:58:22 lf-activate-venv: SKIPPING 18:58:22 DEBUG: total: 0.2199999988079071 18:58:22 INFO: Retrieving Stack Cost... 18:58:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:23 INFO: Archiving Costs [Pipeline] echo 18:58:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:58:24 ---> logs-deploy.sh 18:58:24 lf-activate-venv: SKIPPING 18:58:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-29/1 18:58:24 INFO: archiving workspace using pattern(s): 18:58:25 Archives upload complete. 18:58:25 INFO: archiving logs to Nexus