Started by user Lenny Goodell Replayed #20 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 56a8503eef07c46f22bc765105e6cf123a2f1194 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-ssh6126660576001545158.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-ssh8034366299488357957.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-ssh15559410386483183452.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. Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXReleaseDocs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy 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-ssh3440202944694285721.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-ssh17402613250798446789.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. Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfParallelCostCapture.groovy Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfNode.groovy Replacing contents of vars/lfJava.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9124 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 56a8503eef07c46f22bc765105e6cf123a2f1194 (main) Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 > git rev-list --no-walk 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:25:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:25:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:25:21 ========================================================= 15:25:21 EdgeX Global Pipelines Version Info 15:25:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:25:22 ------------------- 15:25:22 stable info: 15:25:22 ------------------- 15:25:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:25:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:25:22 Message: update stable to v1.0.258 15:25:22 ------------------- 15:25:22 experimental info: 15:25:22 ------------------- 15:25:22 Commited By: **** collab-it+edgex@linuxfoundation.org 15:25:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:25:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:25:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:25:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:25:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:25:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 15:25:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a8503 [Pipeline] echo 15:25:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:24 provisioning config files... 15:25:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5874729264070885863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:24 ---> ****-login.sh 15:25:24 nexus3.edgexfoundry.org:10001 15:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:25 Configure a credential helper to remove this warning. See 15:25:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:25 15:25:25 Login Succeeded 15:25:25 nexus3.edgexfoundry.org:10002 15:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:25 Configure a credential helper to remove this warning. See 15:25:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:25 15:25:25 Login Succeeded 15:25:25 nexus3.edgexfoundry.org:10003 15:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:25 Configure a credential helper to remove this warning. See 15:25:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:25 15:25:25 Login Succeeded 15:25:25 nexus3.edgexfoundry.org:10004 15:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:25 Configure a credential helper to remove this warning. See 15:25:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:25 15:25:25 Login Succeeded 15:25:25 ****.io 15:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:25 Configure a credential helper to remove this warning. See 15:25:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:25 15:25:25 Login Succeeded 15:25:25 ---> ****-login.sh ends [Pipeline] } 15:25:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:25:26 + git rev-list -1 --merges 56a8503eef07c46f22bc765105e6cf123a2f1194~1..56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 15:25:26 -----------> git rev-list -1 --merges 56a8503eef07c46f22bc765105e6cf123a2f1194~1..56a8503eef07c46f22bc765105e6cf123a2f1194 56a8503eef07c46f22bc765105e6cf123a2f1194 15:25:26 56a8503eef07c46f22bc765105e6cf123a2f1194 [false] [Pipeline] sh 15:25:26 + git log --format=format:%s -1 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 15:25:26 ========================================================= 15:25:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:25:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:27 + git log --format=format:%s -1 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] echo 15:25:27 [semverPrep] GIT_COMMIT: 56a8503eef07c46f22bc765105e6cf123a2f1194, Commit Message: Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0 [Pipeline] echo 15:25:27 [semverPrep] This is not a build commit. [Pipeline] sh 15:25:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:25:27 + grep -v github /etc/ssh/ssh_known_hosts 15:25:27 + [ -e /tmp/ssh_known_hosts ] 15:25:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:25:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:25:27 + sudo tee -a /etc/ssh/ssh_known_hosts 15:25:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:28 15:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:28 0.1.4: Pulling from edgex-devops/py-git-semver 15:25:28 b85a868b505f: Pulling fs layer 15:25:28 e2be974225ed: Pulling fs layer 15:25:28 339a4e72a1f5: Pulling fs layer 15:25:28 988bab9f4d93: Pulling fs layer 15:25:28 1469e6f7b9e6: Pulling fs layer 15:25:28 eaf3925da568: Pulling fs layer 15:25:28 bab4dde63d76: Pulling fs layer 15:25:28 bde34c3a00c8: Pulling fs layer 15:25:28 b352a97aabf1: Pulling fs layer 15:25:28 4872d77fe225: Pulling fs layer 15:25:28 5851b861e8e6: Pulling fs layer 15:25:28 988bab9f4d93: Waiting 15:25:28 eaf3925da568: Waiting 15:25:28 bab4dde63d76: Waiting 15:25:28 b352a97aabf1: Waiting 15:25:28 4872d77fe225: Waiting 15:25:28 bde34c3a00c8: Waiting 15:25:28 e2be974225ed: Download complete 15:25:28 988bab9f4d93: Verifying Checksum 15:25:28 988bab9f4d93: Download complete 15:25:28 1469e6f7b9e6: Verifying Checksum 15:25:28 1469e6f7b9e6: Download complete 15:25:28 eaf3925da568: Download complete 15:25:28 339a4e72a1f5: Verifying Checksum 15:25:28 339a4e72a1f5: Download complete 15:25:28 bde34c3a00c8: Verifying Checksum 15:25:28 bde34c3a00c8: Download complete 15:25:28 b352a97aabf1: Verifying Checksum 15:25:28 b352a97aabf1: Download complete 15:25:28 4872d77fe225: Verifying Checksum 15:25:28 4872d77fe225: Download complete 15:25:28 5851b861e8e6: Verifying Checksum 15:25:28 5851b861e8e6: Download complete 15:25:28 b85a868b505f: Verifying Checksum 15:25:28 b85a868b505f: Download complete 15:25:29 bab4dde63d76: Verifying Checksum 15:25:29 bab4dde63d76: Download complete 15:25:30 b85a868b505f: Pull complete 15:25:30 e2be974225ed: Pull complete 15:25:30 339a4e72a1f5: Pull complete 15:25:30 988bab9f4d93: Pull complete 15:25:31 1469e6f7b9e6: Pull complete 15:25:31 eaf3925da568: Pull complete 15:25:33 bab4dde63d76: Pull complete 15:25:33 bde34c3a00c8: Pull complete 15:25:33 b352a97aabf1: Pull complete 15:25:33 4872d77fe225: Pull complete 15:25:33 5851b861e8e6: Pull complete 15:25:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:25:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:33 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:25:33 $ 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 15:25:36 $ docker top 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 -eo pid,comm 15:25:36 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). 15:25:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:25:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:36 [ssh-agent] Looking for ssh-agent implementation... 15:25:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:36 $ docker exec 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 ssh-agent 15:25:37 SSH_AUTH_SOCK=/tmp/ssh-Q3bg1s21pjC2/agent.32 15:25:37 SSH_AGENT_PID=38 15:25:37 Running ssh-add (command line suppressed) 15:25:37 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2809991350906623114.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2809991350906623114.key) 15:25:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:37 + git tag --points-at HEAD [Pipeline] } 15:25:37 $ docker exec --env ******** --env ******** 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 ssh-agent -k 15:25:37 unset SSH_AUTH_SOCK; 15:25:37 unset SSH_AGENT_PID; 15:25:37 echo Agent pid 38 killed; 15:25:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:25:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:37 [ssh-agent] Looking for ssh-agent implementation... 15:25:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:37 $ docker exec 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 ssh-agent 15:25:37 SSH_AUTH_SOCK=/tmp/ssh-dlryE29HMIuC/agent.72 15:25:37 SSH_AGENT_PID=78 15:25:37 Running ssh-add (command line suppressed) 15:25:38 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3217511542493145202.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3217511542493145202.key) 15:25:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:38 + git semver init 15:25:38 2023-11-29 15:25:38,520 [run_init] DEBUG init version:0.0.0 force:False 15:25:38 2023-11-29 15:25:38,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 15:25:38 2023-11-29 15:25:38,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 15:25:38 2023-11-29 15:25:38,521 [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) 15:25:39 2023-11-29 15:25:39,731 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 15:25:39 2023-11-29 15:25:39,732 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 15:25:39 2023-11-29 15:25:39,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:25:39 2023-11-29 15:25:39,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:25:39 3.0.1-dev.14 [Pipeline] } 15:25:39 $ docker exec --env ******** --env ******** 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 ssh-agent -k 15:25:40 unset SSH_AUTH_SOCK; 15:25:40 unset SSH_AGENT_PID; 15:25:40 echo Agent pid 78 killed; 15:25:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:25:40 + git semver [Pipeline] } 15:25:40 $ docker stop --time=1 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 15:25:42 $ docker rm -f --volumes 6d82aa2843be584856154e395c6177a9f808433b6fb9732f540515f851cf7011 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:25:42 Stashed 1 file(s) [Pipeline] echo 15:25:42 [edgeXSemver]: initialized semver on version 3.0.1-dev.14 [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 15:25:43 provisioning config files... 15:25:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10722839913186722754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:43 ---> ****-login.sh 15:25:43 nexus3.edgexfoundry.org:10001 15:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:43 Configure a credential helper to remove this warning. See 15:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:43 15:25:43 Login Succeeded 15:25:43 nexus3.edgexfoundry.org:10002 15:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:43 Configure a credential helper to remove this warning. See 15:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:43 15:25:43 Login Succeeded 15:25:43 nexus3.edgexfoundry.org:10003 15:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:43 Configure a credential helper to remove this warning. See 15:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:43 15:25:43 Login Succeeded 15:25:43 nexus3.edgexfoundry.org:10004 15:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:43 Configure a credential helper to remove this warning. See 15:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:43 15:25:43 Login Succeeded 15:25:43 ****.io 15:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:43 Configure a credential helper to remove this warning. See 15:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:43 15:25:43 Login Succeeded 15:25:43 ---> ****-login.sh ends [Pipeline] } 15:25:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:25:44 ========================================================= 15:25:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:25:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:44 + 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 . 15:25:44 Sending build context to Docker daemon 23.03MB 15:25:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:25:44 Step 2/12 : FROM ${BASE} AS builder 15:25:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:25:44 7264a8db6415: Pulling fs layer 15:25:44 c4d48a809fc2: Pulling fs layer 15:25:44 4f1c88b9dad5: Pulling fs layer 15:25:44 ad3a456e5733: Pulling fs layer 15:25:44 69c7f0334f64: Pulling fs layer 15:25:44 1f1c1a5573a3: Pulling fs layer 15:25:44 ce7588e14bc9: Pulling fs layer 15:25:44 b5e4710f87ac: Pulling fs layer 15:25:44 ad3a456e5733: Waiting 15:25:44 69c7f0334f64: Waiting 15:25:44 1f1c1a5573a3: Waiting 15:25:44 ce7588e14bc9: Waiting 15:25:44 b5e4710f87ac: Waiting 15:25:44 c4d48a809fc2: Download complete 15:25:44 ad3a456e5733: Verifying Checksum 15:25:44 ad3a456e5733: Download complete 15:25:44 69c7f0334f64: Verifying Checksum 15:25:44 69c7f0334f64: Download complete 15:25:44 7264a8db6415: Download complete 15:25:44 1f1c1a5573a3: Verifying Checksum 15:25:44 1f1c1a5573a3: Download complete 15:25:45 7264a8db6415: Pull complete 15:25:45 b5e4710f87ac: Verifying Checksum 15:25:45 b5e4710f87ac: Download complete 15:25:45 c4d48a809fc2: Pull complete 15:25:45 4f1c88b9dad5: Verifying Checksum 15:25:45 4f1c88b9dad5: Download complete 15:25:45 ce7588e14bc9: Verifying Checksum 15:25:45 ce7588e14bc9: Download complete 15:25:49 4f1c88b9dad5: Pull complete 15:25:49 ad3a456e5733: Pull complete 15:25:49 69c7f0334f64: Pull complete 15:25:49 1f1c1a5573a3: Pull complete 15:25:50 ce7588e14bc9: Pull complete 15:25:51 b5e4710f87ac: Pull complete 15:25:51 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:25:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:25:51 ---> 88b5674ff536 15:25:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:25:55 ---> Running in 7f53e265bbca 15:25:55 Removing intermediate container 7f53e265bbca 15:25:55 ---> 86aedbefbda6 15:25:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:25:55 ---> Running in 29a223b64106 15:25:55 Removing intermediate container 29a223b64106 15:25:55 ---> 13a3172f1464 15:25:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:25:55 ---> Running in 214a5cde9c3d 15:25:55 Removing intermediate container 214a5cde9c3d 15:25:55 ---> 9bffb0964d32 15:25:55 Step 6/12 : WORKDIR /device-uart 15:25:55 ---> Running in 3c11803d5144 15:25:55 Removing intermediate container 3c11803d5144 15:25:55 ---> 6757d538fbda 15:25:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:55 ---> Running in 3a9819d485df 15:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:25:56 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:25:56 (2/4) Installing libedit (20221030.3.1-r1) 15:25:56 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:25:56 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:25:56 Executing busybox-1.36.1-r5.trigger 15:25:56 OK: 268 MiB in 56 packages 15:25:57 Removing intermediate container 3a9819d485df 15:25:57 ---> 00db4a2da224 15:25:57 Step 8/12 : COPY go.mod vendor* ./ 15:25:57 ---> 6fdcefabfa98 15:25:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:57 ---> Running in 225ac488f7d9 15:25:57 Still waiting to schedule task 15:25:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:26:43 Removing intermediate container 225ac488f7d9 15:26:43 ---> 9927a6e7444f 15:26:43 Step 10/12 : COPY . . 15:26:43 ---> f995329ed684 15:26:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:43 ---> Running in 726a424d3c98 15:26:43 Removing intermediate container 726a424d3c98 15:26:43 ---> 51c8f897ac82 15:26:43 Step 12/12 : RUN ${MAKE} 15:26:43 ---> Running in d1e208633f4a 15:26:43 noop 15:26:43 Removing intermediate container d1e208633f4a 15:26:43 ---> 2186867fdffb 15:26:43 Successfully built 2186867fdffb 15:26:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:44 + docker inspect -f . ci-base-image-x86_64 15:26:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:44 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:26:44 $ 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 15:26:44 $ docker top b26c4064b477730e730bd82401acde008796e9e8ca956f8722babfc1f2669bc3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:45 + go version 15:26:45 go version go1.21.0 linux/amd64 [Pipeline] } 15:26:45 $ docker stop --time=1 b26c4064b477730e730bd82401acde008796e9e8ca956f8722babfc1f2669bc3 15:26:46 $ docker rm -f --volumes b26c4064b477730e730bd82401acde008796e9e8ca956f8722babfc1f2669bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:47 + docker inspect -f . ci-base-image-x86_64 15:26:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:47 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:26:47 $ 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 15:26:48 $ docker top 36d61dcf49151aba51c93d656821e4f650535a85dbc3159c96397ae772d35aa9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 15:26:49 + make test 15:26:49 go test ./... -coverprofile=coverage.out 15:26:53 ? github.com/edgexfoundry/device-uart [no test files] 15:27:03 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:27:03 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:27:10 go vet ./... 15:27:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:27:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:27:13 ./bin/test-attribution-txt.sh [Pipeline] echo 15:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:27:13 $ docker stop --time=1 36d61dcf49151aba51c93d656821e4f650535a85dbc3159c96397ae772d35aa9 15:27:17 $ docker rm -f --volumes 36d61dcf49151aba51c93d656821e4f650535a85dbc3159c96397ae772d35aa9 [Pipeline] // withDockerContainer [Pipeline] sh 15:27:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:27:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:27:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:27:19 + ls -al . 15:27:19 total 156 15:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 15:26 . 15:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 15:25 .. 15:27:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 15:25 .dockerignore 15:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 15:27 .git 15:27:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:25 .github 15:27:19 -rw-rw-r-- 1 jenkins jenkins 343 Nov 29 15:25 .gitignore 15:27:19 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 15:25 .golangci.yml 15:27:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 15:25 .semver 15:27:19 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 29 15:25 Attribution.txt 15:27:19 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 29 15:25 CHANGELOG.md 15:27:19 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 29 15:25 Dockerfile 15:27:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 15:25 GOVERNANCE.md 15:27:19 -rw-rw-r-- 1 jenkins jenkins 675 Nov 29 15:25 Jenkinsfile 15:27:19 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 15:25 LICENSE 15:27:19 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 29 15:25 Makefile 15:27:19 -rw-rw-r-- 1 jenkins jenkins 617 Nov 29 15:25 OWNERS.md 15:27:19 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 29 15:25 README.md 15:27:19 -rw-rw-r-- 1 jenkins jenkins 12 Nov 29 15:25 VERSION 15:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 15:25 bin 15:27:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:25 cmd 15:27:19 -rw-r--r-- 1 jenkins jenkins 10 Nov 29 15:26 coverage.out 15:27:19 -rw-rw-r-- 1 jenkins jenkins 3716 Nov 29 15:25 go.mod 15:27:19 -rw-rw-r-- 1 jenkins jenkins 35303 Nov 29 15:25 go.sum 15:27:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:25 internal 15:27:19 -rw-rw-r-- 1 jenkins jenkins 209 Nov 29 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:19 + 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=56a8503eef07c46f22bc765105e6cf123a2f1194 --label arch=amd64 --label version=3.0.1-dev.14 . 15:27:19 Sending build context to Docker daemon 23.03MB 15:27:19 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:27:19 Step 2/26 : FROM ${BASE} AS builder 15:27:19 ---> 2186867fdffb 15:27:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:27:20 ---> Running in 598704868e65 15:27:20 Removing intermediate container 598704868e65 15:27:20 ---> 79fa6e9967bc 15:27:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:27:20 ---> Running in f83da60edebb 15:27:20 Removing intermediate container f83da60edebb 15:27:20 ---> 17b00ad8ef37 15:27:20 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:27:20 ---> Running in 882d0073e78a 15:27:20 Removing intermediate container 882d0073e78a 15:27:20 ---> 8260b519b01f 15:27:20 Step 6/26 : WORKDIR /device-uart 15:27:20 ---> Running in 85bed4d82e85 15:27:20 Removing intermediate container 85bed4d82e85 15:27:20 ---> c368d8cefb16 15:27:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:20 ---> Running in 6a89223cd4f4 15:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:27:20 OK: 268 MiB in 56 packages 15:27:21 Removing intermediate container 6a89223cd4f4 15:27:21 ---> af01f3914960 15:27:21 Step 8/26 : COPY go.mod vendor* ./ 15:27:21 ---> 6d229dd1e1e8 15:27:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:21 ---> Running in a48fede8a032 15:27:22 Removing intermediate container a48fede8a032 15:27:22 ---> af81c8b2493b 15:27:22 Step 10/26 : COPY . . 15:27:22 ---> ad3d024a7b31 15:27:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:27:22 ---> Running in 1b2f73972bef 15:27:23 Removing intermediate container 1b2f73972bef 15:27:23 ---> 9bb9b1f2e389 15:27:23 Step 12/26 : RUN ${MAKE} 15:27:23 ---> Running in 901f8a6b366a 15:27:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 15:27:45 Removing intermediate container 901f8a6b366a 15:27:45 ---> 864efc60eb97 15:27:45 Step 13/26 : FROM alpine:3.18 15:27:45 3.18: Pulling from library/alpine 15:27:45 96526aa774ef: Pulling fs layer 15:27:45 96526aa774ef: Verifying Checksum 15:27:45 96526aa774ef: Download complete 15:27:45 96526aa774ef: Pull complete 15:27:45 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:27:45 Status: Downloaded newer image for alpine:3.18 15:27:45 ---> 8ca4688f4f35 15:27:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:27:45 ---> Running in 4a62e1cadd19 15:27:45 Removing intermediate container 4a62e1cadd19 15:27:45 ---> 24cc76068ae9 15:27:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 15:27:45 ---> Running in ffa3c1a8db40 15:27:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:27:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:27:45 (1/1) Installing dumb-init (1.2.5-r2) 15:27:45 Executing busybox-1.36.1-r2.trigger 15:27:45 OK: 7 MiB in 16 packages 15:27:45 Removing intermediate container ffa3c1a8db40 15:27:45 ---> 9818ff0235d7 15:27:45 Step 16/26 : RUN apk --no-cache upgrade 15:27:45 ---> Running in 2bde1f4d0bb7 15:27:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:27:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:27:45 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 15:27:45 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 15:27:45 Executing busybox-1.36.1-r5.post-upgrade 15:27:45 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 15:27:45 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 15:27:45 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 15:27:46 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 15:27:46 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 15:27:46 Executing busybox-1.36.1-r5.trigger 15:27:46 OK: 7 MiB in 16 packages 15:27:46 Removing intermediate container 2bde1f4d0bb7 15:27:46 ---> 2d109a3ac183 15:27:46 Step 17/26 : WORKDIR / 15:27:46 ---> Running in eadca39bc7eb 15:27:46 Removing intermediate container eadca39bc7eb 15:27:46 ---> 3b14e3d062d8 15:27:46 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 15:27:46 ---> 168b78d30fcd 15:27:46 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 15:27:47 ---> 42d68cc220a7 15:27:47 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 15:27:48 ---> d394bb6cdd70 15:27:48 Step 21/26 : EXPOSE 59995 15:27:48 ---> Running in 8746f40c569c 15:27:48 Removing intermediate container 8746f40c569c 15:27:48 ---> b1599ad890bb 15:27:48 Step 22/26 : ENTRYPOINT ["/device-uart"] 15:27:49 ---> Running in 2fb84e95326f 15:27:49 Removing intermediate container 2fb84e95326f 15:27:49 ---> bde8b265c8d1 15:27:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:27:49 ---> Running in 390bf222a0ab 15:27:49 Removing intermediate container 390bf222a0ab 15:27:49 ---> 0d435d056d8c 15:27:49 Step 24/26 : LABEL arch=amd64 15:27:50 ---> Running in a2210dbd86e6 15:27:50 Removing intermediate container a2210dbd86e6 15:27:50 ---> f78faa1b72b4 15:27:50 Step 25/26 : LABEL git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 15:27:50 ---> Running in 1abfca751f14 15:27:50 Removing intermediate container 1abfca751f14 15:27:50 ---> 6a0372597f88 15:27:50 Step 26/26 : LABEL version=3.0.1-dev.14 15:27:51 ---> Running in 393c96378b2d 15:27:51 Removing intermediate container 393c96378b2d 15:27:51 ---> a2abd258c860 15:27:51 [Warning] One or more build-args [ARCH] were not consumed 15:27:51 Successfully built a2abd258c860 15:27:51 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:52 provisioning config files... 15:27:52 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1519471260797670751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:52 ---> ****-login.sh 15:27:52 nexus3.edgexfoundry.org:10001 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10002 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10003 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10004 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 ****.io 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 ---> ****-login.sh ends [Pipeline] } 15:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:27:53 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 15:27:53 56a8503eef07c46f22bc765105e6cf123a2f1194 15:27:53 latest 15:27:53 3.0.1-dev.14 15:27:53 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:27:53 main 15:27:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:53 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:54 + docker push nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 15:27:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:27:54 682584782f72: Preparing 15:27:54 af9f465bb4c8: Preparing 15:27:54 7cceda86e6c9: Preparing 15:27:54 ac351365ccdf: Preparing 15:27:54 cf141c63054f: Preparing 15:27:54 cc2447e1835a: Preparing 15:27:54 7cceda86e6c9: Pushed 15:27:54 cf141c63054f: Pushed 15:27:54 af9f465bb4c8: Pushed 15:27:54 cc2447e1835a: Layer already exists 15:27:54 ac351365ccdf: Pushed 15:27:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9125 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 15:27:56 Running in /w/workspace/device-uart/21 [Pipeline] { [Pipeline] checkout 15:27:56 682584782f72: Pushed 15:27:56 56a8503eef07c46f22bc765105e6cf123a2f1194: digest: sha256:ef97801d07631ca8d5352496dd8a266780a449d26d6423343e74f4e7cbe77c8b size: 1576 15:27:59 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:00 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 15:28:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:28:00 682584782f72: Preparing 15:28:00 af9f465bb4c8: Preparing 15:28:00 7cceda86e6c9: Preparing 15:28:00 ac351365ccdf: Preparing 15:28:00 cf141c63054f: Preparing 15:28:00 cc2447e1835a: Preparing 15:28:00 cc2447e1835a: Waiting 15:28:00 ac351365ccdf: Layer already exists 15:28:00 af9f465bb4c8: Layer already exists 15:28:00 cf141c63054f: Layer already exists 15:28:00 682584782f72: Layer already exists 15:28:00 7cceda86e6c9: Layer already exists 15:28:00 cc2447e1835a: Layer already exists 15:28:00 latest: digest: sha256:ef97801d07631ca8d5352496dd8a266780a449d26d6423343e74f4e7cbe77c8b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 15:28:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:28:01 682584782f72: Preparing 15:28:01 af9f465bb4c8: Preparing 15:28:01 7cceda86e6c9: Preparing 15:28:01 ac351365ccdf: Preparing 15:28:01 cf141c63054f: Preparing 15:28:01 cc2447e1835a: Preparing 15:28:01 cc2447e1835a: Waiting 15:28:01 af9f465bb4c8: Layer already exists 15:28:01 682584782f72: Layer already exists 15:28:01 7cceda86e6c9: Layer already exists 15:28:01 cf141c63054f: Layer already exists 15:28:01 ac351365ccdf: Layer already exists 15:28:01 cc2447e1835a: Layer already exists 15:28:01 3.0.1-dev.14: digest: sha256:ef97801d07631ca8d5352496dd8a266780a449d26d6423343e74f4e7cbe77c8b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:01 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:02 + docker push nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:28:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:28:02 682584782f72: Preparing 15:28:02 af9f465bb4c8: Preparing 15:28:02 7cceda86e6c9: Preparing 15:28:02 ac351365ccdf: Preparing 15:28:02 cf141c63054f: Preparing 15:28:02 cc2447e1835a: Preparing 15:28:02 cc2447e1835a: Waiting 15:28:02 7cceda86e6c9: Layer already exists 15:28:02 ac351365ccdf: Layer already exists 15:28:02 682584782f72: Layer already exists 15:28:02 cf141c63054f: Layer already exists 15:28:02 af9f465bb4c8: Layer already exists 15:28:02 cc2447e1835a: Layer already exists 15:28:02 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14: digest: sha256:ef97801d07631ca8d5352496dd8a266780a449d26d6423343e74f4e7cbe77c8b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:02 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:03 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 15:28:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:28:03 682584782f72: Preparing 15:28:03 af9f465bb4c8: Preparing 15:28:03 7cceda86e6c9: Preparing 15:28:03 ac351365ccdf: Preparing 15:28:03 cf141c63054f: Preparing 15:28:03 cc2447e1835a: Preparing 15:28:03 cc2447e1835a: Waiting 15:28:03 7cceda86e6c9: Layer already exists 15:28:03 af9f465bb4c8: Layer already exists 15:28:03 682584782f72: Layer already exists 15:28:03 ac351365ccdf: Layer already exists 15:28:03 cf141c63054f: Layer already exists 15:28:03 cc2447e1835a: Layer already exists 15:28:03 main: digest: sha256:ef97801d07631ca8d5352496dd8a266780a449d26d6423343e74f4e7cbe77c8b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:28:03 ===================================================== [Pipeline] echo 15:28:03 taggedImages: 15:28:03 - nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194 15:28:03 - nexus3.edgexfoundry.org:10004/device-uart:latest 15:28:03 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.14 15:28:03 - nexus3.edgexfoundry.org:10004/device-uart:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:28: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 15:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:04 15:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:04 latest: Pulling from edgex-lftools-log-publisher 15:28:04 5eb5b503b376: Pulling fs layer 15:28:04 5c69ac0246d0: Pulling fs layer 15:28:04 ec43610c2a17: Pulling fs layer 15:28:04 3a2ae6a8a46f: Pulling fs layer 15:28:04 33b1e0a273af: Pulling fs layer 15:28:04 5d3b04190fa2: Pulling fs layer 15:28:04 2f39f015ded8: Pulling fs layer 15:28:04 5d3b04190fa2: Waiting 15:28:04 3a2ae6a8a46f: Waiting 15:28:04 2f39f015ded8: Waiting 15:28:04 33b1e0a273af: Waiting 15:28:04 5c69ac0246d0: Verifying Checksum 15:28:04 5c69ac0246d0: Download complete 15:28:04 3a2ae6a8a46f: Verifying Checksum 15:28:04 3a2ae6a8a46f: Download complete 15:28:04 33b1e0a273af: Verifying Checksum 15:28:04 33b1e0a273af: Download complete 15:28:04 5d3b04190fa2: Verifying Checksum 15:28:04 5d3b04190fa2: Download complete 15:28:04 ec43610c2a17: Verifying Checksum 15:28:04 ec43610c2a17: Download complete 15:28:04 using credential edgex-jenkins-ssh 15:28:04 Cloning the remote Git repository 15:28:04 5eb5b503b376: Verifying Checksum 15:28:04 5eb5b503b376: Download complete 15:28:04 Cloning repository git@github.com:edgexfoundry/device-uart.git 15:28:05 2f39f015ded8: Download complete 15:28:05 5eb5b503b376: Pull complete 15:28:05 5c69ac0246d0: Pull complete 15:28:04 > git init /w/workspace/device-uart/21 # timeout=10 15:28:04 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:28:04 > git --version # timeout=10 15:28:04 > git --version # 'git version 2.25.1' 15:28:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:06 ec43610c2a17: Pull complete 15:28:06 3a2ae6a8a46f: Pull complete 15:28:06 33b1e0a273af: Pull complete 15:28:06 5d3b04190fa2: Pull complete 15:28:09 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:28:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:10 Avoid second fetch 15:28:10 Checking out Revision 56a8503eef07c46f22bc765105e6cf123a2f1194 (main) 15:28:11 2f39f015ded8: Pull complete 15:28:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:28:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:11 Commit message: "Merge pull request #35 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" 15:28:11 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:28: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 15:28:10 > git config core.sparsecheckout # timeout=10 15:28:10 > git checkout -f 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 15:28:11 15:28:11 GitHub has been notified of this commit’s build result 15:28:11 15:28:16 $ docker top e0bdd360ebc43f60b3d2237ceff6a8c2b20b65797c3c22d025b6257044bf9af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:17 ---> job-cost.sh 15:28:17 lf-activate-venv: SKIPPING 15:28:17 INFO: No Stack... 15:28:17 INFO: Retrieving Pricing Info for: v3-standard-8 15:28:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:17 Dload Upload Total Spent Left Speed 15:28:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89309 0 --:--:-- --:--:-- --:--:-- 89309 [Pipeline] sh 15:28:17 INFO: Archiving Costs [Pipeline] sh 15:28:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:17 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 15:28:17 + cut -d, -f6 [Pipeline] lock 15:28:17 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-21-stack-cost] 15:28:17 Resource [jenkins-edgexfoundry-device-uart-main-21-stack-cost] did not exist. Created. 15:28:17 Lock acquired on [jenkins-edgexfoundry-device-uart-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:28:18 + sudo tee /etc/docker/daemon.new 15:28:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:18 { 15:28:18 "registry-mirrors": [ 15:28:18 "https://nexus3.edgexfoundry.org:10001" 15:28:18 ], 15:28:18 "bip": "10.250.0.254/24", 15:28:18 "hosts": [ 15:28:18 "tcp://0.0.0.0:5555", 15:28:18 "unix:///var/run/docker.sock" 15:28:18 ], 15:28:18 "mtu": 1458, 15:28:18 "selinux-enabled": true, 15:28:18 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:18 } [Pipeline] sh 15:28:18 + echo total: 0.2199999988079071 [Pipeline] stash 15:28:18 Stashed 1 file(s) [Pipeline] } 15:28:18 Lock released on resource [jenkins-edgexfoundry-device-uart-main-21-stack-cost] [Pipeline] // lock 15:28:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } 15:28:18 $ docker stop --time=1 e0bdd360ebc43f60b3d2237ceff6a8c2b20b65797c3c22d025b6257044bf9af0 15:28:19 $ docker rm -f --volumes e0bdd360ebc43f60b3d2237ceff6a8c2b20b65797c3c22d025b6257044bf9af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 15:28:20 + sudo service docker restart [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:42 provisioning config files... 15:28:42 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/21@tmp/config9915459725900610783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:42 ---> ****-login.sh 15:28:42 nexus3.edgexfoundry.org:10001 15:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:43 Configure a credential helper to remove this warning. See 15:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:43 15:28:43 Login Succeeded 15:28:43 nexus3.edgexfoundry.org:10002 15:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:43 Configure a credential helper to remove this warning. See 15:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:43 15:28:43 Login Succeeded 15:28:43 nexus3.edgexfoundry.org:10003 15:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:43 Configure a credential helper to remove this warning. See 15:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:43 15:28:43 Login Succeeded 15:28:43 nexus3.edgexfoundry.org:10004 15:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:44 Configure a credential helper to remove this warning. See 15:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:44 15:28:44 Login Succeeded 15:28:44 ****.io 15:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:44 Configure a credential helper to remove this warning. See 15:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:44 15:28:44 Login Succeeded 15:28:45 ---> ****-login.sh ends [Pipeline] } 15:28:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:45 ========================================================= 15:28:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:28:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:28:46 Sending build context to Docker daemon 11.57MB 15:28:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:28:46 Step 2/12 : FROM ${BASE} AS builder 15:28:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:28:46 9fda8d8052c6: Pulling fs layer 15:28:46 5d54e960e981: Pulling fs layer 15:28:46 c4a7e357bf2a: Pulling fs layer 15:28:46 f0e02332f6b5: Pulling fs layer 15:28:46 872ee5b61b7b: Pulling fs layer 15:28:46 0c6a40ed1a82: Pulling fs layer 15:28:46 94ae7d8d031c: Pulling fs layer 15:28:46 f0e02332f6b5: Waiting 15:28:46 0c6a40ed1a82: Waiting 15:28:46 94ae7d8d031c: Waiting 15:28:46 872ee5b61b7b: Waiting 15:28:46 5d54e960e981: Verifying Checksum 15:28:46 5d54e960e981: Download complete 15:28:46 f0e02332f6b5: Verifying Checksum 15:28:46 f0e02332f6b5: Download complete 15:28:46 872ee5b61b7b: Verifying Checksum 15:28:46 872ee5b61b7b: Download complete 15:28:46 9fda8d8052c6: Verifying Checksum 15:28:46 9fda8d8052c6: Download complete 15:28:47 94ae7d8d031c: Verifying Checksum 15:28:47 94ae7d8d031c: Download complete 15:28:47 9fda8d8052c6: Pull complete 15:28:48 5d54e960e981: Pull complete 15:28:48 c4a7e357bf2a: Download complete 15:28:49 0c6a40ed1a82: Verifying Checksum 15:28:49 0c6a40ed1a82: Download complete 15:29:01 c4a7e357bf2a: Pull complete 15:29:01 f0e02332f6b5: Pull complete 15:29:01 872ee5b61b7b: Pull complete 15:29:10 0c6a40ed1a82: Pull complete 15:29:11 94ae7d8d031c: Pull complete 15:29:11 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:29:11 ---> 86de565de09d 15:29:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:29:12 ---> Running in 4650d9f3c6cb 15:29:12 Removing intermediate container 4650d9f3c6cb 15:29:12 ---> fc60c3dd2402 15:29:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:29:12 ---> Running in 3fb3a14b82f8 15:29:12 Removing intermediate container 3fb3a14b82f8 15:29:12 ---> 0ace97412079 15:29:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:29:12 ---> Running in 4ab49e0936f2 15:29:12 Removing intermediate container 4ab49e0936f2 15:29:12 ---> 13cdd74b86b8 15:29:12 Step 6/12 : WORKDIR /device-uart 15:29:13 ---> Running in 2ea86c68868f 15:29:13 Removing intermediate container 2ea86c68868f 15:29:13 ---> dcc50ddcbc9a 15:29:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:29:13 ---> Running in 212c716aabe8 15:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:29:16 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:29:16 (2/4) Installing libedit (20221030.3.1-r1) 15:29:16 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:29:16 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:29:16 Executing busybox-1.36.1-r5.trigger 15:29:16 OK: 271 MiB in 56 packages 15:29:17 Removing intermediate container 212c716aabe8 15:29:17 ---> 6c16119eb347 15:29:17 Step 8/12 : COPY go.mod vendor* ./ 15:29:17 ---> a85bd71dfb90 15:29:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:17 ---> Running in bd984e34fc33 15:30:39 Removing intermediate container bd984e34fc33 15:30:39 ---> 9b94abff146f 15:30:39 Step 10/12 : COPY . . 15:30:39 ---> 9ea65e7cb0bf 15:30:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:30:39 ---> Running in 7f69094ed33e 15:30:39 Removing intermediate container 7f69094ed33e 15:30:39 ---> 94061f6503fa 15:30:39 Step 12/12 : RUN ${MAKE} 15:30:39 ---> Running in 8d447494d66a 15:30:39 noop 15:30:39 Removing intermediate container 8d447494d66a 15:30:39 ---> 6582a9424ad5 15:30:39 Successfully built 6582a9424ad5 15:30:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:39 + docker inspect -f . ci-base-image-arm64 15:30:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:40 prd-ubuntu20.04-docker-arm64-4c-16g-9125 does not seem to be running inside a container 15:30:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/21 -v /w/workspace/device-uart/21:/w/workspace/device-uart/21:rw,z -v /w/workspace/device-uart/21@tmp:/w/workspace/device-uart/21@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 15:30:41 $ docker top 8076ed705bfbf7db930dec1e6c3d9a509fe1bf5aafc10d80dd3e33acf813582e -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:42 + go version 15:30:42 go version go1.21.0 linux/arm64 [Pipeline] } 15:30:42 $ docker stop --time=1 8076ed705bfbf7db930dec1e6c3d9a509fe1bf5aafc10d80dd3e33acf813582e 15:30:44 $ docker rm -f --volumes 8076ed705bfbf7db930dec1e6c3d9a509fe1bf5aafc10d80dd3e33acf813582e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:45 + docker inspect -f . ci-base-image-arm64 15:30:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:45 prd-ubuntu20.04-docker-arm64-4c-16g-9125 does not seem to be running inside a container 15:30:45 $ 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/21 -v /w/workspace/device-uart/21:/w/workspace/device-uart/21:rw,z -v /w/workspace/device-uart/21@tmp:/w/workspace/device-uart/21@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 15:30:49 $ docker top 8edb0181c44e2dd3cb1dd70c4c40c684cd6d0e1ff99ac6df7fab8f950ca43551 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:50 + git config --global --add safe.directory /w/workspace/device-uart/21 [Pipeline] fileExists [Pipeline] sh 15:30:51 + make test 15:30:51 go test ./... -coverprofile=coverage.out 15:30:55 ? github.com/edgexfoundry/device-uart [no test files] 15:32:18 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:32:18 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:32:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:32:18 go vet ./... 15:32:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:32:40 $ docker stop --time=1 8edb0181c44e2dd3cb1dd70c4c40c684cd6d0e1ff99ac6df7fab8f950ca43551 15:32:42 $ docker rm -f --volumes 8edb0181c44e2dd3cb1dd70c4c40c684cd6d0e1ff99ac6df7fab8f950ca43551 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:43 Warning: overwriting stash ‘coverage-report’ 15:32:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:45 + ls -al . 15:32:45 total 152 15:32:45 drwxrwxr-x 7 jenkins jenkins 4096 Nov 29 15:30 . 15:32:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 15:28 .. 15:32:45 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 15:28 .dockerignore 15:32:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 15:28 .git 15:32:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:28 .github 15:32:45 -rw-rw-r-- 1 jenkins jenkins 343 Nov 29 15:28 .gitignore 15:32:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 15:28 .golangci.yml 15:32:45 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 29 15:28 Attribution.txt 15:32:45 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 29 15:28 CHANGELOG.md 15:32:45 -rw-rw-r-- 1 jenkins jenkins 1886 Nov 29 15:28 Dockerfile 15:32:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 15:28 GOVERNANCE.md 15:32:45 -rw-rw-r-- 1 jenkins jenkins 675 Nov 29 15:28 Jenkinsfile 15:32:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 15:28 LICENSE 15:32:45 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 29 15:28 Makefile 15:32:45 -rw-rw-r-- 1 jenkins jenkins 617 Nov 29 15:28 OWNERS.md 15:32:45 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 29 15:28 README.md 15:32:45 -rw-rw-r-- 1 jenkins jenkins 12 Nov 29 15:25 VERSION 15:32:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 15:28 bin 15:32:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:28 cmd 15:32:45 -rw-r--r-- 1 jenkins jenkins 10 Nov 29 15:30 coverage.out 15:32:45 -rw-rw-r-- 1 jenkins jenkins 3716 Nov 29 15:28 go.mod 15:32:45 -rw-rw-r-- 1 jenkins jenkins 35303 Nov 29 15:28 go.sum 15:32:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 15:28 internal 15:32:45 -rw-rw-r-- 1 jenkins jenkins 209 Nov 29 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:45 + 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=56a8503eef07c46f22bc765105e6cf123a2f1194 --label arch=arm64 --label version=3.0.1-dev.14 . 15:32:45 Sending build context to Docker daemon 11.57MB 15:32:46 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:32:46 Step 2/26 : FROM ${BASE} AS builder 15:32:46 ---> 6582a9424ad5 15:32:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:32:46 ---> Running in 1350158fc3cc 15:32:46 Removing intermediate container 1350158fc3cc 15:32:46 ---> 8448a0ebc7a7 15:32:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:32:46 ---> Running in 7d0213c46255 15:32:46 Removing intermediate container 7d0213c46255 15:32:46 ---> 98dc0d705a6f 15:32:46 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:32:46 ---> Running in 5dd6ba734b0d 15:32:47 Removing intermediate container 5dd6ba734b0d 15:32:47 ---> bb4369bec7a9 15:32:47 Step 6/26 : WORKDIR /device-uart 15:32:47 ---> Running in be8533c507cf 15:32:47 Removing intermediate container be8533c507cf 15:32:47 ---> 62484d2d2ec8 15:32:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:32:47 ---> Running in dd073b14ff22 15:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:49 OK: 271 MiB in 56 packages 15:32:50 Removing intermediate container dd073b14ff22 15:32:50 ---> 11d6d2914e55 15:32:50 Step 8/26 : COPY go.mod vendor* ./ 15:32:51 ---> f0f497ab1170 15:32:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:51 ---> Running in 63bac9be93ad 15:32:54 Removing intermediate container 63bac9be93ad 15:32:54 ---> 2c39a194e923 15:32:54 Step 10/26 : COPY . . 15:32:54 ---> 7069d842ba2d 15:32:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:32:54 ---> Running in 989ea588da82 15:32:54 Removing intermediate container 989ea588da82 15:32:54 ---> c2e731d1b231 15:32:54 Step 12/26 : RUN ${MAKE} 15:32:55 ---> Running in 422941b5a7fb 15:32:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 15:34:47 Removing intermediate container 422941b5a7fb 15:34:47 ---> 076c03f4d459 15:34:47 Step 13/26 : FROM alpine:3.18 15:34:47 3.18: Pulling from library/alpine 15:34:47 579b34f0a95b: Pulling fs layer 15:34:47 579b34f0a95b: Verifying Checksum 15:34:47 579b34f0a95b: Download complete 15:34:47 579b34f0a95b: Pull complete 15:34:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:34:47 Status: Downloaded newer image for alpine:3.18 15:34:47 ---> 3cc203321400 15:34:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:34:47 ---> Running in 6bb9f96cc521 15:34:47 Removing intermediate container 6bb9f96cc521 15:34:47 ---> b9f57b7378ac 15:34:47 Step 15/26 : RUN apk add --update --no-cache dumb-init 15:34:47 ---> Running in bfa01934d4a9 15:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:34:47 (1/1) Installing dumb-init (1.2.5-r2) 15:34:47 Executing busybox-1.36.1-r2.trigger 15:34:47 OK: 8 MiB in 16 packages 15:34:47 Removing intermediate container bfa01934d4a9 15:34:47 ---> f8e812782254 15:34:47 Step 16/26 : RUN apk --no-cache upgrade 15:34:47 ---> Running in f7b8068675d7 15:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:34:48 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 15:34:48 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 15:34:48 Executing busybox-1.36.1-r5.post-upgrade 15:34:48 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 15:34:48 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 15:34:48 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 15:34:48 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 15:34:48 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 15:34:48 Executing busybox-1.36.1-r5.trigger 15:34:48 OK: 8 MiB in 16 packages 15:34:53 Removing intermediate container f7b8068675d7 15:34:53 ---> 09fea35ca039 15:34:53 Step 17/26 : WORKDIR / 15:34:53 ---> Running in b2e7d9ad87a8 15:34:54 Removing intermediate container b2e7d9ad87a8 15:34:54 ---> 6dcb98750376 15:34:54 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 15:34:54 ---> 8532a3226168 15:34:54 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 15:34:55 ---> 303b00e68468 15:34:55 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 15:34:56 ---> fb12599ff7b1 15:34:56 Step 21/26 : EXPOSE 59995 15:34:56 ---> Running in ec9f685094e4 15:34:56 Removing intermediate container ec9f685094e4 15:34:56 ---> 642a36912778 15:34:56 Step 22/26 : ENTRYPOINT ["/device-uart"] 15:34:56 ---> Running in f562adb34460 15:34:57 Removing intermediate container f562adb34460 15:34:57 ---> 0e56dffd039e 15:34:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:34:57 ---> Running in c27b96303962 15:34:57 Removing intermediate container c27b96303962 15:34:57 ---> 8d024a8e2697 15:34:57 Step 24/26 : LABEL arch=arm64 15:34:57 ---> Running in 4691901a9d39 15:34:57 Removing intermediate container 4691901a9d39 15:34:57 ---> f8db35c52fe0 15:34:57 Step 25/26 : LABEL git_sha=56a8503eef07c46f22bc765105e6cf123a2f1194 15:34:57 ---> Running in 2f884262262e 15:34:58 Removing intermediate container 2f884262262e 15:34:58 ---> a81a4f330ea8 15:34:58 Step 26/26 : LABEL version=3.0.1-dev.14 15:34:58 ---> Running in 25672433c41f 15:34:58 Removing intermediate container 25672433c41f 15:34:58 ---> 27821a74889d 15:34:58 [Warning] One or more build-args [ARCH] were not consumed 15:34:58 Successfully built 27821a74889d 15:34:58 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:58 provisioning config files... 15:34:58 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/21@tmp/config3758149635013335794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:59 ---> ****-login.sh 15:34:59 nexus3.edgexfoundry.org:10001 15:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:59 Configure a credential helper to remove this warning. See 15:34:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:59 15:34:59 Login Succeeded 15:34:59 nexus3.edgexfoundry.org:10002 15:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:34:59 Configure a credential helper to remove this warning. See 15:34:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:34:59 15:34:59 Login Succeeded 15:34:59 nexus3.edgexfoundry.org:10003 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 nexus3.edgexfoundry.org:10004 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 ****.io 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:35:01 Configure a credential helper to remove this warning. See 15:35:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:35:01 15:35:01 Login Succeeded 15:35:01 ---> ****-login.sh ends [Pipeline] } 15:35:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:35:01 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 15:35:01 56a8503eef07c46f22bc765105e6cf123a2f1194 15:35:01 latest 15:35:01 3.0.1-dev.14 15:35:01 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:35:01 main 15:35:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:02 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:02 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194 15:35:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:35:02 9615f262c647: Preparing 15:35:02 1088f2935faa: Preparing 15:35:02 922287538f3d: Preparing 15:35:02 3982159d724d: Preparing 15:35:02 5dc10bd07cdc: Preparing 15:35:02 5f4d9fc4d98d: Preparing 15:35:02 5f4d9fc4d98d: Waiting 15:35:02 922287538f3d: Pushed 15:35:02 5dc10bd07cdc: Pushed 15:35:02 5f4d9fc4d98d: Layer already exists 15:35:02 1088f2935faa: Pushed 15:35:04 3982159d724d: Pushed 15:35:08 9615f262c647: Pushed 15:35:08 56a8503eef07c46f22bc765105e6cf123a2f1194: digest: sha256:7449933c21a42de6c145a46a1a2f691ab26e89c2bcc437fa2a02dc5b9483b0ca size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:08 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:09 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 15:35:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:35:09 9615f262c647: Preparing 15:35:09 1088f2935faa: Preparing 15:35:09 922287538f3d: Preparing 15:35:09 3982159d724d: Preparing 15:35:09 5dc10bd07cdc: Preparing 15:35:09 5f4d9fc4d98d: Preparing 15:35:09 5f4d9fc4d98d: Waiting 15:35:09 922287538f3d: Layer already exists 15:35:09 5dc10bd07cdc: Layer already exists 15:35:09 9615f262c647: Layer already exists 15:35:09 3982159d724d: Layer already exists 15:35:09 1088f2935faa: Layer already exists 15:35:09 5f4d9fc4d98d: Layer already exists 15:35:09 latest: digest: sha256:7449933c21a42de6c145a46a1a2f691ab26e89c2bcc437fa2a02dc5b9483b0ca size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:10 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:10 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.14 15:35:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:35:10 9615f262c647: Preparing 15:35:10 1088f2935faa: Preparing 15:35:10 922287538f3d: Preparing 15:35:10 3982159d724d: Preparing 15:35:10 5dc10bd07cdc: Preparing 15:35:10 5f4d9fc4d98d: Preparing 15:35:10 5f4d9fc4d98d: Waiting 15:35:10 1088f2935faa: Layer already exists 15:35:10 922287538f3d: Layer already exists 15:35:10 9615f262c647: Layer already exists 15:35:10 3982159d724d: Layer already exists 15:35:10 5dc10bd07cdc: Layer already exists 15:35:10 5f4d9fc4d98d: Layer already exists 15:35:10 3.0.1-dev.14: digest: sha256:7449933c21a42de6c145a46a1a2f691ab26e89c2bcc437fa2a02dc5b9483b0ca size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:11 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:11 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:35:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:35:11 9615f262c647: Preparing 15:35:11 1088f2935faa: Preparing 15:35:11 922287538f3d: Preparing 15:35:11 3982159d724d: Preparing 15:35:11 5dc10bd07cdc: Preparing 15:35:11 5f4d9fc4d98d: Preparing 15:35:11 5f4d9fc4d98d: Waiting 15:35:11 9615f262c647: Layer already exists 15:35:11 922287538f3d: Layer already exists 15:35:11 3982159d724d: Layer already exists 15:35:11 5dc10bd07cdc: Layer already exists 15:35:11 1088f2935faa: Layer already exists 15:35:11 5f4d9fc4d98d: Layer already exists 15:35:11 56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14: digest: sha256:7449933c21a42de6c145a46a1a2f691ab26e89c2bcc437fa2a02dc5b9483b0ca size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:12 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:12 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 15:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:35:12 9615f262c647: Preparing 15:35:12 1088f2935faa: Preparing 15:35:12 922287538f3d: Preparing 15:35:12 3982159d724d: Preparing 15:35:12 5dc10bd07cdc: Preparing 15:35:12 5f4d9fc4d98d: Preparing 15:35:12 5f4d9fc4d98d: Waiting 15:35:12 922287538f3d: Layer already exists 15:35:12 1088f2935faa: Layer already exists 15:35:12 9615f262c647: Layer already exists 15:35:12 5dc10bd07cdc: Layer already exists 15:35:12 3982159d724d: Layer already exists 15:35:12 5f4d9fc4d98d: Layer already exists 15:35:12 main: digest: sha256:7449933c21a42de6c145a46a1a2f691ab26e89c2bcc437fa2a02dc5b9483b0ca size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:35:13 ===================================================== [Pipeline] echo 15:35:13 taggedImages: 15:35:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194 15:35:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 15:35:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.14 15:35:13 - nexus3.edgexfoundry.org:10004/device-uart-arm64:56a8503eef07c46f22bc765105e6cf123a2f1194-3.0.1-dev.14 15:35:13 - 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 15:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:13 15:35:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:14 arm64: Pulling from edgex-lftools-log-publisher 15:35:14 8998bd30e6a1: Pulling fs layer 15:35:14 04944245beec: Pulling fs layer 15:35:14 699f458cf7ca: Pulling fs layer 15:35:14 765212b225bb: Pulling fs layer 15:35:14 f23df028b6ca: Pulling fs layer 15:35:14 765212b225bb: Waiting 15:35:14 d65c8cfc05b1: Pulling fs layer 15:35:14 2437ff75d9bd: Pulling fs layer 15:35:14 f23df028b6ca: Waiting 15:35:14 d65c8cfc05b1: Waiting 15:35:14 2437ff75d9bd: Waiting 15:35:14 04944245beec: Verifying Checksum 15:35:14 04944245beec: Download complete 15:35:14 765212b225bb: Verifying Checksum 15:35:14 765212b225bb: Download complete 15:35:14 f23df028b6ca: Verifying Checksum 15:35:14 f23df028b6ca: Download complete 15:35:14 d65c8cfc05b1: Verifying Checksum 15:35:14 d65c8cfc05b1: Download complete 15:35:14 699f458cf7ca: Verifying Checksum 15:35:14 699f458cf7ca: Download complete 15:35:15 8998bd30e6a1: Verifying Checksum 15:35:15 8998bd30e6a1: Download complete 15:35:17 2437ff75d9bd: Verifying Checksum 15:35:17 2437ff75d9bd: Download complete 15:35:19 8998bd30e6a1: Pull complete 15:35:19 04944245beec: Pull complete 15:35:21 699f458cf7ca: Pull complete 15:35:21 765212b225bb: Pull complete 15:35:22 f23df028b6ca: Pull complete 15:35:22 d65c8cfc05b1: Pull complete 15:35:40 2437ff75d9bd: Pull complete 15:35:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:35:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:41 prd-ubuntu20.04-docker-arm64-4c-16g-9125 does not seem to be running inside a container 15:35:41 $ 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/21 -v /w/workspace/device-uart/21:/w/workspace/device-uart/21:rw,z -v /w/workspace/device-uart/21@tmp:/w/workspace/device-uart/21@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 15:35:43 $ docker top bfd456f22d5367ed804543b300cbd284e88828437a599970980833d1866be522 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:44 ---> job-cost.sh 15:35:44 lf-activate-venv: SKIPPING 15:35:44 INFO: No Stack... 15:35:45 INFO: Retrieving Pricing Info for: v3-standard-4 15:35:46 INFO: Archiving Costs [Pipeline] sh 15:35:46 + cat /w/workspace/device-uart/21/archives/cost.csv 15:35:46 + cut -d, -f6 [Pipeline] lock 15:35:46 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-21-stack-cost] 15:35:46 Resource [jenkins-edgexfoundry-device-uart-main-21-stack-cost] did not exist. Created. 15:35:46 Lock acquired on [jenkins-edgexfoundry-device-uart-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:47 /w/workspace/device-uart/21@tmp/durable-423661b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:35:47 + echo total: 0.10999999940395355 [Pipeline] stash 15:35:47 Warning: overwriting stash ‘stack-cost’ 15:35:47 Stashed 1 file(s) [Pipeline] } 15:35:47 Lock released on resource [jenkins-edgexfoundry-device-uart-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:47 $ docker stop --time=1 bfd456f22d5367ed804543b300cbd284e88828437a599970980833d1866be522 15:35:49 $ docker rm -f --volumes bfd456f22d5367ed804543b300cbd284e88828437a599970980833d1866be522 [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 15:35:50 provisioning config files... 15:35:50 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7018665306843415804tmp [Pipeline] { [Pipeline] sh 15:35:51 + set +x 15:35:51 + + curl -s https://codecov.io/bash 15:35:51 bash -s -- 15:35:51 15:35:51 _____ _ 15:35:51 / ____| | | 15:35:51 | | ___ __| | ___ ___ _____ __ 15:35:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:35:51 | |___| (_) | (_| | __/ (_| (_) \ V / 15:35:51 \_____\___/ \__,_|\___|\___\___/ \_/ 15:35:51 Bash-1.0.6 15:35:51 15:35:51 15:35:51 ==> git version 2.25.1 found 15:35:51 ==> 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 15:35:51 Release-Date: 2020-01-08 15:35:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:35:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:35:51 ==> Jenkins CI detected. 15:35:51 current dir:  /w/workspace/edgexfoundry_device-uart_main 15:35:51 project root: . 15:35:51 --> token set from env 15:35:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:35:51 ==> Running gcov in . (disable via -X gcov) 15:35:51 ==> Python coveragepy not found 15:35:51 ==> Searching for coverage reports in: 15:35:51 + . 15:35:51 -> Found 1 reports 15:35:51 ==> Detecting git/mercurial file structure 15:35:51 ==> Reading reports 15:35:51 + ./coverage.out bytes=10 15:35:51 ==> Appending adjustments 15:35:51 https://docs.codecov.io/docs/fixing-reports 15:35:51 + Found adjustments 15:35:51 ==> Gzipping contents 15:35:51 4.0K /tmp/codecov.S6U3EI.gz 15:35:51 ==> Uploading reports 15:35:51 url: https://codecov.io 15:35:51 query: branch=main&commit=56a8503eef07c46f22bc765105e6cf123a2f1194&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 15:35:51 -> Pinging Codecov 15:35:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=56a8503eef07c46f22bc765105e6cf123a2f1194&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 15:35:51 -> Uploading to 15:35:51 https://storage.googleapis.com/codecov/v4/raw/2023-11-29/B9AA6E0BBD74AE3A32605C7A7C664919/56a8503eef07c46f22bc765105e6cf123a2f1194/fc35d706-17fd-4d1d-bbc7-0e9fcbcac60f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T153551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fae6bdc7de39610c8f293b4608b54e7d51392f529eb6611b9acbacc4416c3a9e 15:35:51 % Total % Received % Xferd Average Speed Time Time Time Current 15:35:51 Dload Upload Total Spent Left Speed 15:35:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2644 --:--:-- --:--:-- --:--:-- 2644 15:35:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] } 15:35:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:35:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:35:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:52 15:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:35:53 df9b9388f04a: Pulling fs layer 15:35:53 52dc419b0ee2: Pulling fs layer 15:35:53 25bc292e5bac: Pulling fs layer 15:35:53 114826534d7a: Pulling fs layer 15:35:53 4657fd5d0bcf: Pulling fs layer 15:35:53 6ad1cebc031e: Pulling fs layer 15:35:53 8a3aa393b2d8: Pulling fs layer 15:35:53 6ad1cebc031e: Waiting 15:35:53 114826534d7a: Waiting 15:35:53 8a3aa393b2d8: Waiting 15:35:53 4657fd5d0bcf: Waiting 15:35:53 25bc292e5bac: Verifying Checksum 15:35:53 25bc292e5bac: Download complete 15:35:53 52dc419b0ee2: Download complete 15:35:53 4657fd5d0bcf: Verifying Checksum 15:35:53 4657fd5d0bcf: Download complete 15:35:53 df9b9388f04a: Download complete 15:35:53 df9b9388f04a: Pull complete 15:35:53 52dc419b0ee2: Pull complete 15:35:53 25bc292e5bac: Pull complete 15:35:56 6ad1cebc031e: Verifying Checksum 15:35:56 6ad1cebc031e: Download complete 15:35:56 114826534d7a: Verifying Checksum 15:35:56 114826534d7a: Download complete 15:35:56 8a3aa393b2d8: Download complete 15:36:00 114826534d7a: Pull complete 15:36:00 4657fd5d0bcf: Pull complete 15:36:00 6ad1cebc031e: Pull complete 15:36:04 8a3aa393b2d8: Pull complete 15:36:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:36:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:36:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:04 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:36:04 $ 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 15:36:08 $ docker top de7ced2fe6376e6498ffb20cb01604201e3c10f7d62a3f0a371354248c44192b -eo pid,comm [Pipeline] { [Pipeline] echo 15:36:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 15:36:09 + set -o pipefail 15:36:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 15:36:17 15:36:17 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 15:36:17 15:36:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/261dada9-ab8d-48c9-be65-7ad847695149 15:36:17 15:36:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:36:17 15:36:17 15:36:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:36:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:36:17 More details here: https://snyk.co/ue1NS 15:36:17 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:36:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:36:17 $ docker stop --time=1 de7ced2fe6376e6498ffb20cb01604201e3c10f7d62a3f0a371354248c44192b 15:36:21 $ docker rm -f --volumes de7ced2fe6376e6498ffb20cb01604201e3c10f7d62a3f0a371354248c44192b [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 15:36:22 + git log --format=format:%s -1 56a8503eef07c46f22bc765105e6cf123a2f1194 [Pipeline] sh 15:36:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:23 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:36:23 $ 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 15:36:24 $ docker top 33b5b2dfb50ee0c7b1ae1195a852aaa58305c14b9ac1d28e358b0bd368657fad -eo pid,comm 15:36:24 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). 15:36:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:24 [ssh-agent] Looking for ssh-agent implementation... 15:36:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:24 $ docker exec 33b5b2dfb50ee0c7b1ae1195a852aaa58305c14b9ac1d28e358b0bd368657fad ssh-agent 15:36:24 SSH_AUTH_SOCK=/tmp/ssh-rb9WxmK0iwhP/agent.32 15:36:24 SSH_AGENT_PID=38 15:36:24 Running ssh-add (command line suppressed) 15:36:24 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9020349381728079342.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9020349381728079342.key) 15:36:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:25 + git semver tag 15:36:25 2023-11-29 15:36:25,279 [run_tag] DEBUG tag force:False 15:36:25 2023-11-29 15:36:25,279 [check_head_tag] DEBUG check head tag 15:36:25 2023-11-29 15:36:25,280 [execute] INFO git cat-file --batch-check 15:36:25 2023-11-29 15:36:25,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 15:36:25 2023-11-29 15:36:25,282 [execute] INFO git cat-file --batch 15:36:25 2023-11-29 15:36:25,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 15:36:25 2023-11-29 15:36:25,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:25 2023-11-29 15:36:25,291 [execute] INFO git tag -a v3.0.1-dev.14 -m v3.0.1-dev.14 15:36:25 2023-11-29 15:36:25,291 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.14', '-m', 'v3.0.1-dev.14'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 15:36:25 2023-11-29 15:36:25,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:25 3.0.1-dev.14 [Pipeline] } 15:36:25 $ docker exec --env ******** --env ******** 33b5b2dfb50ee0c7b1ae1195a852aaa58305c14b9ac1d28e358b0bd368657fad ssh-agent -k 15:36:25 unset SSH_AUTH_SOCK; 15:36:25 unset SSH_AGENT_PID; 15:36:25 echo Agent pid 38 killed; 15:36:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:25 + git semver [Pipeline] } 15:36:26 $ docker stop --time=1 33b5b2dfb50ee0c7b1ae1195a852aaa58305c14b9ac1d28e358b0bd368657fad 15:36:27 $ docker rm -f --volumes 33b5b2dfb50ee0c7b1ae1195a852aaa58305c14b9ac1d28e358b0bd368657fad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:36:28 15:36:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:36:28 0.23.1-centos7: Pulling from edgex-lftools 15:36:28 ab5ef0e58194: Pulling fs layer 15:36:28 9712f1f96733: Pulling fs layer 15:36:28 63f879dbbcfc: Pulling fs layer 15:36:28 0d9ebad4ef96: Pulling fs layer 15:36:28 e9a5061849ea: Pulling fs layer 15:36:28 d747dcd14b5f: Pulling fs layer 15:36:28 2de7ff778b66: Pulling fs layer 15:36:28 e9a5061849ea: Waiting 15:36:28 d747dcd14b5f: Waiting 15:36:28 2de7ff778b66: Waiting 15:36:28 0d9ebad4ef96: Waiting 15:36:28 9712f1f96733: Download complete 15:36:28 63f879dbbcfc: Verifying Checksum 15:36:28 63f879dbbcfc: Download complete 15:36:29 0d9ebad4ef96: Verifying Checksum 15:36:29 0d9ebad4ef96: Download complete 15:36:29 ab5ef0e58194: Verifying Checksum 15:36:29 ab5ef0e58194: Download complete 15:36:29 d747dcd14b5f: Verifying Checksum 15:36:29 d747dcd14b5f: Download complete 15:36:29 e9a5061849ea: Verifying Checksum 15:36:29 2de7ff778b66: Verifying Checksum 15:36:29 2de7ff778b66: Download complete 15:36:31 ab5ef0e58194: Pull complete 15:36:31 9712f1f96733: Pull complete 15:36:32 63f879dbbcfc: Pull complete 15:36:36 0d9ebad4ef96: Pull complete 15:36:36 e9a5061849ea: Pull complete 15:36:36 d747dcd14b5f: Pull complete 15:36:37 2de7ff778b66: Pull complete 15:36:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:36:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:36:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:37 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:36:37 $ 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 15:36:42 $ docker top b4d1d97cb9afb5762a1bdd156917d82eb04c761472c76fa13ceb699da1b00647 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:36:42 provisioning config files... 15:36:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10097756736886577244tmp 15:36:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17705246246931817581tmp 15:36:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9137480659159377124tmp [Pipeline] { [Pipeline] echo 15:36:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:36:43 ---> sigul-configuration.sh 15:36:43 gpg: directory `/root/.gnupg' created 15:36:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:36:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:36:43 gpg: keyring `/root/.gnupg/secring.gpg' created 15:36:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:36:43 gpg: CAST5 encrypted data 15:36:43 gpg: encrypted with 1 passphrase 15:36:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:36:43 + mkdir /home/jenkins 15:36:43 + mkdir /home/jenkins/sigul [Pipeline] sh 15:36:43 + 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 15:36:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:36:44 ---> sigul-install.sh 15:36:44 Sigul already installed; skipping installation. [Pipeline] sh 15:36:44 + git tag --list 15:36:44 v0.0.0 15:36:44 v0.0.1-dev.1 15:36:44 v0.0.1-dev.2 15:36:44 v0.0.1-dev.3 15:36:44 v0.0.1-dev.4 15:36:44 v3.0.0 15:36:44 v3.0.1-dev.1 15:36:44 v3.0.1-dev.10 15:36:44 v3.0.1-dev.11 15:36:44 v3.0.1-dev.12 15:36:44 v3.0.1-dev.13 15:36:44 v3.0.1-dev.14 15:36:44 v3.0.1-dev.2 15:36:44 v3.0.1-dev.3 15:36:44 v3.0.1-dev.4 15:36:44 v3.0.1-dev.5 15:36:44 v3.0.1-dev.6 15:36:44 v3.0.1-dev.7 15:36:44 v3.0.1-dev.8 15:36:44 v3.0.1-dev.9 15:36:44 v3.1 15:36:44 v3.1.0 [Pipeline] sh 15:36:44 + lftools sign git-tag v3.0.1-dev.14 15:36:45 Signing Git tag with Sigul... 15:36:45 Signing v3.0.1-dev.14 [Pipeline] echo 15:36:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:36:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:36:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:36:46 $ docker stop --time=1 b4d1d97cb9afb5762a1bdd156917d82eb04c761472c76fa13ceb699da1b00647 15:36:47 $ docker rm -f --volumes b4d1d97cb9afb5762a1bdd156917d82eb04c761472c76fa13ceb699da1b00647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:36:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:48 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:36:48 $ 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 15:36:49 $ docker top 43c8422e79dfffe7a0cc63b4474882f8ee77353a3fe9fa3881bc59169de377aa -eo pid,comm 15:36:49 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). 15:36:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:49 [ssh-agent] Looking for ssh-agent implementation... 15:36:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:49 $ docker exec 43c8422e79dfffe7a0cc63b4474882f8ee77353a3fe9fa3881bc59169de377aa ssh-agent 15:36:49 SSH_AUTH_SOCK=/tmp/ssh-6I1doC9I9Mhi/agent.32 15:36:49 SSH_AGENT_PID=38 15:36:49 Running ssh-add (command line suppressed) 15:36:49 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2831133417824754095.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2831133417824754095.key) 15:36:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:50 + git semver bump pre 15:36:50 2023-11-29 15:36:50,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:50 2023-11-29 15:36:50,422 [bump_version] DEBUG bumping version:3.0.1-dev.14 on axis:pre with prefix:dev 15:36:50 2023-11-29 15:36:50,422 [bump_version] DEBUG bumped version:3.0.1-dev.15 15:36:50 2023-11-29 15:36:50,423 [write_version] DEBUG write version:3.0.1-dev.15 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 15:36:50 2023-11-29 15:36:50,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:50 2023-11-29 15:36:50,423 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:50 2023-11-29 15:36:50,427 [execute] INFO git cat-file --batch-check 15:36:50 2023-11-29 15:36:50,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:50 2023-11-29 15:36:50,433 [execute] INFO git cat-file --batch 15:36:50 2023-11-29 15:36:50,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:50 2023-11-29 15:36:50,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:50 3.0.1-dev.15 [Pipeline] } 15:36:50 $ docker exec --env ******** --env ******** 43c8422e79dfffe7a0cc63b4474882f8ee77353a3fe9fa3881bc59169de377aa ssh-agent -k 15:36:50 unset SSH_AUTH_SOCK; 15:36:50 unset SSH_AGENT_PID; 15:36:50 echo Agent pid 38 killed; 15:36:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:51 + git semver [Pipeline] } 15:36:51 $ docker stop --time=1 43c8422e79dfffe7a0cc63b4474882f8ee77353a3fe9fa3881bc59169de377aa 15:36:52 $ docker rm -f --volumes 43c8422e79dfffe7a0cc63b4474882f8ee77353a3fe9fa3881bc59169de377aa [Pipeline] // withDockerContainer [Pipeline] sh 15:36:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:53 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:36:53 $ 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 15:36:54 $ docker top f4680a099e60ef8143897f60bfabb03322f3dd61c94cc996d3c7f8118024d6c3 -eo pid,comm 15:36:54 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). 15:36:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:54 [ssh-agent] Looking for ssh-agent implementation... 15:36:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:54 $ docker exec f4680a099e60ef8143897f60bfabb03322f3dd61c94cc996d3c7f8118024d6c3 ssh-agent 15:36:54 SSH_AUTH_SOCK=/tmp/ssh-yIg4EiLsGu69/agent.32 15:36:54 SSH_AGENT_PID=38 15:36:54 Running ssh-add (command line suppressed) 15:36:54 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11121951069408207852.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11121951069408207852.key) 15:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:55 + git semver push 15:36:55 2023-11-29 15:36:55,211 [run_push] DEBUG push 15:36:55 2023-11-29 15:36:55,212 [execute] INFO git cat-file --batch-check 15:36:55 2023-11-29 15:36:55,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:55 2023-11-29 15:36:55,215 [execute] INFO git rev-list 4978d21441bf161d503b70a2bcaa4cdca6022757 -- 15:36:55 2023-11-29 15:36:55,216 [execute] DEBUG Popen(['git', 'rev-list', '4978d21441bf161d503b70a2bcaa4cdca6022757', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 15:36:55 2023-11-29 15:36:55,221 [execute] INFO git fetch -v origin 15:36:55 2023-11-29 15:36:55,222 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 15:36:55 2023-11-29 15:36:55,868 [run_push] DEBUG no remote changes detected 15:36:55 2023-11-29 15:36:55,868 [execute] INFO git push origin semver 15:36:55 2023-11-29 15:36:55,868 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 15:36:57 2023-11-29 15:36:56,847 [run_push] DEBUG push all version tags 15:36:57 2023-11-29 15:36:56,848 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:36:57 2023-11-29 15:36:56,848 [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) 15:36:57 2023-11-29 15:36:57,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:36:57 3.0.1-dev.15 [Pipeline] } 15:36:57 $ docker exec --env ******** --env ******** f4680a099e60ef8143897f60bfabb03322f3dd61c94cc996d3c7f8118024d6c3 ssh-agent -k 15:36:57 unset SSH_AUTH_SOCK; 15:36:57 unset SSH_AGENT_PID; 15:36:57 echo Agent pid 38 killed; 15:36:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:58 + git semver [Pipeline] } 15:36:58 $ docker stop --time=1 f4680a099e60ef8143897f60bfabb03322f3dd61c94cc996d3c7f8118024d6c3 15:37:00 $ docker rm -f --volumes f4680a099e60ef8143897f60bfabb03322f3dd61c94cc996d3c7f8118024d6c3 [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 15:37:01 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 15:37:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 15:37:01 total 16 15:37:01 drwxr-xr-x 3 root root 4096 Nov 29 15:28 . 15:37:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 15:36 .. 15:37:01 drwxr-xr-x 2 root root 4096 Nov 29 15:28 cost 15:37:01 -rw-r--r-- 1 root root 82 Nov 29 15:28 cost.csv 15:37:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 15:37:01 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 15:37:01 total 16 15:37:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 15:28 . 15:37:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 15:36 .. 15:37:01 drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 15:28 cost 15:37:01 -rw-r--r-- 1 jenkins jenkins 82 Nov 29 15:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:37:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:37:02 ---> package-listing.sh 15:37:02 ++ facter osfamily 15:37:02 ++ tr '[:upper:]' '[:lower:]' 15:37:03 + OS_FAMILY=debian 15:37:03 + workspace=/w/workspace/edgexfoundry_device-uart_main 15:37:03 + START_PACKAGES=/tmp/packages_start.txt 15:37:03 + END_PACKAGES=/tmp/packages_end.txt 15:37:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:37:03 + PACKAGES=/tmp/packages_start.txt 15:37:03 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 15:37:03 + PACKAGES=/tmp/packages_end.txt 15:37:03 + case "${OS_FAMILY}" in 15:37:03 + dpkg -l 15:37:03 + grep '^ii' 15:37:03 + '[' -f /tmp/packages_start.txt ']' 15:37:03 + '[' -f /tmp/packages_end.txt ']' 15:37:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:37:03 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 15:37:03 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 15:37:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 15:37:03 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 15:37:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:04 prd-ubuntu20.04-docker-8c-8g-9124 does not seem to be running inside a container 15:37:04 $ 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 15:37:04 $ docker top a793b2e12d123986297fe4dfe6f4fa7a2639ced9577702ad8f5e1b852bbd5ca8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:04 + touch /tmp/pre-build-complete [Pipeline] sh 15:37:05 + mkdir -p /var/log/sysstat [Pipeline] sh 15:37:05 + ls /var/log/sa-host 15:37:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:05 provisioning config files... 15:37:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10849794588654774950tmp [Pipeline] { [Pipeline] echo 15:37:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:37:06 ---> create-netrc.sh [Pipeline] } 15:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:37:06 ---> python-tools-install.sh [Pipeline] echo 15:37:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:37:06 ---> sudo-logs.sh 15:37:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:37:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:37:07 ---> job-cost.sh 15:37:07 lf-activate-venv: SKIPPING 15:37:07 DEBUG: total: 0.2199999988079071 15:37:07 INFO: Retrieving Stack Cost... 15:37:07 INFO: Retrieving Pricing Info for: v3-standard-8 15:37:08 INFO: Archiving Costs [Pipeline] echo 15:37:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:37:08 ---> logs-deploy.sh 15:37:08 lf-activate-venv: SKIPPING 15:37:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/21 15:37:08 INFO: archiving workspace using pattern(s): 15:37:09 Archives upload complete. 15:37:09 INFO: archiving logs to Nexus