Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 23fe7f8145c8e877725d764251a9ace1cbcd2e57 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-ssh16631526124992182121.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-ssh9651425510441659206.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-ssh3384591284455557462.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-ssh765831876076770312.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-ssh15085681701499388070.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5513’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5514’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5693’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5696 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 23fe7f8145c8e877725d764251a9ace1cbcd2e57 (main) > 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 23fe7f8145c8e877725d764251a9ace1cbcd2e57 # timeout=10 Commit message: "Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" > git rev-list --no-walk f8749581d9de8ec9f8c1a4606090d5570a6645d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:37 ========================================================= 04:22:37 EdgeX Global Pipelines Version Info 04:22:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:37 ------------------- 04:22:37 stable info: 04:22:37 ------------------- 04:22:37 Commited By: Ginny Guan ginny@iotechsys.com 04:22:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:22:37 Message: update stable to v1.0.260 04:22:38 ------------------- 04:22:38 experimental info: 04:22:38 ------------------- 04:22:38 Commited By: Ginny Guan ginny@iotechsys.com 04:22:38 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:22:38 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:22:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23fe7f8 [Pipeline] echo 04:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:39 provisioning config files... 04:22:39 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6920368998602351458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:39 ---> ****-login.sh 04:22:39 nexus3.edgexfoundry.org:10001 04:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:39 Configure a credential helper to remove this warning. See 04:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:39 04:22:39 Login Succeeded 04:22:39 nexus3.edgexfoundry.org:10002 04:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:39 Configure a credential helper to remove this warning. See 04:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:39 04:22:39 Login Succeeded 04:22:39 nexus3.edgexfoundry.org:10003 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 nexus3.edgexfoundry.org:10004 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 ****.io 04:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:40 Configure a credential helper to remove this warning. See 04:22:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:40 04:22:40 Login Succeeded 04:22:40 ---> ****-login.sh ends [Pipeline] } 04:22:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:22:40 + git rev-list -1 --merges 23fe7f8145c8e877725d764251a9ace1cbcd2e57~1..23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] echo 04:22:40 -----------> git rev-list -1 --merges 23fe7f8145c8e877725d764251a9ace1cbcd2e57~1..23fe7f8145c8e877725d764251a9ace1cbcd2e57 23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:22:40 23fe7f8145c8e877725d764251a9ace1cbcd2e57 [false] [Pipeline] sh 04:22:41 + git log --format=format:%s -1 23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] echo 04:22:41 ========================================================= 04:22:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:22:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:41 + git log --format=format:%s -1 23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] echo 04:22:41 [semverPrep] GIT_COMMIT: 23fe7f8145c8e877725d764251a9ace1cbcd2e57, Commit Message: Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24 [Pipeline] echo 04:22:41 [semverPrep] This is not a build commit. [Pipeline] sh 04:22:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:41 + grep -v github /etc/ssh/ssh_known_hosts 04:22:41 + [ -e /tmp/ssh_known_hosts ] 04:22:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:22:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:22:41 + sudo tee -a /etc/ssh/ssh_known_hosts 04:22:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:42 04:22:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:42 0.1.4: Pulling from edgex-devops/py-git-semver 04:22:42 b85a868b505f: Pulling fs layer 04:22:42 e2be974225ed: Pulling fs layer 04:22:42 339a4e72a1f5: Pulling fs layer 04:22:42 988bab9f4d93: Pulling fs layer 04:22:42 1469e6f7b9e6: Pulling fs layer 04:22:42 eaf3925da568: Pulling fs layer 04:22:42 bab4dde63d76: Pulling fs layer 04:22:42 bde34c3a00c8: Pulling fs layer 04:22:42 b352a97aabf1: Pulling fs layer 04:22:42 4872d77fe225: Pulling fs layer 04:22:42 5851b861e8e6: Pulling fs layer 04:22:42 bde34c3a00c8: Waiting 04:22:42 988bab9f4d93: Waiting 04:22:42 1469e6f7b9e6: Waiting 04:22:42 bab4dde63d76: Waiting 04:22:42 b352a97aabf1: Waiting 04:22:42 4872d77fe225: Waiting 04:22:42 5851b861e8e6: Waiting 04:22:42 eaf3925da568: Waiting 04:22:42 e2be974225ed: Verifying Checksum 04:22:42 e2be974225ed: Download complete 04:22:42 988bab9f4d93: Verifying Checksum 04:22:42 988bab9f4d93: Download complete 04:22:42 1469e6f7b9e6: Verifying Checksum 04:22:42 1469e6f7b9e6: Download complete 04:22:42 eaf3925da568: Verifying Checksum 04:22:42 eaf3925da568: Download complete 04:22:42 339a4e72a1f5: Verifying Checksum 04:22:42 339a4e72a1f5: Download complete 04:22:42 bde34c3a00c8: Download complete 04:22:42 b352a97aabf1: Download complete 04:22:42 4872d77fe225: Verifying Checksum 04:22:42 4872d77fe225: Download complete 04:22:42 5851b861e8e6: Download complete 04:22:42 b85a868b505f: Verifying Checksum 04:22:42 b85a868b505f: Download complete 04:22:43 bab4dde63d76: Verifying Checksum 04:22:43 bab4dde63d76: Download complete 04:22:44 b85a868b505f: Pull complete 04:22:44 e2be974225ed: Pull complete 04:22:44 339a4e72a1f5: Pull complete 04:22:44 988bab9f4d93: Pull complete 04:22:45 1469e6f7b9e6: Pull complete 04:22:45 eaf3925da568: Pull complete 04:22:47 bab4dde63d76: Pull complete 04:22:47 bde34c3a00c8: Pull complete 04:22:47 b352a97aabf1: Pull complete 04:22:47 4872d77fe225: Pull complete 04:22:47 5851b861e8e6: Pull complete 04:22:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:22:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:47 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:22:52 $ docker top b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 -eo pid,comm 04:22:52 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:22:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:52 [ssh-agent] Looking for ssh-agent implementation... 04:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:52 $ docker exec b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 ssh-agent 04:22:52 SSH_AUTH_SOCK=/tmp/ssh-mxnKsHQyhbsR/agent.33 04:22:52 SSH_AGENT_PID=39 04:22:52 Running ssh-add (command line suppressed) 04:22:52 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12126460133292510622.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12126460133292510622.key) 04:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:53 + git tag --points-at HEAD [Pipeline] } 04:22:53 $ docker exec --env ******** --env ******** b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 ssh-agent -k 04:22:53 unset SSH_AUTH_SOCK; 04:22:53 unset SSH_AGENT_PID; 04:22:53 echo Agent pid 39 killed; 04:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:53 [ssh-agent] Looking for ssh-agent implementation... 04:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:53 $ docker exec b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 ssh-agent 04:22:53 SSH_AUTH_SOCK=/tmp/ssh-rrFevYysLqHS/agent.72 04:22:53 SSH_AGENT_PID=78 04:22:53 Running ssh-add (command line suppressed) 04:22:53 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11164564013337673533.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11164564013337673533.key) 04:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:53 + git semver init 04:22:54 2024-07-16 04:22:54,062 [run_init] DEBUG init version:0.0.0 force:False 04:22:54 2024-07-16 04:22:54,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 04:22:54 2024-07-16 04:22:54,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 04:22:54 2024-07-16 04:22:54,064 [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:22:55 2024-07-16 04:22:55,199 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 04:22:55 2024-07-16 04:22:55,200 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 04:22:55 2024-07-16 04:22:55,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:22:55 2024-07-16 04:22:55,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:22:55 3.0.1-dev.25 [Pipeline] } 04:22:55 $ docker exec --env ******** --env ******** b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 ssh-agent -k 04:22:55 unset SSH_AUTH_SOCK; 04:22:55 unset SSH_AGENT_PID; 04:22:55 echo Agent pid 78 killed; 04:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:55 + git semver [Pipeline] } 04:22:56 $ docker stop --time=1 b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 04:22:57 $ docker rm -f --volumes b2f954b6205785358a7cf6a678ce65112428c1e50f996372bb134d99876e0635 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:22:58 Stashed 1 file(s) [Pipeline] echo 04:22:58 [edgeXSemver]: initialized semver on version 3.0.1-dev.25 [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:22:58 provisioning config files... 04:22:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6093682860827258080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:58 ---> ****-login.sh 04:22:58 nexus3.edgexfoundry.org:10001 04:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:58 Configure a credential helper to remove this warning. See 04:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:58 04:22:58 Login Succeeded 04:22:58 nexus3.edgexfoundry.org:10002 04:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:58 Configure a credential helper to remove this warning. See 04:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:58 04:22:58 Login Succeeded 04:22:58 nexus3.edgexfoundry.org:10003 04:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:58 Configure a credential helper to remove this warning. See 04:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:58 04:22:58 Login Succeeded 04:22:58 nexus3.edgexfoundry.org:10004 04:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:58 Configure a credential helper to remove this warning. See 04:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:58 04:22:58 Login Succeeded 04:22:58 ****.io 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 ---> ****-login.sh ends [Pipeline] } 04:22:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:59 ========================================================= 04:22:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:22:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:59 + 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:22:59 Sending build context to Docker daemon 25.5MB 04:22:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:22:59 Step 2/12 : FROM ${BASE} AS builder 04:22:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:59 619be1103602: Pulling fs layer 04:22:59 7862e08f4a3e: Pulling fs layer 04:22:59 5df492c9dc93: Pulling fs layer 04:22:59 7629e6793208: Pulling fs layer 04:22:59 4f4fb700ef54: Pulling fs layer 04:22:59 fb5054dd5b73: Pulling fs layer 04:22:59 eeca6798cff9: Pulling fs layer 04:22:59 aa269ceb94a6: Pulling fs layer 04:22:59 ada007ff1a6a: Pulling fs layer 04:22:59 7629e6793208: Waiting 04:22:59 4f4fb700ef54: Waiting 04:22:59 fb5054dd5b73: Waiting 04:22:59 eeca6798cff9: Waiting 04:22:59 aa269ceb94a6: Waiting 04:22:59 ada007ff1a6a: Waiting 04:22:59 7862e08f4a3e: Verifying Checksum 04:22:59 7862e08f4a3e: Download complete 04:22:59 7629e6793208: Verifying Checksum 04:22:59 7629e6793208: Download complete 04:22:59 4f4fb700ef54: Download complete 04:22:59 619be1103602: Verifying Checksum 04:22:59 619be1103602: Download complete 04:22:59 fb5054dd5b73: Download complete 04:22:59 eeca6798cff9: Verifying Checksum 04:22:59 eeca6798cff9: Download complete 04:23:00 619be1103602: Pull complete 04:23:00 ada007ff1a6a: Verifying Checksum 04:23:00 ada007ff1a6a: Download complete 04:23:00 7862e08f4a3e: Pull complete 04:23:00 5df492c9dc93: Verifying Checksum 04:23:00 5df492c9dc93: Download complete 04:23:00 aa269ceb94a6: Verifying Checksum 04:23:00 aa269ceb94a6: Download complete 04:23:04 5df492c9dc93: Pull complete 04:23:04 7629e6793208: Pull complete 04:23:04 4f4fb700ef54: Pull complete 04:23:04 fb5054dd5b73: Pull complete 04:23:04 eeca6798cff9: Pull complete 04:23:07 aa269ceb94a6: Pull complete 04:23:07 ada007ff1a6a: Pull complete 04:23:07 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:23:07 ---> f489d0715acc 04:23:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:23:12 ---> Running in 8a0a24c972b4 04:23:12 Removing intermediate container 8a0a24c972b4 04:23:12 ---> 81e549b8779e 04:23:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:23:12 ---> Running in 86a03c76d020 04:23:12 Removing intermediate container 86a03c76d020 04:23:12 ---> ca5b77bfd4a8 04:23:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:23:12 ---> Running in af0d7f75a3a4 04:23:12 Removing intermediate container af0d7f75a3a4 04:23:12 ---> 21532ccedd8b 04:23:12 Step 6/12 : WORKDIR /device-uart 04:23:12 ---> Running in 2caa8f5f7711 04:23:12 Removing intermediate container 2caa8f5f7711 04:23:12 ---> da7b001f11b7 04:23:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:12 ---> Running in 619b0750f799 04:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:12 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:23:12 (2/4) Installing libedit (20221030.3.1-r1) 04:23:12 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:23:12 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:23:12 Executing busybox-1.36.1-r5.trigger 04:23:12 OK: 268 MiB in 56 packages 04:23:13 Removing intermediate container 619b0750f799 04:23:13 ---> 1102bbcc83b6 04:23:13 Step 8/12 : COPY go.mod vendor* ./ 04:23:13 Still waiting to schedule task 04:23:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5695’ 04:23:13 ---> 73e78beeab4a 04:23:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:13 ---> Running in ebba00c003e8 04:24:00 Removing intermediate container ebba00c003e8 04:24:00 ---> 605e9797b72d 04:24:00 Step 10/12 : COPY . . 04:24:00 ---> 703061b0793e 04:24:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:00 ---> Running in fa8c8ac0c8df 04:24:00 Removing intermediate container fa8c8ac0c8df 04:24:00 ---> 61599630153f 04:24:00 Step 12/12 : RUN ${MAKE} 04:24:00 ---> Running in 77ed629eeebf 04:24:00 noop 04:24:00 Removing intermediate container 77ed629eeebf 04:24:00 ---> c03ed02677a9 04:24:00 Successfully built c03ed02677a9 04:24:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:00 + docker inspect -f . ci-base-image-x86_64 04:24:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:00 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:01 $ docker top 5bbd7fce7174d92aaaf28b577541a8d6762840d5b544a23308896d7f739ded3d -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:01 + go version 04:24:01 go version go1.21.9 linux/amd64 [Pipeline] } 04:24:01 $ docker stop --time=1 5bbd7fce7174d92aaaf28b577541a8d6762840d5b544a23308896d7f739ded3d 04:24:02 $ docker rm -f --volumes 5bbd7fce7174d92aaaf28b577541a8d6762840d5b544a23308896d7f739ded3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:03 + docker inspect -f . ci-base-image-x86_64 04:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:03 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:03 $ docker top 858f1c0cb594e7f7f267063f22b29901d192c6c51eb27c66b7385e52e6e6e7a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 04:24:04 + make test 04:24:04 go test ./... -coverprofile=coverage.out 04:24:06 ? github.com/edgexfoundry/device-uart [no test files] 04:24:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 04:24:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 04:24:36 go vet ./... 04:24:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:40 ./bin/test-attribution-txt.sh 04:24:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:24:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:24:40 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:24:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:24:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:24:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:24:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:24:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:24:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:24:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:24:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:24:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:24:40 $ docker stop --time=1 858f1c0cb594e7f7f267063f22b29901d192c6c51eb27c66b7385e52e6e6e7a8 04:24:43 $ docker rm -f --volumes 858f1c0cb594e7f7f267063f22b29901d192c6c51eb27c66b7385e52e6e6e7a8 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:44 + ls -al . 04:24:44 total 224 04:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:24 . 04:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 04:22 .. 04:24:44 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 04:22 .dockerignore 04:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:24 .git 04:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 .github 04:24:44 -rw-rw-r-- 1 jenkins jenkins 343 Jul 16 04:22 .gitignore 04:24:44 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 04:22 .golangci.yml 04:24:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 04:22 .semver 04:24:44 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 16 04:22 Attribution.txt 04:24:44 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 16 04:22 CHANGELOG.md 04:24:44 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 16 04:22 Dockerfile 04:24:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 04:22 GOVERNANCE.md 04:24:44 -rw-rw-r-- 1 jenkins jenkins 675 Jul 16 04:22 Jenkinsfile 04:24:44 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 04:22 LICENSE 04:24:44 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 16 04:22 Makefile 04:24:44 -rw-rw-r-- 1 jenkins jenkins 617 Jul 16 04:22 OWNERS.md 04:24:44 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 16 04:22 README.md 04:24:44 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 04:22 VERSION 04:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:22 bin 04:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 cmd 04:24:44 -rw-r--r-- 1 jenkins jenkins 10 Jul 16 04:24 coverage.out 04:24:44 -rw-rw-r-- 1 jenkins jenkins 6963 Jul 16 04:22 go.mod 04:24:44 -rw-rw-r-- 1 jenkins jenkins 102147 Jul 16 04:22 go.sum 04:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 internal 04:24:44 -rw-rw-r-- 1 jenkins jenkins 209 Jul 16 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:44 + 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=23fe7f8145c8e877725d764251a9ace1cbcd2e57 --label arch=amd64 --label version=3.0.1-dev.25 . 04:24:44 Sending build context to Docker daemon 25.5MB 04:24:44 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:24:44 Step 2/26 : FROM ${BASE} AS builder 04:24:44 ---> c03ed02677a9 04:24:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:24:45 ---> Running in c03956ea1360 04:24:45 Removing intermediate container c03956ea1360 04:24:45 ---> 94f2870c31e3 04:24:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:24:45 ---> Running in aef3aa744e08 04:24:45 Removing intermediate container aef3aa744e08 04:24:45 ---> f5afa457fa84 04:24:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:24:45 ---> Running in ae9e496d7aa4 04:24:45 Removing intermediate container ae9e496d7aa4 04:24:45 ---> b7fa8743db95 04:24:45 Step 6/26 : WORKDIR /device-uart 04:24:45 ---> Running in 17cbb9ce0391 04:24:45 Removing intermediate container 17cbb9ce0391 04:24:45 ---> 80f65c828eb3 04:24:45 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:45 ---> Running in 0abdaeac9c67 04:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:24:46 OK: 268 MiB in 56 packages 04:24:46 Removing intermediate container 0abdaeac9c67 04:24:46 ---> ea94ca529057 04:24:46 Step 8/26 : COPY go.mod vendor* ./ 04:24:46 ---> 10bd0207edcf 04:24:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:46 ---> Running in 519a18e96dc8 04:24:47 Removing intermediate container 519a18e96dc8 04:24:47 ---> c1d591b058a4 04:24:47 Step 10/26 : COPY . . 04:24:47 ---> 57c97cc93569 04:24:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:47 ---> Running in 42e024e7729a 04:24:47 Removing intermediate container 42e024e7729a 04:24:47 ---> 42fd47447c05 04:24:47 Step 12/26 : RUN ${MAKE} 04:24:47 ---> Running in 788c3bdab0a2 04:24:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-uart ./cmd 04:25:20 Removing intermediate container 788c3bdab0a2 04:25:20 ---> 7c9d3a093d57 04:25:20 Step 13/26 : FROM alpine:3.18 04:25:20 3.18: Pulling from library/alpine 04:25:20 73baa7ef167e: Pulling fs layer 04:25:20 73baa7ef167e: Verifying Checksum 04:25:20 73baa7ef167e: Download complete 04:25:20 73baa7ef167e: Pull complete 04:25:20 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:25:20 Status: Downloaded newer image for alpine:3.18 04:25:20 ---> 8fd7cac70a4a 04:25:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:25:20 ---> Running in 884e6369eff6 04:25:20 Removing intermediate container 884e6369eff6 04:25:20 ---> 2ce62fcc3aff 04:25:20 Step 15/26 : RUN apk add --update --no-cache dumb-init 04:25:20 ---> Running in cefdae883bca 04:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:20 (1/1) Installing dumb-init (1.2.5-r2) 04:25:20 Executing busybox-1.36.1-r7.trigger 04:25:20 OK: 7 MiB in 16 packages 04:25:20 Removing intermediate container cefdae883bca 04:25:20 ---> 5ad1cc7d5b7f 04:25:20 Step 16/26 : RUN apk --no-cache upgrade 04:25:20 ---> Running in 2989a5d6f225 04:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:20 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:25:20 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:25:20 OK: 7 MiB in 16 packages 04:25:20 Removing intermediate container 2989a5d6f225 04:25:20 ---> c051a7e920dd 04:25:20 Step 17/26 : WORKDIR / 04:25:20 ---> Running in c614056ca752 04:25:20 Removing intermediate container c614056ca752 04:25:20 ---> 999f5beb88c0 04:25:20 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 04:25:20 ---> 69cf8e8bcf1d 04:25:20 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 04:25:20 ---> b811c0cb2dee 04:25:20 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 04:25:20 ---> e24be310cca1 04:25:20 Step 21/26 : EXPOSE 59995 04:25:20 ---> Running in 36407a47d2a3 04:25:20 Removing intermediate container 36407a47d2a3 04:25:20 ---> 1cd887eee8b9 04:25:20 Step 22/26 : ENTRYPOINT ["/device-uart"] 04:25:20 ---> Running in f69cfeff1a96 04:25:20 Removing intermediate container f69cfeff1a96 04:25:20 ---> 89ac90be1c31 04:25:20 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:25:20 ---> Running in b0478d7d6350 04:25:20 Removing intermediate container b0478d7d6350 04:25:20 ---> bbd0a02bbe50 04:25:20 Step 24/26 : LABEL arch=amd64 04:25:20 ---> Running in 0a05fba501de 04:25:20 Removing intermediate container 0a05fba501de 04:25:20 ---> 155048e35311 04:25:20 Step 25/26 : LABEL git_sha=23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:25:20 ---> Running in e87570cabc15 04:25:20 Removing intermediate container e87570cabc15 04:25:20 ---> 4f23da1609d8 04:25:20 Step 26/26 : LABEL version=3.0.1-dev.25 04:25:20 ---> Running in 53e4eff0eaed 04:25:20 Removing intermediate container 53e4eff0eaed 04:25:20 ---> 0e9f7f36673e 04:25:20 [Warning] One or more build-args [ARCH] were not consumed 04:25:20 Successfully built 0e9f7f36673e 04:25:20 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:25:20 provisioning config files... 04:25:20 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2005100520440323430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:20 ---> ****-login.sh 04:25:20 nexus3.edgexfoundry.org:10001 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10002 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10003 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10004 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 ****.io 04:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:21 Configure a credential helper to remove this warning. See 04:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:21 04:25:21 Login Succeeded 04:25:21 ---> ****-login.sh ends [Pipeline] } 04:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:25:21 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 04:25:21 23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:25:21 latest 04:25:21 3.0.1-dev.25 04:25:21 23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:25:21 main 04:25:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:21 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:21 + docker push nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:25:21 cff7d3026049: Preparing 04:25:21 76ea80af5765: Preparing 04:25:21 5eeb4ce862e1: Preparing 04:25:21 3171b9558ccf: Preparing 04:25:21 352e92560053: Preparing 04:25:21 63ec0bd56cf3: Preparing 04:25:21 63ec0bd56cf3: Waiting 04:25:21 76ea80af5765: Pushed 04:25:21 5eeb4ce862e1: Pushed 04:25:21 352e92560053: Pushed 04:25:21 63ec0bd56cf3: Layer already exists 04:25:22 3171b9558ccf: Pushed 04:25:26 cff7d3026049: Pushed 04:25:26 23fe7f8145c8e877725d764251a9ace1cbcd2e57: digest: sha256:df11eb6beb822250811806bf1f35ae524d1d6fa1b4a19650cee71e5c31215fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:27 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:27 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 04:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:25:27 cff7d3026049: Preparing 04:25:27 76ea80af5765: Preparing 04:25:27 5eeb4ce862e1: Preparing 04:25:27 3171b9558ccf: Preparing 04:25:27 352e92560053: Preparing 04:25:27 63ec0bd56cf3: Preparing 04:25:27 63ec0bd56cf3: Waiting 04:25:27 3171b9558ccf: Layer already exists 04:25:27 76ea80af5765: Layer already exists 04:25:27 cff7d3026049: Layer already exists 04:25:27 5eeb4ce862e1: Layer already exists 04:25:27 352e92560053: Layer already exists 04:25:27 63ec0bd56cf3: Layer already exists 04:25:27 latest: digest: sha256:df11eb6beb822250811806bf1f35ae524d1d6fa1b4a19650cee71e5c31215fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:27 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:27 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.25 04:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:25:27 cff7d3026049: Preparing 04:25:27 76ea80af5765: Preparing 04:25:27 5eeb4ce862e1: Preparing 04:25:27 3171b9558ccf: Preparing 04:25:27 352e92560053: Preparing 04:25:27 63ec0bd56cf3: Preparing 04:25:27 63ec0bd56cf3: Waiting 04:25:27 352e92560053: Layer already exists 04:25:27 3171b9558ccf: Layer already exists 04:25:27 5eeb4ce862e1: Layer already exists 04:25:27 76ea80af5765: Layer already exists 04:25:27 cff7d3026049: Layer already exists 04:25:27 63ec0bd56cf3: Layer already exists 04:25:27 3.0.1-dev.25: digest: sha256:df11eb6beb822250811806bf1f35ae524d1d6fa1b4a19650cee71e5c31215fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:28 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:28 + docker push nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:25:28 cff7d3026049: Preparing 04:25:28 76ea80af5765: Preparing 04:25:28 5eeb4ce862e1: Preparing 04:25:28 3171b9558ccf: Preparing 04:25:28 352e92560053: Preparing 04:25:28 63ec0bd56cf3: Preparing 04:25:28 63ec0bd56cf3: Waiting 04:25:28 cff7d3026049: Layer already exists 04:25:28 76ea80af5765: Layer already exists 04:25:28 352e92560053: Layer already exists 04:25:28 5eeb4ce862e1: Layer already exists 04:25:28 3171b9558ccf: Layer already exists 04:25:28 63ec0bd56cf3: Layer already exists 04:25:28 23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25: digest: sha256:df11eb6beb822250811806bf1f35ae524d1d6fa1b4a19650cee71e5c31215fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:28 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:29 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 04:25:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 04:25:29 cff7d3026049: Preparing 04:25:29 76ea80af5765: Preparing 04:25:29 5eeb4ce862e1: Preparing 04:25:29 3171b9558ccf: Preparing 04:25:29 352e92560053: Preparing 04:25:29 63ec0bd56cf3: Preparing 04:25:29 76ea80af5765: Layer already exists 04:25:29 cff7d3026049: Layer already exists 04:25:29 352e92560053: Layer already exists 04:25:29 5eeb4ce862e1: Layer already exists 04:25:29 3171b9558ccf: Layer already exists 04:25:29 63ec0bd56cf3: Layer already exists 04:25:29 main: digest: sha256:df11eb6beb822250811806bf1f35ae524d1d6fa1b4a19650cee71e5c31215fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:29 ===================================================== [Pipeline] echo 04:25:29 taggedImages: 04:25:29 - nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:25:29 - nexus3.edgexfoundry.org:10004/device-uart:latest 04:25:29 - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.25 04:25:29 - nexus3.edgexfoundry.org:10004/device-uart:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:25:29 - 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:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:29 04:25:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:30 latest: Pulling from edgex-lftools-log-publisher 04:25:30 5eb5b503b376: Pulling fs layer 04:25:30 5c69ac0246d0: Pulling fs layer 04:25:30 ec43610c2a17: Pulling fs layer 04:25:30 3a2ae6a8a46f: Pulling fs layer 04:25:30 33b1e0a273af: Pulling fs layer 04:25:30 5d3b04190fa2: Pulling fs layer 04:25:30 2f39f015ded8: Pulling fs layer 04:25:30 33b1e0a273af: Waiting 04:25:30 5d3b04190fa2: Waiting 04:25:30 3a2ae6a8a46f: Waiting 04:25:30 2f39f015ded8: Waiting 04:25:30 5c69ac0246d0: Verifying Checksum 04:25:30 5c69ac0246d0: Download complete 04:25:30 3a2ae6a8a46f: Verifying Checksum 04:25:30 3a2ae6a8a46f: Download complete 04:25:30 33b1e0a273af: Verifying Checksum 04:25:30 33b1e0a273af: Download complete 04:25:30 5d3b04190fa2: Verifying Checksum 04:25:30 5d3b04190fa2: Download complete 04:25:30 ec43610c2a17: Verifying Checksum 04:25:30 ec43610c2a17: Download complete 04:25:30 5eb5b503b376: Verifying Checksum 04:25:30 5eb5b503b376: Download complete 04:25:30 2f39f015ded8: Download complete 04:25:31 5eb5b503b376: Pull complete 04:25:31 5c69ac0246d0: Pull complete 04:25:31 ec43610c2a17: Pull complete 04:25:31 3a2ae6a8a46f: Pull complete 04:25:32 33b1e0a273af: Pull complete 04:25:32 5d3b04190fa2: Pull complete 04:25:36 2f39f015ded8: Pull complete 04:25:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:36 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:25:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:25:37 $ docker top 14b985949d9c385999f20b5e3ea47208c3b8bccb4d4c6b39a1e4ec70db42e612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:38 ---> job-cost.sh 04:25:38 lf-activate-venv: SKIPPING 04:25:38 INFO: No Stack... 04:25:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:38 INFO: Archiving Costs [Pipeline] sh 04:25:39 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 04:25:39 + cut -d, -f6 [Pipeline] lock 04:25:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] 04:25:39 Resource [jenkins-edgexfoundry-device-uart-main-32-stack-cost] did not exist. Created. 04:25:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:25:40 + echo total: 0.2199999988079071 [Pipeline] stash 04:25:40 Stashed 1 file(s) [Pipeline] } 04:25:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 04:25:40 $ docker stop --time=1 14b985949d9c385999f20b5e3ea47208c3b8bccb4d4c6b39a1e4ec70db42e612 04:25:41 $ docker rm -f --volumes 14b985949d9c385999f20b5e3ea47208c3b8bccb4d4c6b39a1e4ec70db42e612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5705 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 04:26:04 Running in /w/workspace/device-uart/32 [Pipeline] { [Pipeline] checkout 04:26:07 The recommended git tool is: git 04:26:18 using credential edgex-jenkins-ssh 04:26:18 Cloning the remote Git repository 04:26:18 Cloning repository git@github.com:edgexfoundry/device-uart.git 04:26:19 > git init /w/workspace/device-uart/32 # timeout=10 04:26:19 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 04:26:19 > git --version # timeout=10 04:26:19 > git --version # 'git version 2.25.1' 04:26:19 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:22 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 04:26:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:24 Avoid second fetch 04:26:24 Checking out Revision 23fe7f8145c8e877725d764251a9ace1cbcd2e57 (main) 04:26:24 > git config core.sparsecheckout # timeout=10 04:26:25 Commit message: "Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" 04:26:24 > git checkout -f 23fe7f8145c8e877725d764251a9ace1cbcd2e57 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:26:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:30 Dload Upload Total Spent Left Speed 04:26:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 181k 0 --:--:-- --:--:-- --:--:-- 184k [Pipeline] sh 04:26:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:26:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:26:30 + sudo tee /etc/docker/daemon.new 04:26:30 { 04:26:30 "registry-mirrors": [ 04:26:30 "https://nexus3.edgexfoundry.org:10001" 04:26:30 ], 04:26:30 "bip": "10.250.0.254/24", 04:26:30 "hosts": [ 04:26:30 "tcp://0.0.0.0:5555", 04:26:30 "unix:///var/run/docker.sock" 04:26:30 ], 04:26:30 "mtu": 1458, 04:26:30 "selinux-enabled": true, 04:26:30 "seccomp-profile": "/etc/docker/seccomp.json" 04:26:30 } [Pipeline] sh 04:26:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:26:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:50 provisioning config files... 04:26:50 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/32@tmp/config13733495083568721284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:50 ---> ****-login.sh 04:26:50 nexus3.edgexfoundry.org:10001 04:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:51 Configure a credential helper to remove this warning. See 04:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:51 04:26:51 Login Succeeded 04:26:51 nexus3.edgexfoundry.org:10002 04:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:51 Configure a credential helper to remove this warning. See 04:26:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:51 04:26:51 Login Succeeded 04:26:51 nexus3.edgexfoundry.org:10003 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 nexus3.edgexfoundry.org:10004 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 ****.io 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:53 Configure a credential helper to remove this warning. See 04:26:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:53 04:26:53 Login Succeeded 04:26:53 ---> ****-login.sh ends [Pipeline] } 04:26:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:26:53 ========================================================= 04:26:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:26:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:53 + 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:26:54 Sending build context to Docker daemon 12.81MB 04:26:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:26:54 Step 2/12 : FROM ${BASE} AS builder 04:26:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:26:54 c6b39de5b339: Pulling fs layer 04:26:54 a69c41024577: Pulling fs layer 04:26:54 d6de4b400683: Pulling fs layer 04:26:54 35cb2a7552d0: Pulling fs layer 04:26:54 4f4fb700ef54: Pulling fs layer 04:26:54 464afbd9ba4c: Pulling fs layer 04:26:54 00f215d4a9da: Pulling fs layer 04:26:54 d496ad576159: Pulling fs layer 04:26:54 464afbd9ba4c: Waiting 04:26:54 00f215d4a9da: Waiting 04:26:54 d496ad576159: Waiting 04:26:54 35cb2a7552d0: Waiting 04:26:54 4f4fb700ef54: Waiting 04:26:54 a69c41024577: Download complete 04:26:54 35cb2a7552d0: Verifying Checksum 04:26:54 35cb2a7552d0: Download complete 04:26:55 4f4fb700ef54: Verifying Checksum 04:26:55 4f4fb700ef54: Download complete 04:26:55 464afbd9ba4c: Verifying Checksum 04:26:55 464afbd9ba4c: Download complete 04:26:55 c6b39de5b339: Download complete 04:26:55 d496ad576159: Verifying Checksum 04:26:55 d496ad576159: Download complete 04:26:55 c6b39de5b339: Pull complete 04:26:56 a69c41024577: Pull complete 04:26:57 d6de4b400683: Verifying Checksum 04:26:57 d6de4b400683: Download complete 04:26:58 00f215d4a9da: Verifying Checksum 04:26:58 00f215d4a9da: Download complete 04:27:13 d6de4b400683: Pull complete 04:27:13 35cb2a7552d0: Pull complete 04:27:13 4f4fb700ef54: Pull complete 04:27:13 464afbd9ba4c: Pull complete 04:27:21 00f215d4a9da: Pull complete 04:27:23 d496ad576159: Pull complete 04:27:23 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:27:23 ---> f246e2811388 04:27:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:27:24 ---> Running in 1f1000aebd4e 04:27:24 Removing intermediate container 1f1000aebd4e 04:27:24 ---> 24abf5a8cc43 04:27:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:27:24 ---> Running in 2126d168f4bc 04:27:25 Removing intermediate container 2126d168f4bc 04:27:25 ---> 6cbdc22a190b 04:27:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:27:25 ---> Running in b3245078fada 04:27:25 Removing intermediate container b3245078fada 04:27:25 ---> a65a3a3365ad 04:27:25 Step 6/12 : WORKDIR /device-uart 04:27:25 ---> Running in d9a02ec754c0 04:27:27 Removing intermediate container d9a02ec754c0 04:27:27 ---> dc39a0ab30f2 04:27:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:27 ---> Running in 201a7ceed9c5 04:27:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:30 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:27:30 (2/4) Installing libedit (20221030.3.1-r1) 04:27:30 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:27:30 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:27:30 Executing busybox-1.36.1-r5.trigger 04:27:30 OK: 271 MiB in 56 packages 04:27:31 Removing intermediate container 201a7ceed9c5 04:27:31 ---> 381b33b7e064 04:27:31 Step 8/12 : COPY go.mod vendor* ./ 04:27:32 ---> 462d22166b2b 04:27:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:32 ---> Running in 1e0b42638781 04:29:40 Removing intermediate container 1e0b42638781 04:29:40 ---> c360ed4470ce 04:29:40 Step 10/12 : COPY . . 04:29:40 ---> f1f1d77c472f 04:29:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:29:40 ---> Running in f6b4b9ee537a 04:29:40 Removing intermediate container f6b4b9ee537a 04:29:40 ---> 58f376fa8d6c 04:29:40 Step 12/12 : RUN ${MAKE} 04:29:40 ---> Running in c1353886c78d 04:29:40 noop 04:29:40 Removing intermediate container c1353886c78d 04:29:40 ---> 5e8e196dc7ba 04:29:40 Successfully built 5e8e196dc7ba 04:29:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:41 + docker inspect -f . ci-base-image-arm64 04:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-5705 does not seem to be running inside a container 04:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/32 -v /w/workspace/device-uart/32:/w/workspace/device-uart/32:rw,z -v /w/workspace/device-uart/32@tmp:/w/workspace/device-uart/32@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:29:42 $ docker top 36ac7a3542d68f2daecfcc857579ba718ed661d9974444546a5e3c9c08de7985 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:43 + go version 04:29:43 go version go1.21.9 linux/arm64 [Pipeline] } 04:29:43 $ docker stop --time=1 36ac7a3542d68f2daecfcc857579ba718ed661d9974444546a5e3c9c08de7985 04:29:45 $ docker rm -f --volumes 36ac7a3542d68f2daecfcc857579ba718ed661d9974444546a5e3c9c08de7985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:46 + docker inspect -f . ci-base-image-arm64 04:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:46 prd-ubuntu20.04-docker-arm64-4c-16g-5705 does not seem to be running inside a container 04:29:46 $ 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/32 -v /w/workspace/device-uart/32:/w/workspace/device-uart/32:rw,z -v /w/workspace/device-uart/32@tmp:/w/workspace/device-uart/32@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:29:47 $ docker top 8625d389df6f3ce6c43071689a6ed22d66b4e9a344a465ddf1c9e377ed45caee -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:48 + git config --global --add safe.directory /w/workspace/device-uart/32 [Pipeline] fileExists [Pipeline] sh 04:29:49 + make test 04:29:49 go test ./... -coverprofile=coverage.out 04:29:55 ? github.com/edgexfoundry/device-uart [no test files] 04:34:02 ? github.com/edgexfoundry/device-uart/cmd [no test files] 04:34:02 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 04:34:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:02 go vet ./... 04:34:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:34:49 ./bin/test-attribution-txt.sh 04:34:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:34:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:34:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:34:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:34:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:34:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:34:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:34:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:34:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:34:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:34:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:34:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:34:49 $ docker stop --time=1 8625d389df6f3ce6c43071689a6ed22d66b4e9a344a465ddf1c9e377ed45caee 04:34:51 $ docker rm -f --volumes 8625d389df6f3ce6c43071689a6ed22d66b4e9a344a465ddf1c9e377ed45caee [Pipeline] // withDockerContainer [Pipeline] sh 04:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:53 Warning: overwriting stash ‘coverage-report’ 04:34:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:34:54 + ls -al . 04:34:54 total 220 04:34:54 drwxrwxr-x 7 jenkins jenkins 4096 Jul 16 04:29 . 04:34:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 04:26 .. 04:34:54 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 04:26 .dockerignore 04:34:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:26 .git 04:34:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 .github 04:34:54 -rw-rw-r-- 1 jenkins jenkins 343 Jul 16 04:26 .gitignore 04:34:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 04:26 .golangci.yml 04:34:54 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 16 04:26 Attribution.txt 04:34:54 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 16 04:26 CHANGELOG.md 04:34:54 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 16 04:26 Dockerfile 04:34:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 04:26 GOVERNANCE.md 04:34:54 -rw-rw-r-- 1 jenkins jenkins 675 Jul 16 04:26 Jenkinsfile 04:34:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 04:26 LICENSE 04:34:54 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 16 04:26 Makefile 04:34:54 -rw-rw-r-- 1 jenkins jenkins 617 Jul 16 04:26 OWNERS.md 04:34:54 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 16 04:26 README.md 04:34:54 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 04:22 VERSION 04:34:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:26 bin 04:34:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 cmd 04:34:54 -rw-r--r-- 1 jenkins jenkins 10 Jul 16 04:29 coverage.out 04:34:54 -rw-rw-r-- 1 jenkins jenkins 6963 Jul 16 04:26 go.mod 04:34:54 -rw-rw-r-- 1 jenkins jenkins 102147 Jul 16 04:26 go.sum 04:34:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 internal 04:34:54 -rw-rw-r-- 1 jenkins jenkins 209 Jul 16 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:55 + 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=23fe7f8145c8e877725d764251a9ace1cbcd2e57 --label arch=arm64 --label version=3.0.1-dev.25 . 04:34:55 Sending build context to Docker daemon 12.81MB 04:34:55 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:34:55 Step 2/26 : FROM ${BASE} AS builder 04:34:55 ---> 5e8e196dc7ba 04:34:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:34:55 ---> Running in f48fae8baa9a 04:34:56 Removing intermediate container f48fae8baa9a 04:34:56 ---> d97960d9985e 04:34:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:34:56 ---> Running in e9b107617245 04:34:56 Removing intermediate container e9b107617245 04:34:56 ---> dc1765811f9f 04:34:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:34:57 ---> Running in 020d13896598 04:34:57 Removing intermediate container 020d13896598 04:34:57 ---> ac1f8aa9055f 04:34:57 Step 6/26 : WORKDIR /device-uart 04:34:57 ---> Running in 0b1913c10f52 04:34:57 Removing intermediate container 0b1913c10f52 04:34:57 ---> 2d7f463ba08d 04:34:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:34:57 ---> Running in 10a3e7968670 04:34:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:35:01 OK: 271 MiB in 56 packages 04:35:01 Removing intermediate container 10a3e7968670 04:35:01 ---> d4716a8247a9 04:35:01 Step 8/26 : COPY go.mod vendor* ./ 04:35:02 ---> 6683d73345d0 04:35:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:02 ---> Running in 4ccf8c437083 04:35:05 Removing intermediate container 4ccf8c437083 04:35:05 ---> c13c83b5ca33 04:35:05 Step 10/26 : COPY . . 04:35:06 ---> e30d860529f0 04:35:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:06 ---> Running in 0894fd987b6f 04:35:06 Removing intermediate container 0894fd987b6f 04:35:06 ---> 8d8de00407ac 04:35:06 Step 12/26 : RUN ${MAKE} 04:35:06 ---> Running in 4a7e8f35e582 04:35:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-uart ./cmd 04:39:15 Removing intermediate container 4a7e8f35e582 04:39:15 ---> 7af0d9f93eaa 04:39:15 Step 13/26 : FROM alpine:3.18 04:39:15 3.18: Pulling from library/alpine 04:39:15 5c905c7ebe2f: Pulling fs layer 04:39:15 5c905c7ebe2f: Verifying Checksum 04:39:15 5c905c7ebe2f: Download complete 04:39:15 5c905c7ebe2f: Pull complete 04:39:15 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:39:15 Status: Downloaded newer image for alpine:3.18 04:39:15 ---> dec292d02e07 04:39:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:39:15 ---> Running in 2f7e9f446ee3 04:39:15 Removing intermediate container 2f7e9f446ee3 04:39:15 ---> 6b5c9e59f19e 04:39:15 Step 15/26 : RUN apk add --update --no-cache dumb-init 04:39:15 ---> Running in a57912d25940 04:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:17 (1/1) Installing dumb-init (1.2.5-r2) 04:39:17 Executing busybox-1.36.1-r7.trigger 04:39:17 OK: 8 MiB in 16 packages 04:39:18 Removing intermediate container a57912d25940 04:39:18 ---> 51b06d0cd0ce 04:39:18 Step 16/26 : RUN apk --no-cache upgrade 04:39:18 ---> Running in acbc055d4fa0 04:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:21 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:39:21 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:39:21 OK: 8 MiB in 16 packages 04:39:22 Removing intermediate container acbc055d4fa0 04:39:22 ---> 024f98ff2950 04:39:22 Step 17/26 : WORKDIR / 04:39:22 ---> Running in 339e5b6aea2c 04:39:22 Removing intermediate container 339e5b6aea2c 04:39:22 ---> e9772307494b 04:39:22 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 04:39:23 ---> 627ec9b2e244 04:39:23 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 04:39:23 ---> 3113288bd2d4 04:39:23 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 04:39:26 ---> 002b8d72081e 04:39:26 Step 21/26 : EXPOSE 59995 04:39:26 ---> Running in 530b7e4ac0ac 04:39:27 Removing intermediate container 530b7e4ac0ac 04:39:27 ---> 27992c89f372 04:39:27 Step 22/26 : ENTRYPOINT ["/device-uart"] 04:39:27 ---> Running in 3b21aa5136ac 04:39:27 Removing intermediate container 3b21aa5136ac 04:39:27 ---> 7fa1e06dd55f 04:39:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:39:27 ---> Running in c83841e442c0 04:39:27 Removing intermediate container c83841e442c0 04:39:27 ---> 63726d3884ab 04:39:27 Step 24/26 : LABEL arch=arm64 04:39:27 ---> Running in eb499a0bfff3 04:39:28 Removing intermediate container eb499a0bfff3 04:39:28 ---> 33faa749c241 04:39:28 Step 25/26 : LABEL git_sha=23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:39:28 ---> Running in 37af469b23ba 04:39:28 Removing intermediate container 37af469b23ba 04:39:28 ---> cee79cd9bc46 04:39:28 Step 26/26 : LABEL version=3.0.1-dev.25 04:39:28 ---> Running in 8df1a8e5abba 04:39:29 Removing intermediate container 8df1a8e5abba 04:39:29 ---> 9999221a4cd1 04:39:29 [Warning] One or more build-args [ARCH] were not consumed 04:39:29 Successfully built 9999221a4cd1 04:39:29 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:39:29 provisioning config files... 04:39:29 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/32@tmp/config9547445537706183505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:29 ---> ****-login.sh 04:39:29 nexus3.edgexfoundry.org:10001 04:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:30 Configure a credential helper to remove this warning. See 04:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:30 04:39:30 Login Succeeded 04:39:30 nexus3.edgexfoundry.org:10002 04:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:30 Configure a credential helper to remove this warning. See 04:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:30 04:39:30 Login Succeeded 04:39:30 nexus3.edgexfoundry.org:10003 04:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:30 Configure a credential helper to remove this warning. See 04:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:30 04:39:30 Login Succeeded 04:39:30 nexus3.edgexfoundry.org:10004 04:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:31 Configure a credential helper to remove this warning. See 04:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:31 04:39:31 Login Succeeded 04:39:31 ****.io 04:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:31 Configure a credential helper to remove this warning. See 04:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:31 04:39:31 Login Succeeded 04:39:31 ---> ****-login.sh ends [Pipeline] } 04:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:32 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 04:39:32 23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:39:32 latest 04:39:32 3.0.1-dev.25 04:39:32 23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:39:32 main 04:39:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:32 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:32 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:39:32 5bdfb4d15fc6: Preparing 04:39:32 fb1d2d99e624: Preparing 04:39:32 0898741c5cff: Preparing 04:39:32 d227133274c3: Preparing 04:39:32 b84fe1654417: Preparing 04:39:32 da707bb00cb8: Preparing 04:39:32 da707bb00cb8: Waiting 04:39:33 fb1d2d99e624: Pushed 04:39:33 0898741c5cff: Pushed 04:39:33 b84fe1654417: Pushed 04:39:33 da707bb00cb8: Layer already exists 04:39:34 d227133274c3: Pushed 04:39:42 5bdfb4d15fc6: Pushed 04:39:42 23fe7f8145c8e877725d764251a9ace1cbcd2e57: digest: sha256:79af4cc96a333bfdfb2e14244edfd472eee2bb17b8c3d515a00ed4a73408a3b0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:43 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:43 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 04:39:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:39:43 5bdfb4d15fc6: Preparing 04:39:43 fb1d2d99e624: Preparing 04:39:43 0898741c5cff: Preparing 04:39:43 d227133274c3: Preparing 04:39:43 b84fe1654417: Preparing 04:39:43 da707bb00cb8: Preparing 04:39:43 da707bb00cb8: Waiting 04:39:43 fb1d2d99e624: Layer already exists 04:39:43 b84fe1654417: Layer already exists 04:39:43 5bdfb4d15fc6: Layer already exists 04:39:43 d227133274c3: Layer already exists 04:39:43 0898741c5cff: Layer already exists 04:39:43 da707bb00cb8: Layer already exists 04:39:43 latest: digest: sha256:79af4cc96a333bfdfb2e14244edfd472eee2bb17b8c3d515a00ed4a73408a3b0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:44 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:44 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.25 04:39:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:39:44 5bdfb4d15fc6: Preparing 04:39:44 fb1d2d99e624: Preparing 04:39:44 0898741c5cff: Preparing 04:39:44 d227133274c3: Preparing 04:39:44 b84fe1654417: Preparing 04:39:44 da707bb00cb8: Preparing 04:39:44 da707bb00cb8: Waiting 04:39:44 b84fe1654417: Layer already exists 04:39:44 d227133274c3: Layer already exists 04:39:44 5bdfb4d15fc6: Layer already exists 04:39:44 fb1d2d99e624: Layer already exists 04:39:44 0898741c5cff: Layer already exists 04:39:44 da707bb00cb8: Layer already exists 04:39:44 3.0.1-dev.25: digest: sha256:79af4cc96a333bfdfb2e14244edfd472eee2bb17b8c3d515a00ed4a73408a3b0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:45 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:45 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:39:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:39:45 5bdfb4d15fc6: Preparing 04:39:45 fb1d2d99e624: Preparing 04:39:45 0898741c5cff: Preparing 04:39:45 d227133274c3: Preparing 04:39:45 b84fe1654417: Preparing 04:39:45 da707bb00cb8: Preparing 04:39:45 da707bb00cb8: Waiting 04:39:45 b84fe1654417: Layer already exists 04:39:45 5bdfb4d15fc6: Layer already exists 04:39:45 d227133274c3: Layer already exists 04:39:45 fb1d2d99e624: Layer already exists 04:39:45 0898741c5cff: Layer already exists 04:39:45 da707bb00cb8: Layer already exists 04:39:45 23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25: digest: sha256:79af4cc96a333bfdfb2e14244edfd472eee2bb17b8c3d515a00ed4a73408a3b0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:46 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:46 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 04:39:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 04:39:46 5bdfb4d15fc6: Preparing 04:39:46 fb1d2d99e624: Preparing 04:39:46 0898741c5cff: Preparing 04:39:46 d227133274c3: Preparing 04:39:46 b84fe1654417: Preparing 04:39:46 da707bb00cb8: Preparing 04:39:46 da707bb00cb8: Waiting 04:39:46 b84fe1654417: Layer already exists 04:39:46 5bdfb4d15fc6: Layer already exists 04:39:46 0898741c5cff: Layer already exists 04:39:46 fb1d2d99e624: Layer already exists 04:39:46 d227133274c3: Layer already exists 04:39:46 da707bb00cb8: Layer already exists 04:39:46 main: digest: sha256:79af4cc96a333bfdfb2e14244edfd472eee2bb17b8c3d515a00ed4a73408a3b0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:39:46 ===================================================== [Pipeline] echo 04:39:46 taggedImages: 04:39:46 - nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57 04:39:46 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 04:39:46 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.25 04:39:46 - nexus3.edgexfoundry.org:10004/device-uart-arm64:23fe7f8145c8e877725d764251a9ace1cbcd2e57-3.0.1-dev.25 04:39:46 - 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:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:39:47 04:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:39:47 arm64: Pulling from edgex-lftools-log-publisher 04:39:47 8998bd30e6a1: Pulling fs layer 04:39:47 04944245beec: Pulling fs layer 04:39:47 699f458cf7ca: Pulling fs layer 04:39:47 765212b225bb: Pulling fs layer 04:39:47 f23df028b6ca: Pulling fs layer 04:39:47 d65c8cfc05b1: Pulling fs layer 04:39:47 2437ff75d9bd: Pulling fs layer 04:39:47 d65c8cfc05b1: Waiting 04:39:47 2437ff75d9bd: Waiting 04:39:47 765212b225bb: Waiting 04:39:47 04944245beec: Verifying Checksum 04:39:47 04944245beec: Download complete 04:39:47 765212b225bb: Verifying Checksum 04:39:47 765212b225bb: Download complete 04:39:47 f23df028b6ca: Verifying Checksum 04:39:47 f23df028b6ca: Download complete 04:39:48 d65c8cfc05b1: Verifying Checksum 04:39:48 d65c8cfc05b1: Download complete 04:39:48 699f458cf7ca: Verifying Checksum 04:39:48 699f458cf7ca: Download complete 04:39:48 8998bd30e6a1: Verifying Checksum 04:39:48 8998bd30e6a1: Download complete 04:39:51 2437ff75d9bd: Verifying Checksum 04:39:51 2437ff75d9bd: Download complete 04:39:53 8998bd30e6a1: Pull complete 04:39:53 04944245beec: Pull complete 04:39:55 699f458cf7ca: Pull complete 04:39:55 765212b225bb: Pull complete 04:39:56 f23df028b6ca: Pull complete 04:39:56 d65c8cfc05b1: Pull complete 04:40:15 2437ff75d9bd: Pull complete 04:40:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:15 prd-ubuntu20.04-docker-arm64-4c-16g-5705 does not seem to be running inside a container 04:40:15 $ 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/32 -v /w/workspace/device-uart/32:/w/workspace/device-uart/32:rw,z -v /w/workspace/device-uart/32@tmp:/w/workspace/device-uart/32@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:40:18 $ docker top ff149effb71119a11592e628546132deb9d65c0b6fbbe676464182321310c3c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:19 ---> job-cost.sh 04:40:19 lf-activate-venv: SKIPPING 04:40:19 INFO: No Stack... 04:40:19 INFO: Retrieving Pricing Info for: v3-standard-4 04:40:20 INFO: Archiving Costs [Pipeline] sh 04:40:20 + + cut -d, -f6 04:40:20 cat /w/workspace/device-uart/32/archives/cost.csv [Pipeline] lock 04:40:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] 04:40:20 Resource [jenkins-edgexfoundry-device-uart-main-32-stack-cost] did not exist. Created. 04:40:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:21 /w/workspace/device-uart/32@tmp/durable-e3ba44a9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:40:22 + echo total: 0.10999999940395355 [Pipeline] stash 04:40:22 Warning: overwriting stash ‘stack-cost’ 04:40:22 Stashed 1 file(s) [Pipeline] } 04:40:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 04:40:22 $ docker stop --time=1 ff149effb71119a11592e628546132deb9d65c0b6fbbe676464182321310c3c9 04:40:23 $ docker rm -f --volumes ff149effb71119a11592e628546132deb9d65c0b6fbbe676464182321310c3c9 [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:40:24 provisioning config files... 04:40:24 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15955289059592511867tmp [Pipeline] { [Pipeline] sh 04:40:24 + set +x 04:40:24 + curl -s https://codecov.io/bash 04:40:24 + bash -s -- 04:40:24 04:40:24 _____ _ 04:40:24 / ____| | | 04:40:24 | | ___ __| | ___ ___ _____ __ 04:40:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:40:24 | |___| (_) | (_| | __/ (_| (_) \ V / 04:40:24 \_____\___/ \__,_|\___|\___\___/ \_/ 04:40:24 Bash-1.0.6 04:40:24 04:40:24 04:40:24 ==> git version 2.25.1 found 04:40:24 ==> 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:40:24 Release-Date: 2020-01-08 04:40:24 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:40:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:40:24 ==> Jenkins CI detected. 04:40:24 current dir:  /w/workspace/edgexfoundry_device-uart_main 04:40:24 project root: . 04:40:24 --> token set from env 04:40:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:40:24 ==> Running gcov in . (disable via -X gcov) 04:40:24 ==> Python coveragepy not found 04:40:24 ==> Searching for coverage reports in: 04:40:24 + . 04:40:24 -> Found 1 reports 04:40:24 ==> Detecting git/mercurial file structure 04:40:24 ==> Reading reports 04:40:24 + ./coverage.out bytes=10 04:40:24 ==> Appending adjustments 04:40:24 https://docs.codecov.io/docs/fixing-reports 04:40:24 + Found adjustments 04:40:24 ==> Gzipping contents 04:40:24 4.0K /tmp/codecov.2SXxQe.gz 04:40:24 ==> Uploading reports 04:40:24 url: https://codecov.io 04:40:24 query: branch=main&commit=23fe7f8145c8e877725d764251a9ace1cbcd2e57&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:24 -> Pinging Codecov 04:40:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=23fe7f8145c8e877725d764251a9ace1cbcd2e57&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:25 -> Uploading to 04:40:25 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/B9AA6E0BBD74AE3A32605C7A7C664919/23fe7f8145c8e877725d764251a9ace1cbcd2e57/96deff76-f099-4e01-b980-52c972c64a82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T044025Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a295e294d80f5ec55fc17be4744a1c9b605db0059155bc1230537fabc5a28aa5 04:40:25 % Total % Received % Xferd Average Speed Time Time Time Current 04:40:25 Dload Upload Total Spent Left Speed 04:40:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2633 --:--:-- --:--:-- --:--:-- 2633 04:40:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] } 04:40:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:40:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:40:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:40:25 04:40:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:40:26 latest: Pulling from edgex-devops/edgex-snyk-go 04:40:26 619be1103602: Already exists 04:40:26 f8ea3408117e: Pulling fs layer 04:40:26 91320369b822: Pulling fs layer 04:40:26 0406650e8295: Pulling fs layer 04:40:26 4f4fb700ef54: Pulling fs layer 04:40:26 96d80e3f36e1: Pulling fs layer 04:40:26 bcf3aedb951c: Pulling fs layer 04:40:26 4f4fb700ef54: Waiting 04:40:26 bcf3aedb951c: Waiting 04:40:26 0406650e8295: Verifying Checksum 04:40:26 0406650e8295: Download complete 04:40:26 f8ea3408117e: Verifying Checksum 04:40:26 f8ea3408117e: Download complete 04:40:26 4f4fb700ef54: Verifying Checksum 04:40:26 4f4fb700ef54: Download complete 04:40:26 f8ea3408117e: Pull complete 04:40:26 96d80e3f36e1: Verifying Checksum 04:40:26 96d80e3f36e1: Download complete 04:40:26 91320369b822: Verifying Checksum 04:40:26 91320369b822: Download complete 04:40:27 bcf3aedb951c: Verifying Checksum 04:40:27 bcf3aedb951c: Download complete 04:40:30 91320369b822: Pull complete 04:40:30 0406650e8295: Pull complete 04:40:30 4f4fb700ef54: Pull complete 04:40:30 96d80e3f36e1: Pull complete 04:40:34 bcf3aedb951c: Pull complete 04:40:34 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:40:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:34 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:40:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:40:38 $ docker top a5c0d24245048ce16b0ef4b100e66d1ed1fe219e2c421a8fd9f7309d6655f76a -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 04:40:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 04:40:39 + set -o pipefail 04:40:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 04:40:46 04:40:46 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 04:40:46 04:40:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/2670dd5b-d539-49e4-bf18-2dd4f1daeb82 04:40:46 04:40:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:40:46 [Pipeline] } 04:40:46 $ docker stop --time=1 a5c0d24245048ce16b0ef4b100e66d1ed1fe219e2c421a8fd9f7309d6655f76a 04:40:51 $ docker rm -f --volumes a5c0d24245048ce16b0ef4b100e66d1ed1fe219e2c421a8fd9f7309d6655f76a [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 04:40:52 + git log --format=format:%s -1 23fe7f8145c8e877725d764251a9ace1cbcd2e57 [Pipeline] sh 04:40:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:40:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:53 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:40:54 $ docker top 21662de8e0f7bc51c8f3e21fa31c090ea89f375650bc4f3a2c2f49fe5d81c7cf -eo pid,comm 04:40:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:40:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:40:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:54 [ssh-agent] Looking for ssh-agent implementation... 04:40:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:54 $ docker exec 21662de8e0f7bc51c8f3e21fa31c090ea89f375650bc4f3a2c2f49fe5d81c7cf ssh-agent 04:40:54 SSH_AUTH_SOCK=/tmp/ssh-tx4Of0Pvunsv/agent.33 04:40:54 SSH_AGENT_PID=39 04:40:54 Running ssh-add (command line suppressed) 04:40:54 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2772365820623069828.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2772365820623069828.key) 04:40:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:54 + git semver tag 04:40:55 2024-07-16 04:40:55,013 [run_tag] DEBUG tag force:False 04:40:55 2024-07-16 04:40:55,014 [check_head_tag] DEBUG check head tag 04:40:55 2024-07-16 04:40:55,014 [execute] INFO git cat-file --batch-check 04:40:55 2024-07-16 04:40:55,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 04:40:55 2024-07-16 04:40:55,018 [execute] INFO git cat-file --batch 04:40:55 2024-07-16 04:40:55,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 04:40:55 2024-07-16 04:40:55,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:40:55 2024-07-16 04:40:55,031 [execute] INFO git tag -a v3.0.1-dev.25 -m v3.0.1-dev.25 04:40:55 2024-07-16 04:40:55,031 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.25', '-m', 'v3.0.1-dev.25'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 04:40:55 2024-07-16 04:40:55,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:40:55 3.0.1-dev.25 [Pipeline] } 04:40:55 $ docker exec --env ******** --env ******** 21662de8e0f7bc51c8f3e21fa31c090ea89f375650bc4f3a2c2f49fe5d81c7cf ssh-agent -k 04:40:55 unset SSH_AUTH_SOCK; 04:40:55 unset SSH_AGENT_PID; 04:40:55 echo Agent pid 39 killed; 04:40:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:40:55 + git semver [Pipeline] } 04:40:55 $ docker stop --time=1 21662de8e0f7bc51c8f3e21fa31c090ea89f375650bc4f3a2c2f49fe5d81c7cf 04:40:57 $ docker rm -f --volumes 21662de8e0f7bc51c8f3e21fa31c090ea89f375650bc4f3a2c2f49fe5d81c7cf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:40:57 04:40:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:40:57 0.23.1-centos7: Pulling from edgex-lftools 04:40:57 ab5ef0e58194: Pulling fs layer 04:40:57 9712f1f96733: Pulling fs layer 04:40:57 63f879dbbcfc: Pulling fs layer 04:40:57 0d9ebad4ef96: Pulling fs layer 04:40:57 e9a5061849ea: Pulling fs layer 04:40:57 d747dcd14b5f: Pulling fs layer 04:40:57 2de7ff778b66: Pulling fs layer 04:40:57 e9a5061849ea: Waiting 04:40:57 d747dcd14b5f: Waiting 04:40:57 2de7ff778b66: Waiting 04:40:57 0d9ebad4ef96: Waiting 04:40:57 9712f1f96733: Download complete 04:40:58 63f879dbbcfc: Verifying Checksum 04:40:58 63f879dbbcfc: Download complete 04:40:58 e9a5061849ea: Verifying Checksum 04:40:58 e9a5061849ea: Download complete 04:40:58 d747dcd14b5f: Download complete 04:40:58 0d9ebad4ef96: Verifying Checksum 04:40:58 0d9ebad4ef96: Download complete 04:40:58 ab5ef0e58194: Verifying Checksum 04:40:58 ab5ef0e58194: Download complete 04:40:58 2de7ff778b66: Verifying Checksum 04:40:58 2de7ff778b66: Download complete 04:41:00 ab5ef0e58194: Pull complete 04:41:00 9712f1f96733: Pull complete 04:41:01 63f879dbbcfc: Pull complete 04:41:05 0d9ebad4ef96: Pull complete 04:41:05 e9a5061849ea: Pull complete 04:41:05 d747dcd14b5f: Pull complete 04:41:06 2de7ff778b66: Pull complete 04:41:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:06 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:41:14 $ docker top 841d54fe3c59f8984e0f791c661983b9ef816f6ba20b5d41af0fb4b18e06fd68 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:41:14 provisioning config files... 04:41:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17256057751634981130tmp 04:41:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1298249140197488868tmp 04:41:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11841356468535128374tmp [Pipeline] { [Pipeline] echo 04:41:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:41:14 ---> sigul-configuration.sh 04:41:14 gpg: directory `/root/.gnupg' created 04:41:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:41:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:41:14 gpg: keyring `/root/.gnupg/secring.gpg' created 04:41:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:41:14 gpg: CAST5 encrypted data 04:41:14 gpg: encrypted with 1 passphrase 04:41:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:41:15 + mkdir /home/jenkins 04:41:15 + mkdir /home/jenkins/sigul [Pipeline] sh 04:41:15 + 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 04:41:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:15 ---> sigul-install.sh 04:41:15 Sigul already installed; skipping installation. [Pipeline] sh 04:41:16 + git tag --list 04:41:16 v0.0.0 04:41:16 v0.0.1-dev.1 04:41:16 v0.0.1-dev.2 04:41:16 v0.0.1-dev.3 04:41:16 v0.0.1-dev.4 04:41:16 v3.0.0 04:41:16 v3.0.1-dev.1 04:41:16 v3.0.1-dev.10 04:41:16 v3.0.1-dev.11 04:41:16 v3.0.1-dev.12 04:41:16 v3.0.1-dev.13 04:41:16 v3.0.1-dev.14 04:41:16 v3.0.1-dev.15 04:41:16 v3.0.1-dev.16 04:41:16 v3.0.1-dev.17 04:41:16 v3.0.1-dev.18 04:41:16 v3.0.1-dev.19 04:41:16 v3.0.1-dev.2 04:41:16 v3.0.1-dev.20 04:41:16 v3.0.1-dev.21 04:41:16 v3.0.1-dev.22 04:41:16 v3.0.1-dev.23 04:41:16 v3.0.1-dev.24 04:41:16 v3.0.1-dev.25 04:41:16 v3.0.1-dev.3 04:41:16 v3.0.1-dev.4 04:41:16 v3.0.1-dev.5 04:41:16 v3.0.1-dev.6 04:41:16 v3.0.1-dev.7 04:41:16 v3.0.1-dev.8 04:41:16 v3.0.1-dev.9 04:41:16 v3.1 04:41:16 v3.1.0 04:41:16 v3.1.1 04:41:16 v3.1.1-dev.1 [Pipeline] sh 04:41:16 + lftools sign git-tag v3.0.1-dev.25 04:41:16 Signing Git tag with Sigul... 04:41:16 Signing v3.0.1-dev.25 [Pipeline] echo 04:41:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:41:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:41:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:41:17 $ docker stop --time=1 841d54fe3c59f8984e0f791c661983b9ef816f6ba20b5d41af0fb4b18e06fd68 04:41:19 $ docker rm -f --volumes 841d54fe3c59f8984e0f791c661983b9ef816f6ba20b5d41af0fb4b18e06fd68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:41:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:20 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:41:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:20 $ docker top bac0ef3b1ddf25c1cc0d2d8ff79373f3aa6f472f1dce1219adaa5349d6b189cd -eo pid,comm 04:41:20 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:41:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:20 [ssh-agent] Looking for ssh-agent implementation... 04:41:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:20 $ docker exec bac0ef3b1ddf25c1cc0d2d8ff79373f3aa6f472f1dce1219adaa5349d6b189cd ssh-agent 04:41:20 SSH_AUTH_SOCK=/tmp/ssh-iXOH3IWUPJGh/agent.33 04:41:20 SSH_AGENT_PID=39 04:41:20 Running ssh-add (command line suppressed) 04:41:20 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7329405519124178229.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7329405519124178229.key) 04:41:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:21 + git semver bump pre 04:41:21 2024-07-16 04:41:21,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:41:21 2024-07-16 04:41:21,317 [bump_version] DEBUG bumping version:3.0.1-dev.25 on axis:pre with prefix:dev 04:41:21 2024-07-16 04:41:21,317 [bump_version] DEBUG bumped version:3.0.1-dev.26 04:41:21 2024-07-16 04:41:21,317 [write_version] DEBUG write version:3.0.1-dev.26 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 04:41:21 2024-07-16 04:41:21,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:41:21 2024-07-16 04:41:21,318 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 04:41:21 2024-07-16 04:41:21,319 [execute] INFO git cat-file --batch-check 04:41:21 2024-07-16 04:41:21,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:21 2024-07-16 04:41:21,325 [execute] INFO git cat-file --batch 04:41:21 2024-07-16 04:41:21,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:21 2024-07-16 04:41:21,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:41:21 3.0.1-dev.26 [Pipeline] } 04:41:21 $ docker exec --env ******** --env ******** bac0ef3b1ddf25c1cc0d2d8ff79373f3aa6f472f1dce1219adaa5349d6b189cd ssh-agent -k 04:41:21 unset SSH_AUTH_SOCK; 04:41:21 unset SSH_AGENT_PID; 04:41:21 echo Agent pid 39 killed; 04:41:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:21 + git semver [Pipeline] } 04:41:22 $ docker stop --time=1 bac0ef3b1ddf25c1cc0d2d8ff79373f3aa6f472f1dce1219adaa5349d6b189cd 04:41:23 $ docker rm -f --volumes bac0ef3b1ddf25c1cc0d2d8ff79373f3aa6f472f1dce1219adaa5349d6b189cd [Pipeline] // withDockerContainer [Pipeline] sh 04:41:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:24 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:41:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:24 $ docker top 5c9495ae4f38d2bbfc8682eb15ce09b921813c549943739198f92e32909659c9 -eo pid,comm 04:41:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:41:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:24 [ssh-agent] Looking for ssh-agent implementation... 04:41:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:24 $ docker exec 5c9495ae4f38d2bbfc8682eb15ce09b921813c549943739198f92e32909659c9 ssh-agent 04:41:24 SSH_AUTH_SOCK=/tmp/ssh-UHjlMx9hH3vx/agent.33 04:41:24 SSH_AGENT_PID=39 04:41:24 Running ssh-add (command line suppressed) 04:41:24 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15162393045784706517.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15162393045784706517.key) 04:41:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:25 + git semver push 04:41:25 2024-07-16 04:41:25,461 [run_push] DEBUG push 04:41:25 2024-07-16 04:41:25,462 [execute] INFO git cat-file --batch-check 04:41:25 2024-07-16 04:41:25,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:25 2024-07-16 04:41:25,465 [execute] INFO git rev-list df84fa335a8eae69a42bd22d974a3231541a2259 -- 04:41:25 2024-07-16 04:41:25,466 [execute] DEBUG Popen(['git', 'rev-list', 'df84fa335a8eae69a42bd22d974a3231541a2259', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:25 2024-07-16 04:41:25,472 [execute] INFO git fetch -v origin 04:41:25 2024-07-16 04:41:25,472 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 04:41:26 2024-07-16 04:41:25,936 [run_push] DEBUG no remote changes detected 04:41:26 2024-07-16 04:41:25,936 [execute] INFO git push origin semver 04:41:26 2024-07-16 04:41:25,937 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:27 2024-07-16 04:41:26,711 [run_push] DEBUG push all version tags 04:41:27 2024-07-16 04:41:26,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:41:27 2024-07-16 04:41:26,712 [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) 04:41:27 2024-07-16 04:41:27,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 04:41:27 3.0.1-dev.26 [Pipeline] } 04:41:27 $ docker exec --env ******** --env ******** 5c9495ae4f38d2bbfc8682eb15ce09b921813c549943739198f92e32909659c9 ssh-agent -k 04:41:27 unset SSH_AUTH_SOCK; 04:41:27 unset SSH_AGENT_PID; 04:41:27 echo Agent pid 39 killed; 04:41:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:28 + git semver [Pipeline] } 04:41:28 $ docker stop --time=1 5c9495ae4f38d2bbfc8682eb15ce09b921813c549943739198f92e32909659c9 04:41:29 $ docker rm -f --volumes 5c9495ae4f38d2bbfc8682eb15ce09b921813c549943739198f92e32909659c9 [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 04:41:30 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 04:41:30 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 04:41:30 total 16 04:41:30 drwxr-xr-x 3 root root 4096 Jul 16 04:25 . 04:41:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 04:41 .. 04:41:30 drwxr-xr-x 2 root root 4096 Jul 16 04:25 cost 04:41:30 -rw-r--r-- 1 root root 82 Jul 16 04:25 cost.csv 04:41:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 04:41:30 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 04:41:30 total 16 04:41:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 04:25 . 04:41:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 04:41 .. 04:41:30 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 04:25 cost 04:41:30 -rw-r--r-- 1 jenkins jenkins 82 Jul 16 04:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:31 ---> package-listing.sh 04:41:31 ++ facter osfamily 04:41:31 ++ tr '[:upper:]' '[:lower:]' 04:41:31 + OS_FAMILY=debian 04:41:31 + workspace=/w/workspace/edgexfoundry_device-uart_main 04:41:31 + START_PACKAGES=/tmp/packages_start.txt 04:41:31 + END_PACKAGES=/tmp/packages_end.txt 04:41:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:31 + PACKAGES=/tmp/packages_start.txt 04:41:31 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 04:41:31 + PACKAGES=/tmp/packages_end.txt 04:41:31 + case "${OS_FAMILY}" in 04:41:31 + dpkg -l 04:41:31 + grep '^ii' 04:41:31 + '[' -f /tmp/packages_start.txt ']' 04:41:31 + '[' -f /tmp/packages_end.txt ']' 04:41:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:31 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 04:41:31 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 04:41:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 04:41:31 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 04:41:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:32 prd-ubuntu20.04-docker-8c-8g-5696 does not seem to be running inside a container 04:41:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:32 $ docker top 2a2fd8a8bece69d2bb20f32d1ca3f00053be74f5162c4d659dc3a56f4ab57212 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:33 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:33 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:33 + ls /var/log/sa-host 04:41:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:33 provisioning config files... 04:41:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6083322691769581852tmp [Pipeline] { [Pipeline] echo 04:41:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:34 ---> create-netrc.sh [Pipeline] } 04:41:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:34 ---> python-tools-install.sh [Pipeline] echo 04:41:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:34 ---> sudo-logs.sh 04:41:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:35 ---> job-cost.sh 04:41:35 lf-activate-venv: SKIPPING 04:41:35 DEBUG: total: 0.2199999988079071 04:41:35 INFO: Retrieving Stack Cost... 04:41:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:35 INFO: Archiving Costs [Pipeline] echo 04:41:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:36 ---> logs-deploy.sh 04:41:36 lf-activate-venv: SKIPPING 04:41:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/32 04:41:36 INFO: archiving workspace using pattern(s): 04:41:37 Archives upload complete. 04:41:37 INFO: archiving logs to Nexus