Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 456606cc1479f447ad62a94b16c6a77590d7088f 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-ssh13042874523827427602.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-ssh17774674115094405991.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6100800833940435206.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-ssh354735550950458982.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7278390460062889438.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7363 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 456606cc1479f447ad62a94b16c6a77590d7088f (main) Commit message: "Merge pull request #65 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 > git rev-list --no-walk bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:45:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:45:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:45:23 ========================================================= 04:45:23 EdgeX Global Pipelines Version Info 04:45:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:45:24 ------------------- 04:45:24 stable info: 04:45:24 ------------------- 04:45:24 Commited By: Ginny Guan ginny@iotechsys.com 04:45:24 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:45:24 Message: update stable to v1.0.260 04:45:24 ------------------- 04:45:24 experimental info: 04:45:24 ------------------- 04:45:24 Commited By: Ginny Guan ginny@iotechsys.com 04:45:24 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:45:24 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:45:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 456606c [Pipeline] echo 04:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:25 provisioning config files... 04:45:25 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2384063687132394078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:25 ---> ****-login.sh 04:45:25 nexus3.edgexfoundry.org:10001 04:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:26 Configure a credential helper to remove this warning. See 04:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:26 04:45:26 Login Succeeded 04:45:26 nexus3.edgexfoundry.org:10002 04:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:26 Configure a credential helper to remove this warning. See 04:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:26 04:45:26 Login Succeeded 04:45:26 nexus3.edgexfoundry.org:10003 04:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:26 Configure a credential helper to remove this warning. See 04:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:26 04:45:26 Login Succeeded 04:45:26 nexus3.edgexfoundry.org:10004 04:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:26 Configure a credential helper to remove this warning. See 04:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:26 04:45:26 Login Succeeded 04:45:26 ****.io 04:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:26 Configure a credential helper to remove this warning. See 04:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:26 04:45:26 Login Succeeded 04:45:26 ---> ****-login.sh ends [Pipeline] } 04:45:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:45:27 + git rev-list -1 --merges 456606cc1479f447ad62a94b16c6a77590d7088f~1..456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] echo 04:45:27 -----------> git rev-list -1 --merges 456606cc1479f447ad62a94b16c6a77590d7088f~1..456606cc1479f447ad62a94b16c6a77590d7088f 456606cc1479f447ad62a94b16c6a77590d7088f 04:45:27 456606cc1479f447ad62a94b16c6a77590d7088f [false] [Pipeline] sh 04:45:27 + git log --format=format:%s -1 456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] echo 04:45:27 ========================================================= 04:45:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:45:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:28 + git log --format=format:%s -1 456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] echo 04:45:28 [semverPrep] GIT_COMMIT: 456606cc1479f447ad62a94b16c6a77590d7088f, Commit Message: Merge pull request #65 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo 04:45:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:45:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:28 + grep -v github /etc/ssh/ssh_known_hosts 04:45:28 + [ -e /tmp/ssh_known_hosts ] 04:45:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:45:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:45:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:45:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:28 04:45:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:45:29 b85a868b505f: Pulling fs layer 04:45:29 e2be974225ed: Pulling fs layer 04:45:29 339a4e72a1f5: Pulling fs layer 04:45:29 988bab9f4d93: Pulling fs layer 04:45:29 1469e6f7b9e6: Pulling fs layer 04:45:29 eaf3925da568: Pulling fs layer 04:45:29 bab4dde63d76: Pulling fs layer 04:45:29 bde34c3a00c8: Pulling fs layer 04:45:29 b352a97aabf1: Pulling fs layer 04:45:29 4872d77fe225: Pulling fs layer 04:45:29 5851b861e8e6: Pulling fs layer 04:45:29 988bab9f4d93: Waiting 04:45:29 bde34c3a00c8: Waiting 04:45:29 bab4dde63d76: Waiting 04:45:29 b352a97aabf1: Waiting 04:45:29 4872d77fe225: Waiting 04:45:29 5851b861e8e6: Waiting 04:45:29 1469e6f7b9e6: Waiting 04:45:29 eaf3925da568: Waiting 04:45:29 e2be974225ed: Verifying Checksum 04:45:29 e2be974225ed: Download complete 04:45:29 988bab9f4d93: Download complete 04:45:29 1469e6f7b9e6: Verifying Checksum 04:45:29 1469e6f7b9e6: Download complete 04:45:29 eaf3925da568: Verifying Checksum 04:45:29 eaf3925da568: Download complete 04:45:29 339a4e72a1f5: Verifying Checksum 04:45:29 339a4e72a1f5: Download complete 04:45:29 bde34c3a00c8: Download complete 04:45:29 b352a97aabf1: Verifying Checksum 04:45:29 b352a97aabf1: Download complete 04:45:29 4872d77fe225: Download complete 04:45:29 5851b861e8e6: Verifying Checksum 04:45:29 5851b861e8e6: Download complete 04:45:29 b85a868b505f: Verifying Checksum 04:45:29 b85a868b505f: Download complete 04:45:29 bab4dde63d76: Verifying Checksum 04:45:29 bab4dde63d76: Download complete 04:45:31 b85a868b505f: Pull complete 04:45:31 e2be974225ed: Pull complete 04:45:31 339a4e72a1f5: Pull complete 04:45:31 988bab9f4d93: Pull complete 04:45:31 1469e6f7b9e6: Pull complete 04:45:31 eaf3925da568: Pull complete 04:45:33 bab4dde63d76: Pull complete 04:45:33 bde34c3a00c8: Pull complete 04:45:33 b352a97aabf1: Pull complete 04:45:33 4872d77fe225: Pull complete 04:45:34 5851b861e8e6: Pull complete 04:45:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:34 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 04:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:45:38 $ docker top 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 -eo pid,comm 04:45:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:45:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:38 [ssh-agent] Looking for ssh-agent implementation... 04:45:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:38 $ docker exec 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 ssh-agent 04:45:38 SSH_AUTH_SOCK=/tmp/ssh-lo1lwcTVu4f8/agent.32 04:45:38 SSH_AGENT_PID=38 04:45:38 Running ssh-add (command line suppressed) 04:45:38 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8026752140737702374.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8026752140737702374.key) 04:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:39 + git tag --points-at HEAD [Pipeline] } 04:45:39 $ docker exec --env ******** --env ******** 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 ssh-agent -k 04:45:39 unset SSH_AUTH_SOCK; 04:45:39 unset SSH_AGENT_PID; 04:45:39 echo Agent pid 38 killed; 04:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:39 [ssh-agent] Looking for ssh-agent implementation... 04:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:39 $ docker exec 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 ssh-agent 04:45:39 SSH_AUTH_SOCK=/tmp/ssh-k4mk96Ga66L6/agent.71 04:45:39 SSH_AGENT_PID=77 04:45:39 Running ssh-add (command line suppressed) 04:45:39 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11132427370975990618.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11132427370975990618.key) 04:45:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:39 + git semver init 04:45:40 2024-08-08 04:45:40,028 [run_init] DEBUG init version:0.0.0 force:False 04:45:40 2024-08-08 04:45:40,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 04:45:40 2024-08-08 04:45:40,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 04:45:40 2024-08-08 04:45:40,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 04:45:41 2024-08-08 04:45:41,162 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 04:45:41 2024-08-08 04:45:41,163 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 04:45:41 2024-08-08 04:45:41,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:45:41 2024-08-08 04:45:41,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:45:41 3.0.1-dev.29 [Pipeline] } 04:45:41 $ docker exec --env ******** --env ******** 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 ssh-agent -k 04:45:41 unset SSH_AUTH_SOCK; 04:45:41 unset SSH_AGENT_PID; 04:45:41 echo Agent pid 77 killed; 04:45:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:45:41 + git semver [Pipeline] } 04:45:42 $ docker stop --time=1 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 04:45:43 $ docker rm -f --volumes 371d1c73dff89082e7a66f7dbb8d8d4b083a730bb29d517be435a62749c3b821 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:45:44 Stashed 1 file(s) [Pipeline] echo 04:45:44 [edgeXSemver]: initialized semver on version 3.0.1-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:44 provisioning config files... 04:45:44 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12692384149965037131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:44 ---> ****-login.sh 04:45:44 nexus3.edgexfoundry.org:10001 04:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:44 Configure a credential helper to remove this warning. See 04:45:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:44 04:45:44 Login Succeeded 04:45:44 nexus3.edgexfoundry.org:10002 04:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:44 Configure a credential helper to remove this warning. See 04:45:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:44 04:45:44 Login Succeeded 04:45:44 nexus3.edgexfoundry.org:10003 04:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:44 Configure a credential helper to remove this warning. See 04:45:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:44 04:45:44 Login Succeeded 04:45:44 nexus3.edgexfoundry.org:10004 04:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:44 Configure a credential helper to remove this warning. See 04:45:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:44 04:45:44 Login Succeeded 04:45:44 ****.io 04:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:45:45 Configure a credential helper to remove this warning. See 04:45:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:45:45 04:45:45 Login Succeeded 04:45:45 ---> ****-login.sh ends [Pipeline] } 04:45:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:45:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:45:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:45:45 ========================================================= 04:45:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:45:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:45:45 Sending build context to Docker daemon 25.55MB 04:45:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:45:45 Step 2/12 : FROM ${BASE} AS builder 04:45:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:45:45 619be1103602: Pulling fs layer 04:45:45 7862e08f4a3e: Pulling fs layer 04:45:45 5df492c9dc93: Pulling fs layer 04:45:45 7629e6793208: Pulling fs layer 04:45:45 4f4fb700ef54: Pulling fs layer 04:45:45 fb5054dd5b73: Pulling fs layer 04:45:45 eeca6798cff9: Pulling fs layer 04:45:45 aa269ceb94a6: Pulling fs layer 04:45:45 ada007ff1a6a: Pulling fs layer 04:45:45 7629e6793208: Waiting 04:45:45 4f4fb700ef54: Waiting 04:45:45 fb5054dd5b73: Waiting 04:45:45 eeca6798cff9: Waiting 04:45:45 ada007ff1a6a: Waiting 04:45:45 7862e08f4a3e: Download complete 04:45:45 7629e6793208: Download complete 04:45:45 4f4fb700ef54: Verifying Checksum 04:45:45 4f4fb700ef54: Download complete 04:45:45 fb5054dd5b73: Download complete 04:45:45 619be1103602: Verifying Checksum 04:45:45 619be1103602: Download complete 04:45:45 eeca6798cff9: Verifying Checksum 04:45:45 eeca6798cff9: Download complete 04:45:45 619be1103602: Pull complete 04:45:45 ada007ff1a6a: Verifying Checksum 04:45:45 ada007ff1a6a: Download complete 04:45:46 7862e08f4a3e: Pull complete 04:45:46 5df492c9dc93: Verifying Checksum 04:45:46 5df492c9dc93: Download complete 04:45:46 aa269ceb94a6: Verifying Checksum 04:45:49 5df492c9dc93: Pull complete 04:45:49 7629e6793208: Pull complete 04:45:49 4f4fb700ef54: Pull complete 04:45:49 fb5054dd5b73: Pull complete 04:45:49 eeca6798cff9: Pull complete 04:45:51 aa269ceb94a6: Pull complete 04:45:52 ada007ff1a6a: Pull complete 04:45:52 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:45:52 ---> f489d0715acc 04:45:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:45:58 ---> Running in e3eeff185dec 04:45:58 Removing intermediate container e3eeff185dec 04:45:58 ---> d9e21a478e75 04:45:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:45:58 ---> Running in 14006df4d672 04:45:58 Removing intermediate container 14006df4d672 04:45:58 ---> cf6519121334 04:45:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:45:58 ---> Running in da1a104ee177 04:45:58 Removing intermediate container da1a104ee177 04:45:58 ---> 554807d9e5bd 04:45:58 Step 6/12 : WORKDIR /device-uart 04:45:58 ---> Running in 78e0e07ad292 04:45:58 Removing intermediate container 78e0e07ad292 04:45:58 ---> b321c137849c 04:45:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:58 ---> Running in 51499f277c95 04:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:45:58 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:45:58 (2/4) Installing libedit (20221030.3.1-r1) 04:45:58 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:45:58 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:45:58 Executing busybox-1.36.1-r5.trigger 04:45:58 OK: 268 MiB in 56 packages 04:45:59 Still waiting to schedule task 04:45:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:45:59 Removing intermediate container 51499f277c95 04:45:59 ---> b150a334e520 04:45:59 Step 8/12 : COPY go.mod vendor* ./ 04:45:59 ---> 66ee7d23f809 04:45:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:59 ---> Running in fef62ef56d6a 04:47:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7364 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 04:47:31 Running in /w/workspace/device-uart/36 [Pipeline] { [Pipeline] checkout 04:47:34 The recommended git tool is: git 04:47:35 Removing intermediate container fef62ef56d6a 04:47:35 ---> bf0e529c3d61 04:47:35 Step 10/12 : COPY . . 04:47:35 ---> b095d7f450db 04:47:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:47:35 ---> Running in 0355fc8be56e 04:47:35 Removing intermediate container 0355fc8be56e 04:47:35 ---> 422c0477971e 04:47:35 Step 12/12 : RUN ${MAKE} 04:47:35 ---> Running in 06f256fba7a3 04:47:35 noop 04:47:35 Removing intermediate container 06f256fba7a3 04:47:35 ---> a99e6f636b52 04:47:35 Successfully built a99e6f636b52 04:47:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:36 + docker inspect -f . ci-base-image-x86_64 04:47:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:36 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 04:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:37 $ docker top 30efe2a98f2e758752f397d7157674683bd89e243421dd632418fa32fa418716 -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:37 + go version 04:47:37 go version go1.21.9 linux/amd64 [Pipeline] } 04:47:37 $ docker stop --time=1 30efe2a98f2e758752f397d7157674683bd89e243421dd632418fa32fa418716 04:47:38 $ docker rm -f --volumes 30efe2a98f2e758752f397d7157674683bd89e243421dd632418fa32fa418716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:39 + docker inspect -f . ci-base-image-x86_64 04:47:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:39 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 04:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:39 $ docker top 36113deead6b002ff54a223c8dd2e0d392707561b797b03c419614a507aa791e -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 04:47:40 + make test 04:47:40 go test ./... -coverprofile=coverage.out 04:47:42 using credential edgex-jenkins-ssh 04:47:42 Cloning the remote Git repository 04:47:42 ? github.com/edgexfoundry/device-uart [no test files] 04:47:42 Cloning repository git@github.com:edgexfoundry/device-uart.git 04:47:42 > git init /w/workspace/device-uart/36 # timeout=10 04:47:42 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 04:47:42 > git --version # timeout=10 04:47:42 > git --version # 'git version 2.25.1' 04:47:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:45 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 04:47:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:45 Avoid second fetch 04:47:45 Checking out Revision 456606cc1479f447ad62a94b16c6a77590d7088f (main) 04:47:46 Commit message: "Merge pull request #65 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" 04:47:45 > git config core.sparsecheckout # timeout=10 04:47:46 > git checkout -f 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:47:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:47:51 Dload Upload Total Spent Left Speed 04:47:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 04:47:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:47:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:47:51 + sudo tee /etc/docker/daemon.new 04:47:51 { 04:47:51 "registry-mirrors": [ 04:47:51 "https://nexus3.edgexfoundry.org:10001" 04:47:51 ], 04:47:51 "bip": "10.250.0.254/24", 04:47:51 "hosts": [ 04:47:51 "tcp://0.0.0.0:5555", 04:47:51 "unix:///var/run/docker.sock" 04:47:51 ], 04:47:51 "mtu": 1458, 04:47:51 "selinux-enabled": true, 04:47:51 "seccomp-profile": "/etc/docker/seccomp.json" 04:47:51 } [Pipeline] sh 04:47:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:47:52 + sudo service docker restart 04:48:00 ? github.com/edgexfoundry/device-uart/cmd [no test files] 04:48:00 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 04:48:06 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:10 provisioning config files... 04:48:10 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/36@tmp/config4708193389341448541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:11 ---> ****-login.sh 04:48:11 nexus3.edgexfoundry.org:10001 04:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:11 Configure a credential helper to remove this warning. See 04:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:11 04:48:11 Login Succeeded 04:48:11 nexus3.edgexfoundry.org:10002 04:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:12 ./bin/test-attribution-txt.sh 04:48:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:48:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:48:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:48:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:48:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:48:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:48:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:48:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:48:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:12 Configure a credential helper to remove this warning. See 04:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:12 04:48:12 Login Succeeded 04:48:12 nexus3.edgexfoundry.org:10003 04:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:48:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:48:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:48:12 $ docker stop --time=1 36113deead6b002ff54a223c8dd2e0d392707561b797b03c419614a507aa791e 04:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:12 Configure a credential helper to remove this warning. See 04:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:12 04:48:12 Login Succeeded 04:48:12 nexus3.edgexfoundry.org:10004 04:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:12 Configure a credential helper to remove this warning. See 04:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:12 04:48:12 Login Succeeded 04:48:12 ****.io 04:48:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:13 Configure a credential helper to remove this warning. See 04:48:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:13 04:48:13 Login Succeeded 04:48:13 ---> ****-login.sh ends 04:48:15 $ docker rm -f --volumes 36113deead6b002ff54a223c8dd2e0d392707561b797b03c419614a507aa791e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 04:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 04:48:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 04:48:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 04:48:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] // stage [Pipeline] echo 04:48:15 ========================================================= 04:48:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:48:15 ========================================================= [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Build) [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:48:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:48:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:16 + ls -al . 04:48:16 total 224 04:48:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:47 . 04:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 04:45 .. 04:48:16 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 04:45 .dockerignore 04:48:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:47 .git 04:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:45 .github 04:48:16 -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 04:45 .gitignore 04:48:16 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 04:45 .golangci.yml 04:48:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 04:45 .semver 04:48:16 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 8 04:45 Attribution.txt 04:48:16 -rw-rw-r-- 1 jenkins jenkins 1908 Aug 8 04:45 CHANGELOG.md 04:48:16 -rw-rw-r-- 1 jenkins jenkins 1886 Aug 8 04:45 Dockerfile 04:48:16 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 04:45 GOVERNANCE.md 04:48:16 -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 04:45 Jenkinsfile 04:48:16 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 04:45 LICENSE 04:48:16 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 8 04:45 Makefile 04:48:16 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 04:45 OWNERS.md 04:48:16 -rw-rw-r-- 1 jenkins jenkins 8892 Aug 8 04:45 README.md 04:48:16 -rw-rw-r-- 1 jenkins jenkins 12 Aug 8 04:45 VERSION 04:48:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 04:45 bin 04:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:45 cmd 04:48:16 -rw-r--r-- 1 jenkins jenkins 10 Aug 8 04:47 coverage.out 04:48:16 -rw-rw-r-- 1 jenkins jenkins 6964 Aug 8 04:45 go.mod 04:48:16 -rw-rw-r-- 1 jenkins jenkins 101892 Aug 8 04:45 go.sum 04:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:45 internal 04:48:16 -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:16 Sending build context to Docker daemon 12.84MB 04:48:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:48:16 Step 2/12 : FROM ${BASE} AS builder 04:48:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:48:16 c6b39de5b339: Pulling fs layer 04:48:16 a69c41024577: Pulling fs layer 04:48:16 d6de4b400683: Pulling fs layer 04:48:16 35cb2a7552d0: Pulling fs layer 04:48:16 4f4fb700ef54: Pulling fs layer 04:48:16 464afbd9ba4c: Pulling fs layer 04:48:16 00f215d4a9da: Pulling fs layer 04:48:16 d496ad576159: Pulling fs layer 04:48:16 464afbd9ba4c: Waiting 04:48:16 00f215d4a9da: Waiting 04:48:16 d496ad576159: Waiting 04:48:16 35cb2a7552d0: Waiting 04:48:16 4f4fb700ef54: Waiting 04:48:16 a69c41024577: Verifying Checksum 04:48:16 a69c41024577: Download complete 04:48:16 35cb2a7552d0: Verifying Checksum 04:48:16 35cb2a7552d0: Download complete 04:48:16 + 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=456606cc1479f447ad62a94b16c6a77590d7088f --label arch=amd64 --label version=3.0.1-dev.29 . 04:48:16 Sending build context to Docker daemon 25.55MB 04:48:16 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:48:16 Step 2/26 : FROM ${BASE} AS builder 04:48:16 ---> a99e6f636b52 04:48:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:48:16 4f4fb700ef54: Verifying Checksum 04:48:16 4f4fb700ef54: Download complete 04:48:16 464afbd9ba4c: Download complete 04:48:16 c6b39de5b339: Download complete 04:48:17 d496ad576159: Verifying Checksum 04:48:17 d496ad576159: Download complete 04:48:17 ---> Running in daaa71a6074e 04:48:17 Removing intermediate container daaa71a6074e 04:48:17 ---> ab38491730c5 04:48:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:48:17 ---> Running in ed05afdf4b9c 04:48:17 Removing intermediate container ed05afdf4b9c 04:48:17 ---> ecbfcf6637ea 04:48:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:48:17 ---> Running in 8b72a699046b 04:48:17 Removing intermediate container 8b72a699046b 04:48:17 ---> 45a837791c70 04:48:17 Step 6/26 : WORKDIR /device-uart 04:48:17 ---> Running in f339c3dbfda2 04:48:17 Removing intermediate container f339c3dbfda2 04:48:17 ---> 6e76aa14e124 04:48:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:17 ---> Running in 309ce736c547 04:48:17 c6b39de5b339: Pull complete 04:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:48:18 a69c41024577: Pull complete 04:48:18 OK: 268 MiB in 56 packages 04:48:18 d6de4b400683: Verifying Checksum 04:48:18 d6de4b400683: Download complete 04:48:19 Removing intermediate container 309ce736c547 04:48:19 ---> 0f63a18e0883 04:48:19 Step 8/26 : COPY go.mod vendor* ./ 04:48:19 ---> ea74b465d329 04:48:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:19 ---> Running in e60c5e061a3d 04:48:19 00f215d4a9da: Verifying Checksum 04:48:19 00f215d4a9da: Download complete 04:48:19 Removing intermediate container e60c5e061a3d 04:48:19 ---> c507fa7758a4 04:48:19 Step 10/26 : COPY . . 04:48:21 ---> d643bf884118 04:48:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:48:21 ---> Running in b7c0acd0a502 04:48:21 Removing intermediate container b7c0acd0a502 04:48:21 ---> 44add5235b8f 04:48:21 Step 12/26 : RUN ${MAKE} 04:48:21 ---> Running in 0dbfe614d39d 04:48:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 04:48:31 d6de4b400683: Pull complete 04:48:31 35cb2a7552d0: Pull complete 04:48:31 4f4fb700ef54: Pull complete 04:48:31 464afbd9ba4c: Pull complete 04:48:42 00f215d4a9da: Pull complete 04:48:42 d496ad576159: Pull complete 04:48:42 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:48:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:48:42 ---> f246e2811388 04:48:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:48:43 ---> Running in b6d0b6bd1df6 04:48:43 Removing intermediate container b6d0b6bd1df6 04:48:43 ---> 82044ae8cedc 04:48:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:48:43 ---> Running in 4fe87a3ca469 04:48:43 Removing intermediate container 4fe87a3ca469 04:48:43 ---> 5bca1bfeef32 04:48:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:48:43 ---> Running in 303017bc3e25 04:48:43 Removing intermediate container 303017bc3e25 04:48:43 ---> 63c49d0eb6f7 04:48:43 Step 6/12 : WORKDIR /device-uart 04:48:43 ---> Running in 7e02a6ef9cbe 04:48:44 Removing intermediate container 7e02a6ef9cbe 04:48:44 ---> 738060e49f1b 04:48:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:44 ---> Running in 50be60d52e69 04:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:48:47 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:48:47 (2/4) Installing libedit (20221030.3.1-r1) 04:48:47 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:48:47 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:48:47 Executing busybox-1.36.1-r5.trigger 04:48:47 OK: 271 MiB in 56 packages 04:48:47 Removing intermediate container 50be60d52e69 04:48:47 ---> 7fca2c0a4d8b 04:48:47 Step 8/12 : COPY go.mod vendor* ./ 04:48:48 ---> 77c0dd45c66b 04:48:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:48 ---> Running in 66d31fbbf8ab 04:49:00 Removing intermediate container 0dbfe614d39d 04:49:00 ---> 5a4950c068d0 04:49:00 Step 13/26 : FROM alpine:3.18 04:49:00 3.18: Pulling from library/alpine 04:49:00 930bdd4d222e: Pulling fs layer 04:49:00 930bdd4d222e: Verifying Checksum 04:49:00 930bdd4d222e: Download complete 04:49:00 930bdd4d222e: Pull complete 04:49:00 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:49:00 Status: Downloaded newer image for alpine:3.18 04:49:00 ---> 18f865063206 04:49:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:49:00 ---> Running in 3b30e0ac096f 04:49:00 Removing intermediate container 3b30e0ac096f 04:49:00 ---> d0053b7ce603 04:49:00 Step 15/26 : RUN apk add --update --no-cache dumb-init 04:49:00 ---> Running in bb827a89f685 04:49:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:49:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:49:00 (1/1) Installing dumb-init (1.2.5-r2) 04:49:00 Executing busybox-1.36.1-r7.trigger 04:49:00 OK: 7 MiB in 16 packages 04:49:04 Removing intermediate container bb827a89f685 04:49:04 ---> ae2a61602029 04:49:04 Step 16/26 : RUN apk --no-cache upgrade 04:49:04 ---> Running in 7453711aea1e 04:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:49:05 OK: 7 MiB in 16 packages 04:49:05 Removing intermediate container 7453711aea1e 04:49:05 ---> ca16d50a864c 04:49:05 Step 17/26 : WORKDIR / 04:49:05 ---> Running in d22cd9e83d90 04:49:05 Removing intermediate container d22cd9e83d90 04:49:05 ---> 0040b0c3482e 04:49:05 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 04:49:05 ---> f9336237331b 04:49:05 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 04:49:06 ---> 3a4d7d707252 04:49:06 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 04:49:09 ---> a4d4cc2e2eba 04:49:09 Step 21/26 : EXPOSE 59995 04:49:09 ---> Running in 7fa46cda882b 04:49:09 Removing intermediate container 7fa46cda882b 04:49:09 ---> 92cb6d306eb0 04:49:09 Step 22/26 : ENTRYPOINT ["/device-uart"] 04:49:09 ---> Running in 5df330cb6db7 04:49:09 Removing intermediate container 5df330cb6db7 04:49:09 ---> b9ab05ebba11 04:49:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:49:09 ---> Running in b230ea6017b7 04:49:10 Removing intermediate container b230ea6017b7 04:49:10 ---> 2b961f06bfaf 04:49:10 Step 24/26 : LABEL arch=amd64 04:49:10 ---> Running in 0d88d5d24caf 04:49:10 Removing intermediate container 0d88d5d24caf 04:49:10 ---> f5265be32845 04:49:10 Step 25/26 : LABEL git_sha=456606cc1479f447ad62a94b16c6a77590d7088f 04:49:10 ---> Running in e49d1eedaccf 04:49:10 Removing intermediate container e49d1eedaccf 04:49:10 ---> a4cd97f2e34b 04:49:10 Step 26/26 : LABEL version=3.0.1-dev.29 04:49:10 ---> Running in 94b074332c85 04:49:10 Removing intermediate container 94b074332c85 04:49:10 ---> 41f31c795170 04:49:10 [Warning] One or more build-args [ARCH] were not consumed 04:49:10 Successfully built 41f31c795170 04:49:10 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:10 provisioning config files... 04:49:10 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9073523266240232553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:11 ---> ****-login.sh 04:49:11 nexus3.edgexfoundry.org:10001 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 nexus3.edgexfoundry.org:10002 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 nexus3.edgexfoundry.org:10003 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 nexus3.edgexfoundry.org:10004 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 ****.io 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 ---> ****-login.sh ends [Pipeline] } 04:49:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:49:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:49:11 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 04:49:11 456606cc1479f447ad62a94b16c6a77590d7088f 04:49:11 latest 04:49:11 3.0.1-dev.29 04:49:11 456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:49:11 main 04:49:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f 04:49:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:49:12 5c60bc6382e7: Preparing 04:49:12 4e60b567e446: Preparing 04:49:12 d69ade704e58: Preparing 04:49:12 f94529a3c95f: Preparing 04:49:12 51c737d51d7a: Preparing 04:49:12 ce7f800efff9: Preparing 04:49:12 ce7f800efff9: Waiting 04:49:12 51c737d51d7a: Pushed 04:49:12 4e60b567e446: Pushed 04:49:12 f94529a3c95f: Pushed 04:49:12 d69ade704e58: Pushed 04:49:12 ce7f800efff9: Layer already exists 04:49:16 5c60bc6382e7: Pushed 04:49:16 456606cc1479f447ad62a94b16c6a77590d7088f: digest: sha256:b99f22ecd3ca3425450868738ff3c7ba81f45aa8ea491b43f3c50e132219fc64 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:17 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 04:49:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:49:17 5c60bc6382e7: Preparing 04:49:17 4e60b567e446: Preparing 04:49:17 d69ade704e58: Preparing 04:49:17 f94529a3c95f: Preparing 04:49:17 51c737d51d7a: Preparing 04:49:17 ce7f800efff9: Preparing 04:49:17 5c60bc6382e7: Layer already exists 04:49:17 4e60b567e446: Layer already exists 04:49:17 51c737d51d7a: Layer already exists 04:49:17 f94529a3c95f: Layer already exists 04:49:17 d69ade704e58: Layer already exists 04:49:17 ce7f800efff9: Layer already exists 04:49:17 latest: digest: sha256:b99f22ecd3ca3425450868738ff3c7ba81f45aa8ea491b43f3c50e132219fc64 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:17 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:18 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.29 04:49:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:49:18 5c60bc6382e7: Preparing 04:49:18 4e60b567e446: Preparing 04:49:18 d69ade704e58: Preparing 04:49:18 f94529a3c95f: Preparing 04:49:18 51c737d51d7a: Preparing 04:49:18 ce7f800efff9: Preparing 04:49:18 ce7f800efff9: Waiting 04:49:18 f94529a3c95f: Layer already exists 04:49:18 5c60bc6382e7: Layer already exists 04:49:18 d69ade704e58: Layer already exists 04:49:18 4e60b567e446: Layer already exists 04:49:18 ce7f800efff9: Layer already exists 04:49:18 51c737d51d7a: Layer already exists 04:49:18 3.0.1-dev.29: digest: sha256:b99f22ecd3ca3425450868738ff3c7ba81f45aa8ea491b43f3c50e132219fc64 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:18 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:18 + docker push nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:49:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:49:18 5c60bc6382e7: Preparing 04:49:18 4e60b567e446: Preparing 04:49:18 d69ade704e58: Preparing 04:49:18 f94529a3c95f: Preparing 04:49:18 51c737d51d7a: Preparing 04:49:18 ce7f800efff9: Preparing 04:49:18 ce7f800efff9: Waiting 04:49:18 d69ade704e58: Layer already exists 04:49:18 4e60b567e446: Layer already exists 04:49:18 51c737d51d7a: Layer already exists 04:49:18 f94529a3c95f: Layer already exists 04:49:18 5c60bc6382e7: Layer already exists 04:49:18 ce7f800efff9: Layer already exists 04:49:18 456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29: digest: sha256:b99f22ecd3ca3425450868738ff3c7ba81f45aa8ea491b43f3c50e132219fc64 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:19 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:19 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 04:49:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:49:19 5c60bc6382e7: Preparing 04:49:19 4e60b567e446: Preparing 04:49:19 d69ade704e58: Preparing 04:49:19 f94529a3c95f: Preparing 04:49:19 51c737d51d7a: Preparing 04:49:19 ce7f800efff9: Preparing 04:49:19 ce7f800efff9: Waiting 04:49:19 51c737d51d7a: Layer already exists 04:49:19 d69ade704e58: Layer already exists 04:49:19 4e60b567e446: Layer already exists 04:49:19 f94529a3c95f: Layer already exists 04:49:19 5c60bc6382e7: Layer already exists 04:49:19 ce7f800efff9: Layer already exists 04:49:19 main: digest: sha256:b99f22ecd3ca3425450868738ff3c7ba81f45aa8ea491b43f3c50e132219fc64 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:49:19 ===================================================== [Pipeline] echo 04:49:19 taggedImages: 04:49:19 - nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f 04:49:19 - nexus3.edgexfoundry.org:10004/device-uart:latest 04:49:19 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.29 04:49:19 - nexus3.edgexfoundry.org:10004/device-uart:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:49:19 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:19 04:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:20 latest: Pulling from edgex-lftools-log-publisher 04:49:20 5eb5b503b376: Pulling fs layer 04:49:20 5c69ac0246d0: Pulling fs layer 04:49:20 ec43610c2a17: Pulling fs layer 04:49:20 3a2ae6a8a46f: Pulling fs layer 04:49:20 33b1e0a273af: Pulling fs layer 04:49:20 5d3b04190fa2: Pulling fs layer 04:49:20 2f39f015ded8: Pulling fs layer 04:49:20 33b1e0a273af: Waiting 04:49:20 5d3b04190fa2: Waiting 04:49:20 2f39f015ded8: Waiting 04:49:20 3a2ae6a8a46f: Waiting 04:49:20 5c69ac0246d0: Verifying Checksum 04:49:20 5c69ac0246d0: Download complete 04:49:20 3a2ae6a8a46f: Verifying Checksum 04:49:20 3a2ae6a8a46f: Download complete 04:49:20 ec43610c2a17: Verifying Checksum 04:49:20 ec43610c2a17: Download complete 04:49:20 5d3b04190fa2: Verifying Checksum 04:49:20 5d3b04190fa2: Download complete 04:49:20 33b1e0a273af: Verifying Checksum 04:49:20 33b1e0a273af: Download complete 04:49:20 5eb5b503b376: Verifying Checksum 04:49:20 5eb5b503b376: Download complete 04:49:21 2f39f015ded8: Download complete 04:49:21 5eb5b503b376: Pull complete 04:49:22 5c69ac0246d0: Pull complete 04:49:22 ec43610c2a17: Pull complete 04:49:22 3a2ae6a8a46f: Pull complete 04:49:22 33b1e0a273af: Pull complete 04:49:22 5d3b04190fa2: Pull complete 04:49:26 2f39f015ded8: Pull complete 04:49:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:26 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 04:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:49:32 $ docker top f550c5ba3f30dc0bfce0afba032f76e43758045599aa45c743a91f155fbb86ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:32 ---> job-cost.sh 04:49:32 lf-activate-venv: SKIPPING 04:49:32 INFO: No Stack... 04:49:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:33 INFO: Archiving Costs [Pipeline] sh 04:49:33 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 04:49:33 + cut -d, -f6 [Pipeline] lock 04:49:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] 04:49:33 Resource [jenkins-edgexfoundry-device-uart-main-36-stack-cost] did not exist. Created. 04:49:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:49:34 + echo total: 0.2199999988079071 [Pipeline] stash 04:49:34 Stashed 1 file(s) [Pipeline] } 04:49:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 04:49:34 $ docker stop --time=1 f550c5ba3f30dc0bfce0afba032f76e43758045599aa45c743a91f155fbb86ed 04:49:35 $ docker rm -f --volumes f550c5ba3f30dc0bfce0afba032f76e43758045599aa45c743a91f155fbb86ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:40 Removing intermediate container 66d31fbbf8ab 04:50:40 ---> 7927e8ca5d8f 04:50:40 Step 10/12 : COPY . . 04:50:40 ---> de21d4ad345b 04:50:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:50:40 ---> Running in 8aeeed72947a 04:50:40 Removing intermediate container 8aeeed72947a 04:50:40 ---> 6cac1b6ea55a 04:50:40 Step 12/12 : RUN ${MAKE} 04:50:40 ---> Running in 2ca926dce7cb 04:50:40 noop 04:50:40 Removing intermediate container 2ca926dce7cb 04:50:40 ---> 1144d6257972 04:50:40 Successfully built 1144d6257972 04:50:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:40 + docker inspect -f . ci-base-image-arm64 04:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:40 prd-ubuntu20.04-docker-arm64-4c-16g-7364 does not seem to be running inside a container 04:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/36 -v /w/workspace/device-uart/36:/w/workspace/device-uart/36:rw,z -v /w/workspace/device-uart/36@tmp:/w/workspace/device-uart/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:50:42 $ docker top 1aa5468af67586efa5eec8a368e05ee471f0989289439e5e140ba0876cd037c8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:42 + go version 04:50:42 go version go1.21.9 linux/arm64 [Pipeline] } 04:50:42 $ docker stop --time=1 1aa5468af67586efa5eec8a368e05ee471f0989289439e5e140ba0876cd037c8 04:50:45 $ docker rm -f --volumes 1aa5468af67586efa5eec8a368e05ee471f0989289439e5e140ba0876cd037c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:45 + docker inspect -f . ci-base-image-arm64 04:50:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:45 prd-ubuntu20.04-docker-arm64-4c-16g-7364 does not seem to be running inside a container 04:50:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/36 -v /w/workspace/device-uart/36:/w/workspace/device-uart/36:rw,z -v /w/workspace/device-uart/36@tmp:/w/workspace/device-uart/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:50:47 $ docker top 42303326c24a5df5281bac4af4c38ea2423e2cc1565eff8edf48fe20d12483c0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:47 + git config --global --add safe.directory /w/workspace/device-uart/36 [Pipeline] fileExists [Pipeline] sh 04:50:48 + make test 04:50:48 go test ./... -coverprofile=coverage.out 04:50:53 ? github.com/edgexfoundry/device-uart [no test files] 04:54:15 ? github.com/edgexfoundry/device-uart/cmd [no test files] 04:54:15 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 04:54:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:54:15 go vet ./... 04:54:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:47 ./bin/test-attribution-txt.sh 04:54:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:54:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:54:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:54:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:54:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:54:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:54:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:54:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:54:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:54:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:54:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:54:47 $ docker stop --time=1 42303326c24a5df5281bac4af4c38ea2423e2cc1565eff8edf48fe20d12483c0 04:54:49 $ docker rm -f --volumes 42303326c24a5df5281bac4af4c38ea2423e2cc1565eff8edf48fe20d12483c0 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:51 Warning: overwriting stash ‘coverage-report’ 04:54:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:52 + ls -al . 04:54:52 total 220 04:54:52 drwxrwxr-x 7 jenkins jenkins 4096 Aug 8 04:50 . 04:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 04:47 .. 04:54:52 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 04:47 .dockerignore 04:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 04:47 .git 04:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:47 .github 04:54:52 -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 04:47 .gitignore 04:54:52 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 04:47 .golangci.yml 04:54:52 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 8 04:47 Attribution.txt 04:54:52 -rw-rw-r-- 1 jenkins jenkins 1908 Aug 8 04:47 CHANGELOG.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 1886 Aug 8 04:47 Dockerfile 04:54:52 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 04:47 GOVERNANCE.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 04:47 Jenkinsfile 04:54:52 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 04:47 LICENSE 04:54:52 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 8 04:47 Makefile 04:54:52 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 04:47 OWNERS.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 8892 Aug 8 04:47 README.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 12 Aug 8 04:45 VERSION 04:54:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 04:47 bin 04:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:47 cmd 04:54:52 -rw-r--r-- 1 jenkins jenkins 10 Aug 8 04:50 coverage.out 04:54:52 -rw-rw-r-- 1 jenkins jenkins 6964 Aug 8 04:47 go.mod 04:54:52 -rw-rw-r-- 1 jenkins jenkins 101892 Aug 8 04:47 go.sum 04:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 04:47 internal 04:54:52 -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:52 + 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=456606cc1479f447ad62a94b16c6a77590d7088f --label arch=arm64 --label version=3.0.1-dev.29 . 04:54:53 Sending build context to Docker daemon 12.85MB 04:54:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:54:53 Step 2/26 : FROM ${BASE} AS builder 04:54:53 ---> 1144d6257972 04:54:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:54:53 ---> Running in 12c59f71f728 04:54:53 Removing intermediate container 12c59f71f728 04:54:53 ---> 631026719bab 04:54:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:54:54 ---> Running in 5befc161f95f 04:54:54 Removing intermediate container 5befc161f95f 04:54:54 ---> 594425b3c30d 04:54:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:54:54 ---> Running in 62d32339231a 04:54:54 Removing intermediate container 62d32339231a 04:54:54 ---> ec66b6a946c8 04:54:54 Step 6/26 : WORKDIR /device-uart 04:54:54 ---> Running in 02aef739e115 04:54:55 Removing intermediate container 02aef739e115 04:54:55 ---> a9dd19f06fb9 04:54:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:55 ---> Running in ef2f95507974 04:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:54:57 OK: 271 MiB in 56 packages 04:54:57 Removing intermediate container ef2f95507974 04:54:57 ---> f9f3276f8eb8 04:54:57 Step 8/26 : COPY go.mod vendor* ./ 04:54:58 ---> adbc58c8a16f 04:54:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:58 ---> Running in f685941d1134 04:55:01 Removing intermediate container f685941d1134 04:55:01 ---> 509ab103db9b 04:55:01 Step 10/26 : COPY . . 04:55:01 ---> 0f4ad933330d 04:55:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:01 ---> Running in 7ea81838beed 04:55:01 Removing intermediate container 7ea81838beed 04:55:01 ---> d109678ea139 04:55:01 Step 12/26 : RUN ${MAKE} 04:55:02 ---> Running in bae05b3ea3a1 04:55:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 04:58:39 Removing intermediate container bae05b3ea3a1 04:58:39 ---> 9073def5ee98 04:58:39 Step 13/26 : FROM alpine:3.18 04:58:39 3.18: Pulling from library/alpine 04:58:39 4983c3fe2029: Pulling fs layer 04:58:39 4983c3fe2029: Verifying Checksum 04:58:39 4983c3fe2029: Download complete 04:58:39 4983c3fe2029: Pull complete 04:58:39 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:58:39 Status: Downloaded newer image for alpine:3.18 04:58:39 ---> a0237000ae83 04:58:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:58:39 ---> Running in b861e23b8c7c 04:58:39 Removing intermediate container b861e23b8c7c 04:58:39 ---> 5a46b7b4e996 04:58:39 Step 15/26 : RUN apk add --update --no-cache dumb-init 04:58:39 ---> Running in 0bb7b69e94a0 04:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:39 (1/1) Installing dumb-init (1.2.5-r2) 04:58:39 Executing busybox-1.36.1-r7.trigger 04:58:39 OK: 8 MiB in 16 packages 04:58:40 Removing intermediate container 0bb7b69e94a0 04:58:40 ---> 1ade6baba339 04:58:40 Step 16/26 : RUN apk --no-cache upgrade 04:58:40 ---> Running in 8250fe07e92c 04:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:42 OK: 8 MiB in 16 packages 04:58:43 Removing intermediate container 8250fe07e92c 04:58:43 ---> 89861842b355 04:58:43 Step 17/26 : WORKDIR / 04:58:43 ---> Running in 1f4d7d205561 04:58:44 Removing intermediate container 1f4d7d205561 04:58:44 ---> d64f8c3890af 04:58:44 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 04:58:44 ---> 344ced1da17d 04:58:44 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 04:58:45 ---> 91d7fd5c316d 04:58:45 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 04:58:47 ---> defca0aefc2f 04:58:47 Step 21/26 : EXPOSE 59995 04:58:47 ---> Running in 5dfccbc38cd7 04:58:47 Removing intermediate container 5dfccbc38cd7 04:58:47 ---> 25b906b30494 04:58:47 Step 22/26 : ENTRYPOINT ["/device-uart"] 04:58:47 ---> Running in c11f88f8f48a 04:58:48 Removing intermediate container c11f88f8f48a 04:58:48 ---> dfe1dd73398e 04:58:48 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:58:48 ---> Running in dc53873afcb6 04:58:48 Removing intermediate container dc53873afcb6 04:58:48 ---> a8d05e804329 04:58:48 Step 24/26 : LABEL arch=arm64 04:58:48 ---> Running in 40f8f1d53668 04:58:48 Removing intermediate container 40f8f1d53668 04:58:48 ---> 3c22c713edf5 04:58:48 Step 25/26 : LABEL git_sha=456606cc1479f447ad62a94b16c6a77590d7088f 04:58:48 ---> Running in 5bb1cb82dc6e 04:58:49 Removing intermediate container 5bb1cb82dc6e 04:58:49 ---> 32b4571997b3 04:58:49 Step 26/26 : LABEL version=3.0.1-dev.29 04:58:49 ---> Running in a6a4fcb13f80 04:58:49 Removing intermediate container a6a4fcb13f80 04:58:49 ---> c1a6b776e11b 04:58:49 [Warning] One or more build-args [ARCH] were not consumed 04:58:49 Successfully built c1a6b776e11b 04:58:49 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 04:58:49 provisioning config files... 04:58:49 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/36@tmp/config11745864232873727923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:50 ---> ****-login.sh 04:58:50 nexus3.edgexfoundry.org:10001 04:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:50 Configure a credential helper to remove this warning. See 04:58:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:50 04:58:50 Login Succeeded 04:58:50 nexus3.edgexfoundry.org:10002 04:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:50 Configure a credential helper to remove this warning. See 04:58:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:50 04:58:50 Login Succeeded 04:58:50 nexus3.edgexfoundry.org:10003 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:51 Configure a credential helper to remove this warning. See 04:58:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:51 04:58:51 Login Succeeded 04:58:51 nexus3.edgexfoundry.org:10004 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:51 Configure a credential helper to remove this warning. See 04:58:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:51 04:58:51 Login Succeeded 04:58:51 ****.io 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:52 Configure a credential helper to remove this warning. See 04:58:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:52 04:58:52 Login Succeeded 04:58:52 ---> ****-login.sh ends [Pipeline] } 04:58:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:58:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:52 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 04:58:52 456606cc1479f447ad62a94b16c6a77590d7088f 04:58:52 latest 04:58:52 3.0.1-dev.29 04:58:52 456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:58:52 main 04:58:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:52 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:53 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f 04:58:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:58:53 5250382eb184: Preparing 04:58:53 ed8ed8029e69: Preparing 04:58:53 d0776fff1aeb: Preparing 04:58:53 765c49720b9b: Preparing 04:58:53 ca487a956549: Preparing 04:58:53 3c20671a5817: Preparing 04:58:53 3c20671a5817: Waiting 04:58:53 ed8ed8029e69: Pushed 04:58:53 ca487a956549: Pushed 04:58:53 d0776fff1aeb: Pushed 04:58:53 765c49720b9b: Pushed 04:58:53 3c20671a5817: Layer already exists 04:59:01 5250382eb184: Pushed 04:59:01 456606cc1479f447ad62a94b16c6a77590d7088f: digest: sha256:6e419782e5ee4184ec19e88fbf82406c97b78cf33f8ed29a52376ec3d377ea7c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:01 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:02 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 04:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:59:02 5250382eb184: Preparing 04:59:02 ed8ed8029e69: Preparing 04:59:02 d0776fff1aeb: Preparing 04:59:02 765c49720b9b: Preparing 04:59:02 ca487a956549: Preparing 04:59:02 3c20671a5817: Preparing 04:59:02 3c20671a5817: Waiting 04:59:02 ed8ed8029e69: Layer already exists 04:59:02 d0776fff1aeb: Layer already exists 04:59:02 5250382eb184: Layer already exists 04:59:02 ca487a956549: Layer already exists 04:59:02 765c49720b9b: Layer already exists 04:59:02 3c20671a5817: Layer already exists 04:59:02 latest: digest: sha256:6e419782e5ee4184ec19e88fbf82406c97b78cf33f8ed29a52376ec3d377ea7c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:02 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:03 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.29 04:59:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:59:03 5250382eb184: Preparing 04:59:03 ed8ed8029e69: Preparing 04:59:03 d0776fff1aeb: Preparing 04:59:03 765c49720b9b: Preparing 04:59:03 ca487a956549: Preparing 04:59:03 3c20671a5817: Preparing 04:59:03 d0776fff1aeb: Layer already exists 04:59:03 ed8ed8029e69: Layer already exists 04:59:03 765c49720b9b: Layer already exists 04:59:03 ca487a956549: Layer already exists 04:59:03 5250382eb184: Layer already exists 04:59:03 3c20671a5817: Layer already exists 04:59:03 3.0.1-dev.29: digest: sha256:6e419782e5ee4184ec19e88fbf82406c97b78cf33f8ed29a52376ec3d377ea7c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:03 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:03 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:59:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:59:03 5250382eb184: Preparing 04:59:03 ed8ed8029e69: Preparing 04:59:03 d0776fff1aeb: Preparing 04:59:03 765c49720b9b: Preparing 04:59:03 ca487a956549: Preparing 04:59:03 3c20671a5817: Preparing 04:59:03 3c20671a5817: Waiting 04:59:03 ca487a956549: Layer already exists 04:59:03 d0776fff1aeb: Layer already exists 04:59:03 765c49720b9b: Layer already exists 04:59:03 ed8ed8029e69: Layer already exists 04:59:03 5250382eb184: Layer already exists 04:59:03 3c20671a5817: Layer already exists 04:59:03 456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29: digest: sha256:6e419782e5ee4184ec19e88fbf82406c97b78cf33f8ed29a52376ec3d377ea7c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:04 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:04 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 04:59:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:59:04 5250382eb184: Preparing 04:59:04 ed8ed8029e69: Preparing 04:59:04 d0776fff1aeb: Preparing 04:59:04 765c49720b9b: Preparing 04:59:04 ca487a956549: Preparing 04:59:04 3c20671a5817: Preparing 04:59:04 3c20671a5817: Waiting 04:59:04 d0776fff1aeb: Layer already exists 04:59:04 5250382eb184: Layer already exists 04:59:04 ed8ed8029e69: Layer already exists 04:59:04 765c49720b9b: Layer already exists 04:59:04 ca487a956549: Layer already exists 04:59:04 3c20671a5817: Layer already exists 04:59:04 main: digest: sha256:6e419782e5ee4184ec19e88fbf82406c97b78cf33f8ed29a52376ec3d377ea7c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:59:04 ===================================================== [Pipeline] echo 04:59:04 taggedImages: 04:59:04 - nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f 04:59:04 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 04:59:04 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.29 04:59:04 - nexus3.edgexfoundry.org:10004/device-uart-arm64:456606cc1479f447ad62a94b16c6a77590d7088f-3.0.1-dev.29 04:59:04 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:05 04:59:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:05 arm64: Pulling from edgex-lftools-log-publisher 04:59:05 8998bd30e6a1: Pulling fs layer 04:59:05 04944245beec: Pulling fs layer 04:59:05 699f458cf7ca: Pulling fs layer 04:59:05 765212b225bb: Pulling fs layer 04:59:05 f23df028b6ca: Pulling fs layer 04:59:05 d65c8cfc05b1: Pulling fs layer 04:59:05 2437ff75d9bd: Pulling fs layer 04:59:05 f23df028b6ca: Waiting 04:59:05 d65c8cfc05b1: Waiting 04:59:05 765212b225bb: Waiting 04:59:05 2437ff75d9bd: Waiting 04:59:05 04944245beec: Verifying Checksum 04:59:05 04944245beec: Download complete 04:59:05 765212b225bb: Download complete 04:59:05 f23df028b6ca: Verifying Checksum 04:59:05 f23df028b6ca: Download complete 04:59:05 d65c8cfc05b1: Verifying Checksum 04:59:05 d65c8cfc05b1: Download complete 04:59:05 699f458cf7ca: Verifying Checksum 04:59:05 699f458cf7ca: Download complete 04:59:06 8998bd30e6a1: Verifying Checksum 04:59:06 8998bd30e6a1: Download complete 04:59:09 2437ff75d9bd: Download complete 04:59:11 8998bd30e6a1: Pull complete 04:59:11 04944245beec: Pull complete 04:59:12 699f458cf7ca: Pull complete 04:59:12 765212b225bb: Pull complete 04:59:13 f23df028b6ca: Pull complete 04:59:13 d65c8cfc05b1: Pull complete 04:59:31 2437ff75d9bd: Pull complete 04:59:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:32 prd-ubuntu20.04-docker-arm64-4c-16g-7364 does not seem to be running inside a container 04:59:32 $ 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/36 -v /w/workspace/device-uart/36:/w/workspace/device-uart/36:rw,z -v /w/workspace/device-uart/36@tmp:/w/workspace/device-uart/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:59:35 $ docker top d42ff5af2236389a5956008797873cb73eaed19e06f228fd2ec08694b46a414a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:35 ---> job-cost.sh 04:59:35 lf-activate-venv: SKIPPING 04:59:35 INFO: No Stack... 04:59:36 INFO: Retrieving Pricing Info for: v3-standard-4 04:59:37 INFO: Archiving Costs [Pipeline] sh 04:59:37 + cat /w/workspace/device-uart/36/archives/cost.csv 04:59:37 + cut -d, -f6 [Pipeline] lock 04:59:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] 04:59:37 Resource [jenkins-edgexfoundry-device-uart-main-36-stack-cost] did not exist. Created. 04:59:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:38 /w/workspace/device-uart/36@tmp/durable-03c8f623/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:59:39 + echo total: 0.10999999940395355 [Pipeline] stash 04:59:39 Warning: overwriting stash ‘stack-cost’ 04:59:39 Stashed 1 file(s) [Pipeline] } 04:59:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:39 $ docker stop --time=1 d42ff5af2236389a5956008797873cb73eaed19e06f228fd2ec08694b46a414a 04:59:40 $ docker rm -f --volumes d42ff5af2236389a5956008797873cb73eaed19e06f228fd2ec08694b46a414a [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 04:59:41 provisioning config files... 04:59:41 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12399627291783113438tmp [Pipeline] { [Pipeline] sh 04:59:41 + set +x 04:59:41 + curl -s https://codecov.io/bash 04:59:41 + bash -s -- 04:59:41 04:59:41 _____ _ 04:59:41 / ____| | | 04:59:41 | | ___ __| | ___ ___ _____ __ 04:59:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:59:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:59:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:59:41 Bash-1.0.6 04:59:41 04:59:41 04:59:42 ==> git version 2.25.1 found 04:59:42 ==> 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 04:59:42 Release-Date: 2020-01-08 04:59:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:59:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:59:42 ==> Jenkins CI detected. 04:59:42 current dir:  /w/workspace/edgexfoundry_device-uart_main 04:59:42 project root: . 04:59:42 --> token set from env 04:59:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:59:42 ==> Running gcov in . (disable via -X gcov) 04:59:42 ==> Python coveragepy not found 04:59:42 ==> Searching for coverage reports in: 04:59:42 + . 04:59:42 -> Found 1 reports 04:59:42 ==> Detecting git/mercurial file structure 04:59:42 ==> Reading reports 04:59:42 + ./coverage.out bytes=10 04:59:42 ==> Appending adjustments 04:59:42 https://docs.codecov.io/docs/fixing-reports 04:59:42 + Found adjustments 04:59:42 ==> Gzipping contents 04:59:42 4.0K /tmp/codecov.6alM3a.gz 04:59:42 ==> Uploading reports 04:59:42 url: https://codecov.io 04:59:42 query: branch=main&commit=456606cc1479f447ad62a94b16c6a77590d7088f&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 04:59:42 -> Pinging Codecov 04:59:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=456606cc1479f447ad62a94b16c6a77590d7088f&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 04:59:42 -> Uploading to 04:59:42 https://storage.googleapis.com/codecov/v4/raw/2024-08-08/B9AA6E0BBD74AE3A32605C7A7C664919/456606cc1479f447ad62a94b16c6a77590d7088f/5fca370f-7798-4114-ad0f-0f5c1aca8b9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240808%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240808T045942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41ce8db8e7041d6c285cf09d1b30b1ada2b7faf43d2b8e14b1c5a748399ed8bf 04:59:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:42 Dload Upload Total Spent Left Speed 04:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2955 --:--:-- --:--:-- --:--:-- 2941 100 603 0 0 100 603 0 2512 --:--:-- --:--:-- --:--:-- 2502 04:59:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] } 04:59:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:59:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:59:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:59:43 04:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:59:43 latest: Pulling from edgex-devops/edgex-snyk-go 04:59:43 619be1103602: Already exists 04:59:43 f8ea3408117e: Pulling fs layer 04:59:43 91320369b822: Pulling fs layer 04:59:43 0406650e8295: Pulling fs layer 04:59:43 4f4fb700ef54: Pulling fs layer 04:59:43 96d80e3f36e1: Pulling fs layer 04:59:43 bcf3aedb951c: Pulling fs layer 04:59:43 4f4fb700ef54: Waiting 04:59:43 96d80e3f36e1: Waiting 04:59:43 bcf3aedb951c: Waiting 04:59:43 0406650e8295: Download complete 04:59:43 f8ea3408117e: Verifying Checksum 04:59:43 f8ea3408117e: Download complete 04:59:43 4f4fb700ef54: Verifying Checksum 04:59:43 4f4fb700ef54: Download complete 04:59:43 f8ea3408117e: Pull complete 04:59:43 96d80e3f36e1: Verifying Checksum 04:59:43 96d80e3f36e1: Download complete 04:59:44 91320369b822: Verifying Checksum 04:59:44 91320369b822: Download complete 04:59:44 bcf3aedb951c: Verifying Checksum 04:59:44 bcf3aedb951c: Download complete 04:59:47 91320369b822: Pull complete 04:59:47 0406650e8295: Pull complete 04:59:47 4f4fb700ef54: Pull complete 04:59:47 96d80e3f36e1: Pull complete 04:59:49 bcf3aedb951c: Pull complete 04:59:49 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:59:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:50 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 04:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:59:54 $ docker top 7783303f032b33d043b12dc0b987201fba400796c7ee086d488883bffd7af279 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 04:59:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 04:59:54 + set -o pipefail 04:59:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 05:00:01 05:00:01 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 05:00:01 05:00:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/b7b4084a-865b-4280-b8ec-768e4e4855b2 05:00:01 05:00:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:00:01 05:00:01 05:00:01 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:00:01 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:00:01 $ docker stop --time=1 7783303f032b33d043b12dc0b987201fba400796c7ee086d488883bffd7af279 05:00:07 $ docker rm -f --volumes 7783303f032b33d043b12dc0b987201fba400796c7ee086d488883bffd7af279 [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 05:00:15 + git log --format=format:%s -1 456606cc1479f447ad62a94b16c6a77590d7088f [Pipeline] sh 05:00:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:18 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 05:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:18 $ docker top b03e8e3742a9afcb5ef7794a73a8c1a7392040c638506a82af3e3da01231b181 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:18 [ssh-agent] Looking for ssh-agent implementation... 05:00:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:18 $ docker exec b03e8e3742a9afcb5ef7794a73a8c1a7392040c638506a82af3e3da01231b181 ssh-agent 05:00:19 SSH_AUTH_SOCK=/tmp/ssh-iknphOPbwJxJ/agent.32 05:00:19 SSH_AGENT_PID=38 05:00:19 Running ssh-add (command line suppressed) 05:00:19 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5627702246661523386.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5627702246661523386.key) 05:00:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:19 + git semver tag 05:00:19 2024-08-08 05:00:19,594 [run_tag] DEBUG tag force:False 05:00:19 2024-08-08 05:00:19,594 [check_head_tag] DEBUG check head tag 05:00:19 2024-08-08 05:00:19,594 [execute] INFO git cat-file --batch-check 05:00:19 2024-08-08 05:00:19,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 05:00:19 2024-08-08 05:00:19,598 [execute] INFO git cat-file --batch 05:00:19 2024-08-08 05:00:19,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 05:00:19 2024-08-08 05:00:19,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:19 2024-08-08 05:00:19,610 [execute] INFO git tag -a v3.0.1-dev.29 -m v3.0.1-dev.29 05:00:19 2024-08-08 05:00:19,611 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.29', '-m', 'v3.0.1-dev.29'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 05:00:19 2024-08-08 05:00:19,615 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:19 3.0.1-dev.29 [Pipeline] } 05:00:19 $ docker exec --env ******** --env ******** b03e8e3742a9afcb5ef7794a73a8c1a7392040c638506a82af3e3da01231b181 ssh-agent -k 05:00:19 unset SSH_AUTH_SOCK; 05:00:19 unset SSH_AGENT_PID; 05:00:19 echo Agent pid 38 killed; 05:00:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:25 + git semver [Pipeline] } 05:00:25 $ docker stop --time=1 b03e8e3742a9afcb5ef7794a73a8c1a7392040c638506a82af3e3da01231b181 05:00:26 $ docker rm -f --volumes b03e8e3742a9afcb5ef7794a73a8c1a7392040c638506a82af3e3da01231b181 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:27 05:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:27 0.23.1-centos7: Pulling from edgex-lftools 05:00:27 ab5ef0e58194: Pulling fs layer 05:00:27 9712f1f96733: Pulling fs layer 05:00:27 63f879dbbcfc: Pulling fs layer 05:00:27 0d9ebad4ef96: Pulling fs layer 05:00:27 e9a5061849ea: Pulling fs layer 05:00:27 d747dcd14b5f: Pulling fs layer 05:00:27 2de7ff778b66: Pulling fs layer 05:00:27 e9a5061849ea: Waiting 05:00:27 d747dcd14b5f: Waiting 05:00:27 2de7ff778b66: Waiting 05:00:27 0d9ebad4ef96: Waiting 05:00:27 9712f1f96733: Verifying Checksum 05:00:27 9712f1f96733: Download complete 05:00:27 63f879dbbcfc: Verifying Checksum 05:00:27 63f879dbbcfc: Download complete 05:00:27 e9a5061849ea: Verifying Checksum 05:00:27 e9a5061849ea: Download complete 05:00:27 d747dcd14b5f: Verifying Checksum 05:00:27 d747dcd14b5f: Download complete 05:00:27 0d9ebad4ef96: Verifying Checksum 05:00:27 0d9ebad4ef96: Download complete 05:00:27 2de7ff778b66: Verifying Checksum 05:00:27 2de7ff778b66: Download complete 05:00:27 ab5ef0e58194: Verifying Checksum 05:00:27 ab5ef0e58194: Download complete 05:00:30 ab5ef0e58194: Pull complete 05:00:30 9712f1f96733: Pull complete 05:00:31 63f879dbbcfc: Pull complete 05:00:34 0d9ebad4ef96: Pull complete 05:00:34 e9a5061849ea: Pull complete 05:00:34 d747dcd14b5f: Pull complete 05:00:35 2de7ff778b66: Pull complete 05:00:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:35 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 05:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:00:40 $ docker top 17bb47dc94f1761ff659cc9391ea5b5ff70036663b5b8454f77a2cf738f60b2e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:00:41 provisioning config files... 05:00:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12256209937535901513tmp 05:00:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config836756971828793971tmp 05:00:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10945152964718308297tmp [Pipeline] { [Pipeline] echo 05:00:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:00:41 ---> sigul-configuration.sh 05:00:41 gpg: directory `/root/.gnupg' created 05:00:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:00:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:00:41 gpg: keyring `/root/.gnupg/secring.gpg' created 05:00:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:00:41 gpg: CAST5 encrypted data 05:00:41 gpg: encrypted with 1 passphrase 05:00:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:00:41 + mkdir /home/jenkins 05:00:41 + mkdir /home/jenkins/sigul [Pipeline] sh 05:00:42 + 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 05:00:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:00:42 ---> sigul-install.sh 05:00:42 Sigul already installed; skipping installation. [Pipeline] sh 05:00:42 + git tag --list 05:00:42 v0.0.0 05:00:42 v0.0.1-dev.1 05:00:42 v0.0.1-dev.2 05:00:42 v0.0.1-dev.3 05:00:42 v0.0.1-dev.4 05:00:42 v3.0.0 05:00:42 v3.0.1-dev.1 05:00:42 v3.0.1-dev.10 05:00:42 v3.0.1-dev.11 05:00:42 v3.0.1-dev.12 05:00:42 v3.0.1-dev.13 05:00:42 v3.0.1-dev.14 05:00:42 v3.0.1-dev.15 05:00:42 v3.0.1-dev.16 05:00:42 v3.0.1-dev.17 05:00:42 v3.0.1-dev.18 05:00:42 v3.0.1-dev.19 05:00:42 v3.0.1-dev.2 05:00:42 v3.0.1-dev.20 05:00:42 v3.0.1-dev.21 05:00:42 v3.0.1-dev.22 05:00:42 v3.0.1-dev.23 05:00:42 v3.0.1-dev.24 05:00:42 v3.0.1-dev.25 05:00:42 v3.0.1-dev.26 05:00:42 v3.0.1-dev.27 05:00:42 v3.0.1-dev.28 05:00:42 v3.0.1-dev.29 05:00:42 v3.0.1-dev.3 05:00:42 v3.0.1-dev.4 05:00:42 v3.0.1-dev.5 05:00:42 v3.0.1-dev.6 05:00:42 v3.0.1-dev.7 05:00:42 v3.0.1-dev.8 05:00:42 v3.0.1-dev.9 05:00:42 v3.1 05:00:42 v3.1.0 05:00:42 v3.1.1 05:00:42 v3.1.1-dev.1 [Pipeline] sh 05:00:43 + lftools sign git-tag v3.0.1-dev.29 05:00:43 Signing Git tag with Sigul... 05:00:43 Signing v3.0.1-dev.29 [Pipeline] echo 05:00:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:00:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:00:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:00:44 $ docker stop --time=1 17bb47dc94f1761ff659cc9391ea5b5ff70036663b5b8454f77a2cf738f60b2e 05:00:45 $ docker rm -f --volumes 17bb47dc94f1761ff659cc9391ea5b5ff70036663b5b8454f77a2cf738f60b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:00:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:46 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 05:00:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:46 $ docker top e7d6c3118f13cd9b20eb14bb4ea39e510b368c38e766da525425dfd055bdda64 -eo pid,comm 05:00:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:00:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:46 [ssh-agent] Looking for ssh-agent implementation... 05:00:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:46 $ docker exec e7d6c3118f13cd9b20eb14bb4ea39e510b368c38e766da525425dfd055bdda64 ssh-agent 05:00:47 SSH_AUTH_SOCK=/tmp/ssh-czQ5cX5gaZa6/agent.32 05:00:47 SSH_AGENT_PID=38 05:00:47 Running ssh-add (command line suppressed) 05:00:47 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14757845968423294317.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14757845968423294317.key) 05:00:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:47 + git semver bump pre 05:00:47 2024-08-08 05:00:47,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:47 2024-08-08 05:00:47,605 [bump_version] DEBUG bumping version:3.0.1-dev.29 on axis:pre with prefix:dev 05:00:47 2024-08-08 05:00:47,605 [bump_version] DEBUG bumped version:3.0.1-dev.30 05:00:47 2024-08-08 05:00:47,605 [write_version] DEBUG write version:3.0.1-dev.30 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 05:00:47 2024-08-08 05:00:47,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:47 2024-08-08 05:00:47,606 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:47 2024-08-08 05:00:47,607 [execute] INFO git cat-file --batch-check 05:00:47 2024-08-08 05:00:47,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:47 2024-08-08 05:00:47,613 [execute] INFO git cat-file --batch 05:00:47 2024-08-08 05:00:47,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:47 2024-08-08 05:00:47,617 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:47 3.0.1-dev.30 [Pipeline] } 05:00:47 $ docker exec --env ******** --env ******** e7d6c3118f13cd9b20eb14bb4ea39e510b368c38e766da525425dfd055bdda64 ssh-agent -k 05:00:47 unset SSH_AUTH_SOCK; 05:00:47 unset SSH_AGENT_PID; 05:00:47 echo Agent pid 38 killed; 05:00:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:48 + git semver [Pipeline] } 05:00:48 $ docker stop --time=1 e7d6c3118f13cd9b20eb14bb4ea39e510b368c38e766da525425dfd055bdda64 05:00:49 $ docker rm -f --volumes e7d6c3118f13cd9b20eb14bb4ea39e510b368c38e766da525425dfd055bdda64 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:50 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 05:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:50 $ docker top aa453ded773a3fd91c5f71f6a6cf25c09bb9a6396f562d33e18936a9e13774cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:50 [ssh-agent] Looking for ssh-agent implementation... 05:00:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:51 $ docker exec aa453ded773a3fd91c5f71f6a6cf25c09bb9a6396f562d33e18936a9e13774cf ssh-agent 05:00:51 SSH_AUTH_SOCK=/tmp/ssh-zBoPyLOWjnim/agent.31 05:00:51 SSH_AGENT_PID=37 05:00:51 Running ssh-add (command line suppressed) 05:00:51 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13114130104009162913.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13114130104009162913.key) 05:00:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:51 + git semver push 05:00:51 2024-08-08 05:00:51,737 [run_push] DEBUG push 05:00:51 2024-08-08 05:00:51,738 [execute] INFO git cat-file --batch-check 05:00:51 2024-08-08 05:00:51,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:51 2024-08-08 05:00:51,742 [execute] INFO git rev-list 64b6b51efeded223e908e49bac86fdcc1f78b366 -- 05:00:51 2024-08-08 05:00:51,742 [execute] DEBUG Popen(['git', 'rev-list', '64b6b51efeded223e908e49bac86fdcc1f78b366', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 05:00:51 2024-08-08 05:00:51,749 [execute] INFO git fetch -v origin 05:00:51 2024-08-08 05:00:51,749 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 05:00:52 2024-08-08 05:00:52,194 [run_push] DEBUG no remote changes detected 05:00:52 2024-08-08 05:00:52,194 [execute] INFO git push origin semver 05:00:52 2024-08-08 05:00:52,195 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 05:00:52 2024-08-08 05:00:52,944 [run_push] DEBUG push all version tags 05:00:52 2024-08-08 05:00:52,945 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:00:52 2024-08-08 05:00:52,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 05:00:53 2024-08-08 05:00:53,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 05:00:53 3.0.1-dev.30 [Pipeline] } 05:00:53 $ docker exec --env ******** --env ******** aa453ded773a3fd91c5f71f6a6cf25c09bb9a6396f562d33e18936a9e13774cf ssh-agent -k 05:00:54 unset SSH_AUTH_SOCK; 05:00:54 unset SSH_AGENT_PID; 05:00:54 echo Agent pid 37 killed; 05:00:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:54 + git semver [Pipeline] } 05:00:54 $ docker stop --time=1 aa453ded773a3fd91c5f71f6a6cf25c09bb9a6396f562d33e18936a9e13774cf 05:00:55 $ docker rm -f --volumes aa453ded773a3fd91c5f71f6a6cf25c09bb9a6396f562d33e18936a9e13774cf [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 05:00:56 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 05:00:56 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 05:00:56 total 16 05:00:56 drwxr-xr-x 3 root root 4096 Aug 8 04:49 . 05:00:56 drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 05:00 .. 05:00:56 drwxr-xr-x 2 root root 4096 Aug 8 04:49 cost 05:00:56 -rw-r--r-- 1 root root 82 Aug 8 04:49 cost.csv 05:00:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 05:00:56 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 05:00:56 total 16 05:00:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 04:49 . 05:00:56 drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 05:00 .. 05:00:56 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 04:49 cost 05:00:56 -rw-r--r-- 1 jenkins jenkins 82 Aug 8 04:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:00:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:00:57 ---> package-listing.sh 05:00:57 ++ facter osfamily 05:00:57 ++ tr '[:upper:]' '[:lower:]' 05:00:57 + OS_FAMILY=debian 05:00:57 + workspace=/w/workspace/edgexfoundry_device-uart_main 05:00:57 + START_PACKAGES=/tmp/packages_start.txt 05:00:57 + END_PACKAGES=/tmp/packages_end.txt 05:00:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:00:57 + PACKAGES=/tmp/packages_start.txt 05:00:57 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 05:00:57 + PACKAGES=/tmp/packages_end.txt 05:00:57 + case "${OS_FAMILY}" in 05:00:57 + dpkg -l 05:00:57 + grep '^ii' 05:00:57 + '[' -f /tmp/packages_start.txt ']' 05:00:57 + '[' -f /tmp/packages_end.txt ']' 05:00:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:00:57 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 05:00:57 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 05:00:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 05:00:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:00:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:58 prd-ubuntu20.04-docker-8c-8g-7363 does not seem to be running inside a container 05:00:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:00:59 $ docker top a683969e9e48e40977e12c9c40c11f1892110033d1cf4be30ff8af2c458aa06e -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:59 + touch /tmp/pre-build-complete [Pipeline] sh 05:00:59 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:00 + ls /var/log/sa-host 05:01:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:00 provisioning config files... 05:01:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6952632992534754826tmp [Pipeline] { [Pipeline] echo 05:01:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:00 ---> create-netrc.sh [Pipeline] } 05:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:00 ---> python-tools-install.sh [Pipeline] echo 05:01:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:01 ---> sudo-logs.sh 05:01:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:01 ---> job-cost.sh 05:01:01 lf-activate-venv: SKIPPING 05:01:01 DEBUG: total: 0.2199999988079071 05:01:01 INFO: Retrieving Stack Cost... 05:01:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:02 INFO: Archiving Costs [Pipeline] echo 05:01:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:02 ---> logs-deploy.sh 05:01:02 lf-activate-venv: SKIPPING 05:01:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/36 05:01:02 INFO: archiving workspace using pattern(s): 05:01:03 Archives upload complete. 05:01:03 INFO: archiving logs to Nexus