Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 886fb5391d0715c03eb52aea2bbf175b6095cc08 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-ssh15987059149715912049.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-ssh10405305875873312925.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-ssh7844306218048843865.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-ssh16224369250649223826.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-ssh5761299191441447226.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 ‘prd-ubuntu20.04-docker-8c-8g-26448’ is offline Running on prd-ubuntu20.04-docker-8c-8g-26449 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 886fb5391d0715c03eb52aea2bbf175b6095cc08 (main) Commit message: "Merge pull request #41 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" > git config core.sparsecheckout # timeout=10 > git checkout -f 886fb5391d0715c03eb52aea2bbf175b6095cc08 # timeout=10 > git rev-list --no-walk 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:55:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:55:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:55:22 ========================================================= 08:55:22 EdgeX Global Pipelines Version Info 08:55:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:55:22 ------------------- 08:55:22 stable info: 08:55:22 ------------------- 08:55:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:55:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:55:22 Message: update stable to v1.0.258 08:55:23 ------------------- 08:55:23 experimental info: 08:55:23 ------------------- 08:55:23 Commited By: **** collab-it+edgex@linuxfoundation.org 08:55:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:55:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:55:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 886fb53 [Pipeline] echo 08:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:55:24 provisioning config files... 08:55:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11632780919146909163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:24 ---> ****-login.sh 08:55:24 nexus3.edgexfoundry.org:10001 08:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:25 Configure a credential helper to remove this warning. See 08:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:25 08:55:25 Login Succeeded 08:55:25 nexus3.edgexfoundry.org:10002 08:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:25 Configure a credential helper to remove this warning. See 08:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:25 08:55:25 Login Succeeded 08:55:25 nexus3.edgexfoundry.org:10003 08:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:25 Configure a credential helper to remove this warning. See 08:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:25 08:55:25 Login Succeeded 08:55:25 nexus3.edgexfoundry.org:10004 08:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:25 Configure a credential helper to remove this warning. See 08:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:25 08:55:25 Login Succeeded 08:55:25 ****.io 08:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:25 Configure a credential helper to remove this warning. See 08:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:25 08:55:25 Login Succeeded 08:55:25 ---> ****-login.sh ends [Pipeline] } 08:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:55:26 + git rev-list -1 --merges 886fb5391d0715c03eb52aea2bbf175b6095cc08~1..886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] echo 08:55:26 -----------> git rev-list -1 --merges 886fb5391d0715c03eb52aea2bbf175b6095cc08~1..886fb5391d0715c03eb52aea2bbf175b6095cc08 886fb5391d0715c03eb52aea2bbf175b6095cc08 08:55:26 886fb5391d0715c03eb52aea2bbf175b6095cc08 [false] [Pipeline] sh 08:55:26 + git log --format=format:%s -1 886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] echo 08:55:26 ========================================================= 08:55:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:55:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:26 + git log --format=format:%s -1 886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] echo 08:55:26 [semverPrep] GIT_COMMIT: 886fb5391d0715c03eb52aea2bbf175b6095cc08, Commit Message: Merge pull request #41 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6 [Pipeline] echo 08:55:26 [semverPrep] This is not a build commit. [Pipeline] sh 08:55:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:55:27 + grep -v github /etc/ssh/ssh_known_hosts 08:55:27 + [ -e /tmp/ssh_known_hosts ] 08:55:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:55:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:55:27 + sudo tee -a /etc/ssh/ssh_known_hosts 08:55:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:55:27 08:55:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:55:28 0.1.4: Pulling from edgex-devops/py-git-semver 08:55:28 b85a868b505f: Pulling fs layer 08:55:28 e2be974225ed: Pulling fs layer 08:55:28 339a4e72a1f5: Pulling fs layer 08:55:28 988bab9f4d93: Pulling fs layer 08:55:28 1469e6f7b9e6: Pulling fs layer 08:55:28 eaf3925da568: Pulling fs layer 08:55:28 bab4dde63d76: Pulling fs layer 08:55:28 bde34c3a00c8: Pulling fs layer 08:55:28 b352a97aabf1: Pulling fs layer 08:55:28 4872d77fe225: Pulling fs layer 08:55:28 5851b861e8e6: Pulling fs layer 08:55:28 eaf3925da568: Waiting 08:55:28 bab4dde63d76: Waiting 08:55:28 bde34c3a00c8: Waiting 08:55:28 b352a97aabf1: Waiting 08:55:28 5851b861e8e6: Waiting 08:55:28 988bab9f4d93: Waiting 08:55:28 4872d77fe225: Waiting 08:55:28 1469e6f7b9e6: Waiting 08:55:28 e2be974225ed: Verifying Checksum 08:55:28 e2be974225ed: Download complete 08:55:28 988bab9f4d93: Download complete 08:55:28 1469e6f7b9e6: Verifying Checksum 08:55:28 1469e6f7b9e6: Download complete 08:55:28 339a4e72a1f5: Download complete 08:55:28 eaf3925da568: Verifying Checksum 08:55:28 eaf3925da568: Download complete 08:55:28 bde34c3a00c8: Verifying Checksum 08:55:28 bde34c3a00c8: Download complete 08:55:28 b352a97aabf1: Download complete 08:55:28 4872d77fe225: Verifying Checksum 08:55:28 4872d77fe225: Download complete 08:55:28 5851b861e8e6: Download complete 08:55:28 b85a868b505f: Verifying Checksum 08:55:28 b85a868b505f: Download complete 08:55:28 bab4dde63d76: Verifying Checksum 08:55:28 bab4dde63d76: Download complete 08:55:29 b85a868b505f: Pull complete 08:55:29 e2be974225ed: Pull complete 08:55:30 339a4e72a1f5: Pull complete 08:55:30 988bab9f4d93: Pull complete 08:55:30 1469e6f7b9e6: Pull complete 08:55:30 eaf3925da568: Pull complete 08:55:32 bab4dde63d76: Pull complete 08:55:32 bde34c3a00c8: Pull complete 08:55:32 b352a97aabf1: Pull complete 08:55:32 4872d77fe225: Pull complete 08:55:32 5851b861e8e6: Pull complete 08:55:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:55:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:32 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 08:55:32 $ 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 08:55:37 $ docker top 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc -eo pid,comm 08:55:37 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). 08:55:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:55:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:55:37 [ssh-agent] Looking for ssh-agent implementation... 08:55:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:55:37 $ docker exec 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc ssh-agent 08:55:37 SSH_AUTH_SOCK=/tmp/ssh-ppsxsEaktxls/agent.32 08:55:37 SSH_AGENT_PID=39 08:55:37 Running ssh-add (command line suppressed) 08:55:37 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7371471887876939577.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7371471887876939577.key) 08:55:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:55:37 + git tag --points-at HEAD [Pipeline] } 08:55:37 $ docker exec --env ******** --env ******** 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc ssh-agent -k 08:55:38 unset SSH_AUTH_SOCK; 08:55:38 unset SSH_AGENT_PID; 08:55:38 echo Agent pid 39 killed; 08:55:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:55:38 [ssh-agent] Looking for ssh-agent implementation... 08:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:55:38 $ docker exec 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc ssh-agent 08:55:38 SSH_AUTH_SOCK=/tmp/ssh-LMJX7yDM7MFA/agent.71 08:55:38 SSH_AGENT_PID=77 08:55:38 Running ssh-add (command line suppressed) 08:55:38 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4689995198612041751.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4689995198612041751.key) 08:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:55:38 + git semver init 08:55:39 2023-12-30 08:55:39,001 [run_init] DEBUG init version:0.0.0 force:False 08:55:39 2023-12-30 08:55:39,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 08:55:39 2023-12-30 08:55:39,002 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 08:55:39 2023-12-30 08:55:39,002 [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) 08:55:40 2023-12-30 08:55:40,229 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 08:55:40 2023-12-30 08:55:40,229 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 08:55:40 2023-12-30 08:55:40,229 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:55:40 2023-12-30 08:55:40,230 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:55:40 3.0.1-dev.17 [Pipeline] } 08:55:40 $ docker exec --env ******** --env ******** 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc ssh-agent -k 08:55:40 unset SSH_AUTH_SOCK; 08:55:40 unset SSH_AGENT_PID; 08:55:40 echo Agent pid 77 killed; 08:55:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:55:41 + git semver [Pipeline] } 08:55:41 $ docker stop --time=1 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc 08:55:42 $ docker rm -f --volumes 4e5acc99746d29ba390ac646d844441c20cd55d87f9d770f45dd271a6f132bbc [Pipeline] // withDockerContainer [Pipeline] sh 08:55:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:55:43 Stashed 1 file(s) [Pipeline] echo 08:55:43 [edgeXSemver]: initialized semver on version 3.0.1-dev.17 [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 08:55:43 provisioning config files... 08:55:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6360118905192240556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:44 ---> ****-login.sh 08:55:44 nexus3.edgexfoundry.org:10001 08:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:44 Configure a credential helper to remove this warning. See 08:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:44 08:55:44 Login Succeeded 08:55:44 nexus3.edgexfoundry.org:10002 08:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:44 Configure a credential helper to remove this warning. See 08:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:44 08:55:44 Login Succeeded 08:55:44 nexus3.edgexfoundry.org:10003 08:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:44 Configure a credential helper to remove this warning. See 08:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:44 08:55:44 Login Succeeded 08:55:44 nexus3.edgexfoundry.org:10004 08:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:44 Configure a credential helper to remove this warning. See 08:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:44 08:55:44 Login Succeeded 08:55:44 ****.io 08:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:55:45 Configure a credential helper to remove this warning. See 08:55:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:55:45 08:55:45 Login Succeeded 08:55:45 ---> ****-login.sh ends [Pipeline] } 08:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:55:46 ========================================================= 08:55:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:55:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:46 + 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 . 08:55:46 Sending build context to Docker daemon 23.05MB 08:55:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:55:46 Step 2/12 : FROM ${BASE} AS builder 08:55:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:55:46 7264a8db6415: Pulling fs layer 08:55:46 c4d48a809fc2: Pulling fs layer 08:55:46 4f1c88b9dad5: Pulling fs layer 08:55:46 ad3a456e5733: Pulling fs layer 08:55:46 69c7f0334f64: Pulling fs layer 08:55:46 1f1c1a5573a3: Pulling fs layer 08:55:46 ce7588e14bc9: Pulling fs layer 08:55:46 b5e4710f87ac: Pulling fs layer 08:55:46 ad3a456e5733: Waiting 08:55:46 69c7f0334f64: Waiting 08:55:46 1f1c1a5573a3: Waiting 08:55:46 b5e4710f87ac: Waiting 08:55:46 ce7588e14bc9: Waiting 08:55:46 c4d48a809fc2: Verifying Checksum 08:55:46 c4d48a809fc2: Download complete 08:55:46 ad3a456e5733: Download complete 08:55:46 69c7f0334f64: Verifying Checksum 08:55:46 69c7f0334f64: Download complete 08:55:46 7264a8db6415: Verifying Checksum 08:55:46 7264a8db6415: Download complete 08:55:46 1f1c1a5573a3: Verifying Checksum 08:55:46 1f1c1a5573a3: Download complete 08:55:46 7264a8db6415: Pull complete 08:55:46 b5e4710f87ac: Verifying Checksum 08:55:46 b5e4710f87ac: Download complete 08:55:46 c4d48a809fc2: Pull complete 08:55:46 4f1c88b9dad5: Verifying Checksum 08:55:46 4f1c88b9dad5: Download complete 08:55:47 ce7588e14bc9: Verifying Checksum 08:55:47 ce7588e14bc9: Download complete 08:55:50 4f1c88b9dad5: Pull complete 08:55:50 ad3a456e5733: Pull complete 08:55:50 69c7f0334f64: Pull complete 08:55:50 1f1c1a5573a3: Pull complete 08:55:52 ce7588e14bc9: Pull complete 08:55:53 b5e4710f87ac: Pull complete 08:55:53 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:55:53 ---> 88b5674ff536 08:55:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:55:58 Still waiting to schedule task 08:55:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26450’ is offline 08:56:01 ---> Running in 0b83e37672fa 08:56:01 Removing intermediate container 0b83e37672fa 08:56:01 ---> 312e014e70e0 08:56:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:56:01 ---> Running in 1d188515b90b 08:56:01 Removing intermediate container 1d188515b90b 08:56:01 ---> 61619a7d94e2 08:56:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:56:01 ---> Running in 7e570752db7a 08:56:01 Removing intermediate container 7e570752db7a 08:56:01 ---> 0ddf113ad451 08:56:01 Step 6/12 : WORKDIR /device-uart 08:56:01 ---> Running in 5feae8063dd0 08:56:01 Removing intermediate container 5feae8063dd0 08:56:01 ---> f11d27515cf6 08:56:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:01 ---> Running in 2b37788e7a06 08:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:56:02 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:56:02 (2/4) Installing libedit (20221030.3.1-r1) 08:56:02 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:56:02 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:56:02 Executing busybox-1.36.1-r5.trigger 08:56:02 OK: 268 MiB in 56 packages 08:56:03 Removing intermediate container 2b37788e7a06 08:56:03 ---> f56b0158e371 08:56:03 Step 8/12 : COPY go.mod vendor* ./ 08:56:03 ---> b05f8684cccc 08:56:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:56:03 ---> Running in 8c0fe855aa45 08:56:52 Removing intermediate container 8c0fe855aa45 08:56:52 ---> 93339a04ab77 08:56:52 Step 10/12 : COPY . . 08:56:52 ---> 6599504201f1 08:56:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:56:52 ---> Running in 1ec1f3fe8ec1 08:56:52 Removing intermediate container 1ec1f3fe8ec1 08:56:52 ---> d15e8de5386b 08:56:52 Step 12/12 : RUN ${MAKE} 08:56:52 ---> Running in 68bf75fdf1a9 08:56:52 noop 08:56:52 Removing intermediate container 68bf75fdf1a9 08:56:52 ---> c5627e117ca4 08:56:52 Successfully built c5627e117ca4 08:56:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:52 + docker inspect -f . ci-base-image-x86_64 08:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:56:52 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 08:56:52 $ 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 08:56:53 $ docker top 0ae96da5920e0a805528faa84ec45f5454de48f491f770ae078a5af30a8ac074 -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:53 + go version 08:56:53 go version go1.21.0 linux/amd64 [Pipeline] } 08:56:53 $ docker stop --time=1 0ae96da5920e0a805528faa84ec45f5454de48f491f770ae078a5af30a8ac074 08:56:55 $ docker rm -f --volumes 0ae96da5920e0a805528faa84ec45f5454de48f491f770ae078a5af30a8ac074 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:55 + docker inspect -f . ci-base-image-x86_64 08:56:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:56:55 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 08:56:55 $ 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 08:56:56 $ docker top afbf1abb611c272e4b67ad3ebf2fabde7f399e3020395e34fcd164171e58e1b1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 08:56:56 + make test 08:56:56 go test ./... -coverprofile=coverage.out 08:56:58 ? github.com/edgexfoundry/device-uart [no test files] 08:57:10 ? github.com/edgexfoundry/device-uart/cmd [no test files] 08:57:10 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 08:57:15 go vet ./... 08:57:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:57:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:57:18 ./bin/test-attribution-txt.sh [Pipeline] echo 08:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:57:19 $ docker stop --time=1 afbf1abb611c272e4b67ad3ebf2fabde7f399e3020395e34fcd164171e58e1b1 08:57:23 $ docker rm -f --volumes afbf1abb611c272e4b67ad3ebf2fabde7f399e3020395e34fcd164171e58e1b1 [Pipeline] // withDockerContainer [Pipeline] sh 08:57:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:57:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:57:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:57:24 + ls -al . 08:57:24 total 156 08:57:24 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:56 . 08:57:24 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:55 .. 08:57:24 -rw-rw-r-- 1 jenkins jenkins 140 Dec 30 08:55 .dockerignore 08:57:24 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:57 .git 08:57:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:55 .github 08:57:24 -rw-rw-r-- 1 jenkins jenkins 343 Dec 30 08:55 .gitignore 08:57:24 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:55 .golangci.yml 08:57:24 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:55 .semver 08:57:24 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 30 08:55 Attribution.txt 08:57:24 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 30 08:55 CHANGELOG.md 08:57:24 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 30 08:55 Dockerfile 08:57:24 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:55 GOVERNANCE.md 08:57:24 -rw-rw-r-- 1 jenkins jenkins 675 Dec 30 08:55 Jenkinsfile 08:57:24 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:55 LICENSE 08:57:24 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 30 08:55 Makefile 08:57:24 -rw-rw-r-- 1 jenkins jenkins 617 Dec 30 08:55 OWNERS.md 08:57:24 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 30 08:55 README.md 08:57:24 -rw-rw-r-- 1 jenkins jenkins 12 Dec 30 08:55 VERSION 08:57:24 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:55 bin 08:57:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:55 cmd 08:57:24 -rw-r--r-- 1 jenkins jenkins 10 Dec 30 08:56 coverage.out 08:57:24 -rw-rw-r-- 1 jenkins jenkins 3717 Dec 30 08:55 go.mod 08:57:24 -rw-rw-r-- 1 jenkins jenkins 34814 Dec 30 08:55 go.sum 08:57:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:55 internal 08:57:24 -rw-rw-r-- 1 jenkins jenkins 209 Dec 30 08:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:25 + 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=886fb5391d0715c03eb52aea2bbf175b6095cc08 --label arch=amd64 --label version=3.0.1-dev.17 . 08:57:25 Sending build context to Docker daemon 23.05MB 08:57:25 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:57:25 Step 2/26 : FROM ${BASE} AS builder 08:57:25 ---> c5627e117ca4 08:57:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:57:25 ---> Running in 273daf2ee1e7 08:57:25 Removing intermediate container 273daf2ee1e7 08:57:25 ---> e1b922e019bb 08:57:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:57:26 ---> Running in 2399de50e7a0 08:57:26 Removing intermediate container 2399de50e7a0 08:57:26 ---> 8b4ff40265da 08:57:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:57:26 ---> Running in 10ea042616bb 08:57:26 Removing intermediate container 10ea042616bb 08:57:26 ---> 5c0dfdd2c258 08:57:26 Step 6/26 : WORKDIR /device-uart 08:57:26 ---> Running in c298865d58cb 08:57:26 Removing intermediate container c298865d58cb 08:57:26 ---> 647740eb3251 08:57:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:26 ---> Running in 91c3db686089 08:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:57:27 OK: 268 MiB in 56 packages 08:57:27 Removing intermediate container 91c3db686089 08:57:27 ---> 1aacbbfcb06c 08:57:27 Step 8/26 : COPY go.mod vendor* ./ 08:57:27 ---> ad34e372adda 08:57:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:57:27 ---> Running in a0123530ed49 08:57:28 Removing intermediate container a0123530ed49 08:57:28 ---> 0a95add0e797 08:57:28 Step 10/26 : COPY . . 08:57:29 ---> a01f846dc061 08:57:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:57:29 ---> Running in 8b798059db13 08:57:29 Removing intermediate container 8b798059db13 08:57:29 ---> 90310615a3af 08:57:29 Step 12/26 : RUN ${MAKE} 08:57:29 ---> Running in ffaff8f85913 08:57:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-uart ./cmd 08:57:51 Removing intermediate container ffaff8f85913 08:57:51 ---> f5fcef9f7c00 08:57:51 Step 13/26 : FROM alpine:3.18 08:57:51 3.18: Pulling from library/alpine 08:57:51 c926b61bad3b: Pulling fs layer 08:57:51 c926b61bad3b: Download complete 08:57:51 c926b61bad3b: Pull complete 08:57:51 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:57:51 Status: Downloaded newer image for alpine:3.18 08:57:51 ---> b541f2080109 08:57:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:57:51 ---> Running in 9a2c9ff2b502 08:57:51 Removing intermediate container 9a2c9ff2b502 08:57:51 ---> a847f47d87fb 08:57:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:57:51 ---> Running in 4e669227c83c 08:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:57:51 (1/1) Installing dumb-init (1.2.5-r2) 08:57:51 Executing busybox-1.36.1-r5.trigger 08:57:51 OK: 7 MiB in 16 packages 08:57:51 Removing intermediate container 4e669227c83c 08:57:51 ---> 085190b7ecdf 08:57:51 Step 16/26 : RUN apk --no-cache upgrade 08:57:51 ---> Running in 37790ce940c3 08:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:57:52 OK: 7 MiB in 16 packages 08:57:52 Removing intermediate container 37790ce940c3 08:57:52 ---> df8b3d9ccbff 08:57:52 Step 17/26 : WORKDIR / 08:57:52 ---> Running in 088ac08f1511 08:57:52 Removing intermediate container 088ac08f1511 08:57:52 ---> 354006d62a61 08:57:52 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 08:57:52 ---> 37db222830cf 08:57:52 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 08:57:52 ---> 30f228a9008c 08:57:52 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 08:57:53 ---> 764368fbec6c 08:57:53 Step 21/26 : EXPOSE 59995 08:57:53 ---> Running in 88ebe892b536 08:57:53 Removing intermediate container 88ebe892b536 08:57:53 ---> afa6468a2a1f 08:57:53 Step 22/26 : ENTRYPOINT ["/device-uart"] 08:57:53 ---> Running in 92960f9e2793 08:57:54 Removing intermediate container 92960f9e2793 08:57:54 ---> 184e467513c0 08:57:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:57:54 ---> Running in 4cf97edaeeb7 08:57:54 Removing intermediate container 4cf97edaeeb7 08:57:54 ---> f61a8230f4e6 08:57:54 Step 24/26 : LABEL arch=amd64 08:57:54 ---> Running in 6fcf670d2152 08:57:54 Removing intermediate container 6fcf670d2152 08:57:54 ---> 4281c2ce2e43 08:57:54 Step 25/26 : LABEL git_sha=886fb5391d0715c03eb52aea2bbf175b6095cc08 08:57:54 ---> Running in e594522b952f 08:57:54 Removing intermediate container e594522b952f 08:57:54 ---> fa3e92f8ce0a 08:57:54 Step 26/26 : LABEL version=3.0.1-dev.17 08:57:54 ---> Running in 54f1d5d81306 08:57:54 Removing intermediate container 54f1d5d81306 08:57:54 ---> 00a75d147bf9 08:57:54 [Warning] One or more build-args [ARCH] were not consumed 08:57:54 Successfully built 00a75d147bf9 08:57:54 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:54 provisioning config files... 08:57:54 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config112794386252361466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:54 ---> ****-login.sh 08:57:54 nexus3.edgexfoundry.org:10001 08:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:54 Configure a credential helper to remove this warning. See 08:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:54 08:57:54 Login Succeeded 08:57:54 nexus3.edgexfoundry.org:10002 08:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:54 Configure a credential helper to remove this warning. See 08:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:54 08:57:54 Login Succeeded 08:57:54 nexus3.edgexfoundry.org:10003 08:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:55 Configure a credential helper to remove this warning. See 08:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:55 08:57:55 Login Succeeded 08:57:55 nexus3.edgexfoundry.org:10004 08:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:55 Configure a credential helper to remove this warning. See 08:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:55 08:57:55 Login Succeeded 08:57:55 ****.io 08:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:55 Configure a credential helper to remove this warning. See 08:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:55 08:57:55 Login Succeeded 08:57:55 ---> ****-login.sh ends [Pipeline] } 08:57:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:57:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:57:55 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 08:57:55 886fb5391d0715c03eb52aea2bbf175b6095cc08 08:57:55 latest 08:57:55 3.0.1-dev.17 08:57:55 886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 08:57:55 main 08:57:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:56 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:56 + docker push nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08 08:57:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:57:56 0c790eaf5a2e: Preparing 08:57:56 50d6cf8f5574: Preparing 08:57:56 7598d8ada734: Preparing 08:57:56 8ffc3e546b4c: Preparing 08:57:56 c94c7b9810aa: Preparing 08:57:56 9fe9a137fd00: Preparing 08:57:56 9fe9a137fd00: Waiting 08:57:56 8ffc3e546b4c: Pushed 08:57:56 50d6cf8f5574: Pushed 08:57:56 7598d8ada734: Pushed 08:57:56 c94c7b9810aa: Pushed 08:57:56 9fe9a137fd00: Layer already exists 08:57:59 0c790eaf5a2e: Pushed 08:57:59 886fb5391d0715c03eb52aea2bbf175b6095cc08: digest: sha256:e65cd614c933886ca9853152b796c3adcf7e6b23084b2f67b346a46d6032d3d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:00 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 08:58:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:58:00 0c790eaf5a2e: Preparing 08:58:00 50d6cf8f5574: Preparing 08:58:00 7598d8ada734: Preparing 08:58:00 8ffc3e546b4c: Preparing 08:58:00 c94c7b9810aa: Preparing 08:58:00 9fe9a137fd00: Preparing 08:58:00 9fe9a137fd00: Waiting 08:58:00 8ffc3e546b4c: Layer already exists 08:58:00 50d6cf8f5574: Layer already exists 08:58:00 c94c7b9810aa: Layer already exists 08:58:00 0c790eaf5a2e: Layer already exists 08:58:00 7598d8ada734: Layer already exists 08:58:00 9fe9a137fd00: Layer already exists 08:58:00 latest: digest: sha256:e65cd614c933886ca9853152b796c3adcf7e6b23084b2f67b346a46d6032d3d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.17 08:58:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:58:01 0c790eaf5a2e: Preparing 08:58:01 50d6cf8f5574: Preparing 08:58:01 7598d8ada734: Preparing 08:58:01 8ffc3e546b4c: Preparing 08:58:01 c94c7b9810aa: Preparing 08:58:01 9fe9a137fd00: Preparing 08:58:01 9fe9a137fd00: Waiting 08:58:01 8ffc3e546b4c: Layer already exists 08:58:01 0c790eaf5a2e: Layer already exists 08:58:01 7598d8ada734: Layer already exists 08:58:01 50d6cf8f5574: Layer already exists 08:58:01 c94c7b9810aa: Layer already exists 08:58:01 9fe9a137fd00: Layer already exists 08:58:01 3.0.1-dev.17: digest: sha256:e65cd614c933886ca9853152b796c3adcf7e6b23084b2f67b346a46d6032d3d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:01 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 08:58:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:58:02 0c790eaf5a2e: Preparing 08:58:02 50d6cf8f5574: Preparing 08:58:02 7598d8ada734: Preparing 08:58:02 8ffc3e546b4c: Preparing 08:58:02 c94c7b9810aa: Preparing 08:58:02 9fe9a137fd00: Preparing 08:58:02 9fe9a137fd00: Waiting 08:58:02 7598d8ada734: Layer already exists 08:58:02 c94c7b9810aa: Layer already exists 08:58:02 50d6cf8f5574: Layer already exists 08:58:02 8ffc3e546b4c: Layer already exists 08:58:02 0c790eaf5a2e: Layer already exists 08:58:02 9fe9a137fd00: Layer already exists 08:58:02 886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17: digest: sha256:e65cd614c933886ca9853152b796c3adcf7e6b23084b2f67b346a46d6032d3d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:02 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 08:58:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:58:02 0c790eaf5a2e: Preparing 08:58:02 50d6cf8f5574: Preparing 08:58:02 7598d8ada734: Preparing 08:58:02 8ffc3e546b4c: Preparing 08:58:02 c94c7b9810aa: Preparing 08:58:02 9fe9a137fd00: Preparing 08:58:02 9fe9a137fd00: Waiting 08:58:02 8ffc3e546b4c: Layer already exists 08:58:02 50d6cf8f5574: Layer already exists 08:58:02 0c790eaf5a2e: Layer already exists 08:58:02 c94c7b9810aa: Layer already exists 08:58:02 7598d8ada734: Layer already exists 08:58:02 9fe9a137fd00: Layer already exists 08:58:02 main: digest: sha256:e65cd614c933886ca9853152b796c3adcf7e6b23084b2f67b346a46d6032d3d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:58:03 ===================================================== [Pipeline] echo 08:58:03 taggedImages: 08:58:03 - nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08 08:58:03 - nexus3.edgexfoundry.org:10004/device-uart:latest 08:58:03 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.17 08:58:03 - nexus3.edgexfoundry.org:10004/device-uart:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 08:58:03 - 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 08:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:58:03 08:58:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:58:04 latest: Pulling from edgex-lftools-log-publisher 08:58:04 5eb5b503b376: Pulling fs layer 08:58:04 5c69ac0246d0: Pulling fs layer 08:58:04 ec43610c2a17: Pulling fs layer 08:58:04 3a2ae6a8a46f: Pulling fs layer 08:58:04 33b1e0a273af: Pulling fs layer 08:58:04 5d3b04190fa2: Pulling fs layer 08:58:04 2f39f015ded8: Pulling fs layer 08:58:04 33b1e0a273af: Waiting 08:58:04 3a2ae6a8a46f: Waiting 08:58:04 2f39f015ded8: Waiting 08:58:04 5c69ac0246d0: Verifying Checksum 08:58:04 5c69ac0246d0: Download complete 08:58:04 3a2ae6a8a46f: Download complete 08:58:04 33b1e0a273af: Verifying Checksum 08:58:04 33b1e0a273af: Download complete 08:58:04 ec43610c2a17: Verifying Checksum 08:58:04 ec43610c2a17: Download complete 08:58:04 5d3b04190fa2: Download complete 08:58:04 5eb5b503b376: Verifying Checksum 08:58:04 5eb5b503b376: Download complete 08:58:05 2f39f015ded8: Download complete 08:58:05 5eb5b503b376: Pull complete 08:58:05 5c69ac0246d0: Pull complete 08:58:06 ec43610c2a17: Pull complete 08:58:06 3a2ae6a8a46f: Pull complete 08:58:06 33b1e0a273af: Pull complete 08:58:06 5d3b04190fa2: Pull complete 08:58:10 2f39f015ded8: Pull complete 08:58:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:58:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:11 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 08:58:11 $ 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 08:58:17 $ docker top ad29316ef9461372cc4a09841c14af71284a8841f9fd62b36811a82b58372924 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:18 ---> job-cost.sh 08:58:18 lf-activate-venv: SKIPPING 08:58:18 INFO: No Stack... 08:58:18 INFO: Retrieving Pricing Info for: v3-standard-8 08:58:19 INFO: Archiving Costs [Pipeline] sh 08:58:19 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 08:58:19 + cut -d, -f6 [Pipeline] lock 08:58:19 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-24-stack-cost] 08:58:19 Resource [jenkins-edgexfoundry-device-uart-main-24-stack-cost] did not exist. Created. 08:58:19 Lock acquired on [jenkins-edgexfoundry-device-uart-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:58:19 + echo total: 0.2199999988079071 [Pipeline] stash 08:58:19 Stashed 1 file(s) [Pipeline] } 08:58:19 Lock released on resource [jenkins-edgexfoundry-device-uart-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 08:58:19 $ docker stop --time=1 ad29316ef9461372cc4a09841c14af71284a8841f9fd62b36811a82b58372924 08:58:21 $ docker rm -f --volumes ad29316ef9461372cc4a09841c14af71284a8841f9fd62b36811a82b58372924 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:58:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26453 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 08:58:26 Running in /w/workspace/device-uart/24 [Pipeline] { [Pipeline] checkout 08:58:29 The recommended git tool is: git 08:58:39 using credential edgex-jenkins-ssh 08:58:39 Cloning the remote Git repository 08:58:39 Cloning repository git@github.com:edgexfoundry/device-uart.git 08:58:39 > git init /w/workspace/device-uart/24 # timeout=10 08:58:39 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 08:58:39 > git --version # timeout=10 08:58:40 > git --version # 'git version 2.25.1' 08:58:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:58:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:58:42 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 08:58:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:58:43 Avoid second fetch 08:58:43 Checking out Revision 886fb5391d0715c03eb52aea2bbf175b6095cc08 (main) 08:58:43 > git config core.sparsecheckout # timeout=10 08:58:43 > git checkout -f 886fb5391d0715c03eb52aea2bbf175b6095cc08 # timeout=10 08:58:44 Commit message: "Merge pull request #41 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:58:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:58:45 % Total % Received % Xferd Average Speed Time Time Time Current 08:58:45 Dload Upload Total Spent Left Speed 08:58:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 08:58:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:58:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 08:58:45 sudo tee /etc/docker/daemon.new 08:58:50 { 08:58:50 "registry-mirrors": [ 08:58:50 "https://nexus3.edgexfoundry.org:10001" 08:58:50 ], 08:58:50 "bip": "10.250.0.254/24", 08:58:50 "hosts": [ 08:58:50 "tcp://0.0.0.0:5555", 08:58:50 "unix:///var/run/docker.sock" 08:58:50 ], 08:58:50 "mtu": 1458, 08:58:50 "selinux-enabled": true, 08:58:50 "seccomp-profile": "/etc/docker/seccomp.json" 08:58:50 } [Pipeline] sh 08:58:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:58:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:09 provisioning config files... 08:59:09 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/24@tmp/config4407787365565698945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:09 ---> ****-login.sh 08:59:09 nexus3.edgexfoundry.org:10001 08:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:10 Configure a credential helper to remove this warning. See 08:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:10 08:59:10 Login Succeeded 08:59:10 nexus3.edgexfoundry.org:10002 08:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:10 Configure a credential helper to remove this warning. See 08:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:10 08:59:10 Login Succeeded 08:59:10 nexus3.edgexfoundry.org:10003 08:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:10 Configure a credential helper to remove this warning. See 08:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:10 08:59:10 Login Succeeded 08:59:10 nexus3.edgexfoundry.org:10004 08:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:11 Configure a credential helper to remove this warning. See 08:59:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:11 08:59:11 Login Succeeded 08:59:11 ****.io 08:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:11 Configure a credential helper to remove this warning. See 08:59:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:11 08:59:11 Login Succeeded 08:59:11 ---> ****-login.sh ends [Pipeline] } 08:59:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:59:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:59:12 ========================================================= 08:59:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:59:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:12 + 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 . 08:59:14 #0 building with "default" instance using docker driver 08:59:14 08:59:14 #1 [internal] load build definition from Dockerfile 08:59:14 #1 transferring dockerfile: 30B 08:59:14 #1 transferring dockerfile: 1.93kB 0.0s done 08:59:14 #1 DONE 0.1s 08:59:14 08:59:14 #2 [internal] load .dockerignore 08:59:14 #2 transferring context: 182B done 08:59:14 #2 DONE 0.1s 08:59:14 08:59:14 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:59:14 #3 DONE 0.2s 08:59:14 08:59:14 #4 [internal] load build context 08:59:14 #4 DONE 0.0s 08:59:14 08:59:14 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:59:14 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:59:14 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 08:59:14 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 08:59:14 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.1s 08:59:14 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 08:59:14 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 08:59:14 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 08:59:14 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.10MB / 3.33MB 0.2s 08:59:14 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 08:59:14 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.64MB / 63.99MB 0.3s 08:59:14 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 08:59:14 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 08:59:14 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 08:59:14 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s 08:59:14 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 08:59:14 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 08:59:14 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.38MB / 97.63MB 0.4s 08:59:14 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 237.57kB / 11.40MB 0.4s 08:59:15 #5 ... 08:59:15 08:59:15 #4 [internal] load build context 08:59:15 #4 transferring context: 11.51MB 0.4s done 08:59:15 #4 DONE 0.5s 08:59:15 08:59:15 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.13MB / 63.99MB 0.5s 08:59:15 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.94MB / 11.40MB 0.5s 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s 08:59:15 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.22MB / 97.63MB 0.7s 08:59:15 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.7s 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.8s 08:59:15 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 08:59:15 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.66MB / 63.99MB 1.0s 08:59:15 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 1.0s 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.34MB / 63.99MB 1.1s 08:59:15 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.33MB / 63.99MB 1.2s 08:59:15 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.12MB / 97.63MB 1.2s 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 1.3s 08:59:15 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.70MB / 63.99MB 1.5s 08:59:15 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.5s 08:59:15 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.99MB / 63.99MB 1.6s 08:59:16 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.7s 08:59:16 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 08:59:16 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.9s 08:59:16 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 08:59:16 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.10MB / 97.63MB 2.0s 08:59:16 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 2.2s 08:59:16 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.3s 08:59:17 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.40MB / 97.63MB 2.5s 08:59:17 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.7s done 08:59:22 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 08:59:28 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 08:59:34 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.6s done 08:59:35 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 08:59:35 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 08:59:35 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 08:59:40 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 08:59:43 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 08:59:43 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 08:59:45 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 08:59:49 #5 DONE 34.4s 08:59:49 08:59:49 #6 [builder 2/7] WORKDIR /device-uart 08:59:51 #6 DONE 1.8s 08:59:51 08:59:51 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 08:59:51 #7 0.707 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:59:51 #7 1.145 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:59:52 #7 2.329 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:59:53 #7 2.358 (2/4) Installing libedit (20221030.3.1-r1) 08:59:53 #7 2.374 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:59:53 #7 2.447 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:59:53 #7 2.478 Executing busybox-1.36.1-r5.trigger 08:59:53 #7 2.520 OK: 271 MiB in 56 packages 08:59:53 #7 DONE 2.8s 08:59:53 08:59:53 #8 [builder 4/7] COPY go.mod vendor* ./ 08:59:53 #8 DONE 0.1s 08:59:53 08:59:53 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:00:42 #9 DONE 41.2s 09:00:42 09:00:42 #10 [builder 6/7] COPY . . 09:00:42 #10 DONE 0.3s 09:00:42 09:00:42 #11 [builder 7/7] RUN echo noop 09:00:42 #11 0.665 noop 09:00:42 #11 DONE 0.7s 09:00:42 09:00:42 #12 exporting to image 09:00:42 #12 exporting layers 09:01:00 #12 exporting layers 23.3s done 09:01:00 #12 writing image sha256:9939086e5b1b1d2ad44489620a9831f220e9f9eb8e6075b4af1c4d01717c836e 0.0s done 09:01:00 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 09:01:00 #12 DONE 23.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:01 + docker inspect -f . ci-base-image-arm64 09:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-26453 does not seem to be running inside a container 09:01:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/24 -v /w/workspace/device-uart/24:/w/workspace/device-uart/24:rw,z -v /w/workspace/device-uart/24@tmp:/w/workspace/device-uart/24@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 09:01:03 $ docker top e3113ad3b00aef2693c1ea7be15b16ce9137ac5dddc1a4c5301435315250794c -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:03 + go version 09:01:03 go version go1.21.0 linux/arm64 [Pipeline] } 09:01:03 $ docker stop --time=1 e3113ad3b00aef2693c1ea7be15b16ce9137ac5dddc1a4c5301435315250794c 09:01:05 $ docker rm -f --volumes e3113ad3b00aef2693c1ea7be15b16ce9137ac5dddc1a4c5301435315250794c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:06 + docker inspect -f . ci-base-image-arm64 09:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:06 prd-ubuntu20.04-docker-arm64-4c-16g-26453 does not seem to be running inside a container 09:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/24 -v /w/workspace/device-uart/24:/w/workspace/device-uart/24:rw,z -v /w/workspace/device-uart/24@tmp:/w/workspace/device-uart/24@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 09:01:07 $ docker top 8960549abdd26de99085ed6bdb1112ba0cf5becbe0a7105aec7febfa54e89bb3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:08 + git config --global --add safe.directory /w/workspace/device-uart/24 [Pipeline] fileExists [Pipeline] sh 09:01:08 + make test 09:01:08 go test ./... -coverprofile=coverage.out 09:01:12 ? github.com/edgexfoundry/device-uart [no test files] 09:02:20 ? github.com/edgexfoundry/device-uart/cmd [no test files] 09:02:20 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 09:02:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:02:20 go vet ./... 09:02:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:02:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:02:27 ./bin/test-attribution-txt.sh [Pipeline] echo 09:02:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:02:30 $ docker stop --time=1 8960549abdd26de99085ed6bdb1112ba0cf5becbe0a7105aec7febfa54e89bb3 09:02:32 $ docker rm -f --volumes 8960549abdd26de99085ed6bdb1112ba0cf5becbe0a7105aec7febfa54e89bb3 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:02:33 Warning: overwriting stash ‘coverage-report’ 09:02:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:02:35 + ls -al . 09:02:35 total 152 09:02:35 drwxrwxr-x 7 jenkins jenkins 4096 Dec 30 09:01 . 09:02:35 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:58 .. 09:02:35 -rw-rw-r-- 1 jenkins jenkins 140 Dec 30 08:58 .dockerignore 09:02:35 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:58 .git 09:02:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:58 .github 09:02:35 -rw-rw-r-- 1 jenkins jenkins 343 Dec 30 08:58 .gitignore 09:02:35 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:58 .golangci.yml 09:02:35 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 30 08:58 Attribution.txt 09:02:35 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 30 08:58 CHANGELOG.md 09:02:35 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 30 08:58 Dockerfile 09:02:35 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:58 GOVERNANCE.md 09:02:35 -rw-rw-r-- 1 jenkins jenkins 675 Dec 30 08:58 Jenkinsfile 09:02:35 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:58 LICENSE 09:02:35 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 30 08:58 Makefile 09:02:35 -rw-rw-r-- 1 jenkins jenkins 617 Dec 30 08:58 OWNERS.md 09:02:35 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 30 08:58 README.md 09:02:35 -rw-rw-r-- 1 jenkins jenkins 12 Dec 30 08:55 VERSION 09:02:35 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:58 bin 09:02:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:58 cmd 09:02:35 -rw-r--r-- 1 jenkins jenkins 10 Dec 30 09:01 coverage.out 09:02:35 -rw-rw-r-- 1 jenkins jenkins 3717 Dec 30 08:58 go.mod 09:02:35 -rw-rw-r-- 1 jenkins jenkins 34814 Dec 30 08:58 go.sum 09:02:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:58 internal 09:02:35 -rw-rw-r-- 1 jenkins jenkins 209 Dec 30 08:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:35 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=886fb5391d0715c03eb52aea2bbf175b6095cc08 --label arch=arm64 --label version=3.0.1-dev.17 . 09:02:36 #0 building with "default" instance using docker driver 09:02:36 09:02:36 #1 [internal] load .dockerignore 09:02:36 #1 transferring context: 09:02:36 #1 transferring context: 182B done 09:02:36 #1 DONE 0.0s 09:02:36 09:02:36 #2 [internal] load build definition from Dockerfile 09:02:36 #2 transferring dockerfile: 1.93kB done 09:02:36 #2 DONE 0.0s 09:02:36 09:02:36 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:02:36 #3 DONE 0.0s 09:02:36 09:02:36 #4 [internal] load metadata for docker.io/library/alpine:3.18 09:02:36 #4 DONE 0.3s 09:02:36 09:02:36 #5 [internal] load build context 09:02:36 #5 transferring context: 4.39kB 0.0s done 09:02:36 #5 DONE 0.1s 09:02:36 09:02:36 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:02:36 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 09:02:36 #6 ... 09:02:36 09:02:36 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:02:36 #7 DONE 0.2s 09:02:36 09:02:36 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:02:36 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 09:02:36 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 09:02:36 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 09:02:36 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 09:02:37 #6 ... 09:02:37 09:02:37 #8 [builder 2/7] WORKDIR /device-uart 09:02:37 #8 DONE 0.1s 09:02:37 09:02:37 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:02:37 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 09:02:37 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 09:02:37 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 09:02:38 #6 DONE 1.0s 09:02:38 09:02:38 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 09:02:38 #9 0.632 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:02:38 #9 0.987 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:02:40 #9 2.207 (1/1) Installing dumb-init (1.2.5-r2) 09:02:40 #9 2.221 Executing busybox-1.36.1-r5.trigger 09:02:40 #9 2.251 OK: 8 MiB in 16 packages 09:02:40 #9 ... 09:02:40 09:02:40 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 09:02:40 #10 0.769 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:02:40 #10 1.247 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:02:40 #10 2.540 OK: 271 MiB in 56 packages 09:02:40 #10 DONE 2.9s 09:02:40 09:02:40 #11 [builder 4/7] COPY go.mod vendor* ./ 09:02:40 #11 DONE 0.2s 09:02:40 09:02:40 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:40 #12 ... 09:02:40 09:02:40 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 09:02:40 #9 DONE 2.6s 09:02:40 09:02:40 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:02:41 #13 0.862 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:02:41 #13 1.262 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:02:43 #13 2.314 OK: 8 MiB in 16 packages 09:02:45 #13 DONE 4.6s 09:02:45 09:02:45 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:45 #12 DONE 4.8s 09:02:45 09:02:45 #14 [builder 6/7] COPY . . 09:02:45 #14 DONE 0.3s 09:02:45 09:02:45 #15 [builder 7/7] RUN make build 09:02:46 #15 0.683 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-uart ./cmd 09:04:11 #15 DONE 75.9s 09:04:11 09:04:11 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 09:04:11 #16 DONE 0.1s 09:04:11 09:04:11 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 09:04:11 #17 DONE 0.1s 09:04:11 09:04:11 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 09:04:11 #18 DONE 0.4s 09:04:11 09:04:11 #19 exporting to image 09:04:11 #19 exporting layers 09:04:11 #19 exporting layers 0.4s done 09:04:11 #19 writing image sha256:eedbef39ec2359a7e54f73d7c59ae4194e7573750f1e6117ce452928132e43ad done 09:04:11 #19 naming to docker.io/library/device-uart-arm64 0.0s done 09:04:11 #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 09:04:12 provisioning config files... 09:04:12 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/24@tmp/config476737214411364606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:12 ---> ****-login.sh 09:04:12 nexus3.edgexfoundry.org:10001 09:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:12 Configure a credential helper to remove this warning. See 09:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:12 09:04:12 Login Succeeded 09:04:12 nexus3.edgexfoundry.org:10002 09:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:13 Configure a credential helper to remove this warning. See 09:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:13 09:04:13 Login Succeeded 09:04:13 nexus3.edgexfoundry.org:10003 09:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:13 Configure a credential helper to remove this warning. See 09:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:13 09:04:13 Login Succeeded 09:04:13 nexus3.edgexfoundry.org:10004 09:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:13 Configure a credential helper to remove this warning. See 09:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:13 09:04:13 Login Succeeded 09:04:13 ****.io 09:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:14 Configure a credential helper to remove this warning. See 09:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:14 09:04:14 Login Succeeded 09:04:14 ---> ****-login.sh ends [Pipeline] } 09:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:04:14 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 09:04:14 886fb5391d0715c03eb52aea2bbf175b6095cc08 09:04:14 latest 09:04:14 3.0.1-dev.17 09:04:14 886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 09:04:14 main 09:04:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:14 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:15 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08 09:04:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:04:15 e5c0c3564fa4: Preparing 09:04:15 0c2f0bbace5e: Preparing 09:04:15 ef2a7d79da25: Preparing 09:04:15 e9c0cf73b076: Preparing 09:04:15 44ca2aab3a1b: Preparing 09:04:15 0faf9b67be60: Preparing 09:04:15 0faf9b67be60: Waiting 09:04:15 e9c0cf73b076: Pushed 09:04:15 0c2f0bbace5e: Pushed 09:04:15 0faf9b67be60: Layer already exists 09:04:15 ef2a7d79da25: Pushed 09:04:15 44ca2aab3a1b: Pushed 09:04:21 e5c0c3564fa4: Pushed 09:04:21 886fb5391d0715c03eb52aea2bbf175b6095cc08: digest: sha256:eb5a55c39cdbf755efc632e338f1310e9cd876be780ee628433810922a3a8d1b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:22 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:22 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 09:04:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:04:22 e5c0c3564fa4: Preparing 09:04:22 0c2f0bbace5e: Preparing 09:04:22 ef2a7d79da25: Preparing 09:04:22 e9c0cf73b076: Preparing 09:04:22 44ca2aab3a1b: Preparing 09:04:22 0faf9b67be60: Preparing 09:04:22 0faf9b67be60: Waiting 09:04:22 44ca2aab3a1b: Layer already exists 09:04:22 0c2f0bbace5e: Layer already exists 09:04:22 e9c0cf73b076: Layer already exists 09:04:22 e5c0c3564fa4: Layer already exists 09:04:22 ef2a7d79da25: Layer already exists 09:04:22 0faf9b67be60: Layer already exists 09:04:22 latest: digest: sha256:eb5a55c39cdbf755efc632e338f1310e9cd876be780ee628433810922a3a8d1b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:23 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:23 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.17 09:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:04:23 e5c0c3564fa4: Preparing 09:04:23 0c2f0bbace5e: Preparing 09:04:23 ef2a7d79da25: Preparing 09:04:23 e9c0cf73b076: Preparing 09:04:23 44ca2aab3a1b: Preparing 09:04:23 0faf9b67be60: Preparing 09:04:23 0faf9b67be60: Waiting 09:04:23 e9c0cf73b076: Layer already exists 09:04:23 ef2a7d79da25: Layer already exists 09:04:23 44ca2aab3a1b: Layer already exists 09:04:23 e5c0c3564fa4: Layer already exists 09:04:23 0c2f0bbace5e: Layer already exists 09:04:23 0faf9b67be60: Layer already exists 09:04:24 3.0.1-dev.17: digest: sha256:eb5a55c39cdbf755efc632e338f1310e9cd876be780ee628433810922a3a8d1b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:24 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:24 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 09:04:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:04:24 e5c0c3564fa4: Preparing 09:04:24 0c2f0bbace5e: Preparing 09:04:24 ef2a7d79da25: Preparing 09:04:24 e9c0cf73b076: Preparing 09:04:24 44ca2aab3a1b: Preparing 09:04:24 0faf9b67be60: Preparing 09:04:24 0faf9b67be60: Waiting 09:04:24 0c2f0bbace5e: Layer already exists 09:04:24 e9c0cf73b076: Layer already exists 09:04:24 e5c0c3564fa4: Layer already exists 09:04:24 ef2a7d79da25: Layer already exists 09:04:24 44ca2aab3a1b: Layer already exists 09:04:24 0faf9b67be60: Layer already exists 09:04:25 886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17: digest: sha256:eb5a55c39cdbf755efc632e338f1310e9cd876be780ee628433810922a3a8d1b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:26 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 09:04:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 09:04:26 e5c0c3564fa4: Preparing 09:04:26 0c2f0bbace5e: Preparing 09:04:26 ef2a7d79da25: Preparing 09:04:26 e9c0cf73b076: Preparing 09:04:26 44ca2aab3a1b: Preparing 09:04:26 0faf9b67be60: Preparing 09:04:26 0faf9b67be60: Waiting 09:04:26 ef2a7d79da25: Layer already exists 09:04:26 44ca2aab3a1b: Layer already exists 09:04:26 e9c0cf73b076: Layer already exists 09:04:26 0c2f0bbace5e: Layer already exists 09:04:26 e5c0c3564fa4: Layer already exists 09:04:26 0faf9b67be60: Layer already exists 09:04:26 main: digest: sha256:eb5a55c39cdbf755efc632e338f1310e9cd876be780ee628433810922a3a8d1b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:26 ===================================================== [Pipeline] echo 09:04:26 taggedImages: 09:04:26 - nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08 09:04:26 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 09:04:26 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.17 09:04:26 - nexus3.edgexfoundry.org:10004/device-uart-arm64:886fb5391d0715c03eb52aea2bbf175b6095cc08-3.0.1-dev.17 09:04:26 - 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 09:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:04:27 09:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:04:28 arm64: Pulling from edgex-lftools-log-publisher 09:04:28 8998bd30e6a1: Pulling fs layer 09:04:28 04944245beec: Pulling fs layer 09:04:28 699f458cf7ca: Pulling fs layer 09:04:28 765212b225bb: Pulling fs layer 09:04:28 f23df028b6ca: Pulling fs layer 09:04:28 d65c8cfc05b1: Pulling fs layer 09:04:28 2437ff75d9bd: Pulling fs layer 09:04:28 d65c8cfc05b1: Waiting 09:04:28 f23df028b6ca: Waiting 09:04:28 765212b225bb: Waiting 09:04:28 2437ff75d9bd: Waiting 09:04:28 04944245beec: Verifying Checksum 09:04:28 04944245beec: Download complete 09:04:28 765212b225bb: Verifying Checksum 09:04:28 765212b225bb: Download complete 09:04:28 f23df028b6ca: Verifying Checksum 09:04:28 d65c8cfc05b1: Verifying Checksum 09:04:28 d65c8cfc05b1: Download complete 09:04:28 699f458cf7ca: Verifying Checksum 09:04:28 699f458cf7ca: Download complete 09:04:28 8998bd30e6a1: Verifying Checksum 09:04:28 8998bd30e6a1: Download complete 09:04:30 2437ff75d9bd: Verifying Checksum 09:04:30 2437ff75d9bd: Download complete 09:04:35 8998bd30e6a1: Pull complete 09:04:35 04944245beec: Pull complete 09:04:37 699f458cf7ca: Pull complete 09:04:37 765212b225bb: Pull complete 09:04:38 f23df028b6ca: Pull complete 09:04:38 d65c8cfc05b1: Pull complete 09:05:05 2437ff75d9bd: Pull complete 09:05:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:05:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:05 prd-ubuntu20.04-docker-arm64-4c-16g-26453 does not seem to be running inside a container 09:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/24 -v /w/workspace/device-uart/24:/w/workspace/device-uart/24:rw,z -v /w/workspace/device-uart/24@tmp:/w/workspace/device-uart/24@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 09:05:07 $ docker top 3aea1cd4ce24a4535db1e13bba05548e750fb4e93056d6c39b8c02eb454133bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:08 ---> job-cost.sh 09:05:08 lf-activate-venv: SKIPPING 09:05:08 INFO: No Stack... 09:05:08 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:09 INFO: Archiving Costs [Pipeline] sh 09:05:10 + cut -d, -f6 09:05:10 + cat /w/workspace/device-uart/24/archives/cost.csv [Pipeline] lock 09:05:10 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-24-stack-cost] 09:05:10 Resource [jenkins-edgexfoundry-device-uart-main-24-stack-cost] did not exist. Created. 09:05:10 Lock acquired on [jenkins-edgexfoundry-device-uart-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:10 /w/workspace/device-uart/24@tmp/durable-9877e717/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:05:10 + echo total: 0.2199999988079071 [Pipeline] stash 09:05:11 Warning: overwriting stash ‘stack-cost’ 09:05:11 Stashed 1 file(s) [Pipeline] } 09:05:11 Lock released on resource [jenkins-edgexfoundry-device-uart-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 09:05:11 $ docker stop --time=1 3aea1cd4ce24a4535db1e13bba05548e750fb4e93056d6c39b8c02eb454133bc 09:05:12 $ docker rm -f --volumes 3aea1cd4ce24a4535db1e13bba05548e750fb4e93056d6c39b8c02eb454133bc [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 09:05:13 provisioning config files... 09:05:13 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15743863166818672212tmp [Pipeline] { [Pipeline] sh 09:05:14 + set +x 09:05:14 + curl -s https://codecov.io/bash 09:05:14 + bash -s -- 09:05:14 09:05:14 _____ _ 09:05:14 / ____| | | 09:05:14 | | ___ __| | ___ ___ _____ __ 09:05:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:05:14 | |___| (_) | (_| | __/ (_| (_) \ V / 09:05:14 \_____\___/ \__,_|\___|\___\___/ \_/ 09:05:14 Bash-1.0.6 09:05:14 09:05:14 09:05:14 ==> git version 2.25.1 found 09:05:14 ==> 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 09:05:14 Release-Date: 2020-01-08 09:05:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:05:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:05:14 ==> Jenkins CI detected. 09:05:14 current dir:  /w/workspace/edgexfoundry_device-uart_main 09:05:14 project root: . 09:05:14 --> token set from env 09:05:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:05:14 ==> Running gcov in . (disable via -X gcov) 09:05:14 ==> Python coveragepy not found 09:05:14 ==> Searching for coverage reports in: 09:05:14 + . 09:05:14 -> Found 1 reports 09:05:14 ==> Detecting git/mercurial file structure 09:05:14 ==> Reading reports 09:05:14 + ./coverage.out bytes=10 09:05:14 ==> Appending adjustments 09:05:14 https://docs.codecov.io/docs/fixing-reports 09:05:14 + Found adjustments 09:05:14 ==> Gzipping contents 09:05:14 4.0K /tmp/codecov.YsAMtn.gz 09:05:14 ==> Uploading reports 09:05:14 url: https://codecov.io 09:05:14 query: branch=main&commit=886fb5391d0715c03eb52aea2bbf175b6095cc08&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:14 -> Pinging Codecov 09:05:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=886fb5391d0715c03eb52aea2bbf175b6095cc08&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:15 -> Uploading to 09:05:15 https://storage.googleapis.com/codecov/v4/raw/2023-12-30/B9AA6E0BBD74AE3A32605C7A7C664919/886fb5391d0715c03eb52aea2bbf175b6095cc08/024dd78a-272e-4c66-ade5-bf320bd0a008.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231230%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231230T090514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=562fe7697c0ab67fea762c7ac07a0c41f257d4c0e2996081dcc8f5d26b5f7139 09:05:15 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:15 Dload Upload Total Spent Left Speed 09:05:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2644 --:--:-- --:--:-- --:--:-- 2644 09:05:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] } 09:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:05:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:05:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:16 09:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:05:16 df9b9388f04a: Pulling fs layer 09:05:16 52dc419b0ee2: Pulling fs layer 09:05:16 25bc292e5bac: Pulling fs layer 09:05:16 114826534d7a: Pulling fs layer 09:05:16 4657fd5d0bcf: Pulling fs layer 09:05:16 6ad1cebc031e: Pulling fs layer 09:05:16 8a3aa393b2d8: Pulling fs layer 09:05:16 114826534d7a: Waiting 09:05:16 4657fd5d0bcf: Waiting 09:05:16 8a3aa393b2d8: Waiting 09:05:16 25bc292e5bac: Verifying Checksum 09:05:16 25bc292e5bac: Download complete 09:05:16 52dc419b0ee2: Verifying Checksum 09:05:16 52dc419b0ee2: Download complete 09:05:16 4657fd5d0bcf: Download complete 09:05:16 df9b9388f04a: Download complete 09:05:16 6ad1cebc031e: Verifying Checksum 09:05:16 6ad1cebc031e: Download complete 09:05:16 df9b9388f04a: Pull complete 09:05:16 52dc419b0ee2: Pull complete 09:05:16 25bc292e5bac: Pull complete 09:05:17 114826534d7a: Verifying Checksum 09:05:17 114826534d7a: Download complete 09:05:17 8a3aa393b2d8: Verifying Checksum 09:05:17 8a3aa393b2d8: Download complete 09:05:20 114826534d7a: Pull complete 09:05:20 4657fd5d0bcf: Pull complete 09:05:20 6ad1cebc031e: Pull complete 09:05:23 8a3aa393b2d8: Pull complete 09:05:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:05:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:23 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:05:23 $ 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 09:05:28 $ docker top 3f12c7744cad5959d9ade34bdba782edb0665ab466c67fbbac98afd19b7d160b -eo pid,comm [Pipeline] { [Pipeline] echo 09:05:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 09:05:29 + set -o pipefail 09:05:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 09:05:35 09:05:35 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 09:05:35 09:05:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/e593514c-3205-4d86-93b0-ef0c11616641 09:05:35 09:05:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:05:35 09:05:35 09:05:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:05:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:05:35 More details here: https://snyk.co/ue1NS 09:05:35 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:05:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:05:35 $ docker stop --time=1 3f12c7744cad5959d9ade34bdba782edb0665ab466c67fbbac98afd19b7d160b 09:05:41 $ docker rm -f --volumes 3f12c7744cad5959d9ade34bdba782edb0665ab466c67fbbac98afd19b7d160b [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 09:05:42 + git log --format=format:%s -1 886fb5391d0715c03eb52aea2bbf175b6095cc08 [Pipeline] sh 09:05:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:05:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:05:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:43 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:05: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 09:05:44 $ docker top eaf20d5a88e232f263625114037065b35d32f56ba8bc5a6d98b6491eea11337d -eo pid,comm 09:05:44 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). 09:05:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:05:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:05:44 [ssh-agent] Looking for ssh-agent implementation... 09:05:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:05:44 $ docker exec eaf20d5a88e232f263625114037065b35d32f56ba8bc5a6d98b6491eea11337d ssh-agent 09:05:44 SSH_AUTH_SOCK=/tmp/ssh-YTssqkpD78rz/agent.31 09:05:44 SSH_AGENT_PID=37 09:05:44 Running ssh-add (command line suppressed) 09:05:44 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7986002518632116177.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7986002518632116177.key) 09:05:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:05:45 + git semver tag 09:05:45 2023-12-30 09:05:45,214 [run_tag] DEBUG tag force:False 09:05:45 2023-12-30 09:05:45,214 [check_head_tag] DEBUG check head tag 09:05:45 2023-12-30 09:05:45,215 [execute] INFO git cat-file --batch-check 09:05:45 2023-12-30 09:05:45,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 09:05:45 2023-12-30 09:05:45,219 [execute] INFO git cat-file --batch 09:05:45 2023-12-30 09:05:45,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 09:05:45 2023-12-30 09:05:45,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:05:45 2023-12-30 09:05:45,229 [execute] INFO git tag -a v3.0.1-dev.17 -m v3.0.1-dev.17 09:05:45 2023-12-30 09:05:45,229 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.17', '-m', 'v3.0.1-dev.17'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 09:05:45 2023-12-30 09:05:45,234 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:05:45 3.0.1-dev.17 [Pipeline] } 09:05:45 $ docker exec --env ******** --env ******** eaf20d5a88e232f263625114037065b35d32f56ba8bc5a6d98b6491eea11337d ssh-agent -k 09:05:45 unset SSH_AUTH_SOCK; 09:05:45 unset SSH_AGENT_PID; 09:05:45 echo Agent pid 37 killed; 09:05:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:05:45 + git semver [Pipeline] } 09:05:46 $ docker stop --time=1 eaf20d5a88e232f263625114037065b35d32f56ba8bc5a6d98b6491eea11337d 09:05:47 $ docker rm -f --volumes eaf20d5a88e232f263625114037065b35d32f56ba8bc5a6d98b6491eea11337d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:05:48 09:05:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:05:48 0.23.1-centos7: Pulling from edgex-lftools 09:05:48 ab5ef0e58194: Pulling fs layer 09:05:48 9712f1f96733: Pulling fs layer 09:05:48 63f879dbbcfc: Pulling fs layer 09:05:48 0d9ebad4ef96: Pulling fs layer 09:05:48 e9a5061849ea: Pulling fs layer 09:05:48 d747dcd14b5f: Pulling fs layer 09:05:48 2de7ff778b66: Pulling fs layer 09:05:48 d747dcd14b5f: Waiting 09:05:48 0d9ebad4ef96: Waiting 09:05:48 e9a5061849ea: Waiting 09:05:48 2de7ff778b66: Waiting 09:05:48 9712f1f96733: Verifying Checksum 09:05:48 9712f1f96733: Download complete 09:05:48 63f879dbbcfc: Verifying Checksum 09:05:48 63f879dbbcfc: Download complete 09:05:48 e9a5061849ea: Verifying Checksum 09:05:48 e9a5061849ea: Download complete 09:05:48 d747dcd14b5f: Download complete 09:05:49 0d9ebad4ef96: Verifying Checksum 09:05:49 0d9ebad4ef96: Download complete 09:05:49 ab5ef0e58194: Verifying Checksum 09:05:49 ab5ef0e58194: Download complete 09:05:49 2de7ff778b66: Verifying Checksum 09:05:49 2de7ff778b66: Download complete 09:05:52 ab5ef0e58194: Pull complete 09:05:52 9712f1f96733: Pull complete 09:05:52 63f879dbbcfc: Pull complete 09:05:56 0d9ebad4ef96: Pull complete 09:05:56 e9a5061849ea: Pull complete 09:05:57 d747dcd14b5f: Pull complete 09:05:58 2de7ff778b66: Pull complete 09:05:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:05:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:59 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:05:59 $ 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 09:06:05 $ docker top 3016af18e642f2c764bf8f4aef316df9298707e967d9abc86af0e1945e9b70ff -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:06:06 provisioning config files... 09:06:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9110386233290019890tmp 09:06:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13629714902651111812tmp 09:06:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2466782260275412306tmp [Pipeline] { [Pipeline] echo 09:06:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:06:06 ---> sigul-configuration.sh 09:06:06 gpg: directory `/root/.gnupg' created 09:06:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:06:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:06:06 gpg: keyring `/root/.gnupg/secring.gpg' created 09:06:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:06:06 gpg: CAST5 encrypted data 09:06:06 gpg: encrypted with 1 passphrase 09:06:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:06:06 + mkdir /home/jenkins 09:06:06 + mkdir /home/jenkins/sigul [Pipeline] sh 09:06:07 + 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 09:06:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:06:07 ---> sigul-install.sh 09:06:07 Sigul already installed; skipping installation. [Pipeline] sh 09:06:07 + git tag --list 09:06:07 v0.0.0 09:06:07 v0.0.1-dev.1 09:06:07 v0.0.1-dev.2 09:06:07 v0.0.1-dev.3 09:06:07 v0.0.1-dev.4 09:06:07 v3.0.0 09:06:07 v3.0.1-dev.1 09:06:07 v3.0.1-dev.10 09:06:07 v3.0.1-dev.11 09:06:07 v3.0.1-dev.12 09:06:07 v3.0.1-dev.13 09:06:07 v3.0.1-dev.14 09:06:07 v3.0.1-dev.15 09:06:07 v3.0.1-dev.16 09:06:07 v3.0.1-dev.17 09:06:07 v3.0.1-dev.2 09:06:07 v3.0.1-dev.3 09:06:07 v3.0.1-dev.4 09:06:07 v3.0.1-dev.5 09:06:07 v3.0.1-dev.6 09:06:07 v3.0.1-dev.7 09:06:07 v3.0.1-dev.8 09:06:07 v3.0.1-dev.9 09:06:07 v3.1 09:06:07 v3.1.0 [Pipeline] sh 09:06:07 + lftools sign git-tag v3.0.1-dev.17 09:06:08 Signing Git tag with Sigul... 09:06:08 Signing v3.0.1-dev.17 [Pipeline] echo 09:06:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:06:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:06:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:06:09 $ docker stop --time=1 3016af18e642f2c764bf8f4aef316df9298707e967d9abc86af0e1945e9b70ff 09:06:10 $ docker rm -f --volumes 3016af18e642f2c764bf8f4aef316df9298707e967d9abc86af0e1945e9b70ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:06:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:06:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:12 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:06:12 $ 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 09:06:12 $ docker top 9f6d715b0316b6b699794db436ab9cacce5cf39c85e0b7882c645b7bd58ba6b3 -eo pid,comm 09:06:12 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). 09:06:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:13 [ssh-agent] Looking for ssh-agent implementation... 09:06:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:13 $ docker exec 9f6d715b0316b6b699794db436ab9cacce5cf39c85e0b7882c645b7bd58ba6b3 ssh-agent 09:06:13 SSH_AUTH_SOCK=/tmp/ssh-sWA4doKwFDY6/agent.33 09:06:13 SSH_AGENT_PID=39 09:06:13 Running ssh-add (command line suppressed) 09:06:13 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11509501294419564664.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11509501294419564664.key) 09:06:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:14 + git semver bump pre 09:06:14 2023-12-30 09:06:14,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:06:14 2023-12-30 09:06:14,403 [bump_version] DEBUG bumping version:3.0.1-dev.17 on axis:pre with prefix:dev 09:06:14 2023-12-30 09:06:14,403 [bump_version] DEBUG bumped version:3.0.1-dev.18 09:06:14 2023-12-30 09:06:14,403 [write_version] DEBUG write version:3.0.1-dev.18 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 09:06:14 2023-12-30 09:06:14,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:06:14 2023-12-30 09:06:14,403 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 09:06:14 2023-12-30 09:06:14,406 [execute] INFO git cat-file --batch-check 09:06:14 2023-12-30 09:06:14,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:14 2023-12-30 09:06:14,411 [execute] INFO git cat-file --batch 09:06:14 2023-12-30 09:06:14,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:14 2023-12-30 09:06:14,417 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:06:14 3.0.1-dev.18 [Pipeline] } 09:06:14 $ docker exec --env ******** --env ******** 9f6d715b0316b6b699794db436ab9cacce5cf39c85e0b7882c645b7bd58ba6b3 ssh-agent -k 09:06:14 unset SSH_AUTH_SOCK; 09:06:14 unset SSH_AGENT_PID; 09:06:14 echo Agent pid 39 killed; 09:06:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:15 + git semver [Pipeline] } 09:06:15 $ docker stop --time=1 9f6d715b0316b6b699794db436ab9cacce5cf39c85e0b7882c645b7bd58ba6b3 09:06:16 $ docker rm -f --volumes 9f6d715b0316b6b699794db436ab9cacce5cf39c85e0b7882c645b7bd58ba6b3 [Pipeline] // withDockerContainer [Pipeline] sh 09:06:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:06:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:06:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:17 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:06:17 $ 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 09:06:18 $ docker top 96030efeded44f52e413494bf3e5e16f7aa5cffe48ebb21953b7dffcbf2ce27a -eo pid,comm 09:06:18 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). 09:06:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:18 [ssh-agent] Looking for ssh-agent implementation... 09:06:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:18 $ docker exec 96030efeded44f52e413494bf3e5e16f7aa5cffe48ebb21953b7dffcbf2ce27a ssh-agent 09:06:18 SSH_AUTH_SOCK=/tmp/ssh-9KYSGh2AWFaX/agent.33 09:06:18 SSH_AGENT_PID=39 09:06:18 Running ssh-add (command line suppressed) 09:06:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3954260182658572936.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3954260182658572936.key) 09:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:19 + git semver push 09:06:19 2023-12-30 09:06:19,333 [run_push] DEBUG push 09:06:19 2023-12-30 09:06:19,334 [execute] INFO git cat-file --batch-check 09:06:19 2023-12-30 09:06:19,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:19 2023-12-30 09:06:19,339 [execute] INFO git rev-list ee7cae61d5eb81dec8d115c3152c7a6de413a353 -- 09:06:19 2023-12-30 09:06:19,339 [execute] DEBUG Popen(['git', 'rev-list', 'ee7cae61d5eb81dec8d115c3152c7a6de413a353', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:06:19 2023-12-30 09:06:19,346 [execute] INFO git fetch -v origin 09:06:19 2023-12-30 09:06:19,346 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 09:06:19 2023-12-30 09:06:19,876 [run_push] DEBUG no remote changes detected 09:06:19 2023-12-30 09:06:19,877 [execute] INFO git push origin semver 09:06:19 2023-12-30 09:06:19,877 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:06:20 2023-12-30 09:06:20,735 [run_push] DEBUG push all version tags 09:06:20 2023-12-30 09:06:20,735 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:06:20 2023-12-30 09:06:20,736 [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) 09:06:21 2023-12-30 09:06:21,468 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:06:21 3.0.1-dev.18 [Pipeline] } 09:06:21 $ docker exec --env ******** --env ******** 96030efeded44f52e413494bf3e5e16f7aa5cffe48ebb21953b7dffcbf2ce27a ssh-agent -k 09:06:21 unset SSH_AUTH_SOCK; 09:06:21 unset SSH_AGENT_PID; 09:06:21 echo Agent pid 39 killed; 09:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:22 + git semver [Pipeline] } 09:06:22 $ docker stop --time=1 96030efeded44f52e413494bf3e5e16f7aa5cffe48ebb21953b7dffcbf2ce27a 09:06:23 $ docker rm -f --volumes 96030efeded44f52e413494bf3e5e16f7aa5cffe48ebb21953b7dffcbf2ce27a [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 09:06:25 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 09:06:25 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:06:25 total 16 09:06:25 drwxr-xr-x 3 root root 4096 Dec 30 08:58 . 09:06:25 drwxrwxr-x 9 jenkins jenkins 4096 Dec 30 09:06 .. 09:06:25 drwxr-xr-x 2 root root 4096 Dec 30 08:58 cost 09:06:25 -rw-r--r-- 1 root root 82 Dec 30 08:58 cost.csv 09:06:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 09:06:25 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:06:25 total 16 09:06:25 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:58 . 09:06:25 drwxrwxr-x 9 jenkins jenkins 4096 Dec 30 09:06 .. 09:06:25 drwxr-xr-x 2 jenkins jenkins 4096 Dec 30 08:58 cost 09:06:25 -rw-r--r-- 1 jenkins jenkins 82 Dec 30 08:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:06:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:06:26 ---> package-listing.sh 09:06:26 ++ facter osfamily 09:06:26 ++ tr '[:upper:]' '[:lower:]' 09:06:26 + OS_FAMILY=debian 09:06:26 + workspace=/w/workspace/edgexfoundry_device-uart_main 09:06:26 + START_PACKAGES=/tmp/packages_start.txt 09:06:26 + END_PACKAGES=/tmp/packages_end.txt 09:06:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:06:26 + PACKAGES=/tmp/packages_start.txt 09:06:26 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:06:26 + PACKAGES=/tmp/packages_end.txt 09:06:26 + case "${OS_FAMILY}" in 09:06:26 + dpkg -l 09:06:26 + grep '^ii' 09:06:26 + '[' -f /tmp/packages_start.txt ']' 09:06:26 + '[' -f /tmp/packages_end.txt ']' 09:06:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:06:26 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:06:26 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 09:06:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 09:06:26 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 09:06:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:27 prd-ubuntu20.04-docker-8c-8g-26449 does not seem to be running inside a container 09:06:27 $ 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 09:06:28 $ docker top 042c2c999919410543efe48ad61dcdab168a639d18507fcacea31d189d3f27da -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:28 + touch /tmp/pre-build-complete [Pipeline] sh 09:06:28 + mkdir -p /var/log/sysstat [Pipeline] sh 09:06:29 + ls /var/log/sa-host 09:06:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:29 provisioning config files... 09:06:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13272710229885658814tmp [Pipeline] { [Pipeline] echo 09:06:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:06:29 ---> create-netrc.sh [Pipeline] } 09:06:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:06:30 ---> python-tools-install.sh [Pipeline] echo 09:06:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:06:30 ---> sudo-logs.sh 09:06:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:06:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:06:31 ---> job-cost.sh 09:06:31 lf-activate-venv: SKIPPING 09:06:31 DEBUG: total: 0.2199999988079071 09:06:31 INFO: Retrieving Stack Cost... 09:06:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:06:31 INFO: Archiving Costs [Pipeline] echo 09:06:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:06:32 ---> logs-deploy.sh 09:06:32 lf-activate-venv: SKIPPING 09:06:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/24 09:06:32 INFO: archiving workspace using pattern(s): 09:06:33 Archives upload complete. 09:06:33 INFO: archiving logs to Nexus