Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7595bba147f55141181591cbe8ca4e9d14e29ac 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-ssh3909346455689428601.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15196631638040758150.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 590556114a56c6d90cc8043840e039c2f74196dc 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10892858150877556018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17054456791440846284.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1624155225462388323.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2007 in /w/workspace/edgexfoundry_device-uart_napa [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_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7595bba147f55141181591cbe8ca4e9d14e29ac (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @cbe7f7f" > git config core.sparsecheckout # timeout=10 > git checkout -f b7595bba147f55141181591cbe8ca4e9d14e29ac # timeout=10 > git rev-list --no-walk b7595bba147f55141181591cbe8ca4e9d14e29ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:57 ========================================================= 09:40:57 EdgeX Global Pipelines Version Info 09:40:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:58 ------------------- 09:40:58 stable info: 09:40:58 ------------------- 09:40:58 Commited By: Ginny Guan ginny@iotechsys.com 09:40:58 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:40:58 Message: update stable to v1.0.260 09:40:58 ------------------- 09:40:58 experimental info: 09:40:58 ------------------- 09:40:58 Commited By: Ginny Guan ginny@iotechsys.com 09:40:58 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:40:58 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 09:40:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 09:40:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7595bb [Pipeline] echo 09:40:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:59 provisioning config files... 09:40:59 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config5441745781799453145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:00 ---> ****-login.sh 09:41:00 nexus3.edgexfoundry.org:10001 09:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:00 Configure a credential helper to remove this warning. See 09:41:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:00 09:41:00 Login Succeeded 09:41:00 nexus3.edgexfoundry.org:10002 09:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:00 Configure a credential helper to remove this warning. See 09:41:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:00 09:41:00 Login Succeeded 09:41:00 nexus3.edgexfoundry.org:10003 09:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:00 Configure a credential helper to remove this warning. See 09:41:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:00 09:41:00 Login Succeeded 09:41:00 nexus3.edgexfoundry.org:10004 09:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:00 Configure a credential helper to remove this warning. See 09:41:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:00 09:41:00 Login Succeeded 09:41:00 ****.io 09:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:01 Configure a credential helper to remove this warning. See 09:41:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:01 09:41:01 Login Succeeded 09:41:01 ---> ****-login.sh ends [Pipeline] } 09:41:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:41:01 + git rev-list -1 --merges b7595bba147f55141181591cbe8ca4e9d14e29ac~1..b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] echo 09:41:01 -----------> git rev-list -1 --merges b7595bba147f55141181591cbe8ca4e9d14e29ac~1..b7595bba147f55141181591cbe8ca4e9d14e29ac b7595bba147f55141181591cbe8ca4e9d14e29ac [false] [Pipeline] sh 09:41:01 + git log --format=format:%s -1 b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] echo 09:41:01 ========================================================= 09:41:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:41:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:02 + git log --format=format:%s -1 b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] echo 09:41:02 [semverPrep] GIT_COMMIT: b7595bba147f55141181591cbe8ca4e9d14e29ac, Commit Message: ci(lts-release): LTS release v3.1.1 @cbe7f7f [Pipeline] echo 09:41:02 [semverPrep] This is not a build commit. [Pipeline] sh 09:41:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:41:02 + grep -v github /etc/ssh/ssh_known_hosts 09:41:02 + [ -e /tmp/ssh_known_hosts ] 09:41:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:41:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:41:02 + sudo tee -a /etc/ssh/ssh_known_hosts 09:41:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:03 09:41:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:03 0.1.4: Pulling from edgex-devops/py-git-semver 09:41:03 b85a868b505f: Pulling fs layer 09:41:03 e2be974225ed: Pulling fs layer 09:41:03 339a4e72a1f5: Pulling fs layer 09:41:03 988bab9f4d93: Pulling fs layer 09:41:03 1469e6f7b9e6: Pulling fs layer 09:41:03 eaf3925da568: Pulling fs layer 09:41:03 bab4dde63d76: Pulling fs layer 09:41:03 bde34c3a00c8: Pulling fs layer 09:41:03 b352a97aabf1: Pulling fs layer 09:41:03 4872d77fe225: Pulling fs layer 09:41:03 5851b861e8e6: Pulling fs layer 09:41:03 988bab9f4d93: Waiting 09:41:03 1469e6f7b9e6: Waiting 09:41:03 eaf3925da568: Waiting 09:41:03 bab4dde63d76: Waiting 09:41:03 bde34c3a00c8: Waiting 09:41:03 b352a97aabf1: Waiting 09:41:03 4872d77fe225: Waiting 09:41:03 5851b861e8e6: Waiting 09:41:03 e2be974225ed: Download complete 09:41:03 988bab9f4d93: Verifying Checksum 09:41:03 988bab9f4d93: Download complete 09:41:03 1469e6f7b9e6: Verifying Checksum 09:41:03 1469e6f7b9e6: Download complete 09:41:03 eaf3925da568: Verifying Checksum 09:41:03 eaf3925da568: Download complete 09:41:03 339a4e72a1f5: Verifying Checksum 09:41:03 339a4e72a1f5: Download complete 09:41:03 bde34c3a00c8: Verifying Checksum 09:41:03 bde34c3a00c8: Download complete 09:41:03 b352a97aabf1: Download complete 09:41:03 4872d77fe225: Download complete 09:41:03 5851b861e8e6: Verifying Checksum 09:41:03 5851b861e8e6: Download complete 09:41:03 b85a868b505f: Verifying Checksum 09:41:03 b85a868b505f: Download complete 09:41:03 bab4dde63d76: Verifying Checksum 09:41:03 bab4dde63d76: Download complete 09:41:04 b85a868b505f: Pull complete 09:41:05 e2be974225ed: Pull complete 09:41:05 339a4e72a1f5: Pull complete 09:41:05 988bab9f4d93: Pull complete 09:41:05 1469e6f7b9e6: Pull complete 09:41:05 eaf3925da568: Pull complete 09:41:07 bab4dde63d76: Pull complete 09:41:07 bde34c3a00c8: Pull complete 09:41:08 b352a97aabf1: Pull complete 09:41:08 4872d77fe225: Pull complete 09:41:08 5851b861e8e6: Pull complete 09:41:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:41:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:08 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 09:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:41:22 $ docker top 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 -eo pid,comm 09:41:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:41:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:22 [ssh-agent] Looking for ssh-agent implementation... 09:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:22 $ docker exec 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 ssh-agent 09:41:22 SSH_AUTH_SOCK=/tmp/ssh-rPZifZpofmLQ/agent.14 09:41:22 SSH_AGENT_PID=27 09:41:22 Running ssh-add (command line suppressed) 09:41:22 Identity added: /w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_7052369967095196831.key (/w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_7052369967095196831.key) 09:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:22 + git tag --points-at b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] } 09:41:22 $ docker exec --env ******** --env ******** 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 ssh-agent -k 09:41:22 unset SSH_AUTH_SOCK; 09:41:22 unset SSH_AGENT_PID; 09:41:22 echo Agent pid 27 killed; 09:41:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:41:23 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 09:41:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:23 [ssh-agent] Looking for ssh-agent implementation... 09:41:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:23 $ docker exec 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 ssh-agent 09:41:23 SSH_AUTH_SOCK=/tmp/ssh-NuiGWQET0dl5/agent.71 09:41:23 SSH_AGENT_PID=77 09:41:23 Running ssh-add (command line suppressed) 09:41:23 Identity added: /w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_16388757102692115778.key (/w/workspace/edgexfoundry_device-uart_napa@tmp/private_key_16388757102692115778.key) 09:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:23 + git semver init 09:41:24 2024-05-31 09:41:23,935 [run_init] DEBUG init version:0.0.0 force:False 09:41:24 2024-05-31 09:41:23,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_napa/.semver 09:41:24 2024-05-31 09:41:23,936 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_napa/.semver 09:41:24 2024-05-31 09:41:23,936 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_napa, universal_newlines=False, shell=None, istream=None) 09:41:25 2024-05-31 09:41:25,884 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_napa/.git/info/exclude 09:41:25 2024-05-31 09:41:25,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_napa/.semver/napa with force:False 09:41:25 2024-05-31 09:41:25,885 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_napa/.semver/napa 09:41:25 2024-05-31 09:41:25,885 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_napa/.semver/napa 09:41:25 3.1.1 [Pipeline] } 09:41:25 $ docker exec --env ******** --env ******** 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 ssh-agent -k 09:41:26 unset SSH_AUTH_SOCK; 09:41:26 unset SSH_AGENT_PID; 09:41:26 echo Agent pid 77 killed; 09:41:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:26 + git semver [Pipeline] } 09:41:26 $ docker stop --time=1 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 09:41:28 $ docker rm -f --volumes 11e37868a151f60f78867aab8559c414f8d1f94e45ae809554b0fa4b73c19357 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:29 Stashed 1 file(s) [Pipeline] echo 09:41:29 [edgeXSemver]: initialized semver on version 3.1.1 [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] sh 09:41:29 + git checkout b7595bba147f55141181591cbe8ca4e9d14e29ac 09:41:29 HEAD is now at b7595bb ci(lts-release): LTS release v3.1.1 @cbe7f7f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:29 provisioning config files... 09:41:29 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config8254777878937689351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:30 ---> ****-login.sh 09:41:30 nexus3.edgexfoundry.org:10001 09:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:30 Configure a credential helper to remove this warning. See 09:41:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:30 09:41:30 Login Succeeded 09:41:30 nexus3.edgexfoundry.org:10002 09:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:30 Configure a credential helper to remove this warning. See 09:41:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:30 09:41:30 Login Succeeded 09:41:30 nexus3.edgexfoundry.org:10003 09:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:30 Configure a credential helper to remove this warning. See 09:41:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:30 09:41:30 Login Succeeded 09:41:30 nexus3.edgexfoundry.org:10004 09:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:30 Configure a credential helper to remove this warning. See 09:41:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:30 09:41:30 Login Succeeded 09:41:30 ****.io 09:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:30 Configure a credential helper to remove this warning. See 09:41:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:30 09:41:30 Login Succeeded 09:41:30 ---> ****-login.sh ends [Pipeline] } 09:41:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:30 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:41:30 + grep ^go [0-9].[0-9]* go.mod 09:41:30 + cut -d -f 2 [Pipeline] echo 09:41:31 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:31 ========================================================= 09:41:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:41:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:41:31 Sending build context to Docker daemon 56.35MB 09:41:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:41:31 Step 2/12 : FROM ${BASE} AS builder 09:41:31 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:41:31 619be1103602: Pulling fs layer 09:41:31 7862e08f4a3e: Pulling fs layer 09:41:31 5df492c9dc93: Pulling fs layer 09:41:31 7629e6793208: Pulling fs layer 09:41:31 4f4fb700ef54: Pulling fs layer 09:41:31 8de7f028bff5: Pulling fs layer 09:41:31 44042ff1420b: Pulling fs layer 09:41:31 5cdaf54b7214: Pulling fs layer 09:41:31 38f3e5a9071a: Pulling fs layer 09:41:31 4f4fb700ef54: Waiting 09:41:31 8de7f028bff5: Waiting 09:41:31 44042ff1420b: Waiting 09:41:31 5cdaf54b7214: Waiting 09:41:31 38f3e5a9071a: Waiting 09:41:31 7629e6793208: Waiting 09:41:31 7862e08f4a3e: Verifying Checksum 09:41:31 7862e08f4a3e: Download complete 09:41:31 7629e6793208: Download complete 09:41:31 4f4fb700ef54: Verifying Checksum 09:41:31 4f4fb700ef54: Download complete 09:41:31 8de7f028bff5: Verifying Checksum 09:41:31 8de7f028bff5: Download complete 09:41:31 44042ff1420b: Verifying Checksum 09:41:31 44042ff1420b: Download complete 09:41:32 619be1103602: Verifying Checksum 09:41:32 619be1103602: Download complete 09:41:32 619be1103602: Pull complete 09:41:32 38f3e5a9071a: Verifying Checksum 09:41:32 38f3e5a9071a: Download complete 09:41:32 7862e08f4a3e: Pull complete 09:41:32 5df492c9dc93: Verifying Checksum 09:41:32 5df492c9dc93: Download complete 09:41:33 5cdaf54b7214: Verifying Checksum 09:41:33 5cdaf54b7214: Download complete 09:41:36 5df492c9dc93: Pull complete 09:41:36 7629e6793208: Pull complete 09:41:36 4f4fb700ef54: Pull complete 09:41:36 8de7f028bff5: Pull complete 09:41:36 44042ff1420b: Pull complete 09:41:39 5cdaf54b7214: Pull complete 09:41:39 38f3e5a9071a: Pull complete 09:41:41 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:41:42 ---> 60b93f829570 09:41:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:41:44 Still waiting to schedule task 09:41:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ 09:41:57 ---> Running in 0a5a00cde686 09:41:57 Removing intermediate container 0a5a00cde686 09:41:57 ---> df66a5b6a4aa 09:41:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:41:57 ---> Running in 4e7cceb7d04c 09:41:57 Removing intermediate container 4e7cceb7d04c 09:41:57 ---> 096438c812a1 09:41:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:41:57 ---> Running in 27208623fc55 09:41:57 Removing intermediate container 27208623fc55 09:41:57 ---> e209c7d298f7 09:41:57 Step 6/12 : WORKDIR /device-uart 09:41:57 ---> Running in 28420e5c55a5 09:41:57 Removing intermediate container 28420e5c55a5 09:41:57 ---> 2a225439559a 09:41:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:57 ---> Running in e7fe5299fc46 09:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:57 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:41:57 (2/4) Installing libedit (20221030.3.1-r1) 09:41:57 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:41:57 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:41:57 Executing busybox-1.36.1-r5.trigger 09:41:57 OK: 268 MiB in 56 packages 09:41:57 Removing intermediate container e7fe5299fc46 09:41:57 ---> 44af32f8c730 09:41:57 Step 8/12 : COPY go.mod vendor* ./ 09:41:59 ---> c89f9ae8039f 09:41:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:59 ---> Running in a7dcb3ee8ed0 09:42:46 Removing intermediate container a7dcb3ee8ed0 09:42:46 ---> e03a43cc2e40 09:42:46 Step 10/12 : COPY . . 09:42:48 ---> 98931fddecc5 09:42:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:48 ---> Running in f8b5487ea6d8 09:42:48 Removing intermediate container f8b5487ea6d8 09:42:48 ---> 0d1740f371f7 09:42:48 Step 12/12 : RUN ${MAKE} 09:42:48 ---> Running in d29d1896c216 09:42:48 noop 09:42:49 Removing intermediate container d29d1896c216 09:42:49 ---> 8e9ac2cd05c6 09:42:49 Successfully built 8e9ac2cd05c6 09:42:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:49 + docker inspect -f . ci-base-image-x86_64 09:42:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:49 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 09:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 09:42:49 $ docker top 8ffafc89921bdc89ed192ba39e3b711a0e0e8bc5f526d4ba60ad22aa7dac5701 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:50 + go version 09:42:50 go version go1.21.9 linux/amd64 [Pipeline] } 09:42:50 $ docker stop --time=1 8ffafc89921bdc89ed192ba39e3b711a0e0e8bc5f526d4ba60ad22aa7dac5701 09:42:51 $ docker rm -f --volumes 8ffafc89921bdc89ed192ba39e3b711a0e0e8bc5f526d4ba60ad22aa7dac5701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:52 + docker inspect -f . ci-base-image-x86_64 09:42:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:52 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 09:42:52 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 09:42:53 $ docker top 6211bc333b1d7c990a9a1d267eb57cbaf3eba2198da3d00a193d0da0c57df86c -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_napa [Pipeline] fileExists [Pipeline] sh 09:42:53 + make test 09:42:53 go test ./... -coverprofile=coverage.out 09:42:55 ? github.com/edgexfoundry/device-uart [no test files] 09:43:07 ? github.com/edgexfoundry/device-uart/cmd [no test files] 09:43:07 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 09:43:13 go vet ./... 09:43:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:43:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:43:16 ./bin/test-attribution-txt.sh [Pipeline] echo 09:43:16 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:43:16 + go mod tidy [Pipeline] } 09:43:17 $ docker stop --time=1 6211bc333b1d7c990a9a1d267eb57cbaf3eba2198da3d00a193d0da0c57df86c 09:43:22 $ docker rm -f --volumes 6211bc333b1d7c990a9a1d267eb57cbaf3eba2198da3d00a193d0da0c57df86c [Pipeline] // withDockerContainer [Pipeline] sh 09:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:43:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:43:23 + ls -al . 09:43:23 total 160 09:43:23 drwxrwxr-x 9 jenkins jenkins 4096 May 31 09:42 . 09:43:23 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 .. 09:43:23 -rw-rw-r-- 1 jenkins jenkins 140 May 31 09:40 .dockerignore 09:43:23 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:43 .git 09:43:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 .github 09:43:23 -rw-rw-r-- 1 jenkins jenkins 335 May 31 09:40 .gitignore 09:43:23 -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:40 .golangci.yml 09:43:23 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver 09:43:23 -rw-rw-r-- 1 jenkins jenkins 9960 May 31 09:40 Attribution.txt 09:43:23 -rw-rw-r-- 1 jenkins jenkins 1908 May 31 09:40 CHANGELOG.md 09:43:23 -rw-rw-r-- 1 jenkins jenkins 1886 May 31 09:40 Dockerfile 09:43:23 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:40 GOVERNANCE.md 09:43:23 -rw-rw-r-- 1 jenkins jenkins 675 May 31 09:40 Jenkinsfile 09:43:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:40 LICENSE 09:43:23 -rw-rw-r-- 1 jenkins jenkins 1872 May 31 09:40 Makefile 09:43:23 -rw-rw-r-- 1 jenkins jenkins 617 May 31 09:40 OWNERS.md 09:43:23 -rw-rw-r-- 1 jenkins jenkins 8892 May 31 09:40 README.md 09:43:23 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:43:23 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 bin 09:43:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 cmd 09:43:23 -rw-r--r-- 1 jenkins jenkins 10 May 31 09:42 coverage.out 09:43:23 -rw-rw-r-- 1 jenkins jenkins 3644 May 31 09:40 go.mod 09:43:23 -rw-rw-r-- 1 jenkins jenkins 34414 May 31 09:40 go.sum 09:43:23 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 internal 09:43:23 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:40 vendor 09:43:23 -rw-rw-r-- 1 jenkins jenkins 209 May 31 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:24 + 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=b7595bba147f55141181591cbe8ca4e9d14e29ac --label arch=amd64 --label version=3.1.1 . 09:43:24 Sending build context to Docker daemon 56.35MB 09:43:24 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 09:43:24 Step 2/26 : FROM ${BASE} AS builder 09:43:24 ---> 8e9ac2cd05c6 09:43:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:43:26 ---> Running in 92cf0698bd48 09:43:26 Removing intermediate container 92cf0698bd48 09:43:26 ---> 47f54e69fe46 09:43:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:43:26 ---> Running in 240f68fbb96f 09:43:26 Removing intermediate container 240f68fbb96f 09:43:26 ---> 49cb764bbbd9 09:43:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:43:26 ---> Running in 32239ff51ff1 09:43:26 Removing intermediate container 32239ff51ff1 09:43:26 ---> 1380ee985610 09:43:26 Step 6/26 : WORKDIR /device-uart 09:43:26 ---> Running in 114c7719af61 09:43:26 Removing intermediate container 114c7719af61 09:43:26 ---> 7d6dab2fd1ab 09:43:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:43:26 ---> Running in 35137cbeeb15 09:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:27 OK: 268 MiB in 56 packages 09:43:28 Removing intermediate container 35137cbeeb15 09:43:28 ---> 2f5d491000d3 09:43:28 Step 8/26 : COPY go.mod vendor* ./ 09:43:30 ---> 44291767cbf3 09:43:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:30 ---> Running in 7e012a27e4a7 09:43:30 skipping... 09:43:30 Removing intermediate container 7e012a27e4a7 09:43:30 ---> f846eac06803 09:43:30 Step 10/26 : COPY . . 09:43:34 ---> 029468b379a9 09:43:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:43:34 ---> Running in b1acb96de553 09:43:34 Removing intermediate container b1acb96de553 09:43:34 ---> 2c285d3a0fae 09:43:34 Step 12/26 : RUN ${MAKE} 09:43:34 ---> Running in 060b822ea7a6 09:43:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 09:44:01 Removing intermediate container 060b822ea7a6 09:44:01 ---> 55dbe270b00f 09:44:01 Step 13/26 : FROM alpine:3.18 09:44:01 3.18: Pulling from library/alpine 09:44:01 619be1103602: Already exists 09:44:01 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:44:01 Status: Downloaded newer image for alpine:3.18 09:44:01 ---> d3782b16ccc9 09:44:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:44:01 ---> Running in b81daa6bf94e 09:44:01 Removing intermediate container b81daa6bf94e 09:44:01 ---> e495efa6fb71 09:44:01 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:44:01 ---> Running in 8d9da5e3a86c 09:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:02 (1/1) Installing dumb-init (1.2.5-r2) 09:44:02 Executing busybox-1.36.1-r5.trigger 09:44:02 OK: 7 MiB in 16 packages 09:44:02 Removing intermediate container 8d9da5e3a86c 09:44:02 ---> 0be490231a1a 09:44:02 Step 16/26 : RUN apk --no-cache upgrade 09:44:02 ---> Running in d95eb873dbb0 09:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:03 Upgrading critical system libraries and apk-tools: 09:44:03 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:44:03 Executing busybox-1.36.1-r5.trigger 09:44:03 Continuing the upgrade transaction with new apk-tools: 09:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:03 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:44:03 Executing busybox-1.36.1-r6.post-upgrade 09:44:03 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:44:03 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:44:03 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:44:03 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:44:03 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:44:03 Executing busybox-1.36.1-r6.trigger 09:44:03 OK: 7 MiB in 16 packages 09:44:04 Removing intermediate container d95eb873dbb0 09:44:04 ---> 83909e150aba 09:44:04 Step 17/26 : WORKDIR / 09:44:04 ---> Running in 7e866ef97f4d 09:44:04 Removing intermediate container 7e866ef97f4d 09:44:04 ---> c5f74431f88e 09:44:04 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 09:44:04 ---> a021e8856c26 09:44:04 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 09:44:04 ---> 66380402dbaf 09:44:04 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 09:44:05 ---> 6ead31a15bb9 09:44:05 Step 21/26 : EXPOSE 59995 09:44:05 ---> Running in c9290f03b081 09:44:06 Removing intermediate container c9290f03b081 09:44:06 ---> c8f9723481d9 09:44:06 Step 22/26 : ENTRYPOINT ["/device-uart"] 09:44:06 ---> Running in 1987203cb9b3 09:44:06 Removing intermediate container 1987203cb9b3 09:44:06 ---> 3aa1f373db1c 09:44:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:44:06 ---> Running in d0c59f4a5e41 09:44:06 Removing intermediate container d0c59f4a5e41 09:44:06 ---> daf9417b6d14 09:44:06 Step 24/26 : LABEL arch=amd64 09:44:06 ---> Running in 3e8ab103a3fe 09:44:06 Removing intermediate container 3e8ab103a3fe 09:44:06 ---> 00fc7af896e1 09:44:06 Step 25/26 : LABEL git_sha=b7595bba147f55141181591cbe8ca4e9d14e29ac 09:44:06 ---> Running in 6168ffaf2cd5 09:44:06 Removing intermediate container 6168ffaf2cd5 09:44:06 ---> 334f168fe2ce 09:44:06 Step 26/26 : LABEL version=3.1.1 09:44:06 ---> Running in b31e26fd003f 09:44:06 Removing intermediate container b31e26fd003f 09:44:06 ---> edd14882df77 09:44:06 [Warning] One or more build-args [ARCH] were not consumed 09:44:06 Successfully built edd14882df77 09:44:06 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:06 provisioning config files... 09:44:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config12887990355080830417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:07 ---> ****-login.sh 09:44:07 nexus3.edgexfoundry.org:10001 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10002 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10003 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10004 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 ****.io 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 ---> ****-login.sh ends [Pipeline] } 09:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:07 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:07 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 09:44:07 b7595bba147f55141181591cbe8ca4e9d14e29ac 09:44:07 3.1.1 09:44:07 b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 09:44:07 napa 09:44:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:08 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:08 + docker push nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac 09:44:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:44:08 ac037a0bf9f2: Preparing 09:44:08 9388484ba5a7: Preparing 09:44:08 c0d46528553d: Preparing 09:44:08 b36f6b3d6105: Preparing 09:44:08 5e3f33a7e3d0: Preparing 09:44:08 aedc3bda2944: Preparing 09:44:08 aedc3bda2944: Waiting 09:44:08 5e3f33a7e3d0: Pushed 09:44:08 c0d46528553d: Pushed 09:44:08 9388484ba5a7: Pushed 09:44:08 aedc3bda2944: Layer already exists 09:44:09 b36f6b3d6105: Pushed 09:44:11 ac037a0bf9f2: Pushed 09:44:11 b7595bba147f55141181591cbe8ca4e9d14e29ac: digest: sha256:72ef684918f55ad935e7966308e969ec1eb07437f522cfb5533162afe1d10d47 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.1.1 09:44:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:44:12 ac037a0bf9f2: Preparing 09:44:12 9388484ba5a7: Preparing 09:44:12 c0d46528553d: Preparing 09:44:12 b36f6b3d6105: Preparing 09:44:12 5e3f33a7e3d0: Preparing 09:44:12 aedc3bda2944: Preparing 09:44:12 ac037a0bf9f2: Layer already exists 09:44:12 b36f6b3d6105: Layer already exists 09:44:12 5e3f33a7e3d0: Layer already exists 09:44:12 9388484ba5a7: Layer already exists 09:44:12 c0d46528553d: Layer already exists 09:44:12 aedc3bda2944: Layer already exists 09:44:12 3.1.1: digest: sha256:72ef684918f55ad935e7966308e969ec1eb07437f522cfb5533162afe1d10d47 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:13 + docker push nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 09:44:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:44:13 ac037a0bf9f2: Preparing 09:44:13 9388484ba5a7: Preparing 09:44:13 c0d46528553d: Preparing 09:44:13 b36f6b3d6105: Preparing 09:44:13 5e3f33a7e3d0: Preparing 09:44:13 aedc3bda2944: Preparing 09:44:13 aedc3bda2944: Waiting 09:44:13 9388484ba5a7: Layer already exists 09:44:13 c0d46528553d: Layer already exists 09:44:13 5e3f33a7e3d0: Layer already exists 09:44:13 ac037a0bf9f2: Layer already exists 09:44:13 b36f6b3d6105: Layer already exists 09:44:13 aedc3bda2944: Layer already exists 09:44:13 b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1: digest: sha256:72ef684918f55ad935e7966308e969ec1eb07437f522cfb5533162afe1d10d47 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:13 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:13 + docker push nexus3.edgexfoundry.org:10004/device-uart:napa 09:44:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 09:44:13 ac037a0bf9f2: Preparing 09:44:13 9388484ba5a7: Preparing 09:44:13 c0d46528553d: Preparing 09:44:13 b36f6b3d6105: Preparing 09:44:13 5e3f33a7e3d0: Preparing 09:44:13 aedc3bda2944: Preparing 09:44:13 aedc3bda2944: Waiting 09:44:13 c0d46528553d: Layer already exists 09:44:13 ac037a0bf9f2: Layer already exists 09:44:13 9388484ba5a7: Layer already exists 09:44:13 5e3f33a7e3d0: Layer already exists 09:44:13 b36f6b3d6105: Layer already exists 09:44:13 aedc3bda2944: Layer already exists 09:44:13 napa: digest: sha256:72ef684918f55ad935e7966308e969ec1eb07437f522cfb5533162afe1d10d47 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:14 ===================================================== [Pipeline] echo 09:44:14 taggedImages: 09:44:14 - nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac 09:44:14 - nexus3.edgexfoundry.org:10004/device-uart:3.1.1 09:44:14 - nexus3.edgexfoundry.org:10004/device-uart:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 09:44:14 - nexus3.edgexfoundry.org:10004/device-uart:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:14 09:44:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:14 latest: Pulling from edgex-lftools-log-publisher 09:44:14 5eb5b503b376: Pulling fs layer 09:44:14 5c69ac0246d0: Pulling fs layer 09:44:14 ec43610c2a17: Pulling fs layer 09:44:14 3a2ae6a8a46f: Pulling fs layer 09:44:14 33b1e0a273af: Pulling fs layer 09:44:14 5d3b04190fa2: Pulling fs layer 09:44:14 2f39f015ded8: Pulling fs layer 09:44:14 33b1e0a273af: Waiting 09:44:14 5d3b04190fa2: Waiting 09:44:14 3a2ae6a8a46f: Waiting 09:44:14 2f39f015ded8: Waiting 09:44:14 5c69ac0246d0: Download complete 09:44:14 3a2ae6a8a46f: Download complete 09:44:14 33b1e0a273af: Verifying Checksum 09:44:14 33b1e0a273af: Download complete 09:44:14 5d3b04190fa2: Verifying Checksum 09:44:14 5d3b04190fa2: Download complete 09:44:14 ec43610c2a17: Verifying Checksum 09:44:14 ec43610c2a17: Download complete 09:44:15 5eb5b503b376: Verifying Checksum 09:44:15 5eb5b503b376: Download complete 09:44:15 2f39f015ded8: Download complete 09:44:16 5eb5b503b376: Pull complete 09:44:16 5c69ac0246d0: Pull complete 09:44:16 ec43610c2a17: Pull complete 09:44:17 3a2ae6a8a46f: Pull complete 09:44:17 33b1e0a273af: Pull complete 09:44:17 5d3b04190fa2: Pull complete 09:44:21 2f39f015ded8: Pull complete 09:44:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:21 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 09:44:21 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 09:44:30 $ docker top a6ac8d6578413290a87c194610ec71d93e5b5cad03202cfc2cd012eb7cff9f5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:31 ---> job-cost.sh 09:44:31 lf-activate-venv: SKIPPING 09:44:31 INFO: No Stack... 09:44:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:44:31 INFO: Archiving Costs [Pipeline] sh 09:44:32 + cat /w/workspace/edgexfoundry_device-uart_napa/archives/cost.csv 09:44:32 + cut -d, -f6 [Pipeline] lock 09:44:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] 09:44:32 Resource [jenkins-edgexfoundry-device-uart-napa-5-stack-cost] did not exist. Created. 09:44:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:32 + echo total: 0.2199999988079071 [Pipeline] stash 09:44:32 Stashed 1 file(s) [Pipeline] } 09:44:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:32 $ docker stop --time=1 a6ac8d6578413290a87c194610ec71d93e5b5cad03202cfc2cd012eb7cff9f5f 09:44:33 $ docker rm -f --volumes a6ac8d6578413290a87c194610ec71d93e5b5cad03202cfc2cd012eb7cff9f5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2481 in /w/workspace/edgexfoundry_device-uart_napa [Pipeline] { [Pipeline] ws 10:03:41 Running in /w/workspace/device-uart/5 [Pipeline] { [Pipeline] checkout 10:03:41 The recommended git tool is: git 10:03:46 using credential edgex-jenkins-ssh 10:03:46 Cloning the remote Git repository 10:03:46 Cloning repository git@github.com:edgexfoundry/device-uart.git 10:03:47 > git init /w/workspace/device-uart/5 # timeout=10 10:03:47 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 10:03:47 > git --version # timeout=10 10:03:47 > git --version # 'git version 2.25.1' 10:03:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:51 Avoid second fetch 10:03:51 Checking out Revision b7595bba147f55141181591cbe8ca4e9d14e29ac (napa) 10:03:50 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 10:03:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:51 > git config core.sparsecheckout # timeout=10 10:03:51 > git checkout -f b7595bba147f55141181591cbe8ca4e9d14e29ac # timeout=10 10:03:53 Commit message: "ci(lts-release): LTS release v3.1.1 @cbe7f7f" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:03:58 % Total % Received % Xferd Average Speed Time Time Time Current 10:03:58 Dload Upload Total Spent Left Speed 10:03:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 10:03:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:03:58 + sudo tee+ /etc/docker/daemon.new 10:03:58 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:03:58 { 10:03:58 "registry-mirrors": [ 10:03:58 "https://nexus3.edgexfoundry.org:10001" 10:03:58 ], 10:03:58 "bip": "10.250.0.254/24", 10:03:58 "hosts": [ 10:03:58 "tcp://0.0.0.0:5555", 10:03:58 "unix:///var/run/docker.sock" 10:03:58 ], 10:03:58 "mtu": 1458, 10:03:58 "selinux-enabled": true, 10:03:58 "seccomp-profile": "/etc/docker/seccomp.json" 10:03:58 } [Pipeline] sh 10:03:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:03:59 + sudo service docker restart [Pipeline] sh 10:04:17 + git checkout b7595bba147f55141181591cbe8ca4e9d14e29ac 10:04:18 HEAD is now at b7595bb ci(lts-release): LTS release v3.1.1 @cbe7f7f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:18 provisioning config files... 10:04:18 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config13785284744987314371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:18 ---> ****-login.sh 10:04:18 nexus3.edgexfoundry.org:10001 10:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:19 Configure a credential helper to remove this warning. See 10:04:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:19 10:04:19 Login Succeeded 10:04:19 nexus3.edgexfoundry.org:10002 10:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:19 Configure a credential helper to remove this warning. See 10:04:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:19 10:04:19 Login Succeeded 10:04:19 nexus3.edgexfoundry.org:10003 10:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:20 Configure a credential helper to remove this warning. See 10:04:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:20 10:04:20 Login Succeeded 10:04:20 nexus3.edgexfoundry.org:10004 10:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:20 Configure a credential helper to remove this warning. See 10:04:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:20 10:04:20 Login Succeeded 10:04:20 ****.io 10:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:20 Configure a credential helper to remove this warning. See 10:04:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:20 10:04:20 Login Succeeded 10:04:20 ---> ****-login.sh ends [Pipeline] } 10:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 10:04:21 + grep ^go [0-9].[0-9]* go.mod 10:04:21 + cut -d -f 2 [Pipeline] echo 10:04:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:04:21 ========================================================= 10:04:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 10:04:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 10:04:24 Sending build context to Docker daemon 41.89MB 10:04:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:04:24 Step 2/12 : FROM ${BASE} AS builder 10:04:24 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:24 c6b39de5b339: Pulling fs layer 10:04:24 a69c41024577: Pulling fs layer 10:04:24 d6de4b400683: Pulling fs layer 10:04:24 35cb2a7552d0: Pulling fs layer 10:04:24 4f4fb700ef54: Pulling fs layer 10:04:24 9e011611b7f5: Pulling fs layer 10:04:24 3bd174042beb: Pulling fs layer 10:04:24 4476f39b5e91: Pulling fs layer 10:04:24 4f4fb700ef54: Waiting 10:04:24 9e011611b7f5: Waiting 10:04:24 3bd174042beb: Waiting 10:04:24 4476f39b5e91: Waiting 10:04:24 35cb2a7552d0: Waiting 10:04:24 a69c41024577: Download complete 10:04:24 35cb2a7552d0: Verifying Checksum 10:04:24 35cb2a7552d0: Download complete 10:04:24 4f4fb700ef54: Download complete 10:04:24 9e011611b7f5: Verifying Checksum 10:04:24 9e011611b7f5: Download complete 10:04:24 c6b39de5b339: Download complete 10:04:24 4476f39b5e91: Verifying Checksum 10:04:24 4476f39b5e91: Download complete 10:04:25 c6b39de5b339: Pull complete 10:04:26 a69c41024577: Pull complete 10:04:26 d6de4b400683: Verifying Checksum 10:04:26 d6de4b400683: Download complete 10:04:27 3bd174042beb: Verifying Checksum 10:04:27 3bd174042beb: Download complete 10:04:40 d6de4b400683: Pull complete 10:04:40 35cb2a7552d0: Pull complete 10:04:40 4f4fb700ef54: Pull complete 10:04:40 9e011611b7f5: Pull complete 10:04:50 3bd174042beb: Pull complete 10:04:51 4476f39b5e91: Pull complete 10:04:51 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 10:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 10:04:51 ---> 981a0608b64a 10:04:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:04:53 ---> Running in 1c1065a26244 10:04:53 Removing intermediate container 1c1065a26244 10:04:53 ---> 275b066d3078 10:04:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:04:53 ---> Running in d39ca395994b 10:04:54 Removing intermediate container d39ca395994b 10:04:54 ---> 4a98e5bb055c 10:04:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:04:54 ---> Running in 2055a0c52b84 10:04:54 Removing intermediate container 2055a0c52b84 10:04:54 ---> 6b756325c704 10:04:54 Step 6/12 : WORKDIR /device-uart 10:04:54 ---> Running in 6e36dbe14f18 10:04:55 Removing intermediate container 6e36dbe14f18 10:04:55 ---> f2d30cb89c19 10:04:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:04:55 ---> Running in 9d08a0d9a189 10:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:05:00 (1/4) Installing openssh-keygen (9.3_p2-r1) 10:05:00 (2/4) Installing libedit (20221030.3.1-r1) 10:05:00 (3/4) Installing openssh-client-common (9.3_p2-r1) 10:05:00 (4/4) Installing openssh-client-default (9.3_p2-r1) 10:05:00 Executing busybox-1.36.1-r5.trigger 10:05:00 OK: 271 MiB in 56 packages 10:05:02 Removing intermediate container 9d08a0d9a189 10:05:02 ---> 3ad506278531 10:05:02 Step 8/12 : COPY go.mod vendor* ./ 10:05:09 ---> 409f0325aac9 10:05:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:09 ---> Running in bdd898ecd9f1 10:06:05 Removing intermediate container bdd898ecd9f1 10:06:05 ---> 8211a2774709 10:06:05 Step 10/12 : COPY . . 10:06:13 ---> f909ac15a90a 10:06:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:06:13 ---> Running in a6d8b5361bab 10:06:13 Removing intermediate container a6d8b5361bab 10:06:13 ---> 70342c1d73af 10:06:13 Step 12/12 : RUN ${MAKE} 10:06:13 ---> Running in 5eb17aaa2881 10:06:14 noop 10:06:15 Removing intermediate container 5eb17aaa2881 10:06:15 ---> 89b8ebe22760 10:06:15 Successfully built 89b8ebe22760 10:06:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:15 + docker inspect -f . ci-base-image-arm64 10:06:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:15 prd-ubuntu20.04-docker-arm64-4c-16g-2481 does not seem to be running inside a container 10:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:17 $ docker top 2ecd1a6d81f8301db2a69cc2e5de2565040af55f7eb92c7c36cb51a3a1d78f0c -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:18 + go version 10:06:18 go version go1.21.9 linux/arm64 [Pipeline] } 10:06:18 $ docker stop --time=1 2ecd1a6d81f8301db2a69cc2e5de2565040af55f7eb92c7c36cb51a3a1d78f0c 10:06:19 $ docker rm -f --volumes 2ecd1a6d81f8301db2a69cc2e5de2565040af55f7eb92c7c36cb51a3a1d78f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:20 + docker inspect -f . ci-base-image-arm64 10:06:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:20 prd-ubuntu20.04-docker-arm64-4c-16g-2481 does not seem to be running inside a container 10:06:20 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:22 $ docker top 8e97c5c9464f986bb3c9c528dfbac2f0f40b72fa19979c8b4ad2889756188bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:22 + git config --global --add safe.directory /w/workspace/device-uart/5 [Pipeline] fileExists [Pipeline] sh 10:06:23 + make test 10:06:23 go test ./... -coverprofile=coverage.out 10:06:26 ? github.com/edgexfoundry/device-uart [no test files] 10:08:48 ? github.com/edgexfoundry/device-uart/cmd [no test files] 10:08:48 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 10:08:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:08:48 go vet ./... 10:09:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 10:09:27 + go mod tidy [Pipeline] } 10:09:31 $ docker stop --time=1 8e97c5c9464f986bb3c9c528dfbac2f0f40b72fa19979c8b4ad2889756188bd2 10:09:33 $ docker rm -f --volumes 8e97c5c9464f986bb3c9c528dfbac2f0f40b72fa19979c8b4ad2889756188bd2 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:34 Warning: overwriting stash ‘coverage-report’ 10:09:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:36 + ls -al . 10:09:36 total 156 10:09:36 drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:06 . 10:09:36 drwxrwxr-x 4 jenkins jenkins 4096 May 31 10:03 .. 10:09:36 -rw-rw-r-- 1 jenkins jenkins 140 May 31 10:03 .dockerignore 10:09:36 drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:04 .git 10:09:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:03 .github 10:09:36 -rw-rw-r-- 1 jenkins jenkins 335 May 31 10:03 .gitignore 10:09:36 -rw-rw-r-- 1 jenkins jenkins 41 May 31 10:03 .golangci.yml 10:09:36 -rw-rw-r-- 1 jenkins jenkins 9960 May 31 10:03 Attribution.txt 10:09:36 -rw-rw-r-- 1 jenkins jenkins 1908 May 31 10:03 CHANGELOG.md 10:09:36 -rw-rw-r-- 1 jenkins jenkins 1886 May 31 10:03 Dockerfile 10:09:36 -rw-rw-r-- 1 jenkins jenkins 677 May 31 10:03 GOVERNANCE.md 10:09:36 -rw-rw-r-- 1 jenkins jenkins 675 May 31 10:03 Jenkinsfile 10:09:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 10:03 LICENSE 10:09:36 -rw-rw-r-- 1 jenkins jenkins 1872 May 31 10:03 Makefile 10:09:36 -rw-rw-r-- 1 jenkins jenkins 617 May 31 10:03 OWNERS.md 10:09:36 -rw-rw-r-- 1 jenkins jenkins 8892 May 31 10:03 README.md 10:09:36 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 10:09:36 drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:03 bin 10:09:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:03 cmd 10:09:36 -rw-r--r-- 1 jenkins jenkins 10 May 31 10:06 coverage.out 10:09:36 -rw-rw-r-- 1 jenkins jenkins 3644 May 31 10:03 go.mod 10:09:36 -rw-rw-r-- 1 jenkins jenkins 34414 May 31 10:03 go.sum 10:09:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:03 internal 10:09:36 drwxrwxr-x 6 jenkins jenkins 4096 May 31 10:03 vendor 10:09:36 -rw-rw-r-- 1 jenkins jenkins 209 May 31 10:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:36 + 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=b7595bba147f55141181591cbe8ca4e9d14e29ac --label arch=arm64 --label version=3.1.1 . 10:09:39 Sending build context to Docker daemon 41.89MB 10:09:39 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 10:09:39 Step 2/26 : FROM ${BASE} AS builder 10:09:39 ---> 89b8ebe22760 10:09:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:09:39 ---> Running in 2a2c291f3e7a 10:09:39 Removing intermediate container 2a2c291f3e7a 10:09:39 ---> 0d4d4cdbb7a1 10:09:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:09:39 ---> Running in 20a64a9f3c16 10:09:39 Removing intermediate container 20a64a9f3c16 10:09:39 ---> c8cec035c157 10:09:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:09:40 ---> Running in 832cbd76c800 10:09:40 Removing intermediate container 832cbd76c800 10:09:40 ---> a1e3d150f49e 10:09:40 Step 6/26 : WORKDIR /device-uart 10:09:40 ---> Running in 652aca5d7a72 10:09:40 Removing intermediate container 652aca5d7a72 10:09:40 ---> 5ad3f37c8252 10:09:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:41 ---> Running in 58138af25454 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:09:43 OK: 271 MiB in 56 packages 10:09:44 Removing intermediate container 58138af25454 10:09:44 ---> 199a9b908595 10:09:44 Step 8/26 : COPY go.mod vendor* ./ 10:09:52 ---> 8bc765c62c0e 10:09:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:52 ---> Running in 767e0ec678ed 10:09:52 skipping... 10:09:53 Removing intermediate container 767e0ec678ed 10:09:53 ---> b3b2b32f26ec 10:09:53 Step 10/26 : COPY . . 10:10:01 ---> 9436036097c9 10:10:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:10:01 ---> Running in 061ad3c4bf82 10:10:01 Removing intermediate container 061ad3c4bf82 10:10:01 ---> 0f32395f7fcd 10:10:01 Step 12/26 : RUN ${MAKE} 10:10:01 ---> Running in 2aa63c685fa8 10:10:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 10:12:39 Removing intermediate container 2aa63c685fa8 10:12:39 ---> 1cd1fa786a92 10:12:39 Step 13/26 : FROM alpine:3.18 10:12:39 3.18: Pulling from library/alpine 10:12:39 c6b39de5b339: Already exists 10:12:39 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:12:39 Status: Downloaded newer image for alpine:3.18 10:12:39 ---> 33abbf032149 10:12:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:12:39 ---> Running in c4ed9e2caab6 10:12:39 Removing intermediate container c4ed9e2caab6 10:12:39 ---> f784f77475cf 10:12:39 Step 15/26 : RUN apk add --update --no-cache dumb-init 10:12:39 ---> Running in 2bd836224459 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:39 (1/1) Installing dumb-init (1.2.5-r2) 10:12:39 Executing busybox-1.36.1-r5.trigger 10:12:39 OK: 8 MiB in 16 packages 10:12:39 Removing intermediate container 2bd836224459 10:12:39 ---> 0c070ad9c7dd 10:12:39 Step 16/26 : RUN apk --no-cache upgrade 10:12:39 ---> Running in 1b087e6c5708 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:39 Upgrading critical system libraries and apk-tools: 10:12:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:12:39 Executing busybox-1.36.1-r5.trigger 10:12:39 Continuing the upgrade transaction with new apk-tools: 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:39 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 10:12:39 Executing busybox-1.36.1-r6.post-upgrade 10:12:39 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 10:12:39 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:12:39 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 10:12:39 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 10:12:39 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 10:12:39 Executing busybox-1.36.1-r6.trigger 10:12:39 OK: 8 MiB in 16 packages 10:12:39 Removing intermediate container 1b087e6c5708 10:12:39 ---> 98f099931eec 10:12:39 Step 17/26 : WORKDIR / 10:12:39 ---> Running in 08f1624c0240 10:12:39 Removing intermediate container 08f1624c0240 10:12:39 ---> c8f21375cf90 10:12:39 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 10:12:39 ---> e349a5a37690 10:12:39 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 10:12:39 ---> 7591d9d734ee 10:12:39 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 10:12:40 ---> ccfd87a823eb 10:12:40 Step 21/26 : EXPOSE 59995 10:12:40 ---> Running in 6b57cde86b3a 10:12:40 Removing intermediate container 6b57cde86b3a 10:12:40 ---> 1ff11b1b390d 10:12:40 Step 22/26 : ENTRYPOINT ["/device-uart"] 10:12:40 ---> Running in a4aaeebbb33a 10:12:41 Removing intermediate container a4aaeebbb33a 10:12:41 ---> d889c1515f9b 10:12:41 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:12:41 ---> Running in fc756bfaca49 10:12:41 Removing intermediate container fc756bfaca49 10:12:41 ---> ffe15d5ffe9b 10:12:41 Step 24/26 : LABEL arch=arm64 10:12:41 ---> Running in 63aed9b2057a 10:12:42 Removing intermediate container 63aed9b2057a 10:12:42 ---> ec8265dcda06 10:12:42 Step 25/26 : LABEL git_sha=b7595bba147f55141181591cbe8ca4e9d14e29ac 10:12:42 ---> Running in f07fb644244c 10:12:42 Removing intermediate container f07fb644244c 10:12:42 ---> 80b24a36e4f1 10:12:42 Step 26/26 : LABEL version=3.1.1 10:12:42 ---> Running in bc2542e345f3 10:12:43 Removing intermediate container bc2542e345f3 10:12:43 ---> 34c0ba94817b 10:12:43 [Warning] One or more build-args [ARCH] were not consumed 10:12:43 Successfully built 34c0ba94817b 10:12:43 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 10:12:43 provisioning config files... 10:12:43 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config17265441000336989125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:44 ---> ****-login.sh 10:12:44 nexus3.edgexfoundry.org:10001 10:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:44 Configure a credential helper to remove this warning. See 10:12:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:44 10:12:44 Login Succeeded 10:12:44 nexus3.edgexfoundry.org:10002 10:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:44 Configure a credential helper to remove this warning. See 10:12:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:44 10:12:44 Login Succeeded 10:12:44 nexus3.edgexfoundry.org:10003 10:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:45 Configure a credential helper to remove this warning. See 10:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:45 10:12:45 Login Succeeded 10:12:45 nexus3.edgexfoundry.org:10004 10:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:45 Configure a credential helper to remove this warning. See 10:12:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:45 10:12:45 Login Succeeded 10:12:45 ****.io 10:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:46 Configure a credential helper to remove this warning. See 10:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:46 10:12:46 Login Succeeded 10:12:46 ---> ****-login.sh ends [Pipeline] } 10:12:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:46 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:12:46 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 10:12:46 b7595bba147f55141181591cbe8ca4e9d14e29ac 10:12:46 3.1.1 10:12:46 b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 10:12:46 napa 10:12:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:46 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:47 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac 10:12:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 10:12:47 9c8a14353934: Preparing 10:12:47 7ef8f95af266: Preparing 10:12:47 d7fc834f7e29: Preparing 10:12:47 6eb517555400: Preparing 10:12:47 a9d130f51b5b: Preparing 10:12:47 7c504f21be85: Preparing 10:12:47 7c504f21be85: Waiting 10:12:47 7ef8f95af266: Pushed 10:12:47 7c504f21be85: Layer already exists 10:12:47 d7fc834f7e29: Pushed 10:12:47 a9d130f51b5b: Pushed 10:12:49 6eb517555400: Pushed 10:12:53 9c8a14353934: Pushed 10:12:53 b7595bba147f55141181591cbe8ca4e9d14e29ac: digest: sha256:a516139328eaee093491a9d6a421737aadd13e0ddb82510294028771ec5ba9f2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:53 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:54 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.1 10:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 10:12:54 9c8a14353934: Preparing 10:12:54 7ef8f95af266: Preparing 10:12:54 d7fc834f7e29: Preparing 10:12:54 6eb517555400: Preparing 10:12:54 a9d130f51b5b: Preparing 10:12:54 7c504f21be85: Preparing 10:12:54 7c504f21be85: Waiting 10:12:54 6eb517555400: Layer already exists 10:12:54 7ef8f95af266: Layer already exists 10:12:54 d7fc834f7e29: Layer already exists 10:12:54 a9d130f51b5b: Layer already exists 10:12:54 9c8a14353934: Layer already exists 10:12:54 7c504f21be85: Layer already exists 10:12:54 3.1.1: digest: sha256:a516139328eaee093491a9d6a421737aadd13e0ddb82510294028771ec5ba9f2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:55 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:55 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 10:12:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 10:12:55 9c8a14353934: Preparing 10:12:55 7ef8f95af266: Preparing 10:12:55 d7fc834f7e29: Preparing 10:12:55 6eb517555400: Preparing 10:12:55 a9d130f51b5b: Preparing 10:12:55 7c504f21be85: Preparing 10:12:55 7c504f21be85: Waiting 10:12:55 7ef8f95af266: Layer already exists 10:12:55 d7fc834f7e29: Layer already exists 10:12:55 9c8a14353934: Layer already exists 10:12:55 6eb517555400: Layer already exists 10:12:55 a9d130f51b5b: Layer already exists 10:12:55 7c504f21be85: Layer already exists 10:12:55 b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1: digest: sha256:a516139328eaee093491a9d6a421737aadd13e0ddb82510294028771ec5ba9f2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:56 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:56 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:napa 10:12:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 10:12:56 9c8a14353934: Preparing 10:12:56 7ef8f95af266: Preparing 10:12:56 d7fc834f7e29: Preparing 10:12:56 6eb517555400: Preparing 10:12:56 a9d130f51b5b: Preparing 10:12:56 7c504f21be85: Preparing 10:12:56 7c504f21be85: Waiting 10:12:56 d7fc834f7e29: Layer already exists 10:12:56 a9d130f51b5b: Layer already exists 10:12:56 7ef8f95af266: Layer already exists 10:12:56 9c8a14353934: Layer already exists 10:12:56 6eb517555400: Layer already exists 10:12:56 7c504f21be85: Layer already exists 10:12:56 napa: digest: sha256:a516139328eaee093491a9d6a421737aadd13e0ddb82510294028771ec5ba9f2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:56 ===================================================== [Pipeline] echo 10:12:56 taggedImages: 10:12:56 - nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac 10:12:56 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.1.1 10:12:56 - nexus3.edgexfoundry.org:10004/device-uart-arm64:b7595bba147f55141181591cbe8ca4e9d14e29ac-3.1.1 10:12:56 - nexus3.edgexfoundry.org:10004/device-uart-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:57 10:12:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:57 arm64: Pulling from edgex-lftools-log-publisher 10:12:57 8998bd30e6a1: Pulling fs layer 10:12:57 04944245beec: Pulling fs layer 10:12:57 699f458cf7ca: Pulling fs layer 10:12:57 765212b225bb: Pulling fs layer 10:12:57 f23df028b6ca: Pulling fs layer 10:12:57 d65c8cfc05b1: Pulling fs layer 10:12:57 2437ff75d9bd: Pulling fs layer 10:12:57 f23df028b6ca: Waiting 10:12:57 d65c8cfc05b1: Waiting 10:12:57 2437ff75d9bd: Waiting 10:12:57 765212b225bb: Waiting 10:12:57 04944245beec: Verifying Checksum 10:12:57 04944245beec: Download complete 10:12:57 765212b225bb: Verifying Checksum 10:12:57 765212b225bb: Download complete 10:12:57 f23df028b6ca: Verifying Checksum 10:12:57 f23df028b6ca: Download complete 10:12:57 d65c8cfc05b1: Verifying Checksum 10:12:57 d65c8cfc05b1: Download complete 10:12:58 699f458cf7ca: Verifying Checksum 10:12:58 699f458cf7ca: Download complete 10:12:58 8998bd30e6a1: Verifying Checksum 10:12:58 8998bd30e6a1: Download complete 10:13:00 2437ff75d9bd: Verifying Checksum 10:13:00 2437ff75d9bd: Download complete 10:13:03 8998bd30e6a1: Pull complete 10:13:03 04944245beec: Pull complete 10:13:05 699f458cf7ca: Pull complete 10:13:05 765212b225bb: Pull complete 10:13:06 f23df028b6ca: Pull complete 10:13:06 d65c8cfc05b1: Pull complete 10:13:24 2437ff75d9bd: Pull complete 10:13:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:25 prd-ubuntu20.04-docker-arm64-4c-16g-2481 does not seem to be running inside a container 10:13:25 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:13:27 $ docker top 16ae3f2d5096ff4aa882f8c580b9a98562356b9d29d66380ff61138ebfe1eacc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:28 ---> job-cost.sh 10:13:28 lf-activate-venv: SKIPPING 10:13:28 INFO: No Stack... 10:13:29 INFO: Retrieving Pricing Info for: v3-standard-4 10:13:29 INFO: Archiving Costs [Pipeline] sh 10:13:30 + cut -d, -f6 10:13:30 + cat /w/workspace/device-uart/5/archives/cost.csv [Pipeline] lock 10:13:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] 10:13:30 Resource [jenkins-edgexfoundry-device-uart-napa-5-stack-cost] did not exist. Created. 10:13:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:31 /w/workspace/device-uart/5@tmp/durable-37e9668d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:13:31 + echo total: 0.10999999940395355 [Pipeline] stash 10:13:31 Warning: overwriting stash ‘stack-cost’ 10:13:32 Stashed 1 file(s) [Pipeline] } 10:13:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:32 $ docker stop --time=1 16ae3f2d5096ff4aa882f8c580b9a98562356b9d29d66380ff61138ebfe1eacc 10:13:33 $ docker rm -f --volumes 16ae3f2d5096ff4aa882f8c580b9a98562356b9d29d66380ff61138ebfe1eacc [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 10:13:34 provisioning config files... 10:13:34 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config11531424699077998734tmp [Pipeline] { [Pipeline] sh 10:13:34 + set +x 10:13:34 + curl -s https://codecov.io/bash 10:13:34 + bash -s -- 10:13:34 10:13:34 _____ _ 10:13:34 / ____| | | 10:13:34 | | ___ __| | ___ ___ _____ __ 10:13:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:13:34 | |___| (_) | (_| | __/ (_| (_) \ V / 10:13:34 \_____\___/ \__,_|\___|\___\___/ \_/ 10:13:34 Bash-1.0.6 10:13:34 10:13:34 10:13:34 ==> git version 2.25.1 found 10:13:34 ==> 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 10:13:34 Release-Date: 2020-01-08 10:13:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:13:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:13:34 ==> Jenkins CI detected. 10:13:34 current dir:  /w/workspace/edgexfoundry_device-uart_napa 10:13:34 project root: . 10:13:34 --> token set from env 10:13:34 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 10:13:34 ==> Running gcov in . (disable via -X gcov) 10:13:34 ==> Python coveragepy not found 10:13:34 ==> Searching for coverage reports in: 10:13:34 + . 10:13:34 -> Found 1 reports 10:13:34 ==> Detecting git/mercurial file structure 10:13:34 ==> Reading reports 10:13:34 + ./coverage.out bytes=10 10:13:34 ==> Appending adjustments 10:13:34 https://docs.codecov.io/docs/fixing-reports 10:13:34 + Found adjustments 10:13:34 ==> Gzipping contents 10:13:34 12K /tmp/codecov.EPGhex.gz 10:13:34 ==> Uploading reports 10:13:34 url: https://codecov.io 10:13:34 query: branch=napa&commit=b7595bba147f55141181591cbe8ca4e9d14e29ac&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:34 -> Pinging Codecov 10:13:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=b7595bba147f55141181591cbe8ca4e9d14e29ac&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:35 -> Uploading to 10:13:35 https://storage.googleapis.com/codecov/v4/raw/2024-05-31/B9AA6E0BBD74AE3A32605C7A7C664919/b7595bba147f55141181591cbe8ca4e9d14e29ac/2efcf9e3-a2fa-450b-8035-398f491f3f5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T101335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=915cdaa4614b25cdef7ab33414ccf530471dc2af09a273827910ab387d79e732 10:13:35 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:35 Dload Upload Total Spent Left Speed 10:13:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11936 0 0 100 11936 0 49322 --:--:-- --:--:-- --:--:-- 49322 10:13:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] } 10:13:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:13:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:13:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:36 10:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:36 latest: Pulling from edgex-devops/edgex-snyk-go 10:13:36 619be1103602: Already exists 10:13:36 f8ea3408117e: Pulling fs layer 10:13:36 91320369b822: Pulling fs layer 10:13:36 0406650e8295: Pulling fs layer 10:13:36 4f4fb700ef54: Pulling fs layer 10:13:36 96d80e3f36e1: Pulling fs layer 10:13:36 bcf3aedb951c: Pulling fs layer 10:13:36 4f4fb700ef54: Waiting 10:13:36 96d80e3f36e1: Waiting 10:13:36 bcf3aedb951c: Waiting 10:13:36 0406650e8295: Verifying Checksum 10:13:36 0406650e8295: Download complete 10:13:36 f8ea3408117e: Download complete 10:13:36 4f4fb700ef54: Verifying Checksum 10:13:36 4f4fb700ef54: Download complete 10:13:36 f8ea3408117e: Pull complete 10:13:36 96d80e3f36e1: Verifying Checksum 10:13:36 96d80e3f36e1: Download complete 10:13:36 91320369b822: Verifying Checksum 10:13:36 91320369b822: Download complete 10:13:37 bcf3aedb951c: Verifying Checksum 10:13:37 bcf3aedb951c: Download complete 10:13:39 91320369b822: Pull complete 10:13:39 0406650e8295: Pull complete 10:13:39 4f4fb700ef54: Pull complete 10:13:40 96d80e3f36e1: Pull complete 10:13:42 bcf3aedb951c: Pull complete 10:13:42 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 10:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:42 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:13:42 $ 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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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:latest cat 10:13:47 $ docker top 104a58190f1670e27bfb1df12adacf6a75f398925ebb5f0e9149ddcb0bbe3be8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_napa [Pipeline] echo 10:13:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:napa' [Pipeline] sh 10:13:48 + set -o pipefail 10:13:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:napa' 10:13:50 10:13:50 Monitoring /w/workspace/edgexfoundry_device-uart_napa (github.com/edgexfoundry/device-uart)... 10:13:50 10:13:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4383f45b-744c-4f49-9003-e6603f3ae75c/history/3345932e-1b66-4345-bbda-86daeef404f1 10:13:50 10:13:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:13:50 10:13:50 10:13:50 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:13:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:13:50 $ docker stop --time=1 104a58190f1670e27bfb1df12adacf6a75f398925ebb5f0e9149ddcb0bbe3be8 10:13:52 $ docker rm -f --volumes 104a58190f1670e27bfb1df12adacf6a75f398925ebb5f0e9149ddcb0bbe3be8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:53 + git log --format=format:%s -1 b7595bba147f55141181591cbe8ca4e9d14e29ac [Pipeline] sh 10:13:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:54 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 10:13:54 $ docker top feb1a4fb804ab512fb8b30f6aa88c13cabae8690f1e52867b5f79e94fc8df08c -eo pid,comm 10:13: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). 10:13:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:13:54 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:54 + git semver [Pipeline] } 10:13:55 $ docker stop --time=1 feb1a4fb804ab512fb8b30f6aa88c13cabae8690f1e52867b5f79e94fc8df08c 10:13:56 $ docker rm -f --volumes feb1a4fb804ab512fb8b30f6aa88c13cabae8690f1e52867b5f79e94fc8df08c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:56 10:13:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:57 0.23.1-centos7: Pulling from edgex-lftools 10:13:57 ab5ef0e58194: Pulling fs layer 10:13:57 9712f1f96733: Pulling fs layer 10:13:57 63f879dbbcfc: Pulling fs layer 10:13:57 0d9ebad4ef96: Pulling fs layer 10:13:57 e9a5061849ea: Pulling fs layer 10:13:57 d747dcd14b5f: Pulling fs layer 10:13:57 2de7ff778b66: Pulling fs layer 10:13:57 0d9ebad4ef96: Waiting 10:13:57 e9a5061849ea: Waiting 10:13:57 d747dcd14b5f: Waiting 10:13:57 2de7ff778b66: Waiting 10:13:57 9712f1f96733: Download complete 10:13:57 63f879dbbcfc: Verifying Checksum 10:13:57 63f879dbbcfc: Download complete 10:13:57 e9a5061849ea: Verifying Checksum 10:13:57 e9a5061849ea: Download complete 10:13:57 d747dcd14b5f: Verifying Checksum 10:13:57 d747dcd14b5f: Download complete 10:13:57 ab5ef0e58194: Verifying Checksum 10:13:57 ab5ef0e58194: Download complete 10:13:57 0d9ebad4ef96: Download complete 10:13:57 2de7ff778b66: Verifying Checksum 10:13:57 2de7ff778b66: Download complete 10:14:00 ab5ef0e58194: Pull complete 10:14:00 9712f1f96733: Pull complete 10:14:00 63f879dbbcfc: Pull complete 10:14:03 0d9ebad4ef96: Pull complete 10:14:04 e9a5061849ea: Pull complete 10:14:04 d747dcd14b5f: Pull complete 10:14:05 2de7ff778b66: Pull complete 10:14:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:14:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:14:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:05 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 10:14:13 $ docker top 2624f49a6a03e5c82ee1d383cd4fe07cf3d6b9b0b2f1aa7c43bb60ed6aac0d34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:14:13 provisioning config files... 10:14:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config12628942450103995594tmp 10:14:13 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config1693873883064850778tmp 10:14:13 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config8506562580972168080tmp [Pipeline] { [Pipeline] echo 10:14:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:14:13 ---> sigul-configuration.sh 10:14:13 gpg: directory `/root/.gnupg' created 10:14:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:14:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:14:13 gpg: keyring `/root/.gnupg/secring.gpg' created 10:14:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:14:13 gpg: CAST5 encrypted data 10:14:13 gpg: encrypted with 1 passphrase 10:14:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:14:13 + mkdir /home/jenkins 10:14:13 + mkdir /home/jenkins/sigul [Pipeline] sh 10:14:14 + 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 10:14:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:14:14 ---> sigul-install.sh 10:14:14 Sigul already installed; skipping installation. [Pipeline] sh 10:14:14 + git tag --list 10:14:14 v0.0.0 10:14:14 v0.0.1-dev.1 10:14:14 v0.0.1-dev.2 10:14:14 v0.0.1-dev.3 10:14:14 v0.0.1-dev.4 10:14:14 v3.0.0 10:14:14 v3.0.1-dev.1 10:14:14 v3.0.1-dev.10 10:14:14 v3.0.1-dev.11 10:14:14 v3.0.1-dev.12 10:14:14 v3.0.1-dev.13 10:14:14 v3.0.1-dev.14 10:14:14 v3.0.1-dev.15 10:14:14 v3.0.1-dev.16 10:14:14 v3.0.1-dev.17 10:14:14 v3.0.1-dev.18 10:14:14 v3.0.1-dev.19 10:14:14 v3.0.1-dev.2 10:14:14 v3.0.1-dev.20 10:14:14 v3.0.1-dev.21 10:14:14 v3.0.1-dev.22 10:14:14 v3.0.1-dev.3 10:14:14 v3.0.1-dev.4 10:14:14 v3.0.1-dev.5 10:14:14 v3.0.1-dev.6 10:14:14 v3.0.1-dev.7 10:14:14 v3.0.1-dev.8 10:14:14 v3.0.1-dev.9 10:14:14 v3.1 10:14:14 v3.1.0 10:14:14 v3.1.1 10:14:14 v3.1.1-dev.1 [Pipeline] sh 10:14:15 + lftools sign git-tag v3.1.1 10:14:15 Signing Git tag with Sigul... 10:14:15 Signing v3.1.1 [Pipeline] echo 10:14:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:14:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:14:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:14:16 $ docker stop --time=1 2624f49a6a03e5c82ee1d383cd4fe07cf3d6b9b0b2f1aa7c43bb60ed6aac0d34 10:14:17 $ docker rm -f --volumes 2624f49a6a03e5c82ee1d383cd4fe07cf3d6b9b0b2f1aa7c43bb60ed6aac0d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:14:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:18 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 10:14:18 $ docker top 302418f5614288bce9e7a121947cd544294f09aa26a503a812c29cfd0a62841f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:18 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:19 + git semver [Pipeline] } 10:14:19 $ docker stop --time=1 302418f5614288bce9e7a121947cd544294f09aa26a503a812c29cfd0a62841f 10:14:20 $ docker rm -f --volumes 302418f5614288bce9e7a121947cd544294f09aa26a503a812c29cfd0a62841f [Pipeline] // withDockerContainer [Pipeline] sh 10:14:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:21 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:14:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 10:14:21 $ docker top b0f33ef26659b29973a029d513dd381a1a281f5874592fce3e21023d096318a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:21 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:23 + git semver [Pipeline] } 10:14:23 $ docker stop --time=1 b0f33ef26659b29973a029d513dd381a1a281f5874592fce3e21023d096318a1 10:14:28 $ docker rm -f --volumes b0f33ef26659b29973a029d513dd381a1a281f5874592fce3e21023d096318a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:14:30 + [ -d /w/workspace/edgexfoundry_device-uart_napa/archives ] 10:14:30 + ls -al /w/workspace/edgexfoundry_device-uart_napa/archives 10:14:30 total 16 10:14:30 drwxr-xr-x 3 root root 4096 May 31 09:44 . 10:14:30 drwxrwxr-x 10 jenkins jenkins 4096 May 31 10:14 .. 10:14:30 drwxr-xr-x 2 root root 4096 May 31 09:44 cost 10:14:30 -rw-r--r-- 1 root root 81 May 31 09:44 cost.csv 10:14:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_napa/archives 10:14:31 + ls -al /w/workspace/edgexfoundry_device-uart_napa/archives 10:14:31 total 16 10:14:31 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:44 . 10:14:31 drwxrwxr-x 10 jenkins jenkins 4096 May 31 10:14 .. 10:14:31 drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:44 cost 10:14:31 -rw-r--r-- 1 jenkins jenkins 81 May 31 09:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:14:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:14:32 ---> package-listing.sh 10:14:32 ++ facter osfamily 10:14:32 ++ tr '[:upper:]' '[:lower:]' 10:14:32 + OS_FAMILY=debian 10:14:32 + workspace=/w/workspace/edgexfoundry_device-uart_napa 10:14:32 + START_PACKAGES=/tmp/packages_start.txt 10:14:32 + END_PACKAGES=/tmp/packages_end.txt 10:14:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:14:32 + PACKAGES=/tmp/packages_start.txt 10:14:32 + '[' /w/workspace/edgexfoundry_device-uart_napa ']' 10:14:32 + PACKAGES=/tmp/packages_end.txt 10:14:32 + case "${OS_FAMILY}" in 10:14:32 + dpkg -l 10:14:32 + grep '^ii' 10:14:32 + '[' -f /tmp/packages_start.txt ']' 10:14:32 + '[' -f /tmp/packages_end.txt ']' 10:14:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:14:32 + '[' /w/workspace/edgexfoundry_device-uart_napa ']' 10:14:32 + mkdir -p /w/workspace/edgexfoundry_device-uart_napa/archives/ 10:14:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_napa/archives/ [Pipeline] echo 10:14:32 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:14:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:33 prd-ubuntu20.04-docker-8c-8g-2007 does not seem to be running inside a container 10:14:33 $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-uart_napa:/w/workspace/edgexfoundry_device-uart_napa:rw,z -v /w/workspace/edgexfoundry_device-uart_napa@tmp:/w/workspace/edgexfoundry_device-uart_napa@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 10:14:33 $ docker top 795263204a686439b2f321b528888815376986dd21dd391d076c9d525e405d10 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:33 + touch /tmp/pre-build-complete [Pipeline] sh 10:14:34 + mkdir -p /var/log/sysstat [Pipeline] sh 10:14:34 + ls /var/log/sa-host 10:14:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:34 provisioning config files... 10:14:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_napa@tmp/config12645565012430147872tmp [Pipeline] { [Pipeline] echo 10:14:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:14:34 ---> create-netrc.sh [Pipeline] } 10:14:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:14:35 ---> python-tools-install.sh [Pipeline] echo 10:14:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:14:35 ---> sudo-logs.sh 10:14:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:14:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:14:35 ---> job-cost.sh 10:14:35 lf-activate-venv: SKIPPING 10:14:35 DEBUG: total: 0.2199999988079071 10:14:35 INFO: Retrieving Stack Cost... 10:14:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:36 INFO: Archiving Costs [Pipeline] echo 10:14:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:37 ---> logs-deploy.sh 10:14:37 lf-activate-venv: SKIPPING 10:14:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/napa/5 10:14:37 INFO: archiving workspace using pattern(s): 10:14:37 Archives upload complete. 10:14:37 INFO: archiving logs to Nexus