Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c30bf90ffa9b09e56965655bf5f596629c9edc5f 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-ssh10084245181315231302.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-ssh10316312979236083992.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9461210361385918216.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-ssh9015455914781072354.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8245391853754305343.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10370 in /w/workspace/edgexfoundry_device-uart_main [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_main # 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 Avoid second fetch Checking out Revision c30bf90ffa9b09e56965655bf5f596629c9edc5f (main) Commit message: "Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1" > 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 core.sparsecheckout # timeout=10 > git checkout -f c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 > git rev-list --no-walk 926e7a9d05e22d9d61f4a9d1161ff5bbf5c6d7d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:26 ========================================================= 02:42:26 EdgeX Global Pipelines Version Info 02:42:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:26 ------------------- 02:42:26 stable info: 02:42:26 ------------------- 02:42:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:42:26 Message: update stable to v1.0.254 02:42:27 ------------------- 02:42:27 experimental info: 02:42:27 ------------------- 02:42:27 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:42:27 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:42:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c30bf90 [Pipeline] echo 02:42:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:28 provisioning config files... 02:42:28 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5896993418633478762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:28 ---> docker-login.sh 02:42:28 nexus3.edgexfoundry.org:10001 02:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:28 Configure a credential helper to remove this warning. See 02:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:28 02:42:28 Login Succeeded 02:42:28 nexus3.edgexfoundry.org:10002 02:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:28 Configure a credential helper to remove this warning. See 02:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:28 02:42:28 Login Succeeded 02:42:28 nexus3.edgexfoundry.org:10003 02:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:28 Configure a credential helper to remove this warning. See 02:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:28 02:42:28 Login Succeeded 02:42:28 nexus3.edgexfoundry.org:10004 02:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:28 Configure a credential helper to remove this warning. See 02:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:28 02:42:28 Login Succeeded 02:42:28 docker.io 02:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:29 Configure a credential helper to remove this warning. See 02:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:29 02:42:29 Login Succeeded 02:42:29 ---> docker-login.sh ends [Pipeline] } 02:42:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:42:29 + git rev-list -1 --merges c30bf90ffa9b09e56965655bf5f596629c9edc5f~1..c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo 02:42:29 -----------> git rev-list -1 --merges c30bf90ffa9b09e56965655bf5f596629c9edc5f~1..c30bf90ffa9b09e56965655bf5f596629c9edc5f c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:42:29 c30bf90ffa9b09e56965655bf5f596629c9edc5f [false] [Pipeline] sh 02:42:30 + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo 02:42:30 ========================================================= 02:42:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:42:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:30 + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] echo 02:42:30 [semverPrep] GIT_COMMIT: c30bf90ffa9b09e56965655bf5f596629c9edc5f, Commit Message: Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1 [Pipeline] echo 02:42:30 [semverPrep] This is not a build commit. [Pipeline] sh 02:42:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:42:30 + grep -v github /etc/ssh/ssh_known_hosts 02:42:30 + [ -e /tmp/ssh_known_hosts ] 02:42:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:42:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:42:30 + sudo tee -a /etc/ssh/ssh_known_hosts 02:42:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:31 02:42:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:31 0.1.4: Pulling from edgex-devops/py-git-semver 02:42:31 b85a868b505f: Pulling fs layer 02:42:31 e2be974225ed: Pulling fs layer 02:42:31 339a4e72a1f5: Pulling fs layer 02:42:31 988bab9f4d93: Pulling fs layer 02:42:31 1469e6f7b9e6: Pulling fs layer 02:42:31 eaf3925da568: Pulling fs layer 02:42:31 bab4dde63d76: Pulling fs layer 02:42:31 bde34c3a00c8: Pulling fs layer 02:42:31 b352a97aabf1: Pulling fs layer 02:42:31 4872d77fe225: Pulling fs layer 02:42:31 5851b861e8e6: Pulling fs layer 02:42:31 988bab9f4d93: Waiting 02:42:31 1469e6f7b9e6: Waiting 02:42:31 bab4dde63d76: Waiting 02:42:31 bde34c3a00c8: Waiting 02:42:31 b352a97aabf1: Waiting 02:42:31 4872d77fe225: Waiting 02:42:31 eaf3925da568: Waiting 02:42:31 5851b861e8e6: Waiting 02:42:31 e2be974225ed: Download complete 02:42:31 988bab9f4d93: Verifying Checksum 02:42:31 988bab9f4d93: Download complete 02:42:31 1469e6f7b9e6: Verifying Checksum 02:42:31 1469e6f7b9e6: Download complete 02:42:31 339a4e72a1f5: Verifying Checksum 02:42:31 339a4e72a1f5: Download complete 02:42:31 eaf3925da568: Verifying Checksum 02:42:31 eaf3925da568: Download complete 02:42:31 bde34c3a00c8: Verifying Checksum 02:42:31 bde34c3a00c8: Download complete 02:42:31 b352a97aabf1: Verifying Checksum 02:42:31 b352a97aabf1: Download complete 02:42:31 4872d77fe225: Verifying Checksum 02:42:31 4872d77fe225: Download complete 02:42:31 5851b861e8e6: Verifying Checksum 02:42:31 5851b861e8e6: Download complete 02:42:31 b85a868b505f: Verifying Checksum 02:42:31 b85a868b505f: Download complete 02:42:32 bab4dde63d76: Verifying Checksum 02:42:32 bab4dde63d76: Download complete 02:42:33 b85a868b505f: Pull complete 02:42:33 e2be974225ed: Pull complete 02:42:33 339a4e72a1f5: Pull complete 02:42:33 988bab9f4d93: Pull complete 02:42:34 1469e6f7b9e6: Pull complete 02:42:34 eaf3925da568: Pull complete 02:42:36 bab4dde63d76: Pull complete 02:42:36 bde34c3a00c8: Pull complete 02:42:36 b352a97aabf1: Pull complete 02:42:36 4872d77fe225: Pull complete 02:42:36 5851b861e8e6: Pull complete 02:42:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:36 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:42:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:42:41 $ docker top fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 -eo pid,comm 02:42:41 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). 02:42:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:41 [ssh-agent] Looking for ssh-agent implementation... 02:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:41 $ docker exec fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent 02:42:41 SSH_AUTH_SOCK=/tmp/ssh-VMUxyAlZBfX1/agent.31 02:42:41 SSH_AGENT_PID=37 02:42:41 Running ssh-add (command line suppressed) 02:42:42 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13044153371967950355.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13044153371967950355.key) 02:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:42 + git tag --points-at HEAD [Pipeline] } 02:42:42 $ docker exec --env ******** --env ******** fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent -k 02:42:42 unset SSH_AUTH_SOCK; 02:42:42 unset SSH_AGENT_PID; 02:42:42 echo Agent pid 37 killed; 02:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:42 [ssh-agent] Looking for ssh-agent implementation... 02:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:42 $ docker exec fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent 02:42:42 SSH_AUTH_SOCK=/tmp/ssh-MTDCfgSynp6V/agent.69 02:42:42 SSH_AGENT_PID=75 02:42:42 Running ssh-add (command line suppressed) 02:42:42 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15033101615995295312.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15033101615995295312.key) 02:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:43 + git semver init 02:42:43 2023-10-25 02:42:43,278 [run_init] DEBUG init version:0.0.0 force:False 02:42:43 2023-10-25 02:42:43,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 02:42:43 2023-10-25 02:42:43,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 02:42:43 2023-10-25 02:42:43,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:42:44 2023-10-25 02:42:44,270 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 02:42:44 2023-10-25 02:42:44,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 02:42:44 2023-10-25 02:42:44,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:42:44 2023-10-25 02:42:44,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:42:44 3.0.1-dev.7 [Pipeline] } 02:42:44 $ docker exec --env ******** --env ******** fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 ssh-agent -k 02:42:44 unset SSH_AUTH_SOCK; 02:42:44 unset SSH_AGENT_PID; 02:42:44 echo Agent pid 75 killed; 02:42:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:44 + git semver [Pipeline] } 02:42:45 $ docker stop --time=1 fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 02:42:46 $ docker rm -f --volumes fba3b9df1641bf1dfaa9a1a13afe06a64db9d01fc54e61d3dff328283954a0a4 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:46 Stashed 1 file(s) [Pipeline] echo 02:42:46 [edgeXSemver]: initialized semver on version 3.0.1-dev.7 [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 02:42:46 provisioning config files... 02:42:47 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9311508513056052201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:47 ---> docker-login.sh 02:42:47 nexus3.edgexfoundry.org:10001 02:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:47 Configure a credential helper to remove this warning. See 02:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:47 02:42:47 Login Succeeded 02:42:47 nexus3.edgexfoundry.org:10002 02:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:47 Configure a credential helper to remove this warning. See 02:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:47 02:42:47 Login Succeeded 02:42:47 nexus3.edgexfoundry.org:10003 02:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:47 Configure a credential helper to remove this warning. See 02:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:47 02:42:47 Login Succeeded 02:42:47 nexus3.edgexfoundry.org:10004 02:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:47 Configure a credential helper to remove this warning. See 02:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:47 02:42:47 Login Succeeded 02:42:47 docker.io 02:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:48 Configure a credential helper to remove this warning. See 02:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:48 02:42:48 Login Succeeded 02:42:48 ---> docker-login.sh ends [Pipeline] } 02:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:42:48 ========================================================= 02:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:48 + 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 . 02:42:48 Sending build context to Docker daemon 11.17MB 02:42:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:42:48 Step 2/12 : FROM ${BASE} AS builder 02:42:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:42:48 7264a8db6415: Pulling fs layer 02:42:48 c4d48a809fc2: Pulling fs layer 02:42:48 4f1c88b9dad5: Pulling fs layer 02:42:48 ad3a456e5733: Pulling fs layer 02:42:48 33e27b845d1e: Pulling fs layer 02:42:48 c68163c4e522: Pulling fs layer 02:42:48 50da416c3ac9: Pulling fs layer 02:42:48 23d2d4c4bb30: Pulling fs layer 02:42:48 ad3a456e5733: Waiting 02:42:48 33e27b845d1e: Waiting 02:42:48 c68163c4e522: Waiting 02:42:48 50da416c3ac9: Waiting 02:42:48 c4d48a809fc2: Download complete 02:42:48 ad3a456e5733: Verifying Checksum 02:42:48 ad3a456e5733: Download complete 02:42:48 33e27b845d1e: Verifying Checksum 02:42:48 33e27b845d1e: Download complete 02:42:48 7264a8db6415: Verifying Checksum 02:42:48 7264a8db6415: Download complete 02:42:48 c68163c4e522: Verifying Checksum 02:42:48 c68163c4e522: Download complete 02:42:48 7264a8db6415: Pull complete 02:42:48 23d2d4c4bb30: Verifying Checksum 02:42:48 23d2d4c4bb30: Download complete 02:42:48 c4d48a809fc2: Pull complete 02:42:48 4f1c88b9dad5: Verifying Checksum 02:42:48 4f1c88b9dad5: Download complete 02:42:49 50da416c3ac9: Verifying Checksum 02:42:49 50da416c3ac9: Download complete 02:42:52 4f1c88b9dad5: Pull complete 02:42:52 ad3a456e5733: Pull complete 02:42:52 33e27b845d1e: Pull complete 02:42:52 c68163c4e522: Pull complete 02:42:54 50da416c3ac9: Pull complete 02:42:55 23d2d4c4bb30: Pull complete 02:42:55 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 02:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:42:55 ---> 0786185ac409 02:42:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:01 Still waiting to schedule task 02:43:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:43:03 ---> Running in be6526ffb6a1 02:43:03 Removing intermediate container be6526ffb6a1 02:43:03 ---> 79bfd8300c26 02:43:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:43:03 ---> Running in 66559fdb86ab 02:43:03 Removing intermediate container 66559fdb86ab 02:43:03 ---> bc59185def7c 02:43:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:43:03 ---> Running in 94e2c48d26ea 02:43:03 Removing intermediate container 94e2c48d26ea 02:43:03 ---> 92b178d381a8 02:43:03 Step 6/12 : WORKDIR /device-uart 02:43:03 ---> Running in 78d7511a54a2 02:43:03 Removing intermediate container 78d7511a54a2 02:43:03 ---> dc272eacc9db 02:43:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:03 ---> Running in de9801c0ce23 02:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:43:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:43:03 (2/4) Installing libedit (20221030.3.1-r1) 02:43:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:43:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:43:03 Executing busybox-1.36.1-r2.trigger 02:43:03 OK: 268 MiB in 56 packages 02:43:03 Removing intermediate container de9801c0ce23 02:43:03 ---> 8c2180de1204 02:43:03 Step 8/12 : COPY go.mod vendor* ./ 02:43:03 ---> 619df5108e00 02:43:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:03 ---> Running in 65fc935131f1 02:44:11 Removing intermediate container 65fc935131f1 02:44:11 ---> 608942f3f86c 02:44:11 Step 10/12 : COPY . . 02:44:11 ---> cdc57f41a84f 02:44:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:11 ---> Running in a963a299a399 02:44:11 Removing intermediate container a963a299a399 02:44:11 ---> 9d9756bdaa0b 02:44:11 Step 12/12 : RUN ${MAKE} 02:44:11 ---> Running in eac91eecdd96 02:44:11 noop 02:44:11 Removing intermediate container eac91eecdd96 02:44:11 ---> b8c05e161a07 02:44:11 Successfully built b8c05e161a07 02:44:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:12 + docker inspect -f . ci-base-image-x86_64 02:44:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:12 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat 02:44:12 $ docker top c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:12 + go version 02:44:12 go version go1.21.0 linux/amd64 [Pipeline] } 02:44:12 $ docker stop --time=1 c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac 02:44:14 $ docker rm -f --volumes c54fe6ece6c7f24aff6ebd3ecfed57a4ff2779f9000e85bcaef75393bc3ab1ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:14 + docker inspect -f . ci-base-image-x86_64 02:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:14 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:44:14 $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat 02:44:15 $ docker top 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 02:44:15 + make test 02:44:15 go test ./... -coverprofile=coverage.out 02:44:17 ? github.com/edgexfoundry/device-uart [no test files] 02:44:27 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:44:27 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:44:34 go vet ./... 02:44:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:44:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:44:37 ./bin/test-attribution-txt.sh [Pipeline] echo 02:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:44:37 $ docker stop --time=1 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 02:44:41 $ docker rm -f --volumes 76be422f4e09146adc6907fe1f3033906d261a73586caf73f1c637c69ee81cc6 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:44:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:44:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10371 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 02:44:42 Running in /w/workspace/device-uart/13 [Pipeline] { [Pipeline] checkout 02:44:42 The recommended git tool is: git 02:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:44:42 + ls -al . 02:44:42 total 152 02:44:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 . 02:44:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:42 .. 02:44:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:42 .dockerignore 02:44:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 .git 02:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 .github 02:44:42 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:42 .gitignore 02:44:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:42 .golangci.yml 02:44:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:42 .semver 02:44:42 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:42 Attribution.txt 02:44:42 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:42 Dockerfile 02:44:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:42 GOVERNANCE.md 02:44:42 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:42 Jenkinsfile 02:44:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:42 LICENSE 02:44:42 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:42 Makefile 02:44:42 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:42 OWNERS.md 02:44:42 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:42 README.md 02:44:42 -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:42 VERSION 02:44:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:42 bin 02:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 cmd 02:44:42 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:44 coverage.out 02:44:42 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:42 go.mod 02:44:42 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:42 go.sum 02:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:42 internal 02:44:42 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:43 + 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=c30bf90ffa9b09e56965655bf5f596629c9edc5f --label arch=amd64 --label version=3.0.1-dev.7 . 02:44:43 Sending build context to Docker daemon 11.17MB 02:44:43 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:44:43 Step 2/25 : FROM ${BASE} AS builder 02:44:43 ---> b8c05e161a07 02:44:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:43 ---> Running in 9f38dd1bb32d 02:44:43 Removing intermediate container 9f38dd1bb32d 02:44:43 ---> db9ddac30d56 02:44:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:44:43 ---> Running in f249694ace7e 02:44:43 Removing intermediate container f249694ace7e 02:44:43 ---> 4e288fe84022 02:44:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:44:43 ---> Running in 66f0dd14cd17 02:44:43 Removing intermediate container 66f0dd14cd17 02:44:43 ---> de11a5f388f3 02:44:43 Step 6/25 : WORKDIR /device-uart 02:44:43 ---> Running in 610d85250589 02:44:43 Removing intermediate container 610d85250589 02:44:43 ---> 2c8bd4816b26 02:44:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:43 ---> Running in 4388edaf5de6 02:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:44:44 OK: 268 MiB in 56 packages 02:44:45 Removing intermediate container 4388edaf5de6 02:44:45 ---> 0cba9d92bba9 02:44:45 Step 8/25 : COPY go.mod vendor* ./ 02:44:45 ---> 33635a320c3c 02:44:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:45 ---> Running in d26138471194 02:44:45 Removing intermediate container d26138471194 02:44:45 ---> 111ea15856b7 02:44:45 Step 10/25 : COPY . . 02:44:46 ---> b8032b0411f3 02:44:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:46 ---> Running in a88e7f451912 02:44:46 Removing intermediate container a88e7f451912 02:44:46 ---> b7f4ae1236e8 02:44:46 Step 12/25 : RUN ${MAKE} 02:44:46 ---> Running in cbbaa281b1fb 02:44:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:44:47 using credential edgex-jenkins-ssh 02:44:47 Cloning the remote Git repository 02:44:47 Cloning repository git@github.com:edgexfoundry/device-uart.git 02:44:47 > git init /w/workspace/device-uart/13 # timeout=10 02:44:47 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 02:44:47 > git --version # timeout=10 02:44:47 > git --version # 'git version 2.25.1' 02:44:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 02:44:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:50 Avoid second fetch 02:44:50 Checking out Revision c30bf90ffa9b09e56965655bf5f596629c9edc5f (main) 02:44:50 Commit message: "Merge pull request #27 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:50 > git config core.sparsecheckout # timeout=10 02:44:50 > git checkout -f c30bf90ffa9b09e56965655bf5f596629c9edc5f # timeout=10 02:44:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:44:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:44:51 Dload Upload Total Spent Left Speed 02:44:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 02:44:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:44:52 + sudo+ tee /etc/docker/daemon.new 02:44:52 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:44:52 { 02:44:52 "registry-mirrors": [ 02:44:52 "https://nexus3.edgexfoundry.org:10001" 02:44:52 ], 02:44:52 "bip": "10.250.0.254/24", 02:44:52 "hosts": [ 02:44:52 "tcp://0.0.0.0:5555", 02:44:52 "unix:///var/run/docker.sock" 02:44:52 ], 02:44:52 "mtu": 1458, 02:44:52 "selinux-enabled": true, 02:44:52 "seccomp-profile": "/etc/docker/seccomp.json" 02:44:52 } [Pipeline] sh 02:44:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:44:53 + sudo service docker restart 02:45:08 Removing intermediate container cbbaa281b1fb 02:45:08 ---> ee7a60483634 02:45:08 Step 13/25 : FROM alpine:3.18 02:45:08 3.18: Pulling from library/alpine 02:45:08 96526aa774ef: Pulling fs layer 02:45:08 96526aa774ef: Verifying Checksum 02:45:08 96526aa774ef: Download complete 02:45:08 96526aa774ef: Pull complete 02:45:08 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:45:08 Status: Downloaded newer image for alpine:3.18 02:45:08 ---> 8ca4688f4f35 02:45:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:45:08 ---> Running in 57e52dc76668 02:45:08 Removing intermediate container 57e52dc76668 02:45:08 ---> 8ad786515520 02:45:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:45:08 ---> Running in 0b0c973e748e 02:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:45:08 (1/1) Installing dumb-init (1.2.5-r2) 02:45:08 Executing busybox-1.36.1-r2.trigger 02:45:08 OK: 7 MiB in 16 packages 02:45:08 Removing intermediate container 0b0c973e748e 02:45:08 ---> 8ca72e1def1c 02:45:08 Step 16/25 : WORKDIR / 02:45:08 ---> Running in 349e8446a0b3 02:45:08 Removing intermediate container 349e8446a0b3 02:45:08 ---> 9927bc8b0988 02:45:08 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 02:45:09 ---> 29dbae3fa017 02:45:09 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 02:45:09 ---> f3f898b4980b 02:45:09 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 02:45:09 ---> 4176b14fcd44 02:45:09 Step 20/25 : EXPOSE 59995 02:45:09 ---> Running in 09e40a125aac 02:45:09 Removing intermediate container 09e40a125aac 02:45:09 ---> 710330d266ce 02:45:09 Step 21/25 : ENTRYPOINT ["/device-uart"] 02:45:09 ---> Running in df3e02d3ad7a 02:45:10 Removing intermediate container df3e02d3ad7a 02:45:10 ---> 39eee6b8e4d6 02:45:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:45:10 ---> Running in 09c62eff4ef2 02:45:10 Removing intermediate container 09c62eff4ef2 02:45:10 ---> 7522654629d3 02:45:10 Step 23/25 : LABEL arch=amd64 02:45:10 ---> Running in 2f5f8cc37571 02:45:10 Removing intermediate container 2f5f8cc37571 02:45:10 ---> fcb23aab62a5 02:45:10 Step 24/25 : LABEL git_sha=c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:45:10 ---> Running in 936c1519c65c 02:45:10 Removing intermediate container 936c1519c65c 02:45:10 ---> a6eb7526cb55 02:45:10 Step 25/25 : LABEL version=3.0.1-dev.7 02:45:10 ---> Running in 46325e6218d3 02:45:10 Removing intermediate container 46325e6218d3 02:45:10 ---> dc3c4f8e0073 02:45:10 [Warning] One or more build-args [ARCH] were not consumed 02:45:10 Successfully built dc3c4f8e0073 02:45:10 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:10 provisioning config files... 02:45:10 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14660501692870682255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:10 ---> docker-login.sh 02:45:10 nexus3.edgexfoundry.org:10001 02:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:10 Configure a credential helper to remove this warning. See 02:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:10 02:45:10 Login Succeeded 02:45:10 nexus3.edgexfoundry.org:10002 02:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:10 Configure a credential helper to remove this warning. See 02:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:10 02:45:10 Login Succeeded 02:45:10 nexus3.edgexfoundry.org:10003 02:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:11 Configure a credential helper to remove this warning. See 02:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:11 02:45:11 Login Succeeded 02:45:11 nexus3.edgexfoundry.org:10004 02:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:11 Configure a credential helper to remove this warning. See 02:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:11 02:45:11 Login Succeeded 02:45:11 docker.io 02:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:11 Configure a credential helper to remove this warning. See 02:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:11 02:45:11 Login Succeeded 02:45:11 ---> docker-login.sh ends [Pipeline] } 02:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:45:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:11 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 02:45:11 c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:45:11 latest 02:45:11 3.0.1-dev.7 02:45:11 c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:45:11 main 02:45:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:11 provisioning config files... 02:45:11 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/13@tmp/config9412714813107541803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:11 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:12 ---> docker-login.sh 02:45:12 nexus3.edgexfoundry.org:10001 02:45:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:45:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:45:12 fc0b0f4c7639: Preparing 02:45:12 d6a996e78233: Preparing 02:45:12 8eb41799a6a4: Preparing 02:45:12 ae9f08e9d73e: Preparing 02:45:12 cc2447e1835a: Preparing 02:45:12 cc2447e1835a: Layer already exists 02:45:12 8eb41799a6a4: Pushed 02:45:12 d6a996e78233: Pushed 02:45:12 ae9f08e9d73e: Pushed 02:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:12 Configure a credential helper to remove this warning. See 02:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:12 02:45:12 Login Succeeded 02:45:12 nexus3.edgexfoundry.org:10002 02:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:13 Configure a credential helper to remove this warning. See 02:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:13 02:45:13 Login Succeeded 02:45:13 nexus3.edgexfoundry.org:10003 02:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:13 Configure a credential helper to remove this warning. See 02:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:13 02:45:13 Login Succeeded 02:45:13 nexus3.edgexfoundry.org:10004 02:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:13 Configure a credential helper to remove this warning. See 02:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:13 02:45:13 Login Succeeded 02:45:13 docker.io 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 ---> docker-login.sh ends [Pipeline] } 02:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:45:14 fc0b0f4c7639: Pushed 02:45:14 c30bf90ffa9b09e56965655bf5f596629c9edc5f: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 02:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:14 ========================================================= 02:45:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:45:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:14 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:15 + 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 . 02:45:15 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 02:45:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:45:15 fc0b0f4c7639: Preparing 02:45:15 d6a996e78233: Preparing 02:45:15 8eb41799a6a4: Preparing 02:45:15 ae9f08e9d73e: Preparing 02:45:15 cc2447e1835a: Preparing 02:45:15 fc0b0f4c7639: Layer already exists 02:45:15 8eb41799a6a4: Layer already exists 02:45:15 cc2447e1835a: Layer already exists 02:45:15 ae9f08e9d73e: Layer already exists 02:45:15 d6a996e78233: Layer already exists 02:45:15 latest: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:15 Sending build context to Docker daemon 5.633MB 02:45:15 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:15 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 02:45:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:45:15 fc0b0f4c7639: Preparing 02:45:15 d6a996e78233: Preparing 02:45:15 8eb41799a6a4: Preparing 02:45:15 ae9f08e9d73e: Preparing 02:45:15 cc2447e1835a: Preparing 02:45:15 d6a996e78233: Layer already exists 02:45:15 8eb41799a6a4: Layer already exists 02:45:15 fc0b0f4c7639: Layer already exists 02:45:15 cc2447e1835a: Layer already exists 02:45:15 ae9f08e9d73e: Layer already exists 02:45:15 3.0.1-dev.7: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:45:16 Step 2/12 : FROM ${BASE} AS builder 02:45:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:16 9fda8d8052c6: Pulling fs layer 02:45:16 5d54e960e981: Pulling fs layer 02:45:16 c4a7e357bf2a: Pulling fs layer 02:45:16 f0e02332f6b5: Pulling fs layer 02:45:16 cefa15bbcfad: Pulling fs layer 02:45:16 17808c966233: Pulling fs layer 02:45:16 f4c1fc716caa: Pulling fs layer 02:45:16 cefa15bbcfad: Waiting 02:45:16 17808c966233: Waiting 02:45:16 f4c1fc716caa: Waiting 02:45:16 f0e02332f6b5: Waiting 02:45:16 5d54e960e981: Verifying Checksum 02:45:16 5d54e960e981: Download complete 02:45:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:16 f0e02332f6b5: Verifying Checksum 02:45:16 f0e02332f6b5: Download complete 02:45:16 cefa15bbcfad: Verifying Checksum 02:45:16 cefa15bbcfad: Download complete 02:45:16 9fda8d8052c6: Download complete 02:45:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:45:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:45:16 fc0b0f4c7639: Preparing 02:45:16 d6a996e78233: Preparing 02:45:16 8eb41799a6a4: Preparing 02:45:16 ae9f08e9d73e: Preparing 02:45:16 cc2447e1835a: Preparing 02:45:16 d6a996e78233: Layer already exists 02:45:16 ae9f08e9d73e: Layer already exists 02:45:16 fc0b0f4c7639: Layer already exists 02:45:16 8eb41799a6a4: Layer already exists 02:45:16 cc2447e1835a: Layer already exists 02:45:16 c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:16 f4c1fc716caa: Verifying Checksum 02:45:16 f4c1fc716caa: Download complete 02:45:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 02:45:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:45:17 fc0b0f4c7639: Preparing 02:45:17 d6a996e78233: Preparing 02:45:17 8eb41799a6a4: Preparing 02:45:17 ae9f08e9d73e: Preparing 02:45:17 cc2447e1835a: Preparing 02:45:17 cc2447e1835a: Layer already exists 02:45:17 ae9f08e9d73e: Layer already exists 02:45:17 d6a996e78233: Layer already exists 02:45:17 fc0b0f4c7639: Layer already exists 02:45:17 8eb41799a6a4: Layer already exists 02:45:17 main: digest: sha256:48e6430c9f7d7c2f45d103d34ed5badaa1e4f978b4dc5ecc8c860cf9cdd6b660 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:45:17 ===================================================== [Pipeline] echo 02:45:17 taggedImages: 02:45:17 - nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:45:17 - nexus3.edgexfoundry.org:10004/device-uart:latest 02:45:17 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.7 02:45:17 - nexus3.edgexfoundry.org:10004/device-uart:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:45:17 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [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 02:45:17 9fda8d8052c6: Pull complete 02:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:17 02:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:17 latest: Pulling from edgex-lftools-log-publisher 02:45:17 5eb5b503b376: Pulling fs layer 02:45:17 5c69ac0246d0: Pulling fs layer 02:45:17 ec43610c2a17: Pulling fs layer 02:45:17 3a2ae6a8a46f: Pulling fs layer 02:45:17 33b1e0a273af: Pulling fs layer 02:45:17 5d3b04190fa2: Pulling fs layer 02:45:17 2f39f015ded8: Pulling fs layer 02:45:17 3a2ae6a8a46f: Waiting 02:45:17 33b1e0a273af: Waiting 02:45:17 5d3b04190fa2: Waiting 02:45:17 2f39f015ded8: Waiting 02:45:17 5c69ac0246d0: Download complete 02:45:17 3a2ae6a8a46f: Download complete 02:45:17 ec43610c2a17: Verifying Checksum 02:45:17 ec43610c2a17: Download complete 02:45:17 5d3b04190fa2: Download complete 02:45:17 33b1e0a273af: Verifying Checksum 02:45:17 33b1e0a273af: Download complete 02:45:18 5d54e960e981: Pull complete 02:45:18 5eb5b503b376: Verifying Checksum 02:45:18 5eb5b503b376: Download complete 02:45:18 c4a7e357bf2a: Verifying Checksum 02:45:18 c4a7e357bf2a: Download complete 02:45:19 2f39f015ded8: Download complete 02:45:19 17808c966233: Verifying Checksum 02:45:19 17808c966233: Download complete 02:45:19 5eb5b503b376: Pull complete 02:45:19 5c69ac0246d0: Pull complete 02:45:19 ec43610c2a17: Pull complete 02:45:19 3a2ae6a8a46f: Pull complete 02:45:20 33b1e0a273af: Pull complete 02:45:20 5d3b04190fa2: Pull complete 02:45:24 2f39f015ded8: Pull complete 02:45:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:24 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:45:24 $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:45:29 $ docker top 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:29 ---> job-cost.sh 02:45:29 lf-activate-venv: SKIPPING 02:45:29 INFO: No Stack... 02:45:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:45:30 INFO: Archiving Costs [Pipeline] sh 02:45:30 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 02:45:30 + cut -d, -f6 [Pipeline] lock 02:45:30 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] 02:45:30 Resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] did not exist. Created. 02:45:30 Lock acquired on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:45:30 + echo total: 0.2199999988079071 [Pipeline] stash 02:45:30 Stashed 1 file(s) [Pipeline] } 02:45:30 Lock released on resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 02:45:30 $ docker stop --time=1 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc 02:45:31 c4a7e357bf2a: Pull complete 02:45:31 f0e02332f6b5: Pull complete 02:45:31 cefa15bbcfad: Pull complete 02:45:32 $ docker rm -f --volumes 592b9010ca5385493dbfeb0f5a113669bac91fe049784141d07b8682e2a6e5bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:45:38 17808c966233: Pull complete 02:45:40 f4c1fc716caa: Pull complete 02:45:40 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 02:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:45:40 ---> ea914061e18c 02:45:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:41 ---> Running in 9c1c2204233b 02:45:41 Removing intermediate container 9c1c2204233b 02:45:41 ---> 8dc6c17a6c30 02:45:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:45:42 ---> Running in 1ba9157b1df8 02:45:42 Removing intermediate container 1ba9157b1df8 02:45:42 ---> b6089bee5f74 02:45:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:45:42 ---> Running in 0e3e79a5520c 02:45:42 Removing intermediate container 0e3e79a5520c 02:45:42 ---> 4eb7d967ffef 02:45:42 Step 6/12 : WORKDIR /device-uart 02:45:42 ---> Running in 57117d456ce2 02:45:43 Removing intermediate container 57117d456ce2 02:45:43 ---> c3cde07a050c 02:45:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:43 ---> Running in 66b4f1c7d261 02:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:45 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:45:45 (2/4) Installing libedit (20221030.3.1-r1) 02:45:45 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:45:45 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:45:45 Executing busybox-1.36.1-r2.trigger 02:45:46 OK: 270 MiB in 56 packages 02:45:47 Removing intermediate container 66b4f1c7d261 02:45:47 ---> 19cfd9fbb88b 02:45:47 Step 8/12 : COPY go.mod vendor* ./ 02:45:47 ---> 06f27f86ad9c 02:45:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:47 ---> Running in d46064512fb4 02:47:24 Removing intermediate container d46064512fb4 02:47:24 ---> f6b91bb2d1d1 02:47:24 Step 10/12 : COPY . . 02:47:24 ---> 3ee293442a51 02:47:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:47:24 ---> Running in fac1f973ae68 02:47:24 Removing intermediate container fac1f973ae68 02:47:24 ---> 87ca9a99ebec 02:47:24 Step 12/12 : RUN ${MAKE} 02:47:24 ---> Running in ebb11d5ea34b 02:47:24 noop 02:47:24 Removing intermediate container ebb11d5ea34b 02:47:24 ---> b0f413d094c3 02:47:24 Successfully built b0f413d094c3 02:47:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:24 + docker inspect -f . ci-base-image-arm64 02:47:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:24 prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container 02:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@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 ******** ci-base-image-arm64 cat 02:47:26 $ docker top 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:26 + go version 02:47:26 go version go1.21.0 linux/arm64 [Pipeline] } 02:47:27 $ docker stop --time=1 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 02:47:28 $ docker rm -f --volumes 54b3caad27ebf8c145f0cb97ac32ce1db313f498c63e7761e70f0b76136c5cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:29 + docker inspect -f . ci-base-image-arm64 02:47:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container 02:47:29 $ 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/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@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 ******** ci-base-image-arm64 cat 02:47:30 $ docker top c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:31 + git config --global --add safe.directory /w/workspace/device-uart/13 [Pipeline] fileExists [Pipeline] sh 02:47:32 + make test 02:47:32 go test ./... -coverprofile=coverage.out 02:47:36 ? github.com/edgexfoundry/device-uart [no test files] 02:48:58 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:48:58 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:48:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:48:59 go vet ./... 02:49:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:31 ./bin/test-attribution-txt.sh [Pipeline] echo 02:49:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:49:31 $ docker stop --time=1 c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 02:49:33 $ docker rm -f --volumes c1d38912fdbf0ffb1096fadb16e22ab5584dd1d99addc88c3ccd37976bd06a79 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:34 Warning: overwriting stash ‘coverage-report’ 02:49:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:35 + ls -al . 02:49:35 total 148 02:49:35 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 02:47 . 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:44 .. 02:49:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 02:44 .dockerignore 02:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:44 .git 02:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 .github 02:49:35 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 02:44 .gitignore 02:49:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 02:44 .golangci.yml 02:49:35 -rw-rw-r-- 1 jenkins jenkins 9941 Oct 25 02:44 Attribution.txt 02:49:35 -rw-rw-r-- 1 jenkins jenkins 1777 Oct 25 02:44 Dockerfile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:44 GOVERNANCE.md 02:49:35 -rw-rw-r-- 1 jenkins jenkins 675 Oct 25 02:44 Jenkinsfile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 02:44 LICENSE 02:49:35 -rw-rw-r-- 1 jenkins jenkins 1872 Oct 25 02:44 Makefile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 02:44 OWNERS.md 02:49:35 -rw-rw-r-- 1 jenkins jenkins 8892 Oct 25 02:44 README.md 02:49:35 -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 02:42 VERSION 02:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:44 bin 02:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 cmd 02:49:35 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 02:47 coverage.out 02:49:35 -rw-rw-r-- 1 jenkins jenkins 3721 Oct 25 02:44 go.mod 02:49:35 -rw-rw-r-- 1 jenkins jenkins 35313 Oct 25 02:44 go.sum 02:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:44 internal 02:49:35 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:35 + 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=c30bf90ffa9b09e56965655bf5f596629c9edc5f --label arch=arm64 --label version=3.0.1-dev.7 . 02:49:36 Sending build context to Docker daemon 5.634MB 02:49:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:49:36 Step 2/25 : FROM ${BASE} AS builder 02:49:36 ---> b0f413d094c3 02:49:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:49:36 ---> Running in de6b5365ff4a 02:49:36 Removing intermediate container de6b5365ff4a 02:49:36 ---> 351fba924282 02:49:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:49:36 ---> Running in e88aadfc952f 02:49:36 Removing intermediate container e88aadfc952f 02:49:36 ---> 3fdbcc4025f8 02:49:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:49:37 ---> Running in 68e0296c1649 02:49:37 Removing intermediate container 68e0296c1649 02:49:37 ---> 1fc9736ae201 02:49:37 Step 6/25 : WORKDIR /device-uart 02:49:37 ---> Running in 3b3a4ac76b0c 02:49:38 Removing intermediate container 3b3a4ac76b0c 02:49:38 ---> 1858b558a42e 02:49:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:38 ---> Running in f358aad06936 02:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:49:40 OK: 270 MiB in 56 packages 02:49:41 Removing intermediate container f358aad06936 02:49:41 ---> 7c065174b5a9 02:49:41 Step 8/25 : COPY go.mod vendor* ./ 02:49:41 ---> 98290713b92f 02:49:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:41 ---> Running in 2a5e10fa257d 02:49:44 Removing intermediate container 2a5e10fa257d 02:49:44 ---> 20105465da47 02:49:44 Step 10/25 : COPY . . 02:49:45 ---> 21ce16f64d07 02:49:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:45 ---> Running in 1634f8859495 02:49:45 Removing intermediate container 1634f8859495 02:49:45 ---> 9a7895d2025a 02:49:45 Step 12/25 : RUN ${MAKE} 02:49:45 ---> Running in 96db72ab31a6 02:49:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:51:38 Removing intermediate container 96db72ab31a6 02:51:38 ---> 6dc0a5d7851b 02:51:38 Step 13/25 : FROM alpine:3.18 02:51:38 3.18: Pulling from library/alpine 02:51:38 579b34f0a95b: Pulling fs layer 02:51:38 579b34f0a95b: Download complete 02:51:38 579b34f0a95b: Pull complete 02:51:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:51:38 Status: Downloaded newer image for alpine:3.18 02:51:38 ---> 3cc203321400 02:51:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:51:38 ---> Running in 580d34052a36 02:51:38 Removing intermediate container 580d34052a36 02:51:38 ---> bca27688fb02 02:51:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:51:38 ---> Running in be1dae5f2597 02:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:51:38 (1/1) Installing dumb-init (1.2.5-r2) 02:51:38 Executing busybox-1.36.1-r2.trigger 02:51:38 OK: 8 MiB in 16 packages 02:51:39 Removing intermediate container be1dae5f2597 02:51:39 ---> c2a3d595aa11 02:51:39 Step 16/25 : WORKDIR / 02:51:39 ---> Running in 403a6a34d5f4 02:51:39 Removing intermediate container 403a6a34d5f4 02:51:39 ---> 7ad6a7a1dc80 02:51:39 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 02:51:40 ---> 1c3f29af5989 02:51:40 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 02:51:40 ---> 71a7033a14a1 02:51:40 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 02:51:42 ---> 6191f244633f 02:51:42 Step 20/25 : EXPOSE 59995 02:51:42 ---> Running in e85ba0edca27 02:51:42 Removing intermediate container e85ba0edca27 02:51:42 ---> eb1abcaa0f55 02:51:42 Step 21/25 : ENTRYPOINT ["/device-uart"] 02:51:42 ---> Running in 0e177124753b 02:51:42 Removing intermediate container 0e177124753b 02:51:42 ---> 596c95be0196 02:51:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:51:43 ---> Running in 79fe756cffc8 02:51:43 Removing intermediate container 79fe756cffc8 02:51:43 ---> 7273c3ba90f9 02:51:43 Step 23/25 : LABEL arch=arm64 02:51:43 ---> Running in 192a109b0bbe 02:51:43 Removing intermediate container 192a109b0bbe 02:51:43 ---> 5d5dd0eec608 02:51:43 Step 24/25 : LABEL git_sha=c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:51:43 ---> Running in e7fee3896dfd 02:51:43 Removing intermediate container e7fee3896dfd 02:51:43 ---> 2795ef6175b4 02:51:43 Step 25/25 : LABEL version=3.0.1-dev.7 02:51:44 ---> Running in 5350fa5fb2c3 02:51:44 Removing intermediate container 5350fa5fb2c3 02:51:44 ---> d3f7e3450861 02:51:44 [Warning] One or more build-args [ARCH] were not consumed 02:51:44 Successfully built d3f7e3450861 02:51:44 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:44 provisioning config files... 02:51:44 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/13@tmp/config5581187267200103520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:44 ---> docker-login.sh 02:51:44 nexus3.edgexfoundry.org:10001 02:51:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:45 Configure a credential helper to remove this warning. See 02:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:45 02:51:45 Login Succeeded 02:51:45 nexus3.edgexfoundry.org:10002 02:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:45 Configure a credential helper to remove this warning. See 02:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:45 02:51:45 Login Succeeded 02:51:45 nexus3.edgexfoundry.org:10003 02:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:45 Configure a credential helper to remove this warning. See 02:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:45 02:51:45 Login Succeeded 02:51:46 nexus3.edgexfoundry.org:10004 02:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:46 Configure a credential helper to remove this warning. See 02:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:46 02:51:46 Login Succeeded 02:51:46 docker.io 02:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:46 Configure a credential helper to remove this warning. See 02:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:46 02:51:46 Login Succeeded 02:51:46 ---> docker-login.sh ends [Pipeline] } 02:51:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:51:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:46 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 02:51:46 c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:51:46 latest 02:51:46 3.0.1-dev.7 02:51:46 c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:51:46 main 02:51:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:47 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:47 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:51:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:51:47 6cfc3ad4cc0f: Preparing 02:51:47 1514df5da77e: Preparing 02:51:47 84dbd1ee169d: Preparing 02:51:47 8d2f82b270df: Preparing 02:51:47 5f4d9fc4d98d: Preparing 02:51:47 5f4d9fc4d98d: Layer already exists 02:51:47 84dbd1ee169d: Pushed 02:51:47 8d2f82b270df: Pushed 02:51:47 1514df5da77e: Pushed 02:51:54 6cfc3ad4cc0f: Pushed 02:51:54 c30bf90ffa9b09e56965655bf5f596629c9edc5f: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:54 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:55 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:51:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:51:55 6cfc3ad4cc0f: Preparing 02:51:55 1514df5da77e: Preparing 02:51:55 84dbd1ee169d: Preparing 02:51:55 8d2f82b270df: Preparing 02:51:55 5f4d9fc4d98d: Preparing 02:51:55 5f4d9fc4d98d: Layer already exists 02:51:55 8d2f82b270df: Layer already exists 02:51:55 84dbd1ee169d: Layer already exists 02:51:55 1514df5da77e: Layer already exists 02:51:55 6cfc3ad4cc0f: Layer already exists 02:51:55 latest: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:55 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:56 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 02:51:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:51:56 6cfc3ad4cc0f: Preparing 02:51:56 1514df5da77e: Preparing 02:51:56 84dbd1ee169d: Preparing 02:51:56 8d2f82b270df: Preparing 02:51:56 5f4d9fc4d98d: Preparing 02:51:56 6cfc3ad4cc0f: Layer already exists 02:51:56 1514df5da77e: Layer already exists 02:51:56 84dbd1ee169d: Layer already exists 02:51:56 8d2f82b270df: Layer already exists 02:51:56 5f4d9fc4d98d: Layer already exists 02:51:56 3.0.1-dev.7: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:56 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:56 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:51:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:51:56 6cfc3ad4cc0f: Preparing 02:51:56 1514df5da77e: Preparing 02:51:56 84dbd1ee169d: Preparing 02:51:56 8d2f82b270df: Preparing 02:51:56 5f4d9fc4d98d: Preparing 02:51:56 5f4d9fc4d98d: Layer already exists 02:51:56 6cfc3ad4cc0f: Layer already exists 02:51:56 1514df5da77e: Layer already exists 02:51:56 84dbd1ee169d: Layer already exists 02:51:56 8d2f82b270df: Layer already exists 02:51:56 c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:57 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:58 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 02:51:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:51:58 6cfc3ad4cc0f: Preparing 02:51:58 1514df5da77e: Preparing 02:51:58 84dbd1ee169d: Preparing 02:51:58 8d2f82b270df: Preparing 02:51:58 5f4d9fc4d98d: Preparing 02:51:58 6cfc3ad4cc0f: Layer already exists 02:51:58 1514df5da77e: Layer already exists 02:51:58 84dbd1ee169d: Layer already exists 02:51:58 5f4d9fc4d98d: Layer already exists 02:51:58 8d2f82b270df: Layer already exists 02:51:58 main: digest: sha256:d009a2f2c01db15853e71023744282212615129cb41c9d0822304e85cc8e8c44 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:51:58 ===================================================== [Pipeline] echo 02:51:58 taggedImages: 02:51:58 - nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f 02:51:58 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:51:58 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.7 02:51:58 - nexus3.edgexfoundry.org:10004/device-uart-arm64:c30bf90ffa9b09e56965655bf5f596629c9edc5f-3.0.1-dev.7 02:51:58 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:58 02:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:59 arm64: Pulling from edgex-lftools-log-publisher 02:51:59 8998bd30e6a1: Pulling fs layer 02:51:59 04944245beec: Pulling fs layer 02:51:59 699f458cf7ca: Pulling fs layer 02:51:59 765212b225bb: Pulling fs layer 02:51:59 f23df028b6ca: Pulling fs layer 02:51:59 d65c8cfc05b1: Pulling fs layer 02:51:59 2437ff75d9bd: Pulling fs layer 02:51:59 765212b225bb: Waiting 02:51:59 f23df028b6ca: Waiting 02:51:59 d65c8cfc05b1: Waiting 02:51:59 2437ff75d9bd: Waiting 02:51:59 04944245beec: Verifying Checksum 02:51:59 04944245beec: Download complete 02:51:59 765212b225bb: Verifying Checksum 02:51:59 765212b225bb: Download complete 02:51:59 f23df028b6ca: Verifying Checksum 02:51:59 f23df028b6ca: Download complete 02:51:59 d65c8cfc05b1: Verifying Checksum 02:51:59 d65c8cfc05b1: Download complete 02:51:59 699f458cf7ca: Verifying Checksum 02:51:59 699f458cf7ca: Download complete 02:51:59 8998bd30e6a1: Verifying Checksum 02:51:59 8998bd30e6a1: Download complete 02:52:02 2437ff75d9bd: Verifying Checksum 02:52:02 2437ff75d9bd: Download complete 02:52:04 8998bd30e6a1: Pull complete 02:52:06 04944245beec: Pull complete 02:52:07 699f458cf7ca: Pull complete 02:52:07 765212b225bb: Pull complete 02:52:08 f23df028b6ca: Pull complete 02:52:09 d65c8cfc05b1: Pull complete 02:52:27 2437ff75d9bd: Pull complete 02:52:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:27 prd-ubuntu20.04-docker-arm64-4c-16g-10371 does not seem to be running inside a container 02:52:27 $ 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/13 -v /w/workspace/device-uart/13:/w/workspace/device-uart/13:rw,z -v /w/workspace/device-uart/13@tmp:/w/workspace/device-uart/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:52:30 $ docker top 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:31 ---> job-cost.sh 02:52:31 lf-activate-venv: SKIPPING 02:52:31 INFO: No Stack... 02:52:31 INFO: Retrieving Pricing Info for: v3-standard-4 02:52:32 INFO: Archiving Costs [Pipeline] sh 02:52:32 + cat /w/workspace/device-uart/13/archives/cost.csv 02:52:32 + cut -d, -f6 [Pipeline] lock 02:52:32 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] 02:52:32 Resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] did not exist. Created. 02:52:32 Lock acquired on [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:33 /w/workspace/device-uart/13@tmp/durable-78a9a24d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:52:33 + echo total: 0.10999999940395355 [Pipeline] stash 02:52:33 Warning: overwriting stash ‘stack-cost’ 02:52:34 Stashed 1 file(s) [Pipeline] } 02:52:34 Lock released on resource [jenkins-edgexfoundry-device-uart-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:34 $ docker stop --time=1 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a 02:52:36 $ docker rm -f --volumes 445f3fbe9d5f6da8ae3226aa3020da9cf952285909ec5b28ce563a499e3d0e9a [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 02:52:36 provisioning config files... 02:52:36 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config218441086740356401tmp [Pipeline] { [Pipeline] sh 02:52:36 + set +x 02:52:36 + curl -s https://codecov.io/bash 02:52:36 + bash -s -- 02:52:36 02:52:36 _____ _ 02:52:36 / ____| | | 02:52:36 | | ___ __| | ___ ___ _____ __ 02:52:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:36 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:36 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:36 Bash-1.0.6 02:52:36 02:52:36 02:52:36 ==> git version 2.25.1 found 02:52:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:52:36 Release-Date: 2020-01-08 02:52:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:52:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:52:36 ==> Jenkins CI detected. 02:52:36 current dir:  /w/workspace/edgexfoundry_device-uart_main 02:52:36 project root: . 02:52:36 --> token set from env 02:52:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:36 ==> Running gcov in . (disable via -X gcov) 02:52:36 ==> Python coveragepy not found 02:52:36 ==> Searching for coverage reports in: 02:52:36 + . 02:52:36 -> Found 1 reports 02:52:36 ==> Detecting git/mercurial file structure 02:52:36 ==> Reading reports 02:52:36 + ./coverage.out bytes=10 02:52:36 ==> Appending adjustments 02:52:36 https://docs.codecov.io/docs/fixing-reports 02:52:36 + Found adjustments 02:52:36 ==> Gzipping contents 02:52:36 4.0K /tmp/codecov.8L52JG.gz 02:52:36 ==> Uploading reports 02:52:36 url: https://codecov.io 02:52:36 query: branch=main&commit=c30bf90ffa9b09e56965655bf5f596629c9edc5f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:52:36 -> Pinging Codecov 02:52:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=c30bf90ffa9b09e56965655bf5f596629c9edc5f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:52:36 -> Uploading to 02:52:36 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/B9AA6E0BBD74AE3A32605C7A7C664919/c30bf90ffa9b09e56965655bf5f596629c9edc5f/060cf41e-02cb-4c5e-97a5-59c426d91c09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T025236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ccc44d3e1b8ecdf5374ba118374b1dd89389111ab17cb1d3ac1f05cc37348281 02:52:36 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:36 Dload Upload Total Spent Left Speed 02:52:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 1983 --:--:-- --:--:-- --:--:-- 1983 02:52:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] } 02:52:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:52:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:52:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:37 02:52:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:52:38 df9b9388f04a: Pulling fs layer 02:52:38 52dc419b0ee2: Pulling fs layer 02:52:38 25bc292e5bac: Pulling fs layer 02:52:38 114826534d7a: Pulling fs layer 02:52:38 4657fd5d0bcf: Pulling fs layer 02:52:38 6ad1cebc031e: Pulling fs layer 02:52:38 8a3aa393b2d8: Pulling fs layer 02:52:38 6ad1cebc031e: Waiting 02:52:38 8a3aa393b2d8: Waiting 02:52:38 114826534d7a: Waiting 02:52:38 25bc292e5bac: Verifying Checksum 02:52:38 25bc292e5bac: Download complete 02:52:38 52dc419b0ee2: Verifying Checksum 02:52:38 52dc419b0ee2: Download complete 02:52:38 4657fd5d0bcf: Verifying Checksum 02:52:38 4657fd5d0bcf: Download complete 02:52:38 df9b9388f04a: Verifying Checksum 02:52:38 df9b9388f04a: Download complete 02:52:38 6ad1cebc031e: Verifying Checksum 02:52:38 6ad1cebc031e: Download complete 02:52:38 df9b9388f04a: Pull complete 02:52:38 52dc419b0ee2: Pull complete 02:52:38 25bc292e5bac: Pull complete 02:52:39 114826534d7a: Verifying Checksum 02:52:39 114826534d7a: Download complete 02:52:39 8a3aa393b2d8: Verifying Checksum 02:52:39 8a3aa393b2d8: Download complete 02:52:43 114826534d7a: Pull complete 02:52:43 4657fd5d0bcf: Pull complete 02:52:43 6ad1cebc031e: Pull complete 02:52:45 8a3aa393b2d8: Pull complete 02:52:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:52:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:52:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:45 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:52:54 $ docker top 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 -eo pid,comm [Pipeline] { [Pipeline] echo 02:52:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 02:52:55 + set -o pipefail 02:52:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 02:53:04 02:53:04 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 02:53:04 02:53:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/8001c436-65de-41fa-8636-db0e1c48cdcc 02:53:04 02:53:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:53:04 02:53:04 02:53:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:53:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:53:04 More details here: https://snyk.co/ue1NS [Pipeline] } 02:53:05 $ docker stop --time=1 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 02:53:12 $ docker rm -f --volumes 052b4e849676f518e7fea6ec2709906182056ca9075598893d54b99c5ba1d8a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:53:12 + git log --format=format:%s -1 c30bf90ffa9b09e56965655bf5f596629c9edc5f [Pipeline] sh 02:53:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:13 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:53:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:14 $ docker top d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb -eo pid,comm 02:53:14 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). 02:53:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:14 [ssh-agent] Looking for ssh-agent implementation... 02:53:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:15 $ docker exec d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb ssh-agent 02:53:15 SSH_AUTH_SOCK=/tmp/ssh-ZG6RQd3zA2si/agent.14 02:53:15 SSH_AGENT_PID=21 02:53:15 Running ssh-add (command line suppressed) 02:53:15 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17377434856862410024.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17377434856862410024.key) 02:53:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:15 + git semver tag 02:53:15 2023-10-25 02:53:15,764 [run_tag] DEBUG tag force:False 02:53:15 2023-10-25 02:53:15,764 [check_head_tag] DEBUG check head tag 02:53:15 2023-10-25 02:53:15,764 [execute] INFO git cat-file --batch-check 02:53:15 2023-10-25 02:53:15,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:53:15 2023-10-25 02:53:15,767 [execute] INFO git cat-file --batch 02:53:15 2023-10-25 02:53:15,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:53:15 2023-10-25 02:53:15,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:15 2023-10-25 02:53:15,774 [execute] INFO git tag -a v3.0.1-dev.7 -m v3.0.1-dev.7 02:53:15 2023-10-25 02:53:15,774 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.7', '-m', 'v3.0.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:53:15 2023-10-25 02:53:15,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:15 3.0.1-dev.7 [Pipeline] } 02:53:15 $ docker exec --env ******** --env ******** d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb ssh-agent -k 02:53:15 unset SSH_AUTH_SOCK; 02:53:15 unset SSH_AGENT_PID; 02:53:15 echo Agent pid 21 killed; 02:53:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:16 + git semver [Pipeline] } 02:53:16 $ docker stop --time=1 d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb 02:53:17 $ docker rm -f --volumes d9c095e49dc15ed079339950a19c8ac0f9bf4ec61e5bfb25020a9ba338f42eeb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:53:18 02:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:53:18 0.23.1-centos7: Pulling from edgex-lftools 02:53:18 ab5ef0e58194: Pulling fs layer 02:53:18 9712f1f96733: Pulling fs layer 02:53:18 63f879dbbcfc: Pulling fs layer 02:53:18 0d9ebad4ef96: Pulling fs layer 02:53:18 e9a5061849ea: Pulling fs layer 02:53:18 d747dcd14b5f: Pulling fs layer 02:53:18 2de7ff778b66: Pulling fs layer 02:53:18 0d9ebad4ef96: Waiting 02:53:18 d747dcd14b5f: Waiting 02:53:18 2de7ff778b66: Waiting 02:53:18 e9a5061849ea: Waiting 02:53:18 9712f1f96733: Verifying Checksum 02:53:18 9712f1f96733: Download complete 02:53:18 63f879dbbcfc: Verifying Checksum 02:53:18 63f879dbbcfc: Download complete 02:53:19 0d9ebad4ef96: Verifying Checksum 02:53:19 0d9ebad4ef96: Download complete 02:53:19 e9a5061849ea: Verifying Checksum 02:53:19 e9a5061849ea: Download complete 02:53:19 d747dcd14b5f: Verifying Checksum 02:53:19 d747dcd14b5f: Download complete 02:53:19 ab5ef0e58194: Download complete 02:53:19 2de7ff778b66: Verifying Checksum 02:53:19 2de7ff778b66: Download complete 02:53:22 ab5ef0e58194: Pull complete 02:53:23 9712f1f96733: Pull complete 02:53:24 63f879dbbcfc: Pull complete 02:53:28 0d9ebad4ef96: Pull complete 02:53:28 e9a5061849ea: Pull complete 02:53:28 d747dcd14b5f: Pull complete 02:53:29 2de7ff778b66: Pull complete 02:53:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:53:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:29 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:53:37 $ docker top d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:53:37 provisioning config files... 02:53:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config329381112723321853tmp 02:53:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13918232650283750958tmp 02:53:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14775817465378574469tmp [Pipeline] { [Pipeline] echo 02:53:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:53:37 ---> sigul-configuration.sh 02:53:37 gpg: directory `/root/.gnupg' created 02:53:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:53:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:53:37 gpg: keyring `/root/.gnupg/secring.gpg' created 02:53:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:53:37 gpg: CAST5 encrypted data 02:53:37 gpg: encrypted with 1 passphrase 02:53:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:53:37 + mkdir /home/jenkins 02:53:37 + mkdir /home/jenkins/sigul [Pipeline] sh 02:53:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:53:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:38 ---> sigul-install.sh 02:53:38 Sigul already installed; skipping installation. [Pipeline] sh 02:53:38 + git tag --list 02:53:38 v0.0.0 02:53:38 v0.0.1-dev.1 02:53:38 v0.0.1-dev.2 02:53:38 v0.0.1-dev.3 02:53:38 v0.0.1-dev.4 02:53:38 v3.0.0 02:53:38 v3.0.1-dev.1 02:53:38 v3.0.1-dev.2 02:53:38 v3.0.1-dev.3 02:53:38 v3.0.1-dev.4 02:53:38 v3.0.1-dev.5 02:53:38 v3.0.1-dev.6 02:53:38 v3.0.1-dev.7 [Pipeline] sh 02:53:39 + lftools sign git-tag v3.0.1-dev.7 02:53:39 Signing Git tag with Sigul... 02:53:39 Signing v3.0.1-dev.7 [Pipeline] echo 02:53:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:53:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:53:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:53:40 $ docker stop --time=1 d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 02:53:41 $ docker rm -f --volumes d8d7406c64aed08d7da7c4ce0caa35d88109ff28e7503aeafbf3b9075a23faa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:53:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:42 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:42 $ docker top 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 -eo pid,comm 02:53:42 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). 02:53:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:42 [ssh-agent] Looking for ssh-agent implementation... 02:53:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:42 $ docker exec 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 ssh-agent 02:53:42 SSH_AUTH_SOCK=/tmp/ssh-Mq73S5romnOH/agent.31 02:53:42 SSH_AGENT_PID=37 02:53:42 Running ssh-add (command line suppressed) 02:53:42 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14379791420041749217.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14379791420041749217.key) 02:53:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:43 + git semver bump pre 02:53:43 2023-10-25 02:53:43,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:43 2023-10-25 02:53:43,428 [bump_version] DEBUG bumping version:3.0.1-dev.7 on axis:pre with prefix:dev 02:53:43 2023-10-25 02:53:43,428 [bump_version] DEBUG bumped version:3.0.1-dev.8 02:53:43 2023-10-25 02:53:43,428 [write_version] DEBUG write version:3.0.1-dev.8 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 02:53:43 2023-10-25 02:53:43,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:43 2023-10-25 02:53:43,428 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:43 2023-10-25 02:53:43,430 [execute] INFO git cat-file --batch-check 02:53:43 2023-10-25 02:53:43,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:43 2023-10-25 02:53:43,435 [execute] INFO git cat-file --batch 02:53:43 2023-10-25 02:53:43,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:43 2023-10-25 02:53:43,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:43 3.0.1-dev.8 [Pipeline] } 02:53:43 $ docker exec --env ******** --env ******** 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 ssh-agent -k 02:53:43 unset SSH_AUTH_SOCK; 02:53:43 unset SSH_AGENT_PID; 02:53:43 echo Agent pid 37 killed; 02:53:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:43 + git semver [Pipeline] } 02:53:44 $ docker stop --time=1 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 02:53:45 $ docker rm -f --volumes 3d1bc72bebb8ca98c2c93ba2a4b1415ebf3555502d9881e5afa33bfcc77c30f6 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:46 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:46 $ docker top 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 -eo pid,comm 02:53:46 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). 02:53:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:46 [ssh-agent] Looking for ssh-agent implementation... 02:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:46 $ docker exec 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 ssh-agent 02:53:46 SSH_AUTH_SOCK=/tmp/ssh-ONlQWwvA0xGt/agent.33 02:53:46 SSH_AGENT_PID=39 02:53:46 Running ssh-add (command line suppressed) 02:53:46 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_217549549451163653.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_217549549451163653.key) 02:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:47 + git semver push 02:53:47 2023-10-25 02:53:47,490 [run_push] DEBUG push 02:53:47 2023-10-25 02:53:47,491 [execute] INFO git cat-file --batch-check 02:53:47 2023-10-25 02:53:47,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:53:47 2023-10-25 02:53:47,494 [execute] INFO git rev-list 4a68e9ee9bddca5a1f5cc4949ac2c64ebc67982b -- 02:53:47 2023-10-25 02:53:47,494 [execute] DEBUG Popen(['git', 'rev-list', '4a68e9ee9bddca5a1f5cc4949ac2c64ebc67982b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:53:47 2023-10-25 02:53:47,499 [execute] INFO git fetch -v origin 02:53:47 2023-10-25 02:53:47,499 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 02:53:48 2023-10-25 02:53:48,045 [run_push] DEBUG no remote changes detected 02:53:48 2023-10-25 02:53:48,045 [execute] INFO git push origin semver 02:53:48 2023-10-25 02:53:48,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:53:49 2023-10-25 02:53:48,913 [run_push] DEBUG push all version tags 02:53:49 2023-10-25 02:53:48,914 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:53:49 2023-10-25 02:53:48,914 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:53:49 2023-10-25 02:53:49,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:53:49 3.0.1-dev.8 [Pipeline] } 02:53:49 $ docker exec --env ******** --env ******** 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 ssh-agent -k 02:53:50 unset SSH_AUTH_SOCK; 02:53:50 unset SSH_AGENT_PID; 02:53:50 echo Agent pid 39 killed; 02:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:50 + git semver [Pipeline] } 02:53:50 $ docker stop --time=1 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 02:53:51 $ docker rm -f --volumes 1638a25bd64d529ef30cabd62872f71cc85960fff8b34eaa2846feb2ef4d16d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 02:53:52 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 02:53:52 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:53:52 total 16 02:53:52 drwxr-xr-x 3 root root 4096 Oct 25 02:45 . 02:53:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:53 .. 02:53:52 drwxr-xr-x 2 root root 4096 Oct 25 02:45 cost 02:53:52 -rw-r--r-- 1 root root 82 Oct 25 02:45 cost.csv 02:53:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 02:53:52 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:53:52 total 16 02:53:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:45 . 02:53:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 02:53 .. 02:53:52 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 02:45 cost 02:53:52 -rw-r--r-- 1 jenkins jenkins 82 Oct 25 02:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:53:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:53 ---> package-listing.sh 02:53:53 ++ facter osfamily 02:53:53 ++ tr '[:upper:]' '[:lower:]' 02:53:53 + OS_FAMILY=debian 02:53:53 + workspace=/w/workspace/edgexfoundry_device-uart_main 02:53:53 + START_PACKAGES=/tmp/packages_start.txt 02:53:53 + END_PACKAGES=/tmp/packages_end.txt 02:53:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:53 + PACKAGES=/tmp/packages_start.txt 02:53:53 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:53:53 + PACKAGES=/tmp/packages_end.txt 02:53:53 + case "${OS_FAMILY}" in 02:53:53 + dpkg -l 02:53:53 + grep '^ii' 02:53:53 + '[' -f /tmp/packages_start.txt ']' 02:53:53 + '[' -f /tmp/packages_end.txt ']' 02:53:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:53 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:53:53 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 02:53:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 02:53:53 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:53:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:54 prd-ubuntu20.04-docker-8c-8g-10370 does not seem to be running inside a container 02:53:54 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:53:55 $ docker top ef6e41fcb7c1b889b95e892c17fcb20a86709f0d8f65fff1d5ca11ed507c6f87 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:55 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:55 + mkdir -p /var/log/sysstat [Pipeline] sh 02:53:56 + ls /var/log/sa-host 02:53:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:56 provisioning config files... 02:53:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2705011996016843825tmp [Pipeline] { [Pipeline] echo 02:53:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:56 ---> create-netrc.sh [Pipeline] } 02:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:53:56 ---> python-tools-install.sh [Pipeline] echo 02:53:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:57 ---> sudo-logs.sh 02:53:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:57 ---> job-cost.sh 02:53:57 lf-activate-venv: SKIPPING 02:53:57 DEBUG: total: 0.2199999988079071 02:53:57 INFO: Retrieving Stack Cost... 02:53:57 INFO: Retrieving Pricing Info for: v3-standard-8 02:53:58 INFO: Archiving Costs [Pipeline] echo 02:53:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:58 ---> logs-deploy.sh 02:53:58 lf-activate-venv: SKIPPING 02:53:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/13 02:53:58 INFO: archiving workspace using pattern(s): 02:53:59 Archives upload complete. 02:53:59 INFO: archiving logs to Nexus 02:54:00 ---> uname -a: 02:54:00 Linux prd-ubuntu20-04-docker-8c-8g-10370 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:54:00 02:54:00 02:54:00 ---> lscpu: 02:54:00 Architecture: x86_64 02:54:00 CPU op-mode(s): 32-bit, 64-bit 02:54:00 Byte Order: Little Endian 02:54:00 Address sizes: 40 bits physical, 48 bits virtual 02:54:00 CPU(s): 8 02:54:00 On-line CPU(s) list: 0-7 02:54:00 Thread(s) per core: 1 02:54:00 Core(s) per socket: 1 02:54:00 Socket(s): 8 02:54:00 NUMA node(s): 1 02:54:00 Vendor ID: AuthenticAMD 02:54:00 CPU family: 23 02:54:00 Model: 49 02:54:00 Model name: AMD EPYC-Rome Processor 02:54:00 Stepping: 0 02:54:00 CPU MHz: 2800.000 02:54:00 BogoMIPS: 5600.00 02:54:00 Virtualization: AMD-V 02:54:00 Hypervisor vendor: KVM 02:54:00 Virtualization type: full 02:54:00 L1d cache: 256 KiB 02:54:00 L1i cache: 256 KiB 02:54:00 L2 cache: 4 MiB 02:54:00 L3 cache: 128 MiB 02:54:00 NUMA node0 CPU(s): 0-7 02:54:00 Vulnerability Itlb multihit: Not affected 02:54:00 Vulnerability L1tf: Not affected 02:54:00 Vulnerability Mds: Not affected 02:54:00 Vulnerability Meltdown: Not affected 02:54:00 Vulnerability Mmio stale data: Not affected 02:54:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:54:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:54:00 Vulnerability Srbds: Not affected 02:54:00 Vulnerability Tsx async abort: Not affected 02:54:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:54:00 02:54:00 02:54:00 ---> nproc: 02:54:00 8 02:54:00 02:54:00 02:54:00 ---> df -h: 02:54:00 Filesystem Size Used Avail Use% Mounted on 02:54:00 overlay 155G 13G 143G 9% / 02:54:00 tmpfs 64M 0 64M 0% /dev 02:54:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:54:00 shm 64M 0 64M 0% /dev/shm 02:54:00 /dev/vda1 155G 13G 143G 9% /facter-os 02:54:00 02:54:00 02:54:00 ---> sar -b -r -n DEV: 02:54:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10370) 10/25/23 _x86_64_ (8 CPU) 02:54:00 02:54:00 02:41:48 LINUX RESTART (8 CPU) 02:54:00 02:54:00 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:54:00 02:43:02 166.12 47.84 118.28 0.00 5406.03 106626.90 0.00 02:54:00 02:44:01 121.89 0.97 120.93 0.00 13.42 35606.85 0.00 02:54:00 02:45:01 161.01 0.30 160.71 0.00 22.40 35900.82 0.00 02:54:00 02:46:01 113.65 0.03 113.61 0.00 4.00 27812.16 0.00 02:54:00 02:47:01 20.18 8.97 11.21 0.00 2905.52 2525.60 0.00 02:54:00 02:48:01 21.85 2.73 19.11 0.00 2527.58 3818.16 0.00 02:54:00 02:49:01 1.40 0.00 1.40 0.00 0.00 15.19 0.00 02:54:00 02:50:01 1.95 0.00 1.95 0.00 0.00 20.40 0.00 02:54:00 02:51:01 1.45 0.00 1.45 0.00 0.00 15.60 0.00 02:54:00 02:52:01 2.57 0.00 2.57 0.00 0.00 40.26 0.00 02:54:00 02:53:01 40.36 0.20 40.16 0.00 13.33 26904.98 0.00 02:54:00 Average: 59.22 5.56 53.66 0.00 991.67 21732.01 0.00 02:54:00 02:54:00 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:54:00 02:43:02 29288944 31586304 735484 2.24 74220 2500488 1854596 5.47 979472 2247304 388 02:54:00 02:44:01 27780720 31564556 740560 2.25 146940 3783156 1896776 5.59 1196792 3387548 443212 02:54:00 02:45:01 28149992 31525148 775544 2.36 154232 3399740 2072312 6.11 1274384 2969624 152 02:54:00 02:46:01 27638084 31547448 750960 2.28 164756 3875076 1766980 5.21 1271740 3430740 516 02:54:00 02:47:01 27454168 31534656 760584 2.31 168588 4033260 1820132 5.36 1371540 3499616 448 02:54:00 02:48:01 27269072 31533032 755140 2.30 172772 4207832 1838324 5.42 1500860 3543824 8 02:54:00 02:49:01 27269108 31533180 754648 2.29 172852 4207832 1838324 5.42 1500860 3543828 8 02:54:00 02:50:01 27276612 31540904 746844 2.27 172928 4207964 1838324 5.42 1493320 3543956 152 02:54:00 02:51:01 27276920 31541308 746464 2.27 173024 4207968 1838324 5.42 1493372 3543960 8 02:54:00 02:52:01 27276720 31541616 746284 2.27 173160 4207940 1838324 5.42 1493172 3544308 4 02:54:00 02:53:01 26075012 31437616 844088 2.57 189280 5198296 1940340 5.72 1694144 4449828 297524 02:54:00 Average: 27523214 31535070 759691 2.31 160250 3984505 1867523 5.50 1388151 3427685 67493 02:54:00 02:54:00 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:54:00 02:43:02 lo 6.87 6.87 0.67 0.67 0.00 0.00 0.00 0.00 02:54:00 02:43:02 docker0 9.95 10.45 0.83 90.37 0.00 0.00 0.00 0.00 02:54:00 02:43:02 ens3 579.50 362.56 5678.28 84.39 0.00 0.00 0.00 0.00 02:54:00 02:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:54:00 02:44:01 docker0 247.47 301.88 19.76 2427.11 0.00 0.00 0.00 0.00 02:54:00 02:44:01 ens3 309.69 251.04 2432.75 26.10 0.00 0.00 0.00 0.00 02:54:00 02:45:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 02:54:00 02:45:01 docker0 1.95 3.95 0.11 30.96 0.00 0.00 0.00 0.00 02:54:00 02:45:01 ens3 61.27 52.26 76.32 92.85 0.00 0.00 0.00 0.00 02:54:00 02:46:01 lo 7.47 7.47 0.74 0.74 0.00 0.00 0.00 0.00 02:54:00 02:46:01 docker0 1.32 2.45 0.08 31.34 0.00 0.00 0.00 0.00 02:54:00 02:46:01 ens3 162.34 117.81 2638.53 241.06 0.00 0.00 0.00 0.00 02:54:00 02:47:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 02:54:00 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:47:01 ens3 39.96 18.95 652.76 1.48 0.00 0.00 0.00 0.00 02:54:00 02:48:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:54:00 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:48:01 ens3 75.34 27.46 1373.82 2.11 0.00 0.00 0.00 0.00 02:54:00 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:49:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:54:00 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:50:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:54:00 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:51:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:54:00 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:00 02:52:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:54:00 02:53:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 02:54:00 02:53:01 docker0 63.87 87.59 4.82 1026.03 0.00 0.00 0.00 0.00 02:54:00 02:53:01 ens3 211.55 134.06 4999.73 17.13 0.00 0.00 0.00 0.00 02:54:00 02:53:01 vethfe2ef80 63.87 87.70 5.69 1026.04 0.00 0.00 0.00 0.08 02:54:00 Average: lo 1.54 1.54 0.15 0.15 0.00 0.00 0.00 0.00 02:54:00 Average: docker0 29.17 36.54 2.30 324.61 0.00 0.00 0.00 0.00 02:54:00 Average: ens3 130.63 87.42 1621.68 42.31 0.00 0.00 0.00 0.00 02:54:00 Average: vethfe2ef80 5.82 7.98 0.52 93.42 0.00 0.00 0.00 0.01 02:54:00 02:54:00 02:54:00 ---> sar -P ALL: 02:54:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10370) 10/25/23 _x86_64_ (8 CPU) 02:54:00 02:54:00 02:41:48 LINUX RESTART (8 CPU) 02:54:00 02:54:00 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:54:00 02:43:02 all 8.95 0.00 3.08 4.00 0.06 83.91 02:54:00 02:43:02 0 7.62 0.00 2.43 1.57 0.05 88.34 02:54:00 02:43:02 1 8.96 0.00 3.48 0.52 0.05 86.98 02:54:00 02:43:02 2 9.77 0.00 2.47 4.05 0.05 83.67 02:54:00 02:43:02 3 10.14 0.00 3.09 0.34 0.08 86.36 02:54:00 02:43:02 4 8.02 0.00 3.04 16.16 0.10 72.68 02:54:00 02:43:02 5 9.76 0.00 4.65 2.72 0.07 82.80 02:54:00 02:43:02 6 10.27 0.00 2.81 6.33 0.03 80.55 02:54:00 02:43:02 7 7.04 0.00 2.65 0.37 0.05 89.89 02:54:00 02:44:01 all 4.55 0.00 2.21 5.17 0.06 88.00 02:54:00 02:44:01 0 4.16 0.00 1.89 0.75 0.07 93.13 02:54:00 02:44:01 1 4.36 0.00 2.06 0.39 0.03 93.16 02:54:00 02:44:01 2 4.27 0.00 2.35 6.40 0.03 86.95 02:54:00 02:44:01 3 4.80 0.00 2.24 1.08 0.07 91.81 02:54:00 02:44:01 4 4.86 0.00 2.47 0.49 0.07 92.11 02:54:00 02:44:01 5 4.90 0.00 1.94 0.72 0.07 92.37 02:54:00 02:44:01 6 4.42 0.00 2.10 0.55 0.05 92.89 02:54:00 02:44:01 7 4.69 0.00 2.63 31.06 0.07 61.55 02:54:00 02:45:01 all 36.07 0.00 4.92 4.01 0.12 54.88 02:54:00 02:45:01 0 35.26 0.00 5.24 2.78 0.12 56.60 02:54:00 02:45:01 1 35.79 0.00 4.62 2.05 0.10 57.44 02:54:00 02:45:01 2 36.40 0.00 4.86 3.24 0.12 55.38 02:54:00 02:45:01 3 36.34 0.00 5.18 1.31 0.10 57.07 02:54:00 02:45:01 4 36.52 0.00 4.70 5.21 0.10 53.46 02:54:00 02:45:01 5 36.00 0.00 4.84 0.48 0.10 58.58 02:54:00 02:45:01 6 36.21 0.00 5.30 3.93 0.08 54.47 02:54:00 02:45:01 7 36.07 0.00 4.59 13.06 0.20 46.09 02:54:00 02:46:01 all 3.94 0.00 1.65 1.99 0.04 92.38 02:54:00 02:46:01 0 2.80 0.00 1.11 2.38 0.03 93.68 02:54:00 02:46:01 1 4.09 0.00 1.95 11.17 0.03 82.75 02:54:00 02:46:01 2 4.25 0.00 1.97 0.87 0.07 92.84 02:54:00 02:46:01 3 3.90 0.00 1.86 0.03 0.05 94.15 02:54:00 02:46:01 4 4.04 0.00 2.26 0.80 0.05 92.85 02:54:00 02:46:01 5 4.52 0.00 1.14 0.12 0.03 94.19 02:54:00 02:46:01 6 3.13 0.00 1.74 0.39 0.03 94.70 02:54:00 02:46:01 7 4.77 0.00 1.17 0.22 0.03 93.80 02:54:00 02:47:01 all 0.47 0.00 0.22 1.28 0.01 98.03 02:54:00 02:47:01 0 0.22 0.00 0.20 8.30 0.02 91.26 02:54:00 02:47:01 1 1.02 0.00 0.32 0.78 0.02 97.87 02:54:00 02:47:01 2 0.37 0.00 0.13 0.23 0.02 99.25 02:54:00 02:47:01 3 0.28 0.00 0.12 0.02 0.02 99.57 02:54:00 02:47:01 4 0.25 0.00 0.32 0.83 0.00 98.60 02:54:00 02:47:01 5 0.40 0.00 0.17 0.02 0.00 99.42 02:54:00 02:47:01 6 0.52 0.00 0.32 0.07 0.02 99.08 02:54:00 02:47:01 7 0.67 0.00 0.17 0.00 0.00 99.17 02:54:00 02:48:01 all 0.87 0.00 0.37 0.63 0.02 98.11 02:54:00 02:48:01 0 0.72 0.00 0.30 1.97 0.00 97.02 02:54:00 02:48:01 1 1.84 0.00 0.33 0.98 0.02 96.83 02:54:00 02:48:01 2 0.37 0.00 0.32 0.08 0.02 99.21 02:54:00 02:48:01 3 1.70 0.00 0.62 0.02 0.02 97.65 02:54:00 02:48:01 4 0.77 0.00 0.20 0.67 0.02 98.35 02:54:00 02:48:01 5 0.53 0.00 0.55 1.08 0.03 97.80 02:54:00 02:48:01 6 0.62 0.00 0.28 0.12 0.02 98.97 02:54:00 02:48:01 7 0.40 0.00 0.38 0.13 0.02 99.07 02:54:00 02:49:01 all 0.01 0.00 0.01 0.01 0.01 99.96 02:54:00 02:49:01 0 0.00 0.00 0.02 0.00 0.02 99.97 02:54:00 02:49:01 1 0.00 0.00 0.00 0.05 0.02 99.93 02:54:00 02:49:01 2 0.03 0.00 0.03 0.00 0.02 99.92 02:54:00 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:54:00 02:49:01 4 0.03 0.00 0.02 0.00 0.00 99.95 02:54:00 02:49:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:49:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:54:00 02:49:01 7 0.00 0.00 0.02 0.00 0.02 99.97 02:54:00 02:50:01 all 0.02 0.00 0.01 0.01 0.00 99.96 02:54:00 02:50:01 0 0.03 0.00 0.00 0.00 0.00 99.97 02:54:00 02:50:01 1 0.02 0.00 0.00 0.03 0.00 99.95 02:54:00 02:50:01 2 0.03 0.00 0.02 0.02 0.02 99.92 02:54:00 02:50:01 3 0.02 0.00 0.00 0.00 0.02 99.97 02:54:00 02:50:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:50:01 5 0.03 0.00 0.02 0.00 0.00 99.95 02:54:00 02:50:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:50:01 7 0.02 0.00 0.03 0.00 0.00 99.95 02:54:00 02:51:01 all 0.12 0.00 0.01 0.00 0.01 99.85 02:54:00 02:51:01 0 0.88 0.00 0.03 0.00 0.02 99.07 02:54:00 02:51:01 1 0.00 0.00 0.02 0.03 0.00 99.95 02:54:00 02:51:01 2 0.00 0.00 0.02 0.00 0.02 99.97 02:54:00 02:51:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:54:00 02:51:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:54:00 02:51:01 5 0.03 0.00 0.03 0.00 0.03 99.90 02:54:00 02:51:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:54:00 02:51:01 7 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:52:01 all 0.17 0.00 0.01 0.11 0.04 99.68 02:54:00 02:52:01 0 1.19 0.00 0.00 0.00 0.08 98.73 02:54:00 02:52:01 1 0.00 0.00 0.02 0.28 0.13 99.57 02:54:00 02:52:01 2 0.02 0.00 0.02 0.63 0.00 99.33 02:54:00 02:52:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:52:01 4 0.03 0.00 0.00 0.00 0.02 99.95 02:54:00 02:52:01 5 0.05 0.00 0.02 0.00 0.05 99.88 02:54:00 02:52:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:54:00 02:52:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:54:00 02:53:01 all 3.94 0.00 1.53 1.97 0.03 92.53 02:54:00 02:53:01 0 3.61 0.00 0.94 0.00 0.02 95.43 02:54:00 02:53:01 1 4.22 0.00 1.63 15.32 0.03 78.80 02:54:00 02:53:01 2 3.57 0.00 1.37 0.07 0.03 94.96 02:54:00 02:53:01 3 5.10 0.00 1.78 0.07 0.03 93.02 02:54:00 02:53:01 4 3.77 0.00 2.03 0.02 0.03 94.15 02:54:00 02:53:01 5 4.79 0.00 2.11 0.18 0.05 92.86 02:54:00 02:53:01 6 3.33 0.00 1.14 0.08 0.02 95.43 02:54:00 02:53:01 7 3.15 0.00 1.22 0.03 0.02 95.57 02:54:00 02:54:00 Average: CPU %user %nice %system %iowait %steal %idle 02:54:00 Average: all 5.33 0.00 1.27 1.73 0.04 91.63 02:54:00 Average: 0 5.11 0.00 1.10 1.61 0.04 92.14 02:54:00 Average: 1 5.46 0.00 1.31 2.87 0.04 90.33 02:54:00 Average: 2 5.34 0.00 1.22 1.40 0.04 92.00 02:54:00 Average: 3 5.61 0.00 1.34 0.26 0.04 92.75 02:54:00 Average: 4 5.26 0.00 1.36 2.18 0.04 91.16 02:54:00 Average: 5 5.50 0.00 1.40 0.48 0.04 92.59 02:54:00 Average: 6 5.27 0.00 1.24 1.03 0.02 92.43 02:54:00 Average: 7 5.13 0.00 1.16 4.01 0.04 89.66 02:54:00 02:54:00 02:54:00