Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 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-ssh5194116132695106489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7754250244199132952.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh7191029399981610355.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5751245128465766639.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-ssh8304020851155872520.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25117 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 > 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 Avoid second fetch Checking out Revision 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 (main) Commit message: "Merge pull request #39 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" > git config core.sparsecheckout # timeout=10 > git checkout -f 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 > git rev-list --no-walk ade12f3c691c7cb550b5af6dbdc2b20084fb8479 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:28:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:28:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:28:43 ========================================================= 02:28:43 EdgeX Global Pipelines Version Info 02:28:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:28:44 ------------------- 02:28:44 stable info: 02:28:44 ------------------- 02:28:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:28:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:44 Message: update stable to v1.0.258 02:28:44 ------------------- 02:28:44 experimental info: 02:28:44 ------------------- 02:28:44 Commited By: **** collab-it+edgex@linuxfoundation.org 02:28:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:44 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:28:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 02:28:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 02:28:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ec6d64 [Pipeline] echo 02:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:46 provisioning config files... 02:28:46 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12674651468423511926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:46 ---> ****-login.sh 02:28:46 nexus3.edgexfoundry.org:10001 02:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:46 Configure a credential helper to remove this warning. See 02:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:46 02:28:46 Login Succeeded 02:28:46 nexus3.edgexfoundry.org:10002 02:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:46 Configure a credential helper to remove this warning. See 02:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:46 02:28:46 Login Succeeded 02:28:46 nexus3.edgexfoundry.org:10003 02:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:46 Configure a credential helper to remove this warning. See 02:28:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:46 02:28:46 Login Succeeded 02:28:46 nexus3.edgexfoundry.org:10004 02:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:47 Configure a credential helper to remove this warning. See 02:28:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:47 02:28:47 Login Succeeded 02:28:47 ****.io 02:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:47 Configure a credential helper to remove this warning. See 02:28:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:47 02:28:47 Login Succeeded 02:28:47 ---> ****-login.sh ends [Pipeline] } 02:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:28:47 + git rev-list -1 --merges 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2~1..8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] echo 02:28:47 -----------> git rev-list -1 --merges 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2~1..8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:28:47 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [false] [Pipeline] sh 02:28:48 + git log --format=format:%s -1 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] echo 02:28:48 ========================================================= 02:28:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:48 + git log --format=format:%s -1 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] echo 02:28:48 [semverPrep] GIT_COMMIT: 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2, Commit Message: Merge pull request #39 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4 [Pipeline] echo 02:28:48 [semverPrep] This is not a build commit. [Pipeline] sh 02:28:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:28:49 + grep -v github /etc/ssh/ssh_known_hosts 02:28:49 + [ -e /tmp/ssh_known_hosts ] 02:28:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:28:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:28:49 + sudo tee -a /etc/ssh/ssh_known_hosts 02:28:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:49 02:28:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:49 0.1.4: Pulling from edgex-devops/py-git-semver 02:28:49 b85a868b505f: Pulling fs layer 02:28:49 e2be974225ed: Pulling fs layer 02:28:49 339a4e72a1f5: Pulling fs layer 02:28:49 988bab9f4d93: Pulling fs layer 02:28:49 1469e6f7b9e6: Pulling fs layer 02:28:49 eaf3925da568: Pulling fs layer 02:28:49 bab4dde63d76: Pulling fs layer 02:28:49 bde34c3a00c8: Pulling fs layer 02:28:49 b352a97aabf1: Pulling fs layer 02:28:49 4872d77fe225: Pulling fs layer 02:28:49 5851b861e8e6: Pulling fs layer 02:28:49 eaf3925da568: Waiting 02:28:49 bab4dde63d76: Waiting 02:28:49 1469e6f7b9e6: Waiting 02:28:49 988bab9f4d93: Waiting 02:28:49 b352a97aabf1: Waiting 02:28:49 4872d77fe225: Waiting 02:28:49 5851b861e8e6: Waiting 02:28:49 bde34c3a00c8: Waiting 02:28:49 e2be974225ed: Download complete 02:28:49 988bab9f4d93: Verifying Checksum 02:28:49 988bab9f4d93: Download complete 02:28:49 1469e6f7b9e6: Verifying Checksum 02:28:49 1469e6f7b9e6: Download complete 02:28:49 eaf3925da568: Verifying Checksum 02:28:49 eaf3925da568: Download complete 02:28:50 339a4e72a1f5: Verifying Checksum 02:28:50 339a4e72a1f5: Download complete 02:28:50 bde34c3a00c8: Verifying Checksum 02:28:50 bde34c3a00c8: Download complete 02:28:50 b352a97aabf1: Verifying Checksum 02:28:50 b352a97aabf1: Download complete 02:28:50 4872d77fe225: Verifying Checksum 02:28:50 4872d77fe225: Download complete 02:28:50 5851b861e8e6: Download complete 02:28:50 b85a868b505f: Verifying Checksum 02:28:50 b85a868b505f: Download complete 02:28:50 bab4dde63d76: Verifying Checksum 02:28:50 bab4dde63d76: Download complete 02:28:51 b85a868b505f: Pull complete 02:28:51 e2be974225ed: Pull complete 02:28:51 339a4e72a1f5: Pull complete 02:28:51 988bab9f4d93: Pull complete 02:28:52 1469e6f7b9e6: Pull complete 02:28:52 eaf3925da568: Pull complete 02:28:54 bab4dde63d76: Pull complete 02:28:54 bde34c3a00c8: Pull complete 02:28:54 b352a97aabf1: Pull complete 02:28:54 4872d77fe225: Pull complete 02:28:54 5851b861e8e6: Pull complete 02:28:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:55 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:28:55 $ 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:28:59 $ docker top 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 -eo pid,comm 02:28:59 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:28:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:59 [ssh-agent] Looking for ssh-agent implementation... 02:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:59 $ docker exec 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 ssh-agent 02:29:00 SSH_AUTH_SOCK=/tmp/ssh-0TQKxMBlJf1r/agent.32 02:29:00 SSH_AGENT_PID=38 02:29:00 Running ssh-add (command line suppressed) 02:29:00 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_771838674339369588.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_771838674339369588.key) 02:29:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:29:00 + git tag --points-at HEAD [Pipeline] } 02:29:00 $ docker exec --env ******** --env ******** 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 ssh-agent -k 02:29:00 unset SSH_AUTH_SOCK; 02:29:00 unset SSH_AGENT_PID; 02:29:00 echo Agent pid 38 killed; 02:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:29:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:29:00 [ssh-agent] Looking for ssh-agent implementation... 02:29:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:29:00 $ docker exec 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 ssh-agent 02:29:00 SSH_AUTH_SOCK=/tmp/ssh-Qgm2Rw7ATlk6/agent.70 02:29:00 SSH_AGENT_PID=76 02:29:00 Running ssh-add (command line suppressed) 02:29:01 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15003645015830815033.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15003645015830815033.key) 02:29:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:29:01 + git semver init 02:29:01 2023-12-15 02:29:01,550 [run_init] DEBUG init version:0.0.0 force:False 02:29:01 2023-12-15 02:29:01,551 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 02:29:01 2023-12-15 02:29:01,551 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 02:29:01 2023-12-15 02:29:01,552 [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:29:03 2023-12-15 02:29:02,876 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 02:29:03 2023-12-15 02:29:02,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 02:29:03 2023-12-15 02:29:02,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:29:03 2023-12-15 02:29:02,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:29:03 3.0.1-dev.16 [Pipeline] } 02:29:03 $ docker exec --env ******** --env ******** 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 ssh-agent -k 02:29:03 unset SSH_AUTH_SOCK; 02:29:03 unset SSH_AGENT_PID; 02:29:03 echo Agent pid 76 killed; 02:29:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:29:03 + git semver [Pipeline] } 02:29:03 $ docker stop --time=1 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 02:29:05 $ docker rm -f --volumes 44c2a5453e5545990a8aaa40bbcd8baf4468cb527244470dbf5b87694ccd6d31 [Pipeline] // withDockerContainer [Pipeline] sh 02:29:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:29:05 Stashed 1 file(s) [Pipeline] echo 02:29:05 [edgeXSemver]: initialized semver on version 3.0.1-dev.16 [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:29:06 provisioning config files... 02:29:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13995648474562306009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:06 ---> ****-login.sh 02:29:06 nexus3.edgexfoundry.org:10001 02:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:06 Configure a credential helper to remove this warning. See 02:29:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:06 02:29:06 Login Succeeded 02:29:06 nexus3.edgexfoundry.org:10002 02:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:06 Configure a credential helper to remove this warning. See 02:29:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:06 02:29:06 Login Succeeded 02:29:06 nexus3.edgexfoundry.org:10003 02:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:06 Configure a credential helper to remove this warning. See 02:29:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:06 02:29:06 Login Succeeded 02:29:06 nexus3.edgexfoundry.org:10004 02:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:06 Configure a credential helper to remove this warning. See 02:29:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:06 02:29:06 Login Succeeded 02:29:06 ****.io 02:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:07 Configure a credential helper to remove this warning. See 02:29:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:07 02:29:07 Login Succeeded 02:29:07 ---> ****-login.sh ends [Pipeline] } 02:29:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:07 ========================================================= 02:29:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:29:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:07 + 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:29:07 Sending build context to Docker daemon 23.04MB 02:29:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:29:07 Step 2/12 : FROM ${BASE} AS builder 02:29:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:29:08 7264a8db6415: Pulling fs layer 02:29:08 c4d48a809fc2: Pulling fs layer 02:29:08 4f1c88b9dad5: Pulling fs layer 02:29:08 ad3a456e5733: Pulling fs layer 02:29:08 69c7f0334f64: Pulling fs layer 02:29:08 1f1c1a5573a3: Pulling fs layer 02:29:08 ce7588e14bc9: Pulling fs layer 02:29:08 b5e4710f87ac: Pulling fs layer 02:29:08 ad3a456e5733: Waiting 02:29:08 69c7f0334f64: Waiting 02:29:08 1f1c1a5573a3: Waiting 02:29:08 ce7588e14bc9: Waiting 02:29:08 b5e4710f87ac: Waiting 02:29:08 c4d48a809fc2: Download complete 02:29:08 ad3a456e5733: Download complete 02:29:08 69c7f0334f64: Verifying Checksum 02:29:08 69c7f0334f64: Download complete 02:29:08 7264a8db6415: Verifying Checksum 02:29:08 7264a8db6415: Download complete 02:29:08 1f1c1a5573a3: Verifying Checksum 02:29:08 1f1c1a5573a3: Download complete 02:29:08 7264a8db6415: Pull complete 02:29:08 b5e4710f87ac: Verifying Checksum 02:29:08 b5e4710f87ac: Download complete 02:29:08 c4d48a809fc2: Pull complete 02:29:08 4f1c88b9dad5: Verifying Checksum 02:29:08 4f1c88b9dad5: Download complete 02:29:09 ce7588e14bc9: Verifying Checksum 02:29:09 ce7588e14bc9: Download complete 02:29:12 4f1c88b9dad5: Pull complete 02:29:12 ad3a456e5733: Pull complete 02:29:12 69c7f0334f64: Pull complete 02:29:12 1f1c1a5573a3: Pull complete 02:29:15 ce7588e14bc9: Pull complete 02:29:15 b5e4710f87ac: Pull complete 02:29:15 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:29:15 ---> 88b5674ff536 02:29:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:29:21 Still waiting to schedule task 02:29:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:29:22 ---> Running in 5d7194573ad6 02:29:22 Removing intermediate container 5d7194573ad6 02:29:22 ---> 6c983dff1a85 02:29:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:29:22 ---> Running in 586846fc7f4c 02:29:22 Removing intermediate container 586846fc7f4c 02:29:22 ---> d731044f7d09 02:29:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:29:22 ---> Running in a9406491cde4 02:29:22 Removing intermediate container a9406491cde4 02:29:22 ---> 548d1d4a8f66 02:29:22 Step 6/12 : WORKDIR /device-uart 02:29:22 ---> Running in aa677d15cbfa 02:29:22 Removing intermediate container aa677d15cbfa 02:29:22 ---> c53db5638b2f 02:29:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:29:22 ---> Running in f3b40536b95d 02:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:29:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:29:22 (2/4) Installing libedit (20221030.3.1-r1) 02:29:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:29:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:29:22 Executing busybox-1.36.1-r5.trigger 02:29:22 OK: 268 MiB in 56 packages 02:29:22 Removing intermediate container f3b40536b95d 02:29:22 ---> a65f106a4b62 02:29:22 Step 8/12 : COPY go.mod vendor* ./ 02:29:23 ---> 27350c0af948 02:29:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:23 ---> Running in 4d4dfd50f896 02:30:09 Removing intermediate container 4d4dfd50f896 02:30:09 ---> 021aec99161b 02:30:09 Step 10/12 : COPY . . 02:30:09 ---> 9c529cd236af 02:30:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:09 ---> Running in 5430403263ae 02:30:09 Removing intermediate container 5430403263ae 02:30:09 ---> a3aaa0087dc3 02:30:09 Step 12/12 : RUN ${MAKE} 02:30:09 ---> Running in f7f770708a40 02:30:09 noop 02:30:09 Removing intermediate container f7f770708a40 02:30:09 ---> 9e9c7309410c 02:30:09 Successfully built 9e9c7309410c 02:30:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:10 + docker inspect -f . ci-base-image-x86_64 02:30:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:10 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:30:10 $ 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:30:10 $ docker top fe4e701f6fd5776d28c9d977c7eead6b6fdda547b4036e592a3eee1515d7b001 -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:11 + go version 02:30:11 go version go1.21.0 linux/amd64 [Pipeline] } 02:30:11 $ docker stop --time=1 fe4e701f6fd5776d28c9d977c7eead6b6fdda547b4036e592a3eee1515d7b001 02:30:12 $ docker rm -f --volumes fe4e701f6fd5776d28c9d977c7eead6b6fdda547b4036e592a3eee1515d7b001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:13 + docker inspect -f . ci-base-image-x86_64 02:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:13 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:30:13 $ 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:30:13 $ docker top 0171694c0ae5c96cd7db326078943c52a676e186da59a99e4f23932644803c0c -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 02:30:14 + make test 02:30:14 go test ./... -coverprofile=coverage.out 02:30:15 ? github.com/edgexfoundry/device-uart [no test files] 02:30:27 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:30:27 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:30:33 go vet ./... 02:30:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:30:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:30:36 ./bin/test-attribution-txt.sh [Pipeline] echo 02:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:30:36 $ docker stop --time=1 0171694c0ae5c96cd7db326078943c52a676e186da59a99e4f23932644803c0c 02:30:40 $ docker rm -f --volumes 0171694c0ae5c96cd7db326078943c52a676e186da59a99e4f23932644803c0c [Pipeline] // withDockerContainer [Pipeline] sh 02:30:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:30:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:30:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:30:41 + ls -al . 02:30:41 total 156 02:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:30 . 02:30:41 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:28 .. 02:30:41 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:28 .dockerignore 02:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:30 .git 02:30:41 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 .github 02:30:41 -rw-rw-r-- 1 jenkins jenkins 343 Dec 15 02:28 .gitignore 02:30:41 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:28 .golangci.yml 02:30:41 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:29 .semver 02:30:41 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 15 02:28 Attribution.txt 02:30:41 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 15 02:28 CHANGELOG.md 02:30:41 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 15 02:28 Dockerfile 02:30:41 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:28 GOVERNANCE.md 02:30:41 -rw-rw-r-- 1 jenkins jenkins 675 Dec 15 02:28 Jenkinsfile 02:30:41 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:28 LICENSE 02:30:41 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 15 02:28 Makefile 02:30:41 -rw-rw-r-- 1 jenkins jenkins 617 Dec 15 02:28 OWNERS.md 02:30:41 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 15 02:28 README.md 02:30:41 -rw-rw-r-- 1 jenkins jenkins 12 Dec 15 02:29 VERSION 02:30:41 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:28 bin 02:30:41 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 cmd 02:30:41 -rw-r--r-- 1 jenkins jenkins 10 Dec 15 02:30 coverage.out 02:30:41 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 15 02:28 go.mod 02:30:41 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 15 02:28 go.sum 02:30:41 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 internal 02:30:41 -rw-rw-r-- 1 jenkins jenkins 209 Dec 15 02:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:42 + 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=8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 --label arch=amd64 --label version=3.0.1-dev.16 . 02:30:42 Sending build context to Docker daemon 23.05MB 02:30:42 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:30:42 Step 2/26 : FROM ${BASE} AS builder 02:30:42 ---> 9e9c7309410c 02:30:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:30:42 ---> Running in 0c160b510722 02:30:42 Removing intermediate container 0c160b510722 02:30:42 ---> 8e2bb266245b 02:30:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:30:42 ---> Running in 29ed72a08d19 02:30:42 Removing intermediate container 29ed72a08d19 02:30:42 ---> 4a324edc4ae9 02:30:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:30:42 ---> Running in 79f38083cb56 02:30:42 Removing intermediate container 79f38083cb56 02:30:42 ---> ab8dbea3192f 02:30:42 Step 6/26 : WORKDIR /device-uart 02:30:42 ---> Running in 394b33728a57 02:30:42 Removing intermediate container 394b33728a57 02:30:42 ---> e45937f4ccfb 02:30:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:42 ---> Running in 60fd6a6db254 02:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:43 OK: 268 MiB in 56 packages 02:30:43 Removing intermediate container 60fd6a6db254 02:30:43 ---> fab521c6e372 02:30:43 Step 8/26 : COPY go.mod vendor* ./ 02:30:43 ---> dc27b7c0b032 02:30:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:43 ---> Running in f189aeb3eb5c 02:30:44 Removing intermediate container f189aeb3eb5c 02:30:44 ---> 6b1d7d603ccb 02:30:44 Step 10/26 : COPY . . 02:30:45 ---> 55b43f652d2f 02:30:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:45 ---> Running in 22cf842288fe 02:30:45 Removing intermediate container 22cf842288fe 02:30:45 ---> 29416483d595 02:30:45 Step 12/26 : RUN ${MAKE} 02:30:45 ---> Running in 8a333f527e72 02:30:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:31:07 Removing intermediate container 8a333f527e72 02:31:07 ---> 7f4ea0d027fa 02:31:07 Step 13/26 : FROM alpine:3.18 02:31:07 3.18: Pulling from library/alpine 02:31:07 c926b61bad3b: Pulling fs layer 02:31:07 c926b61bad3b: Download complete 02:31:07 c926b61bad3b: Pull complete 02:31:07 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:31:07 Status: Downloaded newer image for alpine:3.18 02:31:07 ---> b541f2080109 02:31:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:31:07 ---> Running in 1360db9f2156 02:31:07 Removing intermediate container 1360db9f2156 02:31:07 ---> 409a1021dc1d 02:31:07 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:31:07 ---> Running in d873f96bfc82 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:07 (1/1) Installing dumb-init (1.2.5-r2) 02:31:07 Executing busybox-1.36.1-r5.trigger 02:31:07 OK: 7 MiB in 16 packages 02:31:07 Removing intermediate container d873f96bfc82 02:31:07 ---> 6732efdb4513 02:31:07 Step 16/26 : RUN apk --no-cache upgrade 02:31:07 ---> Running in d1d5bcc47854 02:31:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:08 OK: 7 MiB in 16 packages 02:31:08 Removing intermediate container d1d5bcc47854 02:31:08 ---> 93118fbe6a4b 02:31:08 Step 17/26 : WORKDIR / 02:31:08 ---> Running in 7c7445d5b383 02:31:08 Removing intermediate container 7c7445d5b383 02:31:08 ---> 9fb39f412be7 02:31:08 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 02:31:08 ---> bac7276fe9cd 02:31:08 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 02:31:09 ---> 1d0d550fe319 02:31:09 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 02:31:10 ---> e2c8c2136358 02:31:10 Step 21/26 : EXPOSE 59995 02:31:10 ---> Running in 6448c6c4debf 02:31:10 Removing intermediate container 6448c6c4debf 02:31:10 ---> 8ef2c5527d0e 02:31:10 Step 22/26 : ENTRYPOINT ["/device-uart"] 02:31:10 ---> Running in 667b51ddae7a 02:31:10 Removing intermediate container 667b51ddae7a 02:31:10 ---> b6db7366a97d 02:31:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:31:10 ---> Running in 1fec2bca25aa 02:31:10 Removing intermediate container 1fec2bca25aa 02:31:10 ---> 9bbe5ab140bb 02:31:10 Step 24/26 : LABEL arch=amd64 02:31:10 ---> Running in 88a63ee5adca 02:31:10 Removing intermediate container 88a63ee5adca 02:31:10 ---> 6ab74ea65d9d 02:31:10 Step 25/26 : LABEL git_sha=8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:31:10 ---> Running in 8459a422f8ac 02:31:10 Removing intermediate container 8459a422f8ac 02:31:10 ---> ed148d9f3968 02:31:10 Step 26/26 : LABEL version=3.0.1-dev.16 02:31:10 ---> Running in 292f9f6021c3 02:31:10 Removing intermediate container 292f9f6021c3 02:31:10 ---> d467883069d1 02:31:10 [Warning] One or more build-args [ARCH] were not consumed 02:31:10 Successfully built d467883069d1 02:31: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:31:10 provisioning config files... 02:31:10 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10597660542777319704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:10 ---> ****-login.sh 02:31:10 nexus3.edgexfoundry.org:10001 02:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:10 Configure a credential helper to remove this warning. See 02:31:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:10 02:31:10 Login Succeeded 02:31:10 nexus3.edgexfoundry.org:10002 02:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:10 Configure a credential helper to remove this warning. See 02:31:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:10 02:31:10 Login Succeeded 02:31:10 nexus3.edgexfoundry.org:10003 02:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:11 Configure a credential helper to remove this warning. See 02:31:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:11 02:31:11 Login Succeeded 02:31:11 nexus3.edgexfoundry.org:10004 02:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:11 Configure a credential helper to remove this warning. See 02:31:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:11 02:31:11 Login Succeeded 02:31:11 ****.io 02:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:11 Configure a credential helper to remove this warning. See 02:31:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:11 02:31:11 Login Succeeded 02:31:11 ---> ****-login.sh ends [Pipeline] } 02:31:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:31:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:11 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 02:31:11 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:31:11 latest 02:31:11 3.0.1-dev.16 02:31:11 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:31:11 main 02:31:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:31:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:31:12 7db83f5fb5e7: Preparing 02:31:12 ccebdd7f68cc: Preparing 02:31:12 2996a1cff3a5: Preparing 02:31:12 68d118be73a9: Preparing 02:31:12 0fdeb9f87319: Preparing 02:31:12 9fe9a137fd00: Preparing 02:31:12 9fe9a137fd00: Waiting 02:31:12 2996a1cff3a5: Pushed 02:31:12 0fdeb9f87319: Pushed 02:31:12 ccebdd7f68cc: Pushed 02:31:12 68d118be73a9: Pushed 02:31:12 9fe9a137fd00: Layer already exists 02:31:15 7db83f5fb5e7: Pushed 02:31:15 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2: digest: sha256:f74dd17a7eb25744015d94f2494743d5a385197db2ff9ee0ddca42a39eeb0b60 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:15 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 02:31:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:31:16 7db83f5fb5e7: Preparing 02:31:16 ccebdd7f68cc: Preparing 02:31:16 2996a1cff3a5: Preparing 02:31:16 68d118be73a9: Preparing 02:31:16 0fdeb9f87319: Preparing 02:31:16 9fe9a137fd00: Preparing 02:31:16 9fe9a137fd00: Waiting 02:31:16 68d118be73a9: Layer already exists 02:31:16 2996a1cff3a5: Layer already exists 02:31:16 0fdeb9f87319: Layer already exists 02:31:16 7db83f5fb5e7: Layer already exists 02:31:16 ccebdd7f68cc: Layer already exists 02:31:16 9fe9a137fd00: Layer already exists 02:31:16 latest: digest: sha256:f74dd17a7eb25744015d94f2494743d5a385197db2ff9ee0ddca42a39eeb0b60 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.16 02:31:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:31:16 7db83f5fb5e7: Preparing 02:31:16 ccebdd7f68cc: Preparing 02:31:16 2996a1cff3a5: Preparing 02:31:16 68d118be73a9: Preparing 02:31:16 0fdeb9f87319: Preparing 02:31:16 9fe9a137fd00: Preparing 02:31:16 9fe9a137fd00: Waiting 02:31:16 ccebdd7f68cc: Layer already exists 02:31:16 2996a1cff3a5: Layer already exists 02:31:16 7db83f5fb5e7: Layer already exists 02:31:16 68d118be73a9: Layer already exists 02:31:16 0fdeb9f87319: Layer already exists 02:31:16 9fe9a137fd00: Layer already exists 02:31:16 3.0.1-dev.16: digest: sha256:f74dd17a7eb25744015d94f2494743d5a385197db2ff9ee0ddca42a39eeb0b60 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:17 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:31:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:31:17 7db83f5fb5e7: Preparing 02:31:17 ccebdd7f68cc: Preparing 02:31:17 2996a1cff3a5: Preparing 02:31:17 68d118be73a9: Preparing 02:31:17 0fdeb9f87319: Preparing 02:31:17 9fe9a137fd00: Preparing 02:31:17 9fe9a137fd00: Waiting 02:31:17 68d118be73a9: Layer already exists 02:31:17 7db83f5fb5e7: Layer already exists 02:31:17 ccebdd7f68cc: Layer already exists 02:31:17 0fdeb9f87319: Layer already exists 02:31:17 2996a1cff3a5: Layer already exists 02:31:17 9fe9a137fd00: Layer already exists 02:31:17 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16: digest: sha256:f74dd17a7eb25744015d94f2494743d5a385197db2ff9ee0ddca42a39eeb0b60 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:18 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:18 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 02:31:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 02:31:18 7db83f5fb5e7: Preparing 02:31:18 ccebdd7f68cc: Preparing 02:31:18 2996a1cff3a5: Preparing 02:31:18 68d118be73a9: Preparing 02:31:18 0fdeb9f87319: Preparing 02:31:18 9fe9a137fd00: Preparing 02:31:18 9fe9a137fd00: Waiting 02:31:18 2996a1cff3a5: Layer already exists 02:31:18 7db83f5fb5e7: Layer already exists 02:31:18 0fdeb9f87319: Layer already exists 02:31:18 68d118be73a9: Layer already exists 02:31:18 ccebdd7f68cc: Layer already exists 02:31:18 9fe9a137fd00: Layer already exists 02:31:18 main: digest: sha256:f74dd17a7eb25744015d94f2494743d5a385197db2ff9ee0ddca42a39eeb0b60 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:31:18 ===================================================== [Pipeline] echo 02:31:18 taggedImages: 02:31:18 - nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:31:18 - nexus3.edgexfoundry.org:10004/device-uart:latest 02:31:18 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.16 02:31:18 - nexus3.edgexfoundry.org:10004/device-uart:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:31:18 - 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:31:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:19 02:31:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:19 latest: Pulling from edgex-lftools-log-publisher 02:31:19 5eb5b503b376: Pulling fs layer 02:31:19 5c69ac0246d0: Pulling fs layer 02:31:19 ec43610c2a17: Pulling fs layer 02:31:19 3a2ae6a8a46f: Pulling fs layer 02:31:19 33b1e0a273af: Pulling fs layer 02:31:19 5d3b04190fa2: Pulling fs layer 02:31:19 2f39f015ded8: Pulling fs layer 02:31:19 3a2ae6a8a46f: Waiting 02:31:19 33b1e0a273af: Waiting 02:31:19 5d3b04190fa2: Waiting 02:31:19 2f39f015ded8: Waiting 02:31:19 5c69ac0246d0: Verifying Checksum 02:31:19 5c69ac0246d0: Download complete 02:31:19 3a2ae6a8a46f: Download complete 02:31:19 33b1e0a273af: Verifying Checksum 02:31:19 33b1e0a273af: Download complete 02:31:19 ec43610c2a17: Verifying Checksum 02:31:19 ec43610c2a17: Download complete 02:31:19 5d3b04190fa2: Download complete 02:31:20 5eb5b503b376: Verifying Checksum 02:31:20 5eb5b503b376: Download complete 02:31:20 2f39f015ded8: Download complete 02:31:21 5eb5b503b376: Pull complete 02:31:21 5c69ac0246d0: Pull complete 02:31:21 ec43610c2a17: Pull complete 02:31:21 3a2ae6a8a46f: Pull complete 02:31:22 33b1e0a273af: Pull complete 02:31:22 5d3b04190fa2: Pull complete 02:31:26 2f39f015ded8: Pull complete 02:31:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:26 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:31:26 $ 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:31:31 $ docker top 02e7561e2be91fad3bf096e477468704846bc66a1d089e8c5bda5209dc816d3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:31 ---> job-cost.sh 02:31:31 lf-activate-venv: SKIPPING 02:31:31 INFO: No Stack... 02:31:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:31:32 INFO: Archiving Costs [Pipeline] sh 02:31:32 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 02:31:32 + cut -d, -f6 [Pipeline] lock 02:31:32 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-23-stack-cost] 02:31:32 Resource [jenkins-edgexfoundry-device-uart-main-23-stack-cost] did not exist. Created. 02:31:32 Lock acquired on [jenkins-edgexfoundry-device-uart-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:31:33 Stashed 1 file(s) [Pipeline] } 02:31:33 Lock released on resource [jenkins-edgexfoundry-device-uart-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:33 $ docker stop --time=1 02e7561e2be91fad3bf096e477468704846bc66a1d089e8c5bda5209dc816d3d 02:31:34 $ docker rm -f --volumes 02e7561e2be91fad3bf096e477468704846bc66a1d089e8c5bda5209dc816d3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:32:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25123 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 02:32:07 Running in /w/workspace/device-uart/23 [Pipeline] { [Pipeline] checkout 02:32:10 The recommended git tool is: git 02:32:16 using credential edgex-jenkins-ssh 02:32:16 Cloning the remote Git repository 02:32:16 Cloning repository git@github.com:edgexfoundry/device-uart.git 02:32:16 > git init /w/workspace/device-uart/23 # timeout=10 02:32:16 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 02:32:16 > git --version # timeout=10 02:32:16 > git --version # 'git version 2.25.1' 02:32:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:32:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:20 Avoid second fetch 02:32:20 Checking out Revision 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 (main) 02:32:19 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 02:32:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:20 > git config core.sparsecheckout # timeout=10 02:32:21 Commit message: "Merge pull request #39 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:20 > git checkout -f 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 02:32:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:32:22 % Total % Received % Xferd Average Speed Time Time Time Current 02:32:22 Dload Upload Total Spent Left Speed 02:32:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 02:32:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:32:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:32:23 + sudo tee /etc/docker/daemon.new 02:32:23 { 02:32:23 "registry-mirrors": [ 02:32:23 "https://nexus3.edgexfoundry.org:10001" 02:32:23 ], 02:32:23 "bip": "10.250.0.254/24", 02:32:23 "hosts": [ 02:32:23 "tcp://0.0.0.0:5555", 02:32:23 "unix:///var/run/docker.sock" 02:32:23 ], 02:32:23 "mtu": 1458, 02:32:23 "selinux-enabled": true, 02:32:23 "seccomp-profile": "/etc/docker/seccomp.json" 02:32:23 } [Pipeline] sh 02:32:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:32:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:42 provisioning config files... 02:32:42 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/23@tmp/config16454800855559622973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:42 ---> ****-login.sh 02:32:42 nexus3.edgexfoundry.org:10001 02:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 nexus3.edgexfoundry.org:10002 02:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 nexus3.edgexfoundry.org:10003 02:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 nexus3.edgexfoundry.org:10004 02:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:44 Configure a credential helper to remove this warning. See 02:32:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:44 02:32:44 Login Succeeded 02:32:44 ****.io 02:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:44 Configure a credential helper to remove this warning. See 02:32:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:44 02:32:44 Login Succeeded 02:32:44 ---> ****-login.sh ends [Pipeline] } 02:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:32:45 ========================================================= 02:32:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:32:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:46 + 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:32:47 #0 building with "default" instance using docker driver 02:32:47 02:32:47 #1 [internal] load build definition from Dockerfile 02:32:47 #1 transferring dockerfile: 30B 0.0s 02:32:47 #1 transferring dockerfile: 1.93kB 0.0s done 02:32:47 #1 DONE 0.1s 02:32:47 02:32:47 #2 [internal] load .dockerignore 02:32:47 #2 transferring context: 182B done 02:32:47 #2 DONE 0.1s 02:32:47 02:32:47 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:32:47 #3 DONE 0.2s 02:32:48 02:32:48 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:32:48 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 02:32:48 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 02:32:48 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 02:32:48 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 02:32:48 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 02:32:48 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 02:32:48 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.2s 02:32:48 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 02:32:48 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.3s done 02:32:48 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.4s 02:32:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s 02:32:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s 02:32:48 #4 ... 02:32:48 02:32:48 #5 [internal] load build context 02:32:48 #5 transferring context: 11.51MB 0.5s done 02:32:48 #5 DONE 0.5s 02:32:48 02:32:48 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s 02:32:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.6s 02:32:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.6s 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.04MB / 63.99MB 0.7s 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.90MB / 63.99MB 0.8s 02:32:48 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 02:32:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.62MB / 97.63MB 0.8s 02:32:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.8s done 02:32:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.76MB / 63.99MB 0.9s 02:32:48 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 02:32:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.18MB / 63.99MB 1.1s 02:32:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.05MB / 97.63MB 1.1s 02:32:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 1.2s 02:32:52 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.3s 02:32:52 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 39.85MB / 97.63MB 1.3s 02:32:52 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.3s done 02:32:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.5s 02:32:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.5s 02:32:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 5.1s 02:32:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 5.3s 02:32:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 5.3s 02:32:53 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 5.3s done 02:32:53 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 02:32:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 5.5s 02:32:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.52MB / 97.63MB 5.8s 02:32:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 6.0s 02:32:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 6.2s 02:32:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 6.2s done 02:32:59 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.2s 02:33:07 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 02:33:11 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.7s done 02:33:12 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 02:33:12 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 02:33:12 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 02:33:13 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 02:33:18 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 02:33:22 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 02:33:22 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 02:33:24 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 02:33:24 #4 DONE 36.4s 02:33:24 02:33:24 #6 [builder 2/7] WORKDIR /device-uart 02:33:26 #6 DONE 1.8s 02:33:26 02:33:26 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 02:33:26 #7 0.844 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:33:27 #7 1.318 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:33:28 #7 2.669 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:33:28 #7 2.692 (2/4) Installing libedit (20221030.3.1-r1) 02:33:28 #7 2.705 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:33:28 #7 2.780 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:33:29 #7 2.818 Executing busybox-1.36.1-r5.trigger 02:33:29 #7 2.863 OK: 271 MiB in 56 packages 02:33:29 #7 DONE 3.2s 02:33:29 02:33:29 #8 [builder 4/7] COPY go.mod vendor* ./ 02:33:29 #8 DONE 0.2s 02:33:29 02:33:29 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:56 #9 DONE 24.0s 02:33:56 02:33:56 #10 [builder 6/7] COPY . . 02:33:56 #10 DONE 0.4s 02:33:56 02:33:56 #11 [builder 7/7] RUN echo noop 02:33:56 #11 0.760 noop 02:33:56 #11 DONE 0.9s 02:33:56 02:33:56 #12 exporting to image 02:33:56 #12 exporting layers 02:34:23 #12 exporting layers 25.3s done 02:34:23 #12 writing image sha256:5a84c2715682e5ef160f6aed760e769680f628f4e22735c1d8a8d7d86b7b89dc 0.0s done 02:34:23 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:34:23 #12 DONE 25.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:23 + docker inspect -f . ci-base-image-arm64 02:34:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:24 prd-ubuntu20.04-docker-arm64-4c-16g-25123 does not seem to be running inside a container 02:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/23 -v /w/workspace/device-uart/23:/w/workspace/device-uart/23:rw,z -v /w/workspace/device-uart/23@tmp:/w/workspace/device-uart/23@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-arm64 cat 02:34:25 $ docker top 1fa1a2940661fa95a8603ff8f22e6ad4a2b50d26a510f6126b06310747737d99 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:26 + go version 02:34:26 go version go1.21.0 linux/arm64 [Pipeline] } 02:34:26 $ docker stop --time=1 1fa1a2940661fa95a8603ff8f22e6ad4a2b50d26a510f6126b06310747737d99 02:34:28 $ docker rm -f --volumes 1fa1a2940661fa95a8603ff8f22e6ad4a2b50d26a510f6126b06310747737d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:28 + docker inspect -f . ci-base-image-arm64 02:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:29 prd-ubuntu20.04-docker-arm64-4c-16g-25123 does not seem to be running inside a container 02:34: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/23 -v /w/workspace/device-uart/23:/w/workspace/device-uart/23:rw,z -v /w/workspace/device-uart/23@tmp:/w/workspace/device-uart/23@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-arm64 cat 02:34:30 $ docker top 0916554c55d37a64294564082d97e66af1887856643ce563a6c8459f214e9c5c -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:30 + git config --global --add safe.directory /w/workspace/device-uart/23 [Pipeline] fileExists [Pipeline] sh 02:34:31 + make test 02:34:31 go test ./... -coverprofile=coverage.out 02:34:36 ? github.com/edgexfoundry/device-uart [no test files] 02:35:44 ? github.com/edgexfoundry/device-uart/cmd [no test files] 02:35:44 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 02:35:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:35:44 go vet ./... 02:35:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:52 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:35:52 $ docker stop --time=1 0916554c55d37a64294564082d97e66af1887856643ce563a6c8459f214e9c5c 02:35:54 $ docker rm -f --volumes 0916554c55d37a64294564082d97e66af1887856643ce563a6c8459f214e9c5c [Pipeline] // withDockerContainer [Pipeline] sh 02:35:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:56 Warning: overwriting stash ‘coverage-report’ 02:35:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:57 + ls -al . 02:35:57 total 152 02:35:57 drwxrwxr-x 7 jenkins jenkins 4096 Dec 15 02:34 . 02:35:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:32 .. 02:35:57 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:32 .dockerignore 02:35:57 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:32 .git 02:35:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 .github 02:35:57 -rw-rw-r-- 1 jenkins jenkins 343 Dec 15 02:32 .gitignore 02:35:57 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:32 .golangci.yml 02:35:57 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 15 02:32 Attribution.txt 02:35:57 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 15 02:32 CHANGELOG.md 02:35:57 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 15 02:32 Dockerfile 02:35:57 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:32 GOVERNANCE.md 02:35:57 -rw-rw-r-- 1 jenkins jenkins 675 Dec 15 02:32 Jenkinsfile 02:35:57 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:32 LICENSE 02:35:57 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 15 02:32 Makefile 02:35:57 -rw-rw-r-- 1 jenkins jenkins 617 Dec 15 02:32 OWNERS.md 02:35:57 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 15 02:32 README.md 02:35:57 -rw-rw-r-- 1 jenkins jenkins 12 Dec 15 02:29 VERSION 02:35:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:32 bin 02:35:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 cmd 02:35:57 -rw-r--r-- 1 jenkins jenkins 10 Dec 15 02:34 coverage.out 02:35:57 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 15 02:32 go.mod 02:35:57 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 15 02:32 go.sum 02:35:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 internal 02:35:57 -rw-rw-r-- 1 jenkins jenkins 209 Dec 15 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:58 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 --label arch=arm64 --label version=3.0.1-dev.16 . 02:35:59 #0 building with "default" instance using docker driver 02:35:59 02:35:59 #1 [internal] load build definition from Dockerfile 02:35:59 #1 transferring dockerfile: 1.93kB 0.0s done 02:35:59 #1 DONE 0.0s 02:35:59 02:35:59 #2 [internal] load .dockerignore 02:35:59 #2 transferring context: 182B done 02:35:59 #2 DONE 0.0s 02:35:59 02:35:59 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:35:59 #3 DONE 0.0s 02:35:59 02:35:59 #4 [internal] load metadata for docker.io/library/alpine:3.18 02:36:02 #4 DONE 2.9s 02:36:02 02:36:02 #5 [internal] load build context 02:36:02 #5 transferring context: 4.34kB 0.0s done 02:36:02 #5 DONE 0.1s 02:36:02 02:36:02 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:36:02 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 02:36:02 #6 ... 02:36:02 02:36:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:36:02 #7 DONE 0.2s 02:36:02 02:36:02 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:36:02 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 02:36:02 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 02:36:02 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 02:36:02 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 02:36:02 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 02:36:02 #6 ... 02:36:02 02:36:02 #8 [builder 2/7] WORKDIR /device-uart 02:36:02 #8 DONE 0.1s 02:36:02 02:36:02 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:36:02 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 02:36:02 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 02:36:03 #6 DONE 1.1s 02:36:03 02:36:03 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 02:36:03 #9 0.839 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:03 #9 1.293 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:36:05 #9 2.582 OK: 271 MiB in 56 packages 02:36:05 #9 DONE 2.9s 02:36:05 02:36:05 #10 [builder 4/7] COPY go.mod vendor* ./ 02:36:05 #10 DONE 0.2s 02:36:05 02:36:05 #11 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 02:36:05 #11 0.702 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:05 #11 1.056 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:36:05 #11 2.275 (1/1) Installing dumb-init (1.2.5-r2) 02:36:05 #11 2.286 Executing busybox-1.36.1-r5.trigger 02:36:05 #11 2.317 OK: 8 MiB in 16 packages 02:36:05 #11 DONE 2.7s 02:36:05 02:36:05 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:07 #12 DONE 1.5s 02:36:07 02:36:07 #13 [builder 6/7] COPY . . 02:36:07 #13 DONE 0.4s 02:36:07 02:36:07 #14 [builder 7/7] RUN make build 02:36:08 #14 0.811 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-uart ./cmd 02:36:08 #14 ... 02:36:08 02:36:08 #15 [stage-1 3/7] RUN apk --no-cache upgrade 02:36:08 #15 0.899 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:08 #15 1.313 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:36:08 #15 2.627 OK: 8 MiB in 16 packages 02:36:08 #15 DONE 3.0s 02:36:08 02:36:08 #14 [builder 7/7] RUN make build 02:37:45 #14 DONE 86.2s 02:37:45 02:37:45 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 02:37:45 #16 DONE 0.1s 02:37:45 02:37:45 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 02:37:45 #17 DONE 0.1s 02:37:45 02:37:45 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 02:37:45 #18 DONE 0.4s 02:37:45 02:37:45 #19 exporting to image 02:37:45 #19 exporting layers 02:37:45 #19 exporting layers 0.4s done 02:37:45 #19 writing image sha256:bc2e1569fb20b1ec08e20531531fbb3995a9a8a21205827a546af75d2e18ab93 done 02:37:45 #19 naming to docker.io/library/device-uart-arm64 done 02:37:45 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:46 provisioning config files... 02:37:46 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/23@tmp/config3050146536891583521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:46 ---> ****-login.sh 02:37:46 nexus3.edgexfoundry.org:10001 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:46 Configure a credential helper to remove this warning. See 02:37:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:46 02:37:46 Login Succeeded 02:37:46 nexus3.edgexfoundry.org:10002 02:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:47 Configure a credential helper to remove this warning. See 02:37:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:47 02:37:47 Login Succeeded 02:37:47 nexus3.edgexfoundry.org:10003 02:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:47 Configure a credential helper to remove this warning. See 02:37:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:47 02:37:47 Login Succeeded 02:37:47 nexus3.edgexfoundry.org:10004 02:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:47 Configure a credential helper to remove this warning. See 02:37:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:47 02:37:47 Login Succeeded 02:37:47 ****.io 02:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:48 Configure a credential helper to remove this warning. See 02:37:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:48 02:37:48 Login Succeeded 02:37:48 ---> ****-login.sh ends [Pipeline] } 02:37:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:48 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 02:37:48 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:37:48 latest 02:37:48 3.0.1-dev.16 02:37:48 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:37:48 main 02:37:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:49 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:49 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:37:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:37:49 93e30c725d08: Preparing 02:37:49 bfc550074f15: Preparing 02:37:49 2dbda4da2d98: Preparing 02:37:49 c6ef6e66950b: Preparing 02:37:49 d4429a28ef1a: Preparing 02:37:49 0faf9b67be60: Preparing 02:37:49 0faf9b67be60: Waiting 02:37:49 bfc550074f15: Pushed 02:37:49 c6ef6e66950b: Pushed 02:37:49 d4429a28ef1a: Pushed 02:37:49 2dbda4da2d98: Pushed 02:37:49 0faf9b67be60: Layer already exists 02:38:00 93e30c725d08: Pushed 02:38:00 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2: digest: sha256:ae31b10accc3a52c98aff2e1022715a2b1bd93191498745954a5ad3f8c42bbd1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:00 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:00 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:38:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:38:00 93e30c725d08: Preparing 02:38:00 bfc550074f15: Preparing 02:38:00 2dbda4da2d98: Preparing 02:38:00 c6ef6e66950b: Preparing 02:38:00 d4429a28ef1a: Preparing 02:38:00 0faf9b67be60: Preparing 02:38:00 0faf9b67be60: Waiting 02:38:00 bfc550074f15: Layer already exists 02:38:00 c6ef6e66950b: Layer already exists 02:38:00 2dbda4da2d98: Layer already exists 02:38:00 d4429a28ef1a: Layer already exists 02:38:00 93e30c725d08: Layer already exists 02:38:00 0faf9b67be60: Layer already exists 02:38:01 latest: digest: sha256:ae31b10accc3a52c98aff2e1022715a2b1bd93191498745954a5ad3f8c42bbd1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:01 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:02 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.16 02:38:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:38:02 93e30c725d08: Preparing 02:38:02 bfc550074f15: Preparing 02:38:02 2dbda4da2d98: Preparing 02:38:02 c6ef6e66950b: Preparing 02:38:02 d4429a28ef1a: Preparing 02:38:02 0faf9b67be60: Preparing 02:38:02 0faf9b67be60: Waiting 02:38:02 d4429a28ef1a: Layer already exists 02:38:02 c6ef6e66950b: Layer already exists 02:38:02 bfc550074f15: Layer already exists 02:38:02 2dbda4da2d98: Layer already exists 02:38:02 93e30c725d08: Layer already exists 02:38:02 0faf9b67be60: Layer already exists 02:38:02 3.0.1-dev.16: digest: sha256:ae31b10accc3a52c98aff2e1022715a2b1bd93191498745954a5ad3f8c42bbd1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:02 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:03 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:38:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:38:03 93e30c725d08: Preparing 02:38:03 bfc550074f15: Preparing 02:38:03 2dbda4da2d98: Preparing 02:38:03 c6ef6e66950b: Preparing 02:38:03 d4429a28ef1a: Preparing 02:38:03 0faf9b67be60: Preparing 02:38:03 0faf9b67be60: Waiting 02:38:03 c6ef6e66950b: Layer already exists 02:38:03 2dbda4da2d98: Layer already exists 02:38:03 93e30c725d08: Layer already exists 02:38:03 d4429a28ef1a: Layer already exists 02:38:03 bfc550074f15: Layer already exists 02:38:03 0faf9b67be60: Layer already exists 02:38:03 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16: digest: sha256:ae31b10accc3a52c98aff2e1022715a2b1bd93191498745954a5ad3f8c42bbd1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:04 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:04 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 02:38:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 02:38:04 93e30c725d08: Preparing 02:38:04 bfc550074f15: Preparing 02:38:04 2dbda4da2d98: Preparing 02:38:04 c6ef6e66950b: Preparing 02:38:04 d4429a28ef1a: Preparing 02:38:04 0faf9b67be60: Preparing 02:38:04 0faf9b67be60: Waiting 02:38:04 93e30c725d08: Layer already exists 02:38:04 d4429a28ef1a: Layer already exists 02:38:04 c6ef6e66950b: Layer already exists 02:38:04 2dbda4da2d98: Layer already exists 02:38:04 bfc550074f15: Layer already exists 02:38:04 0faf9b67be60: Layer already exists 02:38:04 main: digest: sha256:ae31b10accc3a52c98aff2e1022715a2b1bd93191498745954a5ad3f8c42bbd1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:38:05 ===================================================== [Pipeline] echo 02:38:05 taggedImages: 02:38:05 - nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 02:38:05 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 02:38:05 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.16 02:38:05 - nexus3.edgexfoundry.org:10004/device-uart-arm64:8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2-3.0.1-dev.16 02:38:05 - 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:38:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:05 02:38:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:06 arm64: Pulling from edgex-lftools-log-publisher 02:38:06 8998bd30e6a1: Pulling fs layer 02:38:06 04944245beec: Pulling fs layer 02:38:06 699f458cf7ca: Pulling fs layer 02:38:06 765212b225bb: Pulling fs layer 02:38:06 f23df028b6ca: Pulling fs layer 02:38:06 d65c8cfc05b1: Pulling fs layer 02:38:06 2437ff75d9bd: Pulling fs layer 02:38:06 f23df028b6ca: Waiting 02:38:06 d65c8cfc05b1: Waiting 02:38:06 2437ff75d9bd: Waiting 02:38:06 765212b225bb: Waiting 02:38:06 04944245beec: Verifying Checksum 02:38:06 04944245beec: Download complete 02:38:06 765212b225bb: Verifying Checksum 02:38:06 765212b225bb: Download complete 02:38:06 f23df028b6ca: Download complete 02:38:06 d65c8cfc05b1: Verifying Checksum 02:38:06 d65c8cfc05b1: Download complete 02:38:06 699f458cf7ca: Verifying Checksum 02:38:06 699f458cf7ca: Download complete 02:38:07 8998bd30e6a1: Verifying Checksum 02:38:07 8998bd30e6a1: Download complete 02:38:09 2437ff75d9bd: Verifying Checksum 02:38:09 2437ff75d9bd: Download complete 02:38:14 8998bd30e6a1: Pull complete 02:38:14 04944245beec: Pull complete 02:38:16 699f458cf7ca: Pull complete 02:38:16 765212b225bb: Pull complete 02:38:17 f23df028b6ca: Pull complete 02:38:17 d65c8cfc05b1: Pull complete 02:38:44 2437ff75d9bd: Pull complete 02:38:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:38:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:44 prd-ubuntu20.04-docker-arm64-4c-16g-25123 does not seem to be running inside a container 02:38:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/23 -v /w/workspace/device-uart/23:/w/workspace/device-uart/23:rw,z -v /w/workspace/device-uart/23@tmp:/w/workspace/device-uart/23@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:arm64 cat 02:38:46 $ docker top 800e1f04f4ea2eb9f9be5e218f43414d5818edb46b48cab81a67a3e10a0a6b6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:47 ---> job-cost.sh 02:38:47 lf-activate-venv: SKIPPING 02:38:47 INFO: No Stack... 02:38:48 INFO: Retrieving Pricing Info for: v3-standard-8 02:38:49 INFO: Archiving Costs [Pipeline] sh 02:38:49 + cat /w/workspace/device-uart/23/archives/cost.csv 02:38:49 + cut -d, -f6 [Pipeline] lock 02:38:49 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-23-stack-cost] 02:38:49 Resource [jenkins-edgexfoundry-device-uart-main-23-stack-cost] did not exist. Created. 02:38:49 Lock acquired on [jenkins-edgexfoundry-device-uart-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:49 /w/workspace/device-uart/23@tmp/durable-06de9b72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:38:50 + echo total: 0.2199999988079071 [Pipeline] stash 02:38:50 Warning: overwriting stash ‘stack-cost’ 02:38:50 Stashed 1 file(s) [Pipeline] } 02:38:50 Lock released on resource [jenkins-edgexfoundry-device-uart-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 02:38:50 $ docker stop --time=1 800e1f04f4ea2eb9f9be5e218f43414d5818edb46b48cab81a67a3e10a0a6b6c 02:38:51 $ docker rm -f --volumes 800e1f04f4ea2eb9f9be5e218f43414d5818edb46b48cab81a67a3e10a0a6b6c [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:38:53 provisioning config files... 02:38:53 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16499540654937516760tmp [Pipeline] { [Pipeline] sh 02:38:53 + set +x 02:38:53 + curl -s https://codecov.io/bash 02:38:53 + bash -s -- 02:38:53 02:38:53 _____ _ 02:38:53 / ____| | | 02:38:53 | | ___ __| | ___ ___ _____ __ 02:38:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:38:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:38:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:38:53 Bash-1.0.6 02:38:53 02:38:53 02:38:53 ==> git version 2.25.1 found 02:38:53 ==> 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:38:53 Release-Date: 2020-01-08 02:38:53 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:38:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:38:53 ==> Jenkins CI detected. 02:38:53 current dir:  /w/workspace/edgexfoundry_device-uart_main 02:38:53 project root: . 02:38:53 --> token set from env 02:38:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:38:53 ==> Running gcov in . (disable via -X gcov) 02:38:53 ==> Python coveragepy not found 02:38:53 ==> Searching for coverage reports in: 02:38:53 + . 02:38:53 -> Found 1 reports 02:38:53 ==> Detecting git/mercurial file structure 02:38:53 ==> Reading reports 02:38:53 + ./coverage.out bytes=10 02:38:53 ==> Appending adjustments 02:38:53 https://docs.codecov.io/docs/fixing-reports 02:38:53 + Found adjustments 02:38:53 ==> Gzipping contents 02:38:53 4.0K /tmp/codecov.05yyZT.gz 02:38:53 ==> Uploading reports 02:38:53 url: https://codecov.io 02:38:53 query: branch=main&commit=8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:53 -> Pinging Codecov 02:38:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:54 -> Uploading to 02:38:54 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/B9AA6E0BBD74AE3A32605C7A7C664919/8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2/7c908dce-093c-4a62-b286-9d9f8274d0bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T023854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a06eb830aa36ecbf39d9416b5164eba22d447ff8abfa1ae71eb9f126d46305a 02:38:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:38:54 Dload Upload Total Spent Left Speed 02:38:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2576 --:--:-- --:--:-- --:--:-- 2576 02:38:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] } 02:38:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:38:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:38:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:55 02:38:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:38:55 df9b9388f04a: Pulling fs layer 02:38:55 52dc419b0ee2: Pulling fs layer 02:38:55 25bc292e5bac: Pulling fs layer 02:38:55 114826534d7a: Pulling fs layer 02:38:55 4657fd5d0bcf: Pulling fs layer 02:38:55 6ad1cebc031e: Pulling fs layer 02:38:55 8a3aa393b2d8: Pulling fs layer 02:38:55 8a3aa393b2d8: Waiting 02:38:55 4657fd5d0bcf: Waiting 02:38:55 6ad1cebc031e: Waiting 02:38:55 114826534d7a: Waiting 02:38:55 25bc292e5bac: Verifying Checksum 02:38:55 25bc292e5bac: Download complete 02:38:55 52dc419b0ee2: Download complete 02:38:55 4657fd5d0bcf: Verifying Checksum 02:38:55 4657fd5d0bcf: Download complete 02:38:55 df9b9388f04a: Download complete 02:38:55 6ad1cebc031e: Verifying Checksum 02:38:55 6ad1cebc031e: Download complete 02:38:56 df9b9388f04a: Pull complete 02:38:56 52dc419b0ee2: Pull complete 02:38:56 25bc292e5bac: Pull complete 02:38:56 114826534d7a: Verifying Checksum 02:38:56 114826534d7a: Download complete 02:38:56 8a3aa393b2d8: Verifying Checksum 02:38:56 8a3aa393b2d8: Download complete 02:39:00 114826534d7a: Pull complete 02:39:00 4657fd5d0bcf: Pull complete 02:39:00 6ad1cebc031e: Pull complete 02:39:02 8a3aa393b2d8: Pull complete 02:39:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:39:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:03 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39:03 $ 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:39:04 $ docker top c8d2d942f03f27c728487fcfd78b1ed84bc7b31ab9c8a96c1c92c8ee3ef6083f -eo pid,comm [Pipeline] { [Pipeline] echo 02:39:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 02:39:05 + set -o pipefail 02:39:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 02:39:11 02:39:11 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 02:39:11 02:39:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/bb86b4bc-c823-4eb6-99eb-96b471cefc4d 02:39:11 02:39:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:39:11 02:39:11 02:39:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:39:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:39:11 More details here: https://snyk.co/ue1NS 02:39:11 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:39:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:39:11 $ docker stop --time=1 c8d2d942f03f27c728487fcfd78b1ed84bc7b31ab9c8a96c1c92c8ee3ef6083f 02:39:13 $ docker rm -f --volumes c8d2d942f03f27c728487fcfd78b1ed84bc7b31ab9c8a96c1c92c8ee3ef6083f [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:39:15 + git log --format=format:%s -1 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 [Pipeline] sh 02:39:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:16 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39:16 $ 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:39:16 $ docker top 86bd4344e6c5d881d151614ffb04fed682dfbc3ab1fd3294080b07bb627f1aa6 -eo pid,comm 02:39:16 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:39:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:16 [ssh-agent] Looking for ssh-agent implementation... 02:39:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:17 $ docker exec 86bd4344e6c5d881d151614ffb04fed682dfbc3ab1fd3294080b07bb627f1aa6 ssh-agent 02:39:17 SSH_AUTH_SOCK=/tmp/ssh-yQCWtsqaECEj/agent.32 02:39:17 SSH_AGENT_PID=38 02:39:17 Running ssh-add (command line suppressed) 02:39:17 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14535441828586189536.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14535441828586189536.key) 02:39:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:17 + git semver tag 02:39:17 2023-12-15 02:39:17,845 [run_tag] DEBUG tag force:False 02:39:17 2023-12-15 02:39:17,845 [check_head_tag] DEBUG check head tag 02:39:17 2023-12-15 02:39:17,846 [execute] INFO git cat-file --batch-check 02:39:17 2023-12-15 02:39:17,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:39:17 2023-12-15 02:39:17,850 [execute] INFO git cat-file --batch 02:39:17 2023-12-15 02:39:17,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 02:39:17 2023-12-15 02:39:17,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:17 2023-12-15 02:39:17,860 [execute] INFO git tag -a v3.0.1-dev.16 -m v3.0.1-dev.16 02:39:17 2023-12-15 02:39:17,860 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.16', '-m', 'v3.0.1-dev.16'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 02:39:17 2023-12-15 02:39:17,864 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:17 3.0.1-dev.16 [Pipeline] } 02:39:17 $ docker exec --env ******** --env ******** 86bd4344e6c5d881d151614ffb04fed682dfbc3ab1fd3294080b07bb627f1aa6 ssh-agent -k 02:39:18 unset SSH_AUTH_SOCK; 02:39:18 unset SSH_AGENT_PID; 02:39:18 echo Agent pid 38 killed; 02:39:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:18 + git semver [Pipeline] } 02:39:18 $ docker stop --time=1 86bd4344e6c5d881d151614ffb04fed682dfbc3ab1fd3294080b07bb627f1aa6 02:39:20 $ docker rm -f --volumes 86bd4344e6c5d881d151614ffb04fed682dfbc3ab1fd3294080b07bb627f1aa6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:20 02:39:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:21 0.23.1-centos7: Pulling from edgex-lftools 02:39:21 ab5ef0e58194: Pulling fs layer 02:39:21 9712f1f96733: Pulling fs layer 02:39:21 63f879dbbcfc: Pulling fs layer 02:39:21 0d9ebad4ef96: Pulling fs layer 02:39:21 e9a5061849ea: Pulling fs layer 02:39:21 d747dcd14b5f: Pulling fs layer 02:39:21 2de7ff778b66: Pulling fs layer 02:39:21 d747dcd14b5f: Waiting 02:39:21 0d9ebad4ef96: Waiting 02:39:21 e9a5061849ea: Waiting 02:39:21 2de7ff778b66: Waiting 02:39:21 9712f1f96733: Verifying Checksum 02:39:21 9712f1f96733: Download complete 02:39:21 63f879dbbcfc: Verifying Checksum 02:39:21 63f879dbbcfc: Download complete 02:39:21 e9a5061849ea: Verifying Checksum 02:39:21 e9a5061849ea: Download complete 02:39:21 d747dcd14b5f: Verifying Checksum 02:39:21 d747dcd14b5f: Download complete 02:39:21 0d9ebad4ef96: Verifying Checksum 02:39:21 0d9ebad4ef96: Download complete 02:39:21 ab5ef0e58194: Verifying Checksum 02:39:21 ab5ef0e58194: Download complete 02:39:21 2de7ff778b66: Verifying Checksum 02:39:21 2de7ff778b66: Download complete 02:39:24 ab5ef0e58194: Pull complete 02:39:24 9712f1f96733: Pull complete 02:39:24 63f879dbbcfc: Pull complete 02:39:28 0d9ebad4ef96: Pull complete 02:39:28 e9a5061849ea: Pull complete 02:39:28 d747dcd14b5f: Pull complete 02:39:29 2de7ff778b66: Pull complete 02:39:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:39:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:29 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39: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:39:31 $ docker top 5e68e78a6ef029cc17b5bf323d84cfa63d8e327090ed26875962f7c58f6b69e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:39:32 provisioning config files... 02:39:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5603500696484976652tmp 02:39:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5591079854295465461tmp 02:39:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8902200863913253161tmp [Pipeline] { [Pipeline] echo 02:39:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:39:32 ---> sigul-configuration.sh 02:39:32 gpg: directory `/root/.gnupg' created 02:39:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:39:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:39:32 gpg: keyring `/root/.gnupg/secring.gpg' created 02:39:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:39:32 gpg: CAST5 encrypted data 02:39:32 gpg: encrypted with 1 passphrase 02:39:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:39:32 + mkdir /home/jenkins 02:39:32 + mkdir /home/jenkins/sigul [Pipeline] sh 02:39:33 + 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:39:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:39:33 ---> sigul-install.sh 02:39:33 Sigul already installed; skipping installation. [Pipeline] sh 02:39:33 + git tag --list 02:39:33 v0.0.0 02:39:33 v0.0.1-dev.1 02:39:33 v0.0.1-dev.2 02:39:33 v0.0.1-dev.3 02:39:33 v0.0.1-dev.4 02:39:33 v3.0.0 02:39:33 v3.0.1-dev.1 02:39:33 v3.0.1-dev.10 02:39:33 v3.0.1-dev.11 02:39:33 v3.0.1-dev.12 02:39:33 v3.0.1-dev.13 02:39:33 v3.0.1-dev.14 02:39:33 v3.0.1-dev.15 02:39:33 v3.0.1-dev.16 02:39:33 v3.0.1-dev.2 02:39:33 v3.0.1-dev.3 02:39:33 v3.0.1-dev.4 02:39:33 v3.0.1-dev.5 02:39:33 v3.0.1-dev.6 02:39:33 v3.0.1-dev.7 02:39:33 v3.0.1-dev.8 02:39:33 v3.0.1-dev.9 02:39:33 v3.1 02:39:33 v3.1.0 [Pipeline] sh 02:39:34 + lftools sign git-tag v3.0.1-dev.16 02:39:34 Signing Git tag with Sigul... 02:39:34 Signing v3.0.1-dev.16 [Pipeline] echo 02:39:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:39:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:39:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:39:35 $ docker stop --time=1 5e68e78a6ef029cc17b5bf323d84cfa63d8e327090ed26875962f7c58f6b69e3 02:39:36 $ docker rm -f --volumes 5e68e78a6ef029cc17b5bf323d84cfa63d8e327090ed26875962f7c58f6b69e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:39:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:38 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39:38 $ 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:39:38 $ docker top 770693f45ce9fa862b1be7ce45eeeb8960b4ca0f24022e53aabb5b0246d61480 -eo pid,comm 02:39:38 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:39:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:38 [ssh-agent] Looking for ssh-agent implementation... 02:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:38 $ docker exec 770693f45ce9fa862b1be7ce45eeeb8960b4ca0f24022e53aabb5b0246d61480 ssh-agent 02:39:38 SSH_AUTH_SOCK=/tmp/ssh-fzdpTQjYqeif/agent.32 02:39:38 SSH_AGENT_PID=38 02:39:38 Running ssh-add (command line suppressed) 02:39:39 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10321142313155153824.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10321142313155153824.key) 02:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:39 + git semver bump pre 02:39:39 2023-12-15 02:39:39,644 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:39 2023-12-15 02:39:39,644 [bump_version] DEBUG bumping version:3.0.1-dev.16 on axis:pre with prefix:dev 02:39:39 2023-12-15 02:39:39,644 [bump_version] DEBUG bumped version:3.0.1-dev.17 02:39:39 2023-12-15 02:39:39,644 [write_version] DEBUG write version:3.0.1-dev.17 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 02:39:39 2023-12-15 02:39:39,644 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:39 2023-12-15 02:39:39,644 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:39 2023-12-15 02:39:39,647 [execute] INFO git cat-file --batch-check 02:39:39 2023-12-15 02:39:39,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:39 2023-12-15 02:39:39,652 [execute] INFO git cat-file --batch 02:39:39 2023-12-15 02:39:39,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:39 2023-12-15 02:39:39,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:39 3.0.1-dev.17 [Pipeline] } 02:39:39 $ docker exec --env ******** --env ******** 770693f45ce9fa862b1be7ce45eeeb8960b4ca0f24022e53aabb5b0246d61480 ssh-agent -k 02:39:39 unset SSH_AUTH_SOCK; 02:39:39 unset SSH_AGENT_PID; 02:39:39 echo Agent pid 38 killed; 02:39:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:40 + git semver [Pipeline] } 02:39:40 $ docker stop --time=1 770693f45ce9fa862b1be7ce45eeeb8960b4ca0f24022e53aabb5b0246d61480 02:39:41 $ docker rm -f --volumes 770693f45ce9fa862b1be7ce45eeeb8960b4ca0f24022e53aabb5b0246d61480 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:43 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39:43 $ 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:39:43 $ docker top b8e1577f537da8339f3676fef08fb688eb0d3c353c9cd4a3f61151813a571279 -eo pid,comm 02:39:43 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:39:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:43 [ssh-agent] Looking for ssh-agent implementation... 02:39:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:43 $ docker exec b8e1577f537da8339f3676fef08fb688eb0d3c353c9cd4a3f61151813a571279 ssh-agent 02:39:44 SSH_AUTH_SOCK=/tmp/ssh-SJmz0nM7M7xr/agent.32 02:39:44 SSH_AGENT_PID=39 02:39:44 Running ssh-add (command line suppressed) 02:39:44 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6606503549569037434.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_6606503549569037434.key) 02:39:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:44 + git semver push 02:39:44 2023-12-15 02:39:44,663 [run_push] DEBUG push 02:39:44 2023-12-15 02:39:44,664 [execute] INFO git cat-file --batch-check 02:39:44 2023-12-15 02:39:44,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:44 2023-12-15 02:39:44,668 [execute] INFO git rev-list a0e3176a20ebd817d92ce4ebe2f267fec71cb09b -- 02:39:44 2023-12-15 02:39:44,668 [execute] DEBUG Popen(['git', 'rev-list', 'a0e3176a20ebd817d92ce4ebe2f267fec71cb09b', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:44 2023-12-15 02:39:44,672 [execute] INFO git fetch -v origin 02:39:44 2023-12-15 02:39:44,672 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 02:39:45 2023-12-15 02:39:45,204 [run_push] DEBUG no remote changes detected 02:39:45 2023-12-15 02:39:45,205 [execute] INFO git push origin semver 02:39:45 2023-12-15 02:39:45,205 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:46 2023-12-15 02:39:46,096 [run_push] DEBUG push all version tags 02:39:46 2023-12-15 02:39:46,096 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:39:46 2023-12-15 02:39:46,097 [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:39:47 2023-12-15 02:39:46,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 02:39:47 3.0.1-dev.17 [Pipeline] } 02:39:47 $ docker exec --env ******** --env ******** b8e1577f537da8339f3676fef08fb688eb0d3c353c9cd4a3f61151813a571279 ssh-agent -k 02:39:47 unset SSH_AUTH_SOCK; 02:39:47 unset SSH_AGENT_PID; 02:39:47 echo Agent pid 39 killed; 02:39:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:47 + git semver [Pipeline] } 02:39:48 $ docker stop --time=1 b8e1577f537da8339f3676fef08fb688eb0d3c353c9cd4a3f61151813a571279 02:39:49 $ docker rm -f --volumes b8e1577f537da8339f3676fef08fb688eb0d3c353c9cd4a3f61151813a571279 [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:39:50 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 02:39:50 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:39:50 total 16 02:39:50 drwxr-xr-x 3 root root 4096 Dec 15 02:31 . 02:39:50 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:50 drwxr-xr-x 2 root root 4096 Dec 15 02:31 cost 02:39:50 -rw-r--r-- 1 root root 82 Dec 15 02:31 cost.csv 02:39:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 02:39:50 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 02:39:50 total 16 02:39:50 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:31 . 02:39:50 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:50 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:31 cost 02:39:50 -rw-r--r-- 1 jenkins jenkins 82 Dec 15 02:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:39:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:52 ---> package-listing.sh 02:39:52 ++ facter osfamily 02:39:52 ++ tr '[:upper:]' '[:lower:]' 02:39:52 + OS_FAMILY=debian 02:39:52 + workspace=/w/workspace/edgexfoundry_device-uart_main 02:39:52 + START_PACKAGES=/tmp/packages_start.txt 02:39:52 + END_PACKAGES=/tmp/packages_end.txt 02:39:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:52 + PACKAGES=/tmp/packages_start.txt 02:39:52 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:39:52 + PACKAGES=/tmp/packages_end.txt 02:39:52 + case "${OS_FAMILY}" in 02:39:52 + dpkg -l 02:39:52 + grep '^ii' 02:39:52 + '[' -f /tmp/packages_start.txt ']' 02:39:52 + '[' -f /tmp/packages_end.txt ']' 02:39:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:52 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 02:39:52 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 02:39:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 02:39:52 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:39:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:53 prd-ubuntu20.04-docker-8c-8g-25117 does not seem to be running inside a container 02:39:53 $ 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:39:53 $ docker top fcc2f4a47554bf1ef6a18bf05a8512e68f1443adce8394177140287ae79b808b -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:39:54 + mkdir -p /var/log/sysstat [Pipeline] sh 02:39:54 + ls /var/log/sa-host 02:39:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:54 provisioning config files... 02:39:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1001843712842140490tmp [Pipeline] { [Pipeline] echo 02:39:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:39:55 ---> create-netrc.sh [Pipeline] } 02:39:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:39:55 ---> python-tools-install.sh [Pipeline] echo 02:39:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:39:55 ---> sudo-logs.sh 02:39:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:39:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:39:56 ---> job-cost.sh 02:39:56 lf-activate-venv: SKIPPING 02:39:56 DEBUG: total: 0.2199999988079071 02:39:56 INFO: Retrieving Stack Cost... 02:39:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:39:57 INFO: Archiving Costs [Pipeline] echo 02:39:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:39:57 ---> logs-deploy.sh 02:39:57 lf-activate-venv: SKIPPING 02:39:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/23 02:39:57 INFO: archiving workspace using pattern(s): 02:39:58 Archives upload complete. 02:39:58 INFO: archiving logs to Nexus