Pull request #26 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from c4a221b4730497f9ae59da6e1e9b701d59317945+0197f7477711c065f24c514fa051c7e38d133d4f (e1cca20b37125629ca278d9bf272111a7165614b) 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-ssh2087564350664820008.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-ssh7968097322094747316.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13296021946722007410.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 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-ssh4512444437635696698.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12994084302870106974.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-10335 in /w/workspace/edgexfoundry_device-uart_PR-26 [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-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0197f7477711c065f24c514fa051c7e38d133d4f into PR head commit c4a221b4730497f9ae59da6e1e9b701d59317945 Merge succeeded, producing c4a221b4730497f9ae59da6e1e9b701d59317945 Checking out Revision c4a221b4730497f9ae59da6e1e9b701d59317945 (PR-26) > git config core.sparsecheckout # timeout=10 > git checkout -f c4a221b4730497f9ae59da6e1e9b701d59317945 # 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 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4a221b4730497f9ae59da6e1e9b701d59317945 # timeout=10 Commit message: "fix: Add badges to README" > git rev-list --no-walk 591fe365cb0d0d49483bd116b5c6838462170107 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:59:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:59:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:59:31 ========================================================= 23:59:31 EdgeX Global Pipelines Version Info 23:59:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:59:32 ------------------- 23:59:32 stable info: 23:59:32 ------------------- 23:59:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:59:32 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:59:32 Message: update stable to v1.0.254 23:59:32 ------------------- 23:59:32 experimental info: 23:59:32 ------------------- 23:59:32 Commited By: **** collab-it+edgex@linuxfoundation.org 23:59:32 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:59:32 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:59:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4a221b4730497f9ae59da6e1e9b701d59317945 [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4a221b [Pipeline] echo 23:59:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:33 provisioning config files... 23:59:33 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config473211718453204633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:33 ---> docker-login.sh 23:59:33 nexus3.edgexfoundry.org:10001 23:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:34 Configure a credential helper to remove this warning. See 23:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:34 23:59:34 Login Succeeded 23:59:34 nexus3.edgexfoundry.org:10002 23:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:34 Configure a credential helper to remove this warning. See 23:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:34 23:59:34 Login Succeeded 23:59:34 nexus3.edgexfoundry.org:10003 23:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:34 Configure a credential helper to remove this warning. See 23:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:34 23:59:34 Login Succeeded 23:59:34 nexus3.edgexfoundry.org:10004 23:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:34 Configure a credential helper to remove this warning. See 23:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:34 23:59:34 Login Succeeded 23:59:34 docker.io 23:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:34 Configure a credential helper to remove this warning. See 23:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:34 23:59:34 Login Succeeded 23:59:34 ---> docker-login.sh ends [Pipeline] } 23:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:59:35 + git rev-list -1 --merges c4a221b4730497f9ae59da6e1e9b701d59317945~1..c4a221b4730497f9ae59da6e1e9b701d59317945 [Pipeline] echo 23:59:35 -----------> git rev-list -1 --merges c4a221b4730497f9ae59da6e1e9b701d59317945~1..c4a221b4730497f9ae59da6e1e9b701d59317945 c4a221b4730497f9ae59da6e1e9b701d59317945 [false] [Pipeline] sh 23:59:35 + git log --format=format:%s -1 c4a221b4730497f9ae59da6e1e9b701d59317945 [Pipeline] echo 23:59:35 ========================================================= 23:59:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:59:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:35 + git log --format=format:%s -1 c4a221b4730497f9ae59da6e1e9b701d59317945 [Pipeline] echo 23:59:35 [semverPrep] GIT_COMMIT: c4a221b4730497f9ae59da6e1e9b701d59317945, Commit Message: fix: Add badges to README [Pipeline] echo 23:59:35 [semverPrep] This is not a build commit. [Pipeline] sh 23:59:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:59:36 + grep -v github /etc/ssh/ssh_known_hosts 23:59:36 + [ -e /tmp/ssh_known_hosts ] 23:59:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:59:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:59:36 + sudo tee -a /etc/ssh/ssh_known_hosts 23:59:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:59:36 23:59:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:59:36 0.1.4: Pulling from edgex-devops/py-git-semver 23:59:36 b85a868b505f: Pulling fs layer 23:59:36 e2be974225ed: Pulling fs layer 23:59:36 339a4e72a1f5: Pulling fs layer 23:59:36 988bab9f4d93: Pulling fs layer 23:59:36 1469e6f7b9e6: Pulling fs layer 23:59:36 eaf3925da568: Pulling fs layer 23:59:36 bab4dde63d76: Pulling fs layer 23:59:36 988bab9f4d93: Waiting 23:59:36 eaf3925da568: Waiting 23:59:36 bab4dde63d76: Waiting 23:59:36 1469e6f7b9e6: Waiting 23:59:36 bde34c3a00c8: Pulling fs layer 23:59:36 b352a97aabf1: Pulling fs layer 23:59:36 bde34c3a00c8: Waiting 23:59:36 4872d77fe225: Pulling fs layer 23:59:36 5851b861e8e6: Pulling fs layer 23:59:36 4872d77fe225: Waiting 23:59:36 5851b861e8e6: Waiting 23:59:36 e2be974225ed: Download complete 23:59:36 988bab9f4d93: Verifying Checksum 23:59:36 988bab9f4d93: Download complete 23:59:36 339a4e72a1f5: Verifying Checksum 23:59:36 339a4e72a1f5: Download complete 23:59:36 1469e6f7b9e6: Verifying Checksum 23:59:36 1469e6f7b9e6: Download complete 23:59:37 eaf3925da568: Verifying Checksum 23:59:37 eaf3925da568: Download complete 23:59:37 bde34c3a00c8: Download complete 23:59:37 b352a97aabf1: Verifying Checksum 23:59:37 b352a97aabf1: Download complete 23:59:37 4872d77fe225: Verifying Checksum 23:59:37 4872d77fe225: Download complete 23:59:37 5851b861e8e6: Verifying Checksum 23:59:37 5851b861e8e6: Download complete 23:59:37 b85a868b505f: Verifying Checksum 23:59:37 b85a868b505f: Download complete 23:59:37 bab4dde63d76: Verifying Checksum 23:59:37 bab4dde63d76: Download complete 23:59:38 b85a868b505f: Pull complete 23:59:38 e2be974225ed: Pull complete 23:59:38 339a4e72a1f5: Pull complete 23:59:39 988bab9f4d93: Pull complete 23:59:39 1469e6f7b9e6: Pull complete 23:59:39 eaf3925da568: Pull complete 23:59:41 bab4dde63d76: Pull complete 23:59:41 bde34c3a00c8: Pull complete 23:59:41 b352a97aabf1: Pull complete 23:59:41 4872d77fe225: Pull complete 23:59:41 5851b861e8e6: Pull complete 23:59:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:59:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:41 prd-ubuntu20.04-docker-8c-8g-10335 does not seem to be running inside a container 23:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:59:45 $ docker top 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 -eo pid,comm 23:59:45 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). 23:59:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:59:45 [ssh-agent] Looking for ssh-agent implementation... 23:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:59:45 $ docker exec 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 ssh-agent 23:59:45 SSH_AUTH_SOCK=/tmp/ssh-ET1U1LKkfk8N/agent.32 23:59:45 SSH_AGENT_PID=38 23:59:45 Running ssh-add (command line suppressed) 23:59:45 Identity added: /w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_17185572051603071010.key (/w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_17185572051603071010.key) 23:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:59:45 + git tag --points-at HEAD [Pipeline] } 23:59:45 $ docker exec --env ******** --env ******** 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 ssh-agent -k 23:59:46 unset SSH_AUTH_SOCK; 23:59:46 unset SSH_AGENT_PID; 23:59:46 echo Agent pid 38 killed; 23:59:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:59:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:59:46 [ssh-agent] Looking for ssh-agent implementation... 23:59:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:59:46 $ docker exec 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 ssh-agent 23:59:46 SSH_AUTH_SOCK=/tmp/ssh-07Gq6ZC3SiMy/agent.71 23:59:46 SSH_AGENT_PID=77 23:59:46 Running ssh-add (command line suppressed) 23:59:46 Identity added: /w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_17934217132044842335.key (/w/workspace/edgexfoundry_device-uart_PR-26@tmp/private_key_17934217132044842335.key) 23:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:59:46 + git semver init 23:59:46 2023-10-24 23:59:46,867 [run_init] DEBUG init version:0.0.0 force:False 23:59:46 2023-10-24 23:59:46,868 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-26/.semver 23:59:46 2023-10-24 23:59:46,868 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-26/.semver 23:59:46 2023-10-24 23:59:46,869 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-26/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26, universal_newlines=False, shell=None, istream=None) 23:59:47 2023-10-24 23:59:47,814 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-26/.git/info/exclude 23:59:47 2023-10-24 23:59:47,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 with force:False 23:59:47 2023-10-24 23:59:47,814 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 23:59:47 2023-10-24 23:59:47,818 [execute] INFO git cat-file --batch-check 23:59:47 2023-10-24 23:59:47,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26/.semver, universal_newlines=False, shell=None, istream=) 23:59:47 2023-10-24 23:59:47,824 [execute] INFO git cat-file --batch 23:59:47 2023-10-24 23:59:47,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-26/.semver, universal_newlines=False, shell=None, istream=) 23:59:47 2023-10-24 23:59:47,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-26/.semver/PR-26 23:59:47 0.0.0 [Pipeline] } 23:59:47 $ docker exec --env ******** --env ******** 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 ssh-agent -k 23:59:48 unset SSH_AUTH_SOCK; 23:59:48 unset SSH_AGENT_PID; 23:59:48 echo Agent pid 77 killed; 23:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:59:48 + git semver [Pipeline] } 23:59:48 $ docker stop --time=1 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 23:59:49 $ docker rm -f --volumes 541f834fb1151a643a34bbd85bb06c194e87b9f1792a07ded473839e16890a11 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:59:50 Stashed 1 file(s) [Pipeline] echo 23:59:50 [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 23:59:50 provisioning config files... 23:59:50 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config17096437871364526669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:50 ---> docker-login.sh 23:59:50 nexus3.edgexfoundry.org:10001 23:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:50 Configure a credential helper to remove this warning. See 23:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:50 23:59:50 Login Succeeded 23:59:50 nexus3.edgexfoundry.org:10002 23:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:50 Configure a credential helper to remove this warning. See 23:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:50 23:59:50 Login Succeeded 23:59:50 nexus3.edgexfoundry.org:10003 23:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:51 Configure a credential helper to remove this warning. See 23:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:51 23:59:51 Login Succeeded 23:59:51 nexus3.edgexfoundry.org:10004 23:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:51 Configure a credential helper to remove this warning. See 23:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:51 23:59:51 Login Succeeded 23:59:51 docker.io 23:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:51 Configure a credential helper to remove this warning. See 23:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:51 23:59:51 Login Succeeded 23:59:51 ---> docker-login.sh ends [Pipeline] } 23:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:51 ========================================================= 23:59:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:59:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:51 + 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 . 23:59:51 Sending build context to Docker daemon 11.16MB 23:59:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:59:51 Step 2/12 : FROM ${BASE} AS builder 23:59:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:59:51 7264a8db6415: Pulling fs layer 23:59:51 c4d48a809fc2: Pulling fs layer 23:59:51 4f1c88b9dad5: Pulling fs layer 23:59:51 ad3a456e5733: Pulling fs layer 23:59:51 33e27b845d1e: Pulling fs layer 23:59:51 c68163c4e522: Pulling fs layer 23:59:51 50da416c3ac9: Pulling fs layer 23:59:51 23d2d4c4bb30: Pulling fs layer 23:59:51 33e27b845d1e: Waiting 23:59:51 c68163c4e522: Waiting 23:59:51 50da416c3ac9: Waiting 23:59:51 23d2d4c4bb30: Waiting 23:59:51 ad3a456e5733: Waiting 23:59:51 c4d48a809fc2: Verifying Checksum 23:59:51 c4d48a809fc2: Download complete 23:59:52 ad3a456e5733: Verifying Checksum 23:59:52 ad3a456e5733: Download complete 23:59:52 33e27b845d1e: Verifying Checksum 23:59:52 33e27b845d1e: Download complete 23:59:52 7264a8db6415: Verifying Checksum 23:59:52 7264a8db6415: Download complete 23:59:52 c68163c4e522: Verifying Checksum 23:59:52 c68163c4e522: Download complete 23:59:52 7264a8db6415: Pull complete 23:59:52 23d2d4c4bb30: Verifying Checksum 23:59:52 23d2d4c4bb30: Download complete 23:59:52 c4d48a809fc2: Pull complete 23:59:52 4f1c88b9dad5: Verifying Checksum 23:59:52 4f1c88b9dad5: Download complete 23:59:52 50da416c3ac9: Verifying Checksum 23:59:52 50da416c3ac9: Download complete 23:59:55 4f1c88b9dad5: Pull complete 23:59:55 ad3a456e5733: Pull complete 23:59:55 33e27b845d1e: Pull complete 23:59:55 c68163c4e522: Pull complete 23:59:57 50da416c3ac9: Pull complete 23:59:58 23d2d4c4bb30: Pull complete 23:59:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:59:58 ---> 0786185ac409 23:59:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:00:04 ---> Running in cc27d52ce6eb 00:00:04 Removing intermediate container cc27d52ce6eb 00:00:04 ---> 055dc36bde11 00:00:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:00:04 ---> Running in 92d4786af508 00:00:04 Removing intermediate container 92d4786af508 00:00:04 ---> ea68d2643907 00:00:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:00:04 ---> Running in 79f86ba3e015 00:00:04 Removing intermediate container 79f86ba3e015 00:00:04 ---> 00451f9f5fcd 00:00:04 Step 6/12 : WORKDIR /device-uart 00:00:04 ---> Running in d70097525a22 00:00:04 Removing intermediate container d70097525a22 00:00:04 ---> 3f4c638a3033 00:00:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:04 ---> Running in 44a9f07b6c08 00:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:00:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:00:05 (2/4) Installing libedit (20221030.3.1-r1) 00:00:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:00:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:00:05 Executing busybox-1.36.1-r2.trigger 00:00:05 OK: 268 MiB in 56 packages 00:00:05 Still waiting to schedule task 00:00:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:00:06 Removing intermediate container 44a9f07b6c08 00:00:06 ---> 1e9c642db372 00:00:06 Step 8/12 : COPY go.mod vendor* ./ 00:00:06 ---> 8c1339faa06f 00:00:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:06 ---> Running in 1ecc90f2aa57 00:01:03 Removing intermediate container 1ecc90f2aa57 00:01:03 ---> ffe42237fcef 00:01:03 Step 10/12 : COPY . . 00:01:03 ---> f7946d3187ba 00:01:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:01:03 ---> Running in fc70b30694f8 00:01:03 Removing intermediate container fc70b30694f8 00:01:03 ---> 6c0c0957a09d 00:01:03 Step 12/12 : RUN ${MAKE} 00:01:03 ---> Running in a118a4918222 00:01:03 noop 00:01:03 Removing intermediate container a118a4918222 00:01:03 ---> 39b9733c387e 00:01:03 Successfully built 39b9733c387e 00:01:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:04 + docker inspect -f . ci-base-image-x86_64 00:01:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:04 prd-ubuntu20.04-docker-8c-8g-10335 does not seem to be running inside a container 00:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:01:04 $ docker top 2ce910b4b139b203fceea2340d38f2cacf7ec61c4ee2c343974ca54953c36de3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:04 + go version 00:01:04 go version go1.21.0 linux/amd64 [Pipeline] } 00:01:05 $ docker stop --time=1 2ce910b4b139b203fceea2340d38f2cacf7ec61c4ee2c343974ca54953c36de3 00:01:06 $ docker rm -f --volumes 2ce910b4b139b203fceea2340d38f2cacf7ec61c4ee2c343974ca54953c36de3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:06 + docker inspect -f . ci-base-image-x86_64 00:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:06 prd-ubuntu20.04-docker-8c-8g-10335 does not seem to be running inside a container 00:01:06 $ 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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:01:07 $ docker top 6fe7fdda8e063985467201aad97f50cc02d9cf68ade38789c0b86ffb65fda5e0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-26 [Pipeline] fileExists [Pipeline] sh 00:01:07 + make test 00:01:07 go test ./... -coverprofile=coverage.out 00:01:09 ? github.com/edgexfoundry/device-uart [no test files] 00:01:19 ? github.com/edgexfoundry/device-uart/cmd [no test files] 00:01:19 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 00:01:23 go vet ./... 00:01:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:01:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:01:26 ./bin/test-attribution-txt.sh [Pipeline] echo 00:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:01:26 $ docker stop --time=1 6fe7fdda8e063985467201aad97f50cc02d9cf68ade38789c0b86ffb65fda5e0 00:01:29 $ docker rm -f --volumes 6fe7fdda8e063985467201aad97f50cc02d9cf68ade38789c0b86ffb65fda5e0 [Pipeline] // withDockerContainer [Pipeline] sh 00:01:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:01:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:31 + ls -al . 00:01:31 total 152 00:01:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:01 . 00:01:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:59 .. 00:01:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 23:59 .dockerignore 00:01:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:01 .git 00:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:59 .github 00:01:31 -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 23:59 .gitignore 00:01:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:59 .golangci.yml 00:01:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:59 .semver 00:01:31 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 24 23:59 Attribution.txt 00:01:31 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 24 23:59 Dockerfile 00:01:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:59 GOVERNANCE.md 00:01:31 -rw-rw-r-- 1 jenkins jenkins 675 Oct 24 23:59 Jenkinsfile 00:01:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:59 LICENSE 00:01:31 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 24 23:59 Makefile 00:01:31 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 23:59 OWNERS.md 00:01:31 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 24 23:59 README.md 00:01:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:59 VERSION 00:01:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:59 bin 00:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:59 cmd 00:01:31 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 00:01 coverage.out 00:01:31 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 24 23:59 go.mod 00:01:31 -rw-rw-r-- 1 jenkins jenkins 33980 Oct 24 23:59 go.sum 00:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:59 internal 00:01:31 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:31 + 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=c4a221b4730497f9ae59da6e1e9b701d59317945 --label arch=amd64 --label version=0.0.0 . 00:01:31 Sending build context to Docker daemon 11.16MB 00:01:31 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:01:31 Step 2/25 : FROM ${BASE} AS builder 00:01:31 ---> 39b9733c387e 00:01:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:01:31 ---> Running in 64d9dc51b87c 00:01:31 Removing intermediate container 64d9dc51b87c 00:01:31 ---> 8a0bfde8845a 00:01:31 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:01:31 ---> Running in d1ea976d3b5b 00:01:31 Removing intermediate container d1ea976d3b5b 00:01:31 ---> 4c00df2481bd 00:01:31 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:01:31 ---> Running in aa5e916c267c 00:01:31 Removing intermediate container aa5e916c267c 00:01:31 ---> eca37a61706d 00:01:31 Step 6/25 : WORKDIR /device-uart 00:01:31 ---> Running in 3661f1e946c1 00:01:31 Removing intermediate container 3661f1e946c1 00:01:31 ---> 74d4ae569201 00:01:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:31 ---> Running in 870ced5961cc 00:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:01:32 OK: 268 MiB in 56 packages 00:01:33 Removing intermediate container 870ced5961cc 00:01:33 ---> 8acbaccd3f08 00:01:33 Step 8/25 : COPY go.mod vendor* ./ 00:01:33 ---> a5008652d386 00:01:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:33 ---> Running in 67af2cf42abb 00:01:34 Removing intermediate container 67af2cf42abb 00:01:34 ---> 1474195814cc 00:01:34 Step 10/25 : COPY . . 00:01:34 ---> a892e56a2903 00:01:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:01:34 ---> Running in 7803d3ab367c 00:01:34 Removing intermediate container 7803d3ab367c 00:01:34 ---> d5e22e19947b 00:01:34 Step 12/25 : RUN ${MAKE} 00:01:34 ---> Running in dee475412e80 00:01:34 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.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 00:01:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10336 in /w/workspace/edgexfoundry_device-uart_PR-26 [Pipeline] { [Pipeline] ws 00:01:45 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 00:01:45 The recommended git tool is: git 00:01:53 using credential edgex-jenkins-ssh 00:01:53 Cloning the remote Git repository 00:01:53 Cloning repository git@github.com:edgexfoundry/device-uart.git 00:01:53 > git init /w/workspace/device-uart/2 # timeout=10 00:01:53 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:01:53 > git --version # timeout=10 00:01:53 > git --version # 'git version 2.25.1' 00:01:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:54 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:01:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:55 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:01:55 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:01:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:01:56 Merging remotes/origin/main commit 0197f7477711c065f24c514fa051c7e38d133d4f into PR head commit c4a221b4730497f9ae59da6e1e9b701d59317945 00:01:56 Merge succeeded, producing c4a221b4730497f9ae59da6e1e9b701d59317945 00:01:56 Checking out Revision c4a221b4730497f9ae59da6e1e9b701d59317945 (PR-26) 00:01:57 Removing intermediate container dee475412e80 00:01:57 ---> a558daddc01d 00:01:57 Step 13/25 : FROM alpine:3.18 00:01:57 3.18: Pulling from library/alpine 00:01:57 96526aa774ef: Pulling fs layer 00:01:57 96526aa774ef: Verifying Checksum 00:01:57 96526aa774ef: Download complete 00:01:57 96526aa774ef: Pull complete 00:01:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:01:57 Status: Downloaded newer image for alpine:3.18 00:01:57 ---> 8ca4688f4f35 00:01:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:01:57 ---> Running in 36edf25b67ea 00:01:57 Removing intermediate container 36edf25b67ea 00:01:57 ---> 1f0b21511d1e 00:01:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:01:57 ---> Running in 0c89e6252fec 00:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:01:57 (1/1) Installing dumb-init (1.2.5-r2) 00:01:57 Executing busybox-1.36.1-r2.trigger 00:01:57 OK: 7 MiB in 16 packages 00:01:57 Removing intermediate container 0c89e6252fec 00:01:57 ---> 52d5d3ce72a3 00:01:57 Step 16/25 : WORKDIR / 00:01:57 ---> Running in e5e8ccbc8934 00:01:57 Removing intermediate container e5e8ccbc8934 00:01:57 ---> 1bdb5828b43d 00:01:57 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 00:01:57 ---> 9ffd8f758986 00:01:57 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 00:01:57 ---> e35bfbe6a735 00:01:57 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 00:01:56 > git config core.sparsecheckout # timeout=10 00:01:56 > git checkout -f c4a221b4730497f9ae59da6e1e9b701d59317945 # timeout=10 00:01:56 > git remote # timeout=10 00:01:56 > git config --get remote.origin.url # timeout=10 00:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:56 > git merge 0197f7477711c065f24c514fa051c7e38d133d4f # timeout=10 00:01:56 > git rev-parse HEAD^{commit} # timeout=10 00:01:56 > git config core.sparsecheckout # timeout=10 00:01:56 > git checkout -f c4a221b4730497f9ae59da6e1e9b701d59317945 # timeout=10 00:01:57 ---> 5b7e86e1f397 00:01:57 Step 20/25 : EXPOSE 59995 00:01:57 ---> Running in 564967a5140f 00:01:57 Removing intermediate container 564967a5140f 00:01:57 ---> 48a9ce398310 00:01:57 Step 21/25 : ENTRYPOINT ["/device-uart"] 00:01:57 ---> Running in e0a4655a4672 00:01:57 Removing intermediate container e0a4655a4672 00:01:57 ---> f1dd97f7063c 00:01:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:01:57 ---> Running in 42f3be88a391 00:01:57 Removing intermediate container 42f3be88a391 00:01:57 ---> 1b67667101ea 00:01:57 Step 23/25 : LABEL arch=amd64 00:01:57 ---> Running in d64a02fc3d6a 00:01:57 Removing intermediate container d64a02fc3d6a 00:01:57 ---> cc7a759ec599 00:01:57 Step 24/25 : LABEL git_sha=c4a221b4730497f9ae59da6e1e9b701d59317945 00:01:57 ---> Running in 43b83acb1046 00:01:57 Removing intermediate container 43b83acb1046 00:01:57 ---> e68b0bec5a3a 00:01:57 Step 25/25 : LABEL version=0.0.0 00:01:57 ---> Running in e0a78a9f7806 00:01:57 Removing intermediate container e0a78a9f7806 00:01:57 ---> 059966626e0f 00:01:57 [Warning] One or more build-args [ARCH] were not consumed 00:01:57 Successfully built 059966626e0f 00:01:57 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 00:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:58 00:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:58 latest: Pulling from edgex-lftools-log-publisher 00:01:58 5eb5b503b376: Pulling fs layer 00:01:58 5c69ac0246d0: Pulling fs layer 00:01:58 ec43610c2a17: Pulling fs layer 00:01:58 3a2ae6a8a46f: Pulling fs layer 00:01:58 33b1e0a273af: Pulling fs layer 00:01:58 5d3b04190fa2: Pulling fs layer 00:01:58 2f39f015ded8: Pulling fs layer 00:01:58 33b1e0a273af: Waiting 00:01:58 5d3b04190fa2: Waiting 00:01:58 2f39f015ded8: Waiting 00:01:58 3a2ae6a8a46f: Waiting 00:01:58 5c69ac0246d0: Download complete 00:01:58 3a2ae6a8a46f: Verifying Checksum 00:01:58 3a2ae6a8a46f: Download complete 00:01:58 33b1e0a273af: Verifying Checksum 00:01:58 33b1e0a273af: Download complete 00:01:58 ec43610c2a17: Verifying Checksum 00:01:58 ec43610c2a17: Download complete 00:01:58 5d3b04190fa2: Verifying Checksum 00:01:58 5d3b04190fa2: Download complete 00:01:58 5eb5b503b376: Verifying Checksum 00:01:58 5eb5b503b376: Download complete 00:01:59 2f39f015ded8: Download complete 00:01:59 5eb5b503b376: Pull complete 00:02:00 Commit message: "fix: Add badges to README" 00:02:00 5c69ac0246d0: Pull complete 00:02:00 00:02:00 GitHub has been notified of this commit’s build result 00:02:00 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:00 ec43610c2a17: Pull complete 00:02:00 3a2ae6a8a46f: Pull complete 00:02:00 33b1e0a273af: Pull complete 00:02:00 5d3b04190fa2: Pull complete 00:02:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:02:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:02:00 Dload Upload Total Spent Left Speed 00:02:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 00:02:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:02:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:02:01 + sudo tee /etc/docker/daemon.new 00:02:01 { 00:02:01 "registry-mirrors": [ 00:02:01 "https://nexus3.edgexfoundry.org:10001" 00:02:01 ], 00:02:01 "bip": "10.250.0.254/24", 00:02:01 "hosts": [ 00:02:01 "tcp://0.0.0.0:5555", 00:02:01 "unix:///var/run/docker.sock" 00:02:01 ], 00:02:01 "mtu": 1458, 00:02:01 "selinux-enabled": true, 00:02:01 "seccomp-profile": "/etc/docker/seccomp.json" 00:02:01 } [Pipeline] sh 00:02:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:02:02 + sudo service docker restart 00:02:04 2f39f015ded8: Pull complete 00:02:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:02:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:02:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:05 prd-ubuntu20.04-docker-8c-8g-10335 does not seem to be running inside a container 00:02:05 $ 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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:02:11 $ docker top 46a7d67ccb09583be25aefb83894ad4fabe042e4232e944b7c5530d28a802385 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:11 ---> job-cost.sh 00:02:11 lf-activate-venv: SKIPPING 00:02:11 INFO: No Stack... 00:02:11 INFO: Retrieving Pricing Info for: v3-standard-8 00:02:12 INFO: Archiving Costs [Pipeline] sh 00:02:12 + cat /w/workspace/edgexfoundry_device-uart_PR-26/archives/cost.csv 00:02:12 + cut -d, -f6 [Pipeline] lock 00:02:12 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] 00:02:12 Resource [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] did not exist. Created. 00:02:12 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:02:12 + echo total: 0.2199999988079071 [Pipeline] stash 00:02:12 Stashed 1 file(s) [Pipeline] } 00:02:12 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:02:12 $ docker stop --time=1 46a7d67ccb09583be25aefb83894ad4fabe042e4232e944b7c5530d28a802385 00:02:13 $ docker rm -f --volumes 46a7d67ccb09583be25aefb83894ad4fabe042e4232e944b7c5530d28a802385 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:24 provisioning config files... 00:02:24 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config7186712752432779958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:25 ---> docker-login.sh 00:02:25 nexus3.edgexfoundry.org:10001 00:02:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:25 Configure a credential helper to remove this warning. See 00:02:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:25 00:02:25 Login Succeeded 00:02:25 nexus3.edgexfoundry.org:10002 00:02:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:26 Configure a credential helper to remove this warning. See 00:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:26 00:02:26 Login Succeeded 00:02:26 nexus3.edgexfoundry.org:10003 00:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:26 Configure a credential helper to remove this warning. See 00:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:26 00:02:26 Login Succeeded 00:02:26 nexus3.edgexfoundry.org:10004 00:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:26 Configure a credential helper to remove this warning. See 00:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:26 00:02:26 Login Succeeded 00:02:26 docker.io 00:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:27 Configure a credential helper to remove this warning. See 00:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:27 00:02:27 Login Succeeded 00:02:27 ---> docker-login.sh ends [Pipeline] } 00:02:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:27 ========================================================= 00:02:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:02:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:27 + 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 . 00:02:28 Sending build context to Docker daemon 5.638MB 00:02:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:02:28 Step 2/12 : FROM ${BASE} AS builder 00:02:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:28 9fda8d8052c6: Pulling fs layer 00:02:28 5d54e960e981: Pulling fs layer 00:02:28 c4a7e357bf2a: Pulling fs layer 00:02:28 f0e02332f6b5: Pulling fs layer 00:02:28 cefa15bbcfad: Pulling fs layer 00:02:28 17808c966233: Pulling fs layer 00:02:28 f4c1fc716caa: Pulling fs layer 00:02:28 f0e02332f6b5: Waiting 00:02:28 cefa15bbcfad: Waiting 00:02:28 17808c966233: Waiting 00:02:28 5d54e960e981: Download complete 00:02:28 f0e02332f6b5: Verifying Checksum 00:02:28 f0e02332f6b5: Download complete 00:02:28 cefa15bbcfad: Verifying Checksum 00:02:28 cefa15bbcfad: Download complete 00:02:28 9fda8d8052c6: Verifying Checksum 00:02:28 9fda8d8052c6: Download complete 00:02:29 f4c1fc716caa: Verifying Checksum 00:02:29 f4c1fc716caa: Download complete 00:02:29 9fda8d8052c6: Pull complete 00:02:29 5d54e960e981: Pull complete 00:02:30 c4a7e357bf2a: Verifying Checksum 00:02:30 c4a7e357bf2a: Download complete 00:02:31 17808c966233: Verifying Checksum 00:02:31 17808c966233: Download complete 00:02:43 c4a7e357bf2a: Pull complete 00:02:43 f0e02332f6b5: Pull complete 00:02:43 cefa15bbcfad: Pull complete 00:02:50 17808c966233: Pull complete 00:02:51 f4c1fc716caa: Pull complete 00:02:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:02:51 ---> ea914061e18c 00:02:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:02:53 ---> Running in 5f53191ba9ff 00:02:53 Removing intermediate container 5f53191ba9ff 00:02:53 ---> a440a877ace4 00:02:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:02:53 ---> Running in 053d827f0fc0 00:02:54 Removing intermediate container 053d827f0fc0 00:02:54 ---> 7038b59aa5c4 00:02:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:02:54 ---> Running in 835c48beaee1 00:02:54 Removing intermediate container 835c48beaee1 00:02:54 ---> 74e6acc041a1 00:02:54 Step 6/12 : WORKDIR /device-uart 00:02:54 ---> Running in 8e7318693aba 00:02:54 Removing intermediate container 8e7318693aba 00:02:54 ---> 5a4ab4a9c637 00:02:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:54 ---> Running in ff9afc8fb19f 00:02:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:02:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:02:57 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:02:57 (2/4) Installing libedit (20221030.3.1-r1) 00:02:57 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:02:57 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:02:57 Executing busybox-1.36.1-r2.trigger 00:02:57 OK: 270 MiB in 56 packages 00:02:58 Removing intermediate container ff9afc8fb19f 00:02:58 ---> 42d03c803f3f 00:02:58 Step 8/12 : COPY go.mod vendor* ./ 00:02:59 ---> 7df3e5ecb714 00:02:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:59 ---> Running in f8f906685c1b 00:04:35 Removing intermediate container f8f906685c1b 00:04:35 ---> d5c944620453 00:04:35 Step 10/12 : COPY . . 00:04:36 ---> 76c1d4dfcff8 00:04:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:04:36 ---> Running in 66f6f5c12af3 00:04:37 Removing intermediate container 66f6f5c12af3 00:04:37 ---> ad3e77305db3 00:04:37 Step 12/12 : RUN ${MAKE} 00:04:37 ---> Running in 4f8251cb04b1 00:04:38 noop 00:04:39 Removing intermediate container 4f8251cb04b1 00:04:39 ---> 6491e384e596 00:04:39 Successfully built 6491e384e596 00:04:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:39 + docker inspect -f . ci-base-image-arm64 00:04:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:39 prd-ubuntu20.04-docker-arm64-4c-16g-10336 does not seem to be running inside a container 00:04:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:04:43 $ docker top a164a75d874eddd8e51c3307cd56e2f774bcab02bffadf61dcccfee2d17e7dd9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:44 + go version 00:04:44 go version go1.21.0 linux/arm64 [Pipeline] } 00:04:44 $ docker stop --time=1 a164a75d874eddd8e51c3307cd56e2f774bcab02bffadf61dcccfee2d17e7dd9 00:04:45 $ docker rm -f --volumes a164a75d874eddd8e51c3307cd56e2f774bcab02bffadf61dcccfee2d17e7dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:46 + docker inspect -f . ci-base-image-arm64 00:04:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:46 prd-ubuntu20.04-docker-arm64-4c-16g-10336 does not seem to be running inside a container 00:04:46 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:04:48 $ docker top 407d82381e0ca93dab5759b9c2acf2fce0b635d106d05c2b59bae7400e35f210 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:48 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 00:04:49 + make test 00:04:49 go test ./... -coverprofile=coverage.out 00:04:57 ? github.com/edgexfoundry/device-uart [no test files] 00:06:35 ? github.com/edgexfoundry/device-uart/cmd [no test files] 00:06:35 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 00:06:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:06:35 go vet ./... 00:06:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:06:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:06:53 ./bin/test-attribution-txt.sh [Pipeline] echo 00:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:06:53 $ docker stop --time=1 407d82381e0ca93dab5759b9c2acf2fce0b635d106d05c2b59bae7400e35f210 00:06:55 $ docker rm -f --volumes 407d82381e0ca93dab5759b9c2acf2fce0b635d106d05c2b59bae7400e35f210 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:56 Warning: overwriting stash ‘coverage-report’ 00:06:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:58 + ls -al . 00:06:58 total 148 00:06:58 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 00:04 . 00:06:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 00:01 .. 00:06:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 00:01 .dockerignore 00:06:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:01 .git 00:06:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:01 .github 00:06:58 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 00:01 .gitignore 00:06:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 00:01 .golangci.yml 00:06:58 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 00:01 Attribution.txt 00:06:58 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 00:01 Dockerfile 00:06:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 00:01 GOVERNANCE.md 00:06:58 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 00:01 Jenkinsfile 00:06:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 00:01 LICENSE 00:06:58 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 00:01 Makefile 00:06:58 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 00:01 OWNERS.md 00:06:58 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 00:01 README.md 00:06:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:59 VERSION 00:06:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 00:01 bin 00:06:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:01 cmd 00:06:58 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 00:04 coverage.out 00:06:58 -rw-rw-r-- 1 jenkins jenkins 3719 Oct 25 00:01 go.mod 00:06:58 -rw-rw-r-- 1 jenkins jenkins 33980 Oct 25 00:01 go.sum 00:06:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:01 internal 00:06:58 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:58 + 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=c4a221b4730497f9ae59da6e1e9b701d59317945 --label arch=arm64 --label version=0.0.0 . 00:06:58 Sending build context to Docker daemon 5.639MB 00:06:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:06:58 Step 2/25 : FROM ${BASE} AS builder 00:06:58 ---> 6491e384e596 00:06:58 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:06:59 ---> Running in dcb0a7f8572e 00:06:59 Removing intermediate container dcb0a7f8572e 00:06:59 ---> f4c9fc07119b 00:06:59 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:06:59 ---> Running in 8e7b0dcc6f9b 00:06:59 Removing intermediate container 8e7b0dcc6f9b 00:06:59 ---> 55703a8fc54b 00:06:59 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:06:59 ---> Running in 3b10c0b2f93a 00:07:00 Removing intermediate container 3b10c0b2f93a 00:07:00 ---> 14e999b9625d 00:07:00 Step 6/25 : WORKDIR /device-uart 00:07:00 ---> Running in 2da95e3ab1ae 00:07:00 Removing intermediate container 2da95e3ab1ae 00:07:00 ---> 7c7688af31be 00:07:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:00 ---> Running in 97b4d1be780b 00:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:07:03 OK: 270 MiB in 56 packages 00:07:04 Removing intermediate container 97b4d1be780b 00:07:04 ---> 7f356db5aa0d 00:07:04 Step 8/25 : COPY go.mod vendor* ./ 00:07:04 ---> bbd1601c7afe 00:07:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:04 ---> Running in aae12b2f3c72 00:07:07 Removing intermediate container aae12b2f3c72 00:07:07 ---> 7f6a501d3f96 00:07:07 Step 10/25 : COPY . . 00:07:08 ---> 58eeeabc1dce 00:07:08 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:07:08 ---> Running in 151d7720339e 00:07:08 Removing intermediate container 151d7720339e 00:07:08 ---> e640521b50e1 00:07:08 Step 12/25 : RUN ${MAKE} 00:07:08 ---> Running in 7b2e65442726 00:07:09 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.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 00:09:16 Removing intermediate container 7b2e65442726 00:09:16 ---> 5949b60cf92d 00:09:16 Step 13/25 : FROM alpine:3.18 00:09:16 3.18: Pulling from library/alpine 00:09:16 579b34f0a95b: Pulling fs layer 00:09:16 579b34f0a95b: Download complete 00:09:16 579b34f0a95b: Pull complete 00:09:16 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:09:16 Status: Downloaded newer image for alpine:3.18 00:09:16 ---> 3cc203321400 00:09:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:09:16 ---> Running in de35f5a398a4 00:09:16 Removing intermediate container de35f5a398a4 00:09:16 ---> 13e0d48fa1d0 00:09:16 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:09:16 ---> Running in f8c651462b6f 00:09:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:09:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:09:16 (1/1) Installing dumb-init (1.2.5-r2) 00:09:16 Executing busybox-1.36.1-r2.trigger 00:09:16 OK: 8 MiB in 16 packages 00:09:16 Removing intermediate container f8c651462b6f 00:09:16 ---> 39dab472c07b 00:09:16 Step 16/25 : WORKDIR / 00:09:16 ---> Running in e3cec2999ff0 00:09:16 Removing intermediate container e3cec2999ff0 00:09:16 ---> a09528080878 00:09:16 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 00:09:16 ---> 003c99afe8dc 00:09:16 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 00:09:16 ---> 3a10194ee033 00:09:16 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 00:09:20 ---> a51d7572a94a 00:09:20 Step 20/25 : EXPOSE 59995 00:09:20 ---> Running in 35d0c15e1a18 00:09:20 Removing intermediate container 35d0c15e1a18 00:09:20 ---> df036e83ec9d 00:09:20 Step 21/25 : ENTRYPOINT ["/device-uart"] 00:09:20 ---> Running in 6e655fe4dabf 00:09:20 Removing intermediate container 6e655fe4dabf 00:09:20 ---> 5310c23ead5c 00:09:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:09:20 ---> Running in 6db03575d3df 00:09:21 Removing intermediate container 6db03575d3df 00:09:21 ---> 1441b9c18d76 00:09:21 Step 23/25 : LABEL arch=arm64 00:09:21 ---> Running in 91e37022482f 00:09:21 Removing intermediate container 91e37022482f 00:09:21 ---> a09e6b98871f 00:09:21 Step 24/25 : LABEL git_sha=c4a221b4730497f9ae59da6e1e9b701d59317945 00:09:21 ---> Running in 1d780928e800 00:09:22 Removing intermediate container 1d780928e800 00:09:22 ---> c0fc793d5de7 00:09:22 Step 25/25 : LABEL version=0.0.0 00:09:22 ---> Running in 7c3ecaf0dbb8 00:09:22 Removing intermediate container 7c3ecaf0dbb8 00:09:22 ---> 9e575b94b908 00:09:22 [Warning] One or more build-args [ARCH] were not consumed 00:09:22 Successfully built 9e575b94b908 00:09:22 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 00:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:23 00:09:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:23 arm64: Pulling from edgex-lftools-log-publisher 00:09:23 8998bd30e6a1: Pulling fs layer 00:09:23 04944245beec: Pulling fs layer 00:09:23 699f458cf7ca: Pulling fs layer 00:09:23 765212b225bb: Pulling fs layer 00:09:23 f23df028b6ca: Pulling fs layer 00:09:23 d65c8cfc05b1: Pulling fs layer 00:09:23 2437ff75d9bd: Pulling fs layer 00:09:23 f23df028b6ca: Waiting 00:09:23 d65c8cfc05b1: Waiting 00:09:23 765212b225bb: Waiting 00:09:23 2437ff75d9bd: Waiting 00:09:23 04944245beec: Verifying Checksum 00:09:23 04944245beec: Download complete 00:09:23 765212b225bb: Verifying Checksum 00:09:23 765212b225bb: Download complete 00:09:23 f23df028b6ca: Download complete 00:09:23 d65c8cfc05b1: Verifying Checksum 00:09:23 d65c8cfc05b1: Download complete 00:09:23 699f458cf7ca: Verifying Checksum 00:09:23 699f458cf7ca: Download complete 00:09:24 8998bd30e6a1: Verifying Checksum 00:09:24 8998bd30e6a1: Download complete 00:09:27 2437ff75d9bd: Verifying Checksum 00:09:27 2437ff75d9bd: Download complete 00:09:29 8998bd30e6a1: Pull complete 00:09:29 04944245beec: Pull complete 00:09:34 699f458cf7ca: Pull complete 00:09:34 765212b225bb: Pull complete 00:09:35 f23df028b6ca: Pull complete 00:09:35 d65c8cfc05b1: Pull complete 00:09:53 2437ff75d9bd: Pull complete 00:09:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:09:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:53 prd-ubuntu20.04-docker-arm64-4c-16g-10336 does not seem to be running inside a container 00:09:54 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:09:56 $ docker top 5171a1ffa4c2e99f9ec0d043e223185d5cd309753fc71efeade7c99264e4ba00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:57 ---> job-cost.sh 00:09:57 lf-activate-venv: SKIPPING 00:09:57 INFO: No Stack... 00:09:58 INFO: Retrieving Pricing Info for: v3-standard-4 00:10:03 INFO: Archiving Costs [Pipeline] sh 00:10:04 + cat /w/workspace/device-uart/2/archives/cost.csv 00:10:04 + cut -d, -f6 [Pipeline] lock 00:10:04 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] 00:10:04 Resource [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] did not exist. Created. 00:10:04 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:04 /w/workspace/device-uart/2@tmp/durable-0b4385ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:10:05 + echo total: 0.10999999940395355 [Pipeline] stash 00:10:05 Warning: overwriting stash ‘stack-cost’ 00:10:05 Stashed 1 file(s) [Pipeline] } 00:10:05 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-26-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:05 $ docker stop --time=1 5171a1ffa4c2e99f9ec0d043e223185d5cd309753fc71efeade7c99264e4ba00 00:10:07 $ docker rm -f --volumes 5171a1ffa4c2e99f9ec0d043e223185d5cd309753fc71efeade7c99264e4ba00 [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 00:10:07 provisioning config files... 00:10:07 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config1849898513314157305tmp [Pipeline] { [Pipeline] sh 00:10:07 + set +x 00:10:07 + curl -s https://codecov.io/bash 00:10:07 + bash -s -- 00:10:07 00:10:07 _____ _ 00:10:07 / ____| | | 00:10:07 | | ___ __| | ___ ___ _____ __ 00:10:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:10:07 | |___| (_) | (_| | __/ (_| (_) \ V / 00:10:07 \_____\___/ \__,_|\___|\___\___/ \_/ 00:10:07 Bash-1.0.6 00:10:07 00:10:07 00:10:07 ==> git version 2.25.1 found 00:10:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:10:07 Release-Date: 2020-01-08 00:10:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:10:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:10:07 ==> Jenkins CI detected. 00:10:07 current dir:  /w/workspace/edgexfoundry_device-uart_PR-26 00:10:07 project root: . 00:10:07 --> token set from env 00:10:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:10:07 ==> Running gcov in . (disable via -X gcov) 00:10:07 ==> Python coveragepy not found 00:10:07 ==> Searching for coverage reports in: 00:10:07 + . 00:10:07 -> Found 1 reports 00:10:07 ==> Detecting git/mercurial file structure 00:10:07 ==> Reading reports 00:10:08 + ./coverage.out bytes=10 00:10:08 ==> Appending adjustments 00:10:08 https://docs.codecov.io/docs/fixing-reports 00:10:08 + Found adjustments 00:10:08 ==> Gzipping contents 00:10:08 4.0K /tmp/codecov.GvGOTw.gz 00:10:08 ==> Uploading reports 00:10:08 url: https://codecov.io 00:10:08 query: branch=PR-26&commit=c4a221b4730497f9ae59da6e1e9b701d59317945&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=26&job=&cmd_args= 00:10:08 -> Pinging Codecov 00:10:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-26&commit=c4a221b4730497f9ae59da6e1e9b701d59317945&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=26&job=&cmd_args= 00:10:08 -> Uploading to 00:10:08 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/c4a221b4730497f9ae59da6e1e9b701d59317945/2fdc053d-9557-41dc-8903-3d90083c976b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T001008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe67a6e31741420bf4232d38d0c3eee46fb2cad37783d940a5a9331aaf6aaf88 00:10:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:08 Dload Upload Total Spent Left Speed 00:10:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1983 --:--:-- --:--:-- --:--:-- 1983 00:10:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c4a221b4730497f9ae59da6e1e9b701d59317945 [Pipeline] } 00:10:08 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 00:10:09 + [ -d /w/workspace/edgexfoundry_device-uart_PR-26/archives ] 00:10:09 + ls -al /w/workspace/edgexfoundry_device-uart_PR-26/archives 00:10:09 total 16 00:10:09 drwxr-xr-x 3 root root 4096 Oct 25 00:02 . 00:10:09 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 00:02 .. 00:10:09 drwxr-xr-x 2 root root 4096 Oct 25 00:02 cost 00:10:09 -rw-r--r-- 1 root root 82 Oct 25 00:02 cost.csv 00:10:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-26/archives 00:10:09 + ls -al /w/workspace/edgexfoundry_device-uart_PR-26/archives 00:10:09 total 16 00:10:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 00:02 . 00:10:09 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 00:02 .. 00:10:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 00:02 cost 00:10:09 -rw-r--r-- 1 jenkins jenkins 82 Oct 25 00:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:10:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:10 ---> package-listing.sh 00:10:10 ++ facter osfamily 00:10:10 ++ tr '[:upper:]' '[:lower:]' 00:10:10 + OS_FAMILY=debian 00:10:10 + workspace=/w/workspace/edgexfoundry_device-uart_PR-26 00:10:10 + START_PACKAGES=/tmp/packages_start.txt 00:10:10 + END_PACKAGES=/tmp/packages_end.txt 00:10:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:10 + PACKAGES=/tmp/packages_start.txt 00:10:10 + '[' /w/workspace/edgexfoundry_device-uart_PR-26 ']' 00:10:10 + PACKAGES=/tmp/packages_end.txt 00:10:10 + case "${OS_FAMILY}" in 00:10:10 + dpkg -l 00:10:10 + grep '^ii' 00:10:10 + '[' -f /tmp/packages_start.txt ']' 00:10:10 + '[' -f /tmp/packages_end.txt ']' 00:10:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:10 + '[' /w/workspace/edgexfoundry_device-uart_PR-26 ']' 00:10:10 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-26/archives/ 00:10:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-26/archives/ [Pipeline] echo 00:10:10 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:10:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:11 prd-ubuntu20.04-docker-8c-8g-10335 does not seem to be running inside a container 00:10:11 $ 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-26/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-26 -v /w/workspace/edgexfoundry_device-uart_PR-26:/w/workspace/edgexfoundry_device-uart_PR-26:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-26@tmp:/w/workspace/edgexfoundry_device-uart_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:10:11 $ docker top fd619a73fcb8bb365e90e794b726d10f2785b16132abb7c9fb00bb21ff5195d6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:12 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:12 + mkdir -p /var/log/sysstat [Pipeline] sh 00:10:12 + ls /var/log/sa-host 00:10:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:13 provisioning config files... 00:10:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-26@tmp/config16794588956097430162tmp [Pipeline] { [Pipeline] echo 00:10:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:13 ---> create-netrc.sh [Pipeline] } 00:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:10:13 ---> python-tools-install.sh [Pipeline] echo 00:10:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:13 ---> sudo-logs.sh 00:10:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:10:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:14 ---> job-cost.sh 00:10:14 lf-activate-venv: SKIPPING 00:10:14 DEBUG: total: 0.2199999988079071 00:10:14 INFO: Retrieving Stack Cost... 00:10:14 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:15 INFO: Archiving Costs [Pipeline] echo 00:10:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:15 ---> logs-deploy.sh 00:10:15 lf-activate-venv: SKIPPING 00:10:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-26/2 00:10:15 INFO: archiving workspace using pattern(s): 00:10:16 Archives upload complete. 00:10:16 INFO: archiving logs to Nexus