Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 912115ba39df5d7e09033252c264c743a8c85b42 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-ssh5797099641848827204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh214437457394266893.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh364143197853980343.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh17116179157932992333.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-ssh5176712911141871756.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-840 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 912115ba39df5d7e09033252c264c743a8c85b42 (main) Commit message: "feat: Upgrade to V3" > 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 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 > git rev-list --no-walk 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:49:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:49:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:49:56 ========================================================= 15:49:56 EdgeX Global Pipelines Version Info 15:49:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:49:56 ------------------- 15:49:56 stable info: 15:49:56 ------------------- 15:49:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:49:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:49:56 Message: update stable to v1.0.250 15:49:57 ------------------- 15:49:57 experimental info: 15:49:57 ------------------- 15:49:57 Commited By: **** collab-it+edgex@linuxfoundation.org 15:49:57 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:49:57 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 912115b [Pipeline] echo 15:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:58 provisioning config files... 15:49:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16381088197112164576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:58 ---> docker-login.sh 15:49:58 nexus3.edgexfoundry.org:10001 15:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:58 Configure a credential helper to remove this warning. See 15:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:58 15:49:58 Login Succeeded 15:49:58 nexus3.edgexfoundry.org:10002 15:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:58 Configure a credential helper to remove this warning. See 15:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:58 15:49:58 Login Succeeded 15:49:58 nexus3.edgexfoundry.org:10003 15:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:58 Configure a credential helper to remove this warning. See 15:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:58 15:49:58 Login Succeeded 15:49:58 nexus3.edgexfoundry.org:10004 15:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:59 Configure a credential helper to remove this warning. See 15:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:59 15:49:59 Login Succeeded 15:49:59 docker.io 15:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:59 Configure a credential helper to remove this warning. See 15:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:59 15:49:59 Login Succeeded 15:49:59 ---> docker-login.sh ends [Pipeline] } 15:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:49:59 + git rev-list -1 --merges 912115ba39df5d7e09033252c264c743a8c85b42~1..912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] echo 15:49:59 -----------> git rev-list -1 --merges 912115ba39df5d7e09033252c264c743a8c85b42~1..912115ba39df5d7e09033252c264c743a8c85b42 912115ba39df5d7e09033252c264c743a8c85b42 15:49:59 912115ba39df5d7e09033252c264c743a8c85b42 [false] [Pipeline] sh 15:50:00 + git log --format=format:%s -1 912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] echo 15:50:00 ========================================================= 15:50:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:50:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:00 + git log --format=format:%s -1 912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] echo 15:50:00 [semverPrep] GIT_COMMIT: 912115ba39df5d7e09033252c264c743a8c85b42, Commit Message: feat: Upgrade to V3 [Pipeline] echo 15:50:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:50:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:50:00 + grep -v github /etc/ssh/ssh_known_hosts 15:50:00 + [ -e /tmp/ssh_known_hosts ] 15:50:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:50:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:50:00 + sudo tee -a /etc/ssh/ssh_known_hosts 15:50:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:01 15:50:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:01 0.1.4: Pulling from edgex-devops/py-git-semver 15:50:01 b85a868b505f: Pulling fs layer 15:50:01 e2be974225ed: Pulling fs layer 15:50:01 339a4e72a1f5: Pulling fs layer 15:50:01 988bab9f4d93: Pulling fs layer 15:50:01 1469e6f7b9e6: Pulling fs layer 15:50:01 988bab9f4d93: Waiting 15:50:01 eaf3925da568: Pulling fs layer 15:50:01 bab4dde63d76: Pulling fs layer 15:50:01 eaf3925da568: Waiting 15:50:01 bab4dde63d76: Waiting 15:50:01 bde34c3a00c8: Pulling fs layer 15:50:01 1469e6f7b9e6: Waiting 15:50:01 b352a97aabf1: Pulling fs layer 15:50:01 bde34c3a00c8: Waiting 15:50:01 b352a97aabf1: Waiting 15:50:01 4872d77fe225: Pulling fs layer 15:50:01 5851b861e8e6: Pulling fs layer 15:50:01 4872d77fe225: Waiting 15:50:01 e2be974225ed: Verifying Checksum 15:50:01 e2be974225ed: Download complete 15:50:01 988bab9f4d93: Download complete 15:50:01 1469e6f7b9e6: Verifying Checksum 15:50:01 1469e6f7b9e6: Download complete 15:50:01 339a4e72a1f5: Verifying Checksum 15:50:01 339a4e72a1f5: Download complete 15:50:01 eaf3925da568: Verifying Checksum 15:50:01 eaf3925da568: Download complete 15:50:01 bde34c3a00c8: Verifying Checksum 15:50:01 bde34c3a00c8: Download complete 15:50:01 b352a97aabf1: Download complete 15:50:01 4872d77fe225: Download complete 15:50:01 5851b861e8e6: Verifying Checksum 15:50:01 5851b861e8e6: Download complete 15:50:01 b85a868b505f: Download complete 15:50:02 bab4dde63d76: Verifying Checksum 15:50:02 bab4dde63d76: Download complete 15:50:03 b85a868b505f: Pull complete 15:50:03 e2be974225ed: Pull complete 15:50:03 339a4e72a1f5: Pull complete 15:50:03 988bab9f4d93: Pull complete 15:50:04 1469e6f7b9e6: Pull complete 15:50:04 eaf3925da568: Pull complete 15:50:06 bab4dde63d76: Pull complete 15:50:06 bde34c3a00c8: Pull complete 15:50:06 b352a97aabf1: Pull complete 15:50:06 4872d77fe225: Pull complete 15:50:06 5851b861e8e6: Pull complete 15:50:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:06 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 15:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:50:09 $ docker top 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e -eo pid,comm 15:50:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:50:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:50:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:09 [ssh-agent] Looking for ssh-agent implementation... 15:50:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:09 $ docker exec 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e ssh-agent 15:50:09 SSH_AUTH_SOCK=/tmp/ssh-6hZhEazWsdxf/agent.32 15:50:09 SSH_AGENT_PID=38 15:50:09 Running ssh-add (command line suppressed) 15:50:09 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9036836347175684497.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9036836347175684497.key) 15:50:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:09 + git tag --points-at HEAD [Pipeline] } 15:50:09 $ docker exec --env ******** --env ******** 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e ssh-agent -k 15:50:09 unset SSH_AUTH_SOCK; 15:50:09 unset SSH_AGENT_PID; 15:50:09 echo Agent pid 38 killed; 15:50:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:50:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:10 [ssh-agent] Looking for ssh-agent implementation... 15:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:10 $ docker exec 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e ssh-agent 15:50:10 SSH_AUTH_SOCK=/tmp/ssh-LKMnRIm613yY/agent.70 15:50:10 SSH_AGENT_PID=76 15:50:10 Running ssh-add (command line suppressed) 15:50:10 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17472290227498782802.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17472290227498782802.key) 15:50:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:10 + git semver init 15:50:10 2023-07-11 15:50:10,885 [run_init] DEBUG init version:0.0.0 force:False 15:50:10 2023-07-11 15:50:10,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 15:50:10 2023-07-11 15:50:10,886 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 15:50:10 2023-07-11 15:50:10,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 15:50:11 2023-07-11 15:50:11,768 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 15:50:11 2023-07-11 15:50:11,768 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 15:50:11 2023-07-11 15:50:11,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:50:11 2023-07-11 15:50:11,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 15:50:11 0.0.1-dev.1 [Pipeline] } 15:50:11 $ docker exec --env ******** --env ******** 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e ssh-agent -k 15:50:12 unset SSH_AUTH_SOCK; 15:50:12 unset SSH_AGENT_PID; 15:50:12 echo Agent pid 76 killed; 15:50:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:50:12 + git semver [Pipeline] } 15:50:12 $ docker stop --time=1 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e 15:50:13 $ docker rm -f --volumes 92cfe855619dc0e5fbc993a9564518cce4b71e66a2dcb27fbd20e9b92100c44e [Pipeline] // withDockerContainer [Pipeline] sh 15:50:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:50:14 Stashed 1 file(s) [Pipeline] echo 15:50:14 [edgeXSemver]: initialized semver on version 0.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:14 provisioning config files... 15:50:14 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11280518683123793603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:14 ---> docker-login.sh 15:50:14 nexus3.edgexfoundry.org:10001 15:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:14 Configure a credential helper to remove this warning. See 15:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:14 15:50:14 Login Succeeded 15:50:14 nexus3.edgexfoundry.org:10002 15:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:14 Configure a credential helper to remove this warning. See 15:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:14 15:50:14 Login Succeeded 15:50:14 nexus3.edgexfoundry.org:10003 15:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:15 Configure a credential helper to remove this warning. See 15:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:15 15:50:15 Login Succeeded 15:50:15 nexus3.edgexfoundry.org:10004 15:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:15 Configure a credential helper to remove this warning. See 15:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:15 15:50:15 Login Succeeded 15:50:15 docker.io 15:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:15 Configure a credential helper to remove this warning. See 15:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:15 15:50:15 Login Succeeded 15:50:15 ---> docker-login.sh ends [Pipeline] } 15:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:15 ========================================================= 15:50:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:50:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:50:15 Sending build context to Docker daemon 11.04MB 15:50:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:50:15 Step 2/12 : FROM ${BASE} AS builder 15:50:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:50:15 f56be85fc22e: Pulling fs layer 15:50:15 85791d961cd3: Pulling fs layer 15:50:15 d694b5ae8c79: Pulling fs layer 15:50:15 9f32a84ed3da: Pulling fs layer 15:50:15 4d19c01a9841: Pulling fs layer 15:50:15 9325e15d5711: Pulling fs layer 15:50:15 556b6ee489ea: Pulling fs layer 15:50:15 c5a4b2cf53e6: Pulling fs layer 15:50:15 4d19c01a9841: Waiting 15:50:15 9325e15d5711: Waiting 15:50:15 556b6ee489ea: Waiting 15:50:15 c5a4b2cf53e6: Waiting 15:50:15 9f32a84ed3da: Waiting 15:50:15 85791d961cd3: Verifying Checksum 15:50:15 85791d961cd3: Download complete 15:50:16 9f32a84ed3da: Verifying Checksum 15:50:16 9f32a84ed3da: Download complete 15:50:16 4d19c01a9841: Download complete 15:50:16 f56be85fc22e: Download complete 15:50:16 9325e15d5711: Verifying Checksum 15:50:16 9325e15d5711: Download complete 15:50:16 f56be85fc22e: Pull complete 15:50:16 85791d961cd3: Pull complete 15:50:16 c5a4b2cf53e6: Verifying Checksum 15:50:16 c5a4b2cf53e6: Download complete 15:50:16 d694b5ae8c79: Verifying Checksum 15:50:16 d694b5ae8c79: Download complete 15:50:16 556b6ee489ea: Verifying Checksum 15:50:16 556b6ee489ea: Download complete 15:50:20 d694b5ae8c79: Pull complete 15:50:20 9f32a84ed3da: Pull complete 15:50:20 4d19c01a9841: Pull complete 15:50:20 9325e15d5711: Pull complete 15:50:22 556b6ee489ea: Pull complete 15:50:23 c5a4b2cf53e6: Pull complete 15:50:23 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:50:23 ---> c4be618373d6 15:50:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:50:27 ---> Running in 0cc1150ff2f7 15:50:27 Removing intermediate container 0cc1150ff2f7 15:50:27 ---> 6f050a9df966 15:50:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:50:27 ---> Running in 8363e554920c 15:50:27 Removing intermediate container 8363e554920c 15:50:27 ---> 9155d2f768a7 15:50:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:50:27 ---> Running in 89f0cfdb754f 15:50:27 Removing intermediate container 89f0cfdb754f 15:50:27 ---> 94fc5b5792ad 15:50:27 Step 6/12 : WORKDIR /device-uart 15:50:27 ---> Running in 0fbe10077d5c 15:50:27 Removing intermediate container 0fbe10077d5c 15:50:27 ---> 038be1bd4c16 15:50:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:27 ---> Running in 1900ef6de4c6 15:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:28 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:50:28 (2/4) Installing libedit (20221030.3.1-r0) 15:50:28 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:50:28 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:50:28 Executing busybox-1.35.0-r29.trigger 15:50:28 OK: 269 MiB in 57 packages 15:50:28 Removing intermediate container 1900ef6de4c6 15:50:28 ---> c44eb9565594 15:50:28 Step 8/12 : COPY go.mod vendor* ./ 15:50:28 ---> b904e16e2be2 15:50:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:28 ---> Running in 465bbcedb5d6 15:50:29 Still waiting to schedule task 15:50:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:51:07 Removing intermediate container 465bbcedb5d6 15:51:07 ---> 5bcb0313d09e 15:51:07 Step 10/12 : COPY . . 15:51:07 ---> 7a547063c347 15:51:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:51:07 ---> Running in 5e9583a3b209 15:51:07 Removing intermediate container 5e9583a3b209 15:51:07 ---> e7eb938c441e 15:51:07 Step 12/12 : RUN ${MAKE} 15:51:07 ---> Running in 10bfd47074e2 15:51:07 noop 15:51:07 Removing intermediate container 10bfd47074e2 15:51:07 ---> a167994ac4d5 15:51:07 Successfully built a167994ac4d5 15:51:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:08 + docker inspect -f . ci-base-image-x86_64 15:51:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:08 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 15:51:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:51:08 $ docker top 8d3f893cabcfd6ef89282775f1540888af798f05157e32687ea2ca528584302d -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:08 + go version 15:51:08 go version go1.20.2 linux/amd64 [Pipeline] } 15:51:08 $ docker stop --time=1 8d3f893cabcfd6ef89282775f1540888af798f05157e32687ea2ca528584302d 15:51:10 $ docker rm -f --volumes 8d3f893cabcfd6ef89282775f1540888af798f05157e32687ea2ca528584302d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:10 + docker inspect -f . ci-base-image-x86_64 15:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:10 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 15:51:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:51:10 $ docker top eec64e906c89abf0e29cd50c02342b0bda02f3003704223356a1a224df5634e6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 15:51:11 + make test 15:51:11 go test ./... -coverprofile=coverage.out 15:51:15 ? github.com/edgexfoundry/device-uart [no test files] 15:51:25 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:51:25 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:51:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:51:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:34 ./bin/test-attribution-txt.sh 15:51:34 An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 15:51:34 An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add 15:51:34 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:51:34 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:35 $ docker stop --time=1 eec64e906c89abf0e29cd50c02342b0bda02f3003704223356a1a224df5634e6 15:51:37 $ docker rm -f --volumes eec64e906c89abf0e29cd50c02342b0bda02f3003704223356a1a224df5634e6 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:51:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:39 + ls -al . 15:51:39 total 144 15:51:39 drwxrwxr-x 7 jenkins jenkins 4096 Jul 11 15:51 . 15:51:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 15:49 .. 15:51:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 15:49 .dockerignore 15:51:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 15:50 .git 15:51:39 -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 15:49 .gitignore 15:51:39 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 15:49 .golangci.yml 15:51:39 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 15:50 .semver 15:51:39 -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 15:49 Attribution.txt 15:51:39 -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 15:49 Dockerfile 15:51:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 15:49 GOVERNANCE.md 15:51:39 -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 15:49 Jenkinsfile 15:51:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 15:49 LICENSE 15:51:39 -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 15:49 Makefile 15:51:39 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 15:49 OWNERS.md 15:51:39 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 15:49 README.md 15:51:39 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 15:50 VERSION 15:51:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 15:49 bin 15:51:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 15:49 cmd 15:51:39 -rw-r--r-- 1 jenkins jenkins 10 Jul 11 15:51 coverage.out 15:51:39 -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 15:49 go.mod 15:51:39 -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 15:49 go.sum 15:51:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 15:49 internal 15:51:39 -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:39 + 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=912115ba39df5d7e09033252c264c743a8c85b42 --label arch=amd64 --label version=0.0.1-dev.1 . 15:51:39 Sending build context to Docker daemon 11.05MB 15:51:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:51:39 Step 2/25 : FROM ${BASE} AS builder 15:51:39 ---> a167994ac4d5 15:51:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:51:40 ---> Running in 57d69f0e3575 15:51:40 Removing intermediate container 57d69f0e3575 15:51:40 ---> 3aca20323451 15:51:40 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:51:40 ---> Running in 1e0a0805ffab 15:51:40 Removing intermediate container 1e0a0805ffab 15:51:40 ---> 58e8d49842e4 15:51:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:51:40 ---> Running in 75168af0ddcc 15:51:40 Removing intermediate container 75168af0ddcc 15:51:40 ---> af572779da16 15:51:40 Step 6/25 : WORKDIR /device-uart 15:51:40 ---> Running in c986d34575fa 15:51:40 Removing intermediate container c986d34575fa 15:51:40 ---> 57872c093aab 15:51:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:40 ---> Running in aa0a7bb3c19f 15:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:51:41 OK: 269 MiB in 57 packages 15:51:41 Removing intermediate container aa0a7bb3c19f 15:51:41 ---> 1c971c849393 15:51:41 Step 8/25 : COPY go.mod vendor* ./ 15:51:41 ---> 99ab2b816ed2 15:51:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:41 ---> Running in 17a05ef03171 15:51:42 Removing intermediate container 17a05ef03171 15:51:42 ---> eec0811ea819 15:51:42 Step 10/25 : COPY . . 15:51:42 ---> d1c748a9d88d 15:51:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:51:42 ---> Running in 7129b68dc947 15:51:42 Removing intermediate container 7129b68dc947 15:51:42 ---> 732e523cb8dd 15:51:42 Step 12/25 : RUN ${MAKE} 15:51:42 ---> Running in 5756baf0991c 15:51:43 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.1" -o cmd/device-uart ./cmd 15:52:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-841 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 15:52:08 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 15:52:08 The recommended git tool is: git 15:52:09 Removing intermediate container 5756baf0991c 15:52:09 ---> 9b3f9c598125 15:52:09 Step 13/25 : FROM alpine:3.17 15:52:09 3.17: Pulling from library/alpine 15:52:09 4db1b89c0bd1: Pulling fs layer 15:52:09 4db1b89c0bd1: Download complete 15:52:09 4db1b89c0bd1: Pull complete 15:52:09 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:52:09 Status: Downloaded newer image for alpine:3.17 15:52:09 ---> 1f73a9d63274 15:52:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:52:09 ---> Running in 231e9e19359b 15:52:09 Removing intermediate container 231e9e19359b 15:52:09 ---> 7457bfb4596f 15:52:09 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 15:52:09 ---> Running in 48a347a774d8 15:52:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:52:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:52:09 (1/6) Installing dumb-init (1.2.5-r2) 15:52:09 (2/6) Installing libgcc (12.2.1_git20220924-r4) 15:52:09 (3/6) Installing libsodium (1.0.18-r2) 15:52:09 (4/6) Installing libstdc++ (12.2.1_git20220924-r4) 15:52:09 (5/6) Installing libzmq (4.3.4-r1) 15:52:09 (6/6) Installing zeromq (4.3.4-r1) 15:52:09 Executing busybox-1.35.0-r29.trigger 15:52:09 OK: 10 MiB in 21 packages 15:52:09 Removing intermediate container 48a347a774d8 15:52:09 ---> 89f51652bf53 15:52:09 Step 16/25 : WORKDIR / 15:52:09 ---> Running in d949ba39764e 15:52:09 Removing intermediate container d949ba39764e 15:52:09 ---> c64f3d188520 15:52:09 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 15:52:10 ---> a0d57c6d92c1 15:52:10 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 15:52:10 ---> 94a39bcf9d1e 15:52:10 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 15:52:11 ---> 71c572d9fdaa 15:52:11 Step 20/25 : EXPOSE 59995 15:52:11 ---> Running in 4e5137df3faf 15:52:11 Removing intermediate container 4e5137df3faf 15:52:11 ---> 7dd1ae494d6f 15:52:11 Step 21/25 : ENTRYPOINT ["/device-uart"] 15:52:12 ---> Running in eb3c591cf46e 15:52:12 Removing intermediate container eb3c591cf46e 15:52:12 ---> 82546943dc96 15:52:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:52:12 ---> Running in 9aed58581e4b 15:52:13 Removing intermediate container 9aed58581e4b 15:52:13 ---> fcc4c41e7078 15:52:13 Step 23/25 : LABEL arch=amd64 15:52:13 ---> Running in 71f5eff4b232 15:52:13 using credential edgex-jenkins-ssh 15:52:13 Cloning the remote Git repository 15:52:13 Removing intermediate container 71f5eff4b232 15:52:13 ---> 88160716cb41 15:52:13 Step 24/25 : LABEL git_sha=912115ba39df5d7e09033252c264c743a8c85b42 15:52:13 ---> Running in 7fa0625aba15 15:52:14 Removing intermediate container 7fa0625aba15 15:52:14 ---> 291d4eaadcb9 15:52:14 Step 25/25 : LABEL version=0.0.1-dev.1 15:52:14 ---> Running in 7df90f7a0e7b 15:52:14 Removing intermediate container 7df90f7a0e7b 15:52:14 ---> a199211bb62d 15:52:14 [Warning] One or more build-args [ARCH] were not consumed 15:52:14 Successfully built a199211bb62d 15:52:14 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:14 provisioning config files... 15:52:14 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config4294823666224797892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:13 Cloning repository git@github.com:edgexfoundry/device-uart.git 15:52:13 > git init /w/workspace/device-uart/2 # timeout=10 15:52:13 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:52:13 > git --version # timeout=10 15:52:13 > git --version # 'git version 2.25.1' 15:52:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:14 ---> docker-login.sh 15:52:14 nexus3.edgexfoundry.org:10001 15:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:14 Configure a credential helper to remove this warning. See 15:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:14 15:52:14 Login Succeeded 15:52:14 nexus3.edgexfoundry.org:10002 15:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:14 Configure a credential helper to remove this warning. See 15:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:14 15:52:14 Login Succeeded 15:52:14 nexus3.edgexfoundry.org:10003 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 nexus3.edgexfoundry.org:10004 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 docker.io 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 ---> docker-login.sh ends [Pipeline] } 15:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:15 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 15:52:15 912115ba39df5d7e09033252c264c743a8c85b42 15:52:15 latest 15:52:15 0.0.1-dev.1 15:52:15 912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:52:15 main 15:52:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:15 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:15 Avoid second fetch 15:52:15 Checking out Revision 912115ba39df5d7e09033252c264c743a8c85b42 (main) 15:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:52:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:16 > git config core.sparsecheckout # timeout=10 15:52:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42 15:52:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:52:16 f8a9621323d1: Preparing 15:52:16 6a07d1e5ce5e: Preparing 15:52:16 7f6854dc7dc1: Preparing 15:52:16 fc1328158af6: Preparing 15:52:16 3dab9f8bf2d2: Preparing 15:52:16 3dab9f8bf2d2: Layer already exists 15:52:16 6a07d1e5ce5e: Pushed 15:52:16 7f6854dc7dc1: Pushed 15:52:16 fc1328158af6: Pushed 15:52:16 Commit message: "feat: Upgrade to V3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:16 > git checkout -f 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 15:52:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:17 Dload Upload Total Spent Left Speed 15:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 15:52:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:52:18 + sudo tee /etc/docker/daemon.new 15:52:18 { 15:52:18 "registry-mirrors": [ 15:52:18 "https://nexus3.edgexfoundry.org:10001" 15:52:18 ], 15:52:18 "bip": "10.250.0.254/24", 15:52:18 "hosts": [ 15:52:18 "tcp://0.0.0.0:5555", 15:52:18 "unix:///var/run/docker.sock" 15:52:18 ], 15:52:18 "mtu": 1458, 15:52:18 "selinux-enabled": true, 15:52:18 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:18 } [Pipeline] sh 15:52:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:18 f8a9621323d1: Pushed 15:52:18 912115ba39df5d7e09033252c264c743a8c85b42: digest: sha256:63f0f4ab2aab97c13f2b2ff773b4b471029a950e364d3a39fcf5d8166bfbcf27 size: 1367 [Pipeline] } 15:52:18 + sudo service docker restart [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:19 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:19 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 15:52:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:52:19 f8a9621323d1: Preparing 15:52:19 6a07d1e5ce5e: Preparing 15:52:19 7f6854dc7dc1: Preparing 15:52:19 fc1328158af6: Preparing 15:52:19 3dab9f8bf2d2: Preparing 15:52:19 3dab9f8bf2d2: Layer already exists 15:52:19 7f6854dc7dc1: Layer already exists 15:52:19 f8a9621323d1: Layer already exists 15:52:19 6a07d1e5ce5e: Layer already exists 15:52:19 fc1328158af6: Layer already exists 15:52:19 latest: digest: sha256:63f0f4ab2aab97c13f2b2ff773b4b471029a950e364d3a39fcf5d8166bfbcf27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:19 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:20 + docker push nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.1 15:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:52:20 f8a9621323d1: Preparing 15:52:20 6a07d1e5ce5e: Preparing 15:52:20 7f6854dc7dc1: Preparing 15:52:20 fc1328158af6: Preparing 15:52:20 3dab9f8bf2d2: Preparing 15:52:20 7f6854dc7dc1: Layer already exists 15:52:20 3dab9f8bf2d2: Layer already exists 15:52:20 fc1328158af6: Layer already exists 15:52:20 6a07d1e5ce5e: Layer already exists 15:52:20 f8a9621323d1: Layer already exists 15:52:20 0.0.1-dev.1: digest: sha256:63f0f4ab2aab97c13f2b2ff773b4b471029a950e364d3a39fcf5d8166bfbcf27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:20 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:20 + docker push nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:52:20 f8a9621323d1: Preparing 15:52:20 6a07d1e5ce5e: Preparing 15:52:20 7f6854dc7dc1: Preparing 15:52:20 fc1328158af6: Preparing 15:52:20 3dab9f8bf2d2: Preparing 15:52:20 3dab9f8bf2d2: Layer already exists 15:52:20 f8a9621323d1: Layer already exists 15:52:20 fc1328158af6: Layer already exists 15:52:20 6a07d1e5ce5e: Layer already exists 15:52:20 7f6854dc7dc1: Layer already exists 15:52:20 912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1: digest: sha256:63f0f4ab2aab97c13f2b2ff773b4b471029a950e364d3a39fcf5d8166bfbcf27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:21 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:21 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 15:52:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 15:52:21 f8a9621323d1: Preparing 15:52:21 6a07d1e5ce5e: Preparing 15:52:21 7f6854dc7dc1: Preparing 15:52:21 fc1328158af6: Preparing 15:52:21 3dab9f8bf2d2: Preparing 15:52:21 fc1328158af6: Layer already exists 15:52:21 7f6854dc7dc1: Layer already exists 15:52:21 f8a9621323d1: Layer already exists 15:52:21 3dab9f8bf2d2: Layer already exists 15:52:21 6a07d1e5ce5e: Layer already exists 15:52:21 main: digest: sha256:63f0f4ab2aab97c13f2b2ff773b4b471029a950e364d3a39fcf5d8166bfbcf27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:21 ===================================================== [Pipeline] echo 15:52:21 taggedImages: 15:52:21 - nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42 15:52:21 - nexus3.edgexfoundry.org:10004/device-uart:latest 15:52:21 - nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.1 15:52:21 - nexus3.edgexfoundry.org:10004/device-uart:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:52:21 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:21 15:52:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:22 latest: Pulling from edgex-lftools-log-publisher 15:52:22 5eb5b503b376: Pulling fs layer 15:52:22 5c69ac0246d0: Pulling fs layer 15:52:22 ec43610c2a17: Pulling fs layer 15:52:22 3a2ae6a8a46f: Pulling fs layer 15:52:22 33b1e0a273af: Pulling fs layer 15:52:22 5d3b04190fa2: Pulling fs layer 15:52:22 2f39f015ded8: Pulling fs layer 15:52:22 2f39f015ded8: Waiting 15:52:22 33b1e0a273af: Waiting 15:52:22 5d3b04190fa2: Waiting 15:52:22 3a2ae6a8a46f: Waiting 15:52:22 5c69ac0246d0: Verifying Checksum 15:52:22 5c69ac0246d0: Download complete 15:52:22 3a2ae6a8a46f: Download complete 15:52:22 33b1e0a273af: Verifying Checksum 15:52:22 33b1e0a273af: Download complete 15:52:22 5d3b04190fa2: Download complete 15:52:22 ec43610c2a17: Verifying Checksum 15:52:22 ec43610c2a17: Download complete 15:52:22 5eb5b503b376: Verifying Checksum 15:52:22 5eb5b503b376: Download complete 15:52:22 2f39f015ded8: Download complete 15:52:23 5eb5b503b376: Pull complete 15:52:23 5c69ac0246d0: Pull complete 15:52:24 ec43610c2a17: Pull complete 15:52:24 3a2ae6a8a46f: Pull complete 15:52:24 33b1e0a273af: Pull complete 15:52:24 5d3b04190fa2: Pull complete 15:52:28 2f39f015ded8: Pull complete 15:52:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:28 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 15:52:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:32 $ docker top 4caa81aae3795e2c8577dd9777f2b593cbe3defdc27009cb7d1f67902ecbf100 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:32 ---> job-cost.sh 15:52:32 lf-activate-venv: SKIPPING 15:52:32 INFO: No Stack... 15:52:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:33 INFO: Archiving Costs [Pipeline] sh 15:52:33 + + cut -d, -f6 15:52:33 cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [Pipeline] lock 15:52:33 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-2-stack-cost] 15:52:33 Resource [jenkins-edgexfoundry-device-uart-main-2-stack-cost] did not exist. Created. 15:52:33 Lock acquired on [jenkins-edgexfoundry-device-uart-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:34 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:34 Stashed 1 file(s) [Pipeline] } 15:52:34 Lock released on resource [jenkins-edgexfoundry-device-uart-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:34 $ docker stop --time=1 4caa81aae3795e2c8577dd9777f2b593cbe3defdc27009cb7d1f67902ecbf100 15:52:35 $ docker rm -f --volumes 4caa81aae3795e2c8577dd9777f2b593cbe3defdc27009cb7d1f67902ecbf100 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:37 provisioning config files... 15:52:37 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config15586390569775274198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:37 ---> docker-login.sh 15:52:37 nexus3.edgexfoundry.org:10001 15:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:38 Configure a credential helper to remove this warning. See 15:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:38 15:52:38 Login Succeeded 15:52:38 nexus3.edgexfoundry.org:10002 15:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:38 Configure a credential helper to remove this warning. See 15:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:38 15:52:38 Login Succeeded 15:52:38 nexus3.edgexfoundry.org:10003 15:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:38 Configure a credential helper to remove this warning. See 15:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:38 15:52:38 Login Succeeded 15:52:38 nexus3.edgexfoundry.org:10004 15:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:39 Configure a credential helper to remove this warning. See 15:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:39 15:52:39 Login Succeeded 15:52:39 docker.io 15:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:39 Configure a credential helper to remove this warning. See 15:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:39 15:52:39 Login Succeeded 15:52:39 ---> docker-login.sh ends [Pipeline] } 15:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:39 ========================================================= 15:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:52:40 Sending build context to Docker daemon 5.554MB 15:52:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:52:40 Step 2/12 : FROM ${BASE} AS builder 15:52:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:40 c41833b44d91: Pulling fs layer 15:52:40 ed15518f5707: Pulling fs layer 15:52:40 feae8fd75edb: Pulling fs layer 15:52:40 242c74f7c9fa: Pulling fs layer 15:52:40 3cdef696dda3: Pulling fs layer 15:52:40 2ced38df9373: Pulling fs layer 15:52:40 58f1dce35555: Pulling fs layer 15:52:40 242c74f7c9fa: Waiting 15:52:40 3cdef696dda3: Waiting 15:52:40 2ced38df9373: Waiting 15:52:40 58f1dce35555: Waiting 15:52:40 ed15518f5707: Verifying Checksum 15:52:40 ed15518f5707: Download complete 15:52:40 242c74f7c9fa: Verifying Checksum 15:52:40 242c74f7c9fa: Download complete 15:52:40 3cdef696dda3: Download complete 15:52:40 c41833b44d91: Verifying Checksum 15:52:40 c41833b44d91: Download complete 15:52:41 c41833b44d91: Pull complete 15:52:42 58f1dce35555: Verifying Checksum 15:52:42 58f1dce35555: Download complete 15:52:42 ed15518f5707: Pull complete 15:52:43 feae8fd75edb: Verifying Checksum 15:52:43 feae8fd75edb: Download complete 15:52:43 2ced38df9373: Download complete 15:52:55 feae8fd75edb: Pull complete 15:52:55 242c74f7c9fa: Pull complete 15:52:55 3cdef696dda3: Pull complete 15:53:02 2ced38df9373: Pull complete 15:53:04 58f1dce35555: Pull complete 15:53:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:53:04 ---> fadd8f120f05 15:53:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:53:06 ---> Running in 490ad2e374d1 15:53:06 Removing intermediate container 490ad2e374d1 15:53:06 ---> 305e11966c17 15:53:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:53:06 ---> Running in 6f955fa62974 15:53:06 Removing intermediate container 6f955fa62974 15:53:06 ---> edb5994c5190 15:53:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:53:06 ---> Running in fb94b6995eb5 15:53:06 Removing intermediate container fb94b6995eb5 15:53:06 ---> 00c556349591 15:53:06 Step 6/12 : WORKDIR /device-uart 15:53:07 ---> Running in 1bce0a947fc7 15:53:07 Removing intermediate container 1bce0a947fc7 15:53:07 ---> c063f7bea835 15:53:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:07 ---> Running in 29a597e69796 15:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:53:09 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:53:09 (2/4) Installing libedit (20221030.3.1-r0) 15:53:09 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:53:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:53:10 Executing busybox-1.35.0-r29.trigger 15:53:10 OK: 268 MiB in 57 packages 15:53:11 Removing intermediate container 29a597e69796 15:53:11 ---> d051d9f09cdb 15:53:11 Step 8/12 : COPY go.mod vendor* ./ 15:53:11 ---> 3e792241c13d 15:53:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:11 ---> Running in adc1ec0ed94e 15:54:19 Removing intermediate container adc1ec0ed94e 15:54:19 ---> f079b865f748 15:54:19 Step 10/12 : COPY . . 15:54:19 ---> 6cb47c561d36 15:54:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:54:19 ---> Running in a129ca9f983b 15:54:19 Removing intermediate container a129ca9f983b 15:54:19 ---> 7bf037accae9 15:54:19 Step 12/12 : RUN ${MAKE} 15:54:19 ---> Running in 0751fb4158f8 15:54:19 noop 15:54:19 Removing intermediate container 0751fb4158f8 15:54:19 ---> b457dadb278b 15:54:19 Successfully built b457dadb278b 15:54:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:19 + docker inspect -f . ci-base-image-arm64 15:54:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:20 prd-ubuntu20.04-docker-arm64-4c-16g-841 does not seem to be running inside a container 15:54:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:54:21 $ docker top bc48a146aa9480c1bc9d75b91882d079bfa6c166b6ea476a0c062bbd4af1b9a1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:22 + go version 15:54:22 go version go1.20.2 linux/arm64 [Pipeline] } 15:54:22 $ docker stop --time=1 bc48a146aa9480c1bc9d75b91882d079bfa6c166b6ea476a0c062bbd4af1b9a1 15:54:23 $ docker rm -f --volumes bc48a146aa9480c1bc9d75b91882d079bfa6c166b6ea476a0c062bbd4af1b9a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:24 + docker inspect -f . ci-base-image-arm64 15:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:24 prd-ubuntu20.04-docker-arm64-4c-16g-841 does not seem to be running inside a container 15:54:24 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:54:25 $ docker top dcec86873cef1c6e6921daf9998fe56b5169c48ba35780588e6a9b8a50ba77ba -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:26 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 15:54:26 + make test 15:54:26 go test ./... -coverprofile=coverage.out 15:54:58 ? github.com/edgexfoundry/device-uart [no test files] 15:56:35 ? github.com/edgexfoundry/device-uart/cmd [no test files] 15:56:35 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 15:56:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:56:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:56:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:56:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:56:53 ./bin/test-attribution-txt.sh 15:56:53 An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 15:56:53 An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add 15:56:53 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:56:53 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:56:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:56:53 $ docker stop --time=1 dcec86873cef1c6e6921daf9998fe56b5169c48ba35780588e6a9b8a50ba77ba 15:56:55 $ docker rm -f --volumes dcec86873cef1c6e6921daf9998fe56b5169c48ba35780588e6a9b8a50ba77ba [Pipeline] // withDockerContainer [Pipeline] sh 15:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:56 Warning: overwriting stash ‘coverage-report’ 15:56:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:57 + ls -al . 15:56:57 total 140 15:56:57 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 15:54 . 15:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 15:52 .. 15:56:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 15:52 .dockerignore 15:56:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 15:52 .git 15:56:57 -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 15:52 .gitignore 15:56:57 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 15:52 .golangci.yml 15:56:57 -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 15:52 Attribution.txt 15:56:57 -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 15:52 Dockerfile 15:56:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 15:52 GOVERNANCE.md 15:56:57 -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 15:52 Jenkinsfile 15:56:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 15:52 LICENSE 15:56:57 -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 15:52 Makefile 15:56:57 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 15:52 OWNERS.md 15:56:57 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 15:52 README.md 15:56:57 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 15:50 VERSION 15:56:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 15:52 bin 15:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 15:52 cmd 15:56:57 -rw-r--r-- 1 jenkins jenkins 10 Jul 11 15:54 coverage.out 15:56:57 -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 15:52 go.mod 15:56:57 -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 15:52 go.sum 15:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 15:52 internal 15:56:57 -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:58 + 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=912115ba39df5d7e09033252c264c743a8c85b42 --label arch=arm64 --label version=0.0.1-dev.1 . 15:56:58 Sending build context to Docker daemon 5.555MB 15:56:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:56:58 Step 2/25 : FROM ${BASE} AS builder 15:56:58 ---> b457dadb278b 15:56:58 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:57:00 ---> Running in 418ca056698d 15:57:00 Removing intermediate container 418ca056698d 15:57:00 ---> 0128799eedce 15:57:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:57:00 ---> Running in dd7057bd95fa 15:57:00 Removing intermediate container dd7057bd95fa 15:57:00 ---> 3844860bda6d 15:57:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:57:00 ---> Running in fc5380f37671 15:57:00 Removing intermediate container fc5380f37671 15:57:00 ---> 022cca02046d 15:57:00 Step 6/25 : WORKDIR /device-uart 15:57:01 ---> Running in 326e9eda120b 15:57:01 Removing intermediate container 326e9eda120b 15:57:01 ---> 38df88c39ba0 15:57:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:01 ---> Running in 95cfd3b6a7ee 15:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:57:03 OK: 268 MiB in 57 packages 15:57:04 Removing intermediate container 95cfd3b6a7ee 15:57:04 ---> 9626cf8c5b55 15:57:04 Step 8/25 : COPY go.mod vendor* ./ 15:57:05 ---> 3d8d6357f9f4 15:57:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:05 ---> Running in c622a8582c19 15:57:07 Removing intermediate container c622a8582c19 15:57:07 ---> efa5479e1f2d 15:57:07 Step 10/25 : COPY . . 15:57:07 ---> cacbb1f5fd44 15:57:07 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:07 ---> Running in cea135e90c63 15:57:08 Removing intermediate container cea135e90c63 15:57:08 ---> 258777739098 15:57:08 Step 12/25 : RUN ${MAKE} 15:57:08 ---> Running in 576a24d5d6bb 15:57:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.1" -o cmd/device-uart ./cmd 15:59:16 Removing intermediate container 576a24d5d6bb 15:59:16 ---> f7e798d360a4 15:59:16 Step 13/25 : FROM alpine:3.17 15:59:16 3.17: Pulling from library/alpine 15:59:16 edb6bdbacee9: Pulling fs layer 15:59:16 edb6bdbacee9: Verifying Checksum 15:59:16 edb6bdbacee9: Download complete 15:59:16 edb6bdbacee9: Pull complete 15:59:16 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:59:16 Status: Downloaded newer image for alpine:3.17 15:59:16 ---> 779605e5fbc0 15:59:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:59:16 ---> Running in f8f9a4e5f7ee 15:59:16 Removing intermediate container f8f9a4e5f7ee 15:59:16 ---> 1625e68704d3 15:59:16 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 15:59:16 ---> Running in 88c639d87154 15:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:17 (1/6) Installing dumb-init (1.2.5-r2) 15:59:17 (2/6) Installing libgcc (12.2.1_git20220924-r4) 15:59:17 (3/6) Installing libsodium (1.0.18-r2) 15:59:17 (4/6) Installing libstdc++ (12.2.1_git20220924-r4) 15:59:17 (5/6) Installing libzmq (4.3.4-r1) 15:59:17 (6/6) Installing zeromq (4.3.4-r1) 15:59:17 Executing busybox-1.35.0-r29.trigger 15:59:17 OK: 11 MiB in 21 packages 15:59:17 Removing intermediate container 88c639d87154 15:59:17 ---> c0a47da2e3cb 15:59:17 Step 16/25 : WORKDIR / 15:59:17 ---> Running in cc01f6d07a54 15:59:18 Removing intermediate container cc01f6d07a54 15:59:18 ---> 5bc3c8fdd3a9 15:59:18 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 15:59:18 ---> da80f9a33376 15:59:18 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 15:59:19 ---> 48bcec37ef57 15:59:19 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 15:59:20 ---> b180edc2246d 15:59:20 Step 20/25 : EXPOSE 59995 15:59:20 ---> Running in c2a61896ffc1 15:59:20 Removing intermediate container c2a61896ffc1 15:59:20 ---> 0cff44ebb522 15:59:20 Step 21/25 : ENTRYPOINT ["/device-uart"] 15:59:21 ---> Running in fce1facda547 15:59:21 Removing intermediate container fce1facda547 15:59:21 ---> 3984e225e1ed 15:59:21 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:59:21 ---> Running in 9d2a9bf44148 15:59:21 Removing intermediate container 9d2a9bf44148 15:59:21 ---> c298b5a9bf19 15:59:21 Step 23/25 : LABEL arch=arm64 15:59:21 ---> Running in d24210e5508e 15:59:21 Removing intermediate container d24210e5508e 15:59:21 ---> d27534b28e1f 15:59:21 Step 24/25 : LABEL git_sha=912115ba39df5d7e09033252c264c743a8c85b42 15:59:22 ---> Running in 174f91aec6e9 15:59:22 Removing intermediate container 174f91aec6e9 15:59:22 ---> 337766fe28f5 15:59:22 Step 25/25 : LABEL version=0.0.1-dev.1 15:59:22 ---> Running in bb6ada9aea5d 15:59:22 Removing intermediate container bb6ada9aea5d 15:59:22 ---> 5a30b37fe735 15:59:22 [Warning] One or more build-args [ARCH] were not consumed 15:59:22 Successfully built 5a30b37fe735 15:59:22 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:22 provisioning config files... 15:59:22 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config791720051196508324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:23 ---> docker-login.sh 15:59:23 nexus3.edgexfoundry.org:10001 15:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:23 Configure a credential helper to remove this warning. See 15:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:23 15:59:23 Login Succeeded 15:59:23 nexus3.edgexfoundry.org:10002 15:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:23 Configure a credential helper to remove this warning. See 15:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:23 15:59:23 Login Succeeded 15:59:23 nexus3.edgexfoundry.org:10003 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 nexus3.edgexfoundry.org:10004 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 docker.io 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:25 Configure a credential helper to remove this warning. See 15:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:25 15:59:25 Login Succeeded 15:59:25 ---> docker-login.sh ends [Pipeline] } 15:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:25 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 15:59:25 912115ba39df5d7e09033252c264c743a8c85b42 15:59:25 latest 15:59:25 0.0.1-dev.1 15:59:25 912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:59:25 main 15:59:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:25 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:25 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42 15:59:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:59:25 95efe9bd3809: Preparing 15:59:25 9f847f100417: Preparing 15:59:25 6bbd443534ac: Preparing 15:59:25 e2696164dbc6: Preparing 15:59:25 9386262d7a74: Preparing 15:59:25 9386262d7a74: Layer already exists 15:59:26 9f847f100417: Pushed 15:59:26 6bbd443534ac: Pushed 15:59:26 e2696164dbc6: Pushed 15:59:31 95efe9bd3809: Pushed 15:59:31 912115ba39df5d7e09033252c264c743a8c85b42: digest: sha256:3103f1523654933deb9f1549802853ad13e6180c1aaaa8de8e0725dc4cca07e2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:32 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:32 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 15:59:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:59:32 95efe9bd3809: Preparing 15:59:32 9f847f100417: Preparing 15:59:32 6bbd443534ac: Preparing 15:59:32 e2696164dbc6: Preparing 15:59:32 9386262d7a74: Preparing 15:59:32 95efe9bd3809: Layer already exists 15:59:32 6bbd443534ac: Layer already exists 15:59:32 9386262d7a74: Layer already exists 15:59:32 9f847f100417: Layer already exists 15:59:32 e2696164dbc6: Layer already exists 15:59:32 latest: digest: sha256:3103f1523654933deb9f1549802853ad13e6180c1aaaa8de8e0725dc4cca07e2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:33 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:33 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.1 15:59:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:59:33 95efe9bd3809: Preparing 15:59:33 9f847f100417: Preparing 15:59:33 6bbd443534ac: Preparing 15:59:33 e2696164dbc6: Preparing 15:59:33 9386262d7a74: Preparing 15:59:33 6bbd443534ac: Layer already exists 15:59:33 95efe9bd3809: Layer already exists 15:59:33 9f847f100417: Layer already exists 15:59:33 9386262d7a74: Layer already exists 15:59:33 e2696164dbc6: Layer already exists 15:59:33 0.0.1-dev.1: digest: sha256:3103f1523654933deb9f1549802853ad13e6180c1aaaa8de8e0725dc4cca07e2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:33 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:34 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:59:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:59:34 95efe9bd3809: Preparing 15:59:34 9f847f100417: Preparing 15:59:34 6bbd443534ac: Preparing 15:59:34 e2696164dbc6: Preparing 15:59:34 9386262d7a74: Preparing 15:59:34 9f847f100417: Layer already exists 15:59:34 95efe9bd3809: Layer already exists 15:59:34 9386262d7a74: Layer already exists 15:59:34 6bbd443534ac: Layer already exists 15:59:34 e2696164dbc6: Layer already exists 15:59:34 912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1: digest: sha256:3103f1523654933deb9f1549802853ad13e6180c1aaaa8de8e0725dc4cca07e2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:34 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:34 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 15:59:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 15:59:34 95efe9bd3809: Preparing 15:59:34 9f847f100417: Preparing 15:59:34 6bbd443534ac: Preparing 15:59:34 e2696164dbc6: Preparing 15:59:34 9386262d7a74: Preparing 15:59:34 6bbd443534ac: Layer already exists 15:59:34 9f847f100417: Layer already exists 15:59:34 e2696164dbc6: Layer already exists 15:59:34 95efe9bd3809: Layer already exists 15:59:34 9386262d7a74: Layer already exists 15:59:34 main: digest: sha256:3103f1523654933deb9f1549802853ad13e6180c1aaaa8de8e0725dc4cca07e2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:34 ===================================================== [Pipeline] echo 15:59:34 taggedImages: 15:59:34 - nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42 15:59:34 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 15:59:34 - nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.1 15:59:34 - nexus3.edgexfoundry.org:10004/device-uart-arm64:912115ba39df5d7e09033252c264c743a8c85b42-0.0.1-dev.1 15:59:34 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:35 15:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:35 arm64: Pulling from edgex-lftools-log-publisher 15:59:35 8998bd30e6a1: Pulling fs layer 15:59:35 04944245beec: Pulling fs layer 15:59:35 699f458cf7ca: Pulling fs layer 15:59:35 765212b225bb: Pulling fs layer 15:59:35 f23df028b6ca: Pulling fs layer 15:59:35 d65c8cfc05b1: Pulling fs layer 15:59:35 2437ff75d9bd: Pulling fs layer 15:59:35 f23df028b6ca: Waiting 15:59:35 d65c8cfc05b1: Waiting 15:59:35 2437ff75d9bd: Waiting 15:59:35 765212b225bb: Waiting 15:59:35 04944245beec: Verifying Checksum 15:59:35 04944245beec: Download complete 15:59:35 765212b225bb: Verifying Checksum 15:59:35 765212b225bb: Download complete 15:59:35 d65c8cfc05b1: Verifying Checksum 15:59:35 d65c8cfc05b1: Download complete 15:59:35 699f458cf7ca: Verifying Checksum 15:59:35 699f458cf7ca: Download complete 15:59:36 8998bd30e6a1: Verifying Checksum 15:59:36 8998bd30e6a1: Download complete 15:59:38 2437ff75d9bd: Verifying Checksum 15:59:38 2437ff75d9bd: Download complete 15:59:40 8998bd30e6a1: Pull complete 15:59:40 04944245beec: Pull complete 15:59:41 699f458cf7ca: Pull complete 15:59:42 765212b225bb: Pull complete 15:59:42 f23df028b6ca: Pull complete 15:59:43 d65c8cfc05b1: Pull complete 15:59:58 2437ff75d9bd: Pull complete 15:59:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:58 prd-ubuntu20.04-docker-arm64-4c-16g-841 does not seem to be running inside a container 15:59:58 $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 16:00:00 $ docker top be4957646c2e8e351579d95c378e13926009c567e273cf347d10ee1f51c18183 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:01 ---> job-cost.sh 16:00:01 lf-activate-venv: SKIPPING 16:00:01 INFO: No Stack... 16:00:02 INFO: Retrieving Pricing Info for: v3-standard-4 16:00:02 INFO: Archiving Costs [Pipeline] sh 16:00:02 + cat /w/workspace/device-uart/2/archives/cost.csv 16:00:02 + cut -d, -f6 [Pipeline] lock 16:00:03 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-2-stack-cost] 16:00:03 Resource [jenkins-edgexfoundry-device-uart-main-2-stack-cost] did not exist. Created. 16:00:03 Lock acquired on [jenkins-edgexfoundry-device-uart-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:03 /w/workspace/device-uart/2@tmp/durable-c2dca11e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:00:04 + echo total: 0.10999999940395355 [Pipeline] stash 16:00:04 Warning: overwriting stash ‘stack-cost’ 16:00:04 Stashed 1 file(s) [Pipeline] } 16:00:04 Lock released on resource [jenkins-edgexfoundry-device-uart-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:04 $ docker stop --time=1 be4957646c2e8e351579d95c378e13926009c567e273cf347d10ee1f51c18183 16:00:05 $ docker rm -f --volumes be4957646c2e8e351579d95c378e13926009c567e273cf347d10ee1f51c18183 [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 16:00:06 provisioning config files... 16:00:06 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5371995807338930142tmp [Pipeline] { [Pipeline] sh 16:00:06 + set +x 16:00:06 + + bash -s -- 16:00:06 curl -s https://codecov.io/bash 16:00:06 16:00:06 _____ _ 16:00:06 / ____| | | 16:00:06 | | ___ __| | ___ ___ _____ __ 16:00:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:00:06 | |___| (_) | (_| | __/ (_| (_) \ V / 16:00:06 \_____\___/ \__,_|\___|\___\___/ \_/ 16:00:06 Bash-1.0.6 16:00:06 16:00:06 16:00:06 ==> git version 2.25.1 found 16:00:06 ==> 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 16:00:06 Release-Date: 2020-01-08 16:00:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:00:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:00:06 ==> Jenkins CI detected. 16:00:06 current dir:  /w/workspace/edgexfoundry_device-uart_main 16:00:06 project root: . 16:00:06 --> token set from env 16:00:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:00:06 ==> Running gcov in . (disable via -X gcov) 16:00:06 ==> Python coveragepy not found 16:00:06 ==> Searching for coverage reports in: 16:00:06 + . 16:00:06 -> Found 1 reports 16:00:06 ==> Detecting git/mercurial file structure 16:00:06 ==> Reading reports 16:00:06 + ./coverage.out bytes=10 16:00:06 ==> Appending adjustments 16:00:06 https://docs.codecov.io/docs/fixing-reports 16:00:06 + Found adjustments 16:00:06 ==> Gzipping contents 16:00:06 4.0K /tmp/codecov.d4FIJi.gz 16:00:06 ==> Uploading reports 16:00:06 url: https://codecov.io 16:00:06 query: branch=main&commit=912115ba39df5d7e09033252c264c743a8c85b42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 16:00:06 -> Pinging Codecov 16:00:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=main&commit=912115ba39df5d7e09033252c264c743a8c85b42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 16:00:06 -> Uploading to 16:00:06 https://storage.googleapis.com/codecov/v4/raw/2023-07-11/B9AA6E0BBD74AE3A32605C7A7C664919/912115ba39df5d7e09033252c264c743a8c85b42/3c2dab4d-8f76-49b9-bc3c-0cd54c883484.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230711T160006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37daddaef715d8c84a153a7a3cf9c528bb0c0a0a5f9d4d859581a833c468a727 16:00:06 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:06 Dload Upload Total Spent Left Speed 16:00:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 536 0 0 100 536 0 2504 --:--:-- --:--:-- --:--:-- 2504 16:00:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] } 16:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:00:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:00:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:07 16:00:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:00:07 df9b9388f04a: Pulling fs layer 16:00:07 52dc419b0ee2: Pulling fs layer 16:00:07 25bc292e5bac: Pulling fs layer 16:00:07 114826534d7a: Pulling fs layer 16:00:07 4657fd5d0bcf: Pulling fs layer 16:00:07 6ad1cebc031e: Pulling fs layer 16:00:07 8a3aa393b2d8: Pulling fs layer 16:00:07 4657fd5d0bcf: Waiting 16:00:07 6ad1cebc031e: Waiting 16:00:07 8a3aa393b2d8: Waiting 16:00:07 25bc292e5bac: Download complete 16:00:07 52dc419b0ee2: Download complete 16:00:07 4657fd5d0bcf: Verifying Checksum 16:00:07 4657fd5d0bcf: Download complete 16:00:07 df9b9388f04a: Download complete 16:00:08 df9b9388f04a: Pull complete 16:00:08 6ad1cebc031e: Verifying Checksum 16:00:08 6ad1cebc031e: Download complete 16:00:08 52dc419b0ee2: Pull complete 16:00:08 25bc292e5bac: Pull complete 16:00:08 114826534d7a: Download complete 16:00:09 8a3aa393b2d8: Verifying Checksum 16:00:09 8a3aa393b2d8: Download complete 16:00:13 114826534d7a: Pull complete 16:00:13 4657fd5d0bcf: Pull complete 16:00:13 6ad1cebc031e: Pull complete 16:00:15 8a3aa393b2d8: Pull complete 16:00:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:00:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:15 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:00:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:00:20 $ docker top f6c0bc5d391482828e5463d12d19ed8bb4473313ab1ce3879555e7dcef58d8fe -eo pid,comm [Pipeline] { [Pipeline] echo 16:00:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 16:00:20 + set -o pipefail 16:00:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 16:00:29 16:00:29 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 16:00:29 16:00:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/9014440b-4665-41f7-b108-0d2b79fdfdfb 16:00:29 16:00:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:00:29 16:00:29 16:00:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:00:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:00:29 More details here: https://snyk.co/ue1NS 16:00:29 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 16:00:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:00:29 $ docker stop --time=1 f6c0bc5d391482828e5463d12d19ed8bb4473313ab1ce3879555e7dcef58d8fe 16:00:32 $ docker rm -f --volumes f6c0bc5d391482828e5463d12d19ed8bb4473313ab1ce3879555e7dcef58d8fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:33 + git log --format=format:%s -1 912115ba39df5d7e09033252c264c743a8c85b42 [Pipeline] sh 16:00:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:33 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:00:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:00:34 $ docker top 1ccb24481addc548e539af7f22b8b1a5fa2075e6c5e1a4e1bdc99287cae1c906 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:34 [ssh-agent] Looking for ssh-agent implementation... 16:00:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:34 $ docker exec 1ccb24481addc548e539af7f22b8b1a5fa2075e6c5e1a4e1bdc99287cae1c906 ssh-agent 16:00:34 SSH_AUTH_SOCK=/tmp/ssh-hXr6lgAnLvBY/agent.31 16:00:34 SSH_AGENT_PID=37 16:00:34 Running ssh-add (command line suppressed) 16:00:34 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_967790478489918431.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_967790478489918431.key) 16:00:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:34 + git semver tag 16:00:35 2023-07-11 16:00:34,997 [run_tag] DEBUG tag force:False 16:00:35 2023-07-11 16:00:34,997 [check_head_tag] DEBUG check head tag 16:00:35 2023-07-11 16:00:34,998 [execute] INFO git cat-file --batch-check 16:00:35 2023-07-11 16:00:34,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 16:00:35 2023-07-11 16:00:35,001 [execute] INFO git cat-file --batch 16:00:35 2023-07-11 16:00:35,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 16:00:35 2023-07-11 16:00:35,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:35 2023-07-11 16:00:35,005 [execute] INFO git tag -a v0.0.1-dev.1 -m v0.0.1-dev.1 16:00:35 2023-07-11 16:00:35,006 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.1', '-m', 'v0.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 16:00:35 2023-07-11 16:00:35,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:35 0.0.1-dev.1 [Pipeline] } 16:00:35 $ docker exec --env ******** --env ******** 1ccb24481addc548e539af7f22b8b1a5fa2075e6c5e1a4e1bdc99287cae1c906 ssh-agent -k 16:00:35 unset SSH_AUTH_SOCK; 16:00:35 unset SSH_AGENT_PID; 16:00:35 echo Agent pid 37 killed; 16:00:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:35 + git semver [Pipeline] } 16:00:35 $ docker stop --time=1 1ccb24481addc548e539af7f22b8b1a5fa2075e6c5e1a4e1bdc99287cae1c906 16:00:37 $ docker rm -f --volumes 1ccb24481addc548e539af7f22b8b1a5fa2075e6c5e1a4e1bdc99287cae1c906 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:37 16:00:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:37 0.23.1-centos7: Pulling from edgex-lftools 16:00:37 ab5ef0e58194: Pulling fs layer 16:00:37 9712f1f96733: Pulling fs layer 16:00:37 63f879dbbcfc: Pulling fs layer 16:00:37 0d9ebad4ef96: Pulling fs layer 16:00:37 e9a5061849ea: Pulling fs layer 16:00:37 d747dcd14b5f: Pulling fs layer 16:00:37 2de7ff778b66: Pulling fs layer 16:00:37 0d9ebad4ef96: Waiting 16:00:37 2de7ff778b66: Waiting 16:00:37 e9a5061849ea: Waiting 16:00:37 d747dcd14b5f: Waiting 16:00:37 9712f1f96733: Download complete 16:00:38 63f879dbbcfc: Download complete 16:00:38 e9a5061849ea: Verifying Checksum 16:00:38 e9a5061849ea: Download complete 16:00:38 d747dcd14b5f: Download complete 16:00:38 0d9ebad4ef96: Verifying Checksum 16:00:38 0d9ebad4ef96: Download complete 16:00:38 ab5ef0e58194: Verifying Checksum 16:00:38 ab5ef0e58194: Download complete 16:00:38 2de7ff778b66: Verifying Checksum 16:00:38 2de7ff778b66: Download complete 16:00:41 ab5ef0e58194: Pull complete 16:00:41 9712f1f96733: Pull complete 16:00:41 63f879dbbcfc: Pull complete 16:00:46 0d9ebad4ef96: Pull complete 16:00:46 e9a5061849ea: Pull complete 16:00:46 d747dcd14b5f: Pull complete 16:00:47 2de7ff778b66: Pull complete 16:00:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:00:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:47 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:00:47 $ 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 16:00:52 $ docker top 0d2bb42ee20f587fc472d0aee1666f3d526e5a18e285bb0e028b44df62f3c906 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:00:52 provisioning config files... 16:00:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7161792162553357088tmp 16:00:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7340910432589563254tmp 16:00:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13873631163444928013tmp [Pipeline] { [Pipeline] echo 16:00:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:00:52 ---> sigul-configuration.sh 16:00:52 gpg: directory `/root/.gnupg' created 16:00:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:00:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:00:52 gpg: keyring `/root/.gnupg/secring.gpg' created 16:00:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:00:52 gpg: CAST5 encrypted data 16:00:52 gpg: encrypted with 1 passphrase 16:00:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:00:52 + mkdir /home/jenkins 16:00:52 + mkdir /home/jenkins/sigul [Pipeline] sh 16:00:52 + 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 16:00:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:00:53 ---> sigul-install.sh 16:00:53 Sigul already installed; skipping installation. [Pipeline] sh 16:00:53 + git tag --list 16:00:53 v0.0.0 16:00:53 v0.0.1-dev.1 [Pipeline] sh 16:00:53 + lftools sign git-tag v0.0.1-dev.1 16:00:54 Signing Git tag with Sigul... 16:00:54 Signing v0.0.1-dev.1 [Pipeline] echo 16:00:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:00:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:00:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:00:55 $ docker stop --time=1 0d2bb42ee20f587fc472d0aee1666f3d526e5a18e285bb0e028b44df62f3c906 16:00:56 $ docker rm -f --volumes 0d2bb42ee20f587fc472d0aee1666f3d526e5a18e285bb0e028b44df62f3c906 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:00:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:57 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:00:57 $ 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 16:00:57 $ docker top 36e7b4b1602d1abf6d9230823c4ea315b9a593f11c55b0c459c6beff8f8285c8 -eo pid,comm 16:00:57 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). 16:00:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:57 [ssh-agent] Looking for ssh-agent implementation... 16:00:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:57 $ docker exec 36e7b4b1602d1abf6d9230823c4ea315b9a593f11c55b0c459c6beff8f8285c8 ssh-agent 16:00:57 SSH_AUTH_SOCK=/tmp/ssh-A0zn2mngIEI0/agent.31 16:00:57 SSH_AGENT_PID=37 16:00:57 Running ssh-add (command line suppressed) 16:00:57 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14609387859665682784.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_14609387859665682784.key) 16:00:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:58 + git semver bump pre 16:00:58 2023-07-11 16:00:58,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:58 2023-07-11 16:00:58,481 [bump_version] DEBUG bumping version:0.0.1-dev.1 on axis:pre with prefix:dev 16:00:58 2023-07-11 16:00:58,481 [bump_version] DEBUG bumped version:0.0.1-dev.2 16:00:58 2023-07-11 16:00:58,481 [write_version] DEBUG write version:0.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 16:00:58 2023-07-11 16:00:58,482 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:58 2023-07-11 16:00:58,482 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:58 2023-07-11 16:00:58,483 [execute] INFO git cat-file --batch-check 16:00:58 2023-07-11 16:00:58,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 16:00:58 2023-07-11 16:00:58,489 [execute] INFO git cat-file --batch 16:00:58 2023-07-11 16:00:58,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 16:00:58 2023-07-11 16:00:58,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:00:58 0.0.1-dev.2 [Pipeline] } 16:00:58 $ docker exec --env ******** --env ******** 36e7b4b1602d1abf6d9230823c4ea315b9a593f11c55b0c459c6beff8f8285c8 ssh-agent -k 16:00:58 unset SSH_AUTH_SOCK; 16:00:58 unset SSH_AGENT_PID; 16:00:58 echo Agent pid 37 killed; 16:00:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:58 + git semver [Pipeline] } 16:00:59 $ docker stop --time=1 36e7b4b1602d1abf6d9230823c4ea315b9a593f11c55b0c459c6beff8f8285c8 16:01:00 $ docker rm -f --volumes 36e7b4b1602d1abf6d9230823c4ea315b9a593f11c55b0c459c6beff8f8285c8 [Pipeline] // withDockerContainer [Pipeline] sh 16:01:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:01:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:01 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:01:01 $ 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 16:01:01 $ docker top 5a60d90d91a3c78f3596f6e1810eb2811f0ea472e49872e83a54a9eda227c87a -eo pid,comm 16:01:01 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). 16:01:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:01:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:01 [ssh-agent] Looking for ssh-agent implementation... 16:01:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:01 $ docker exec 5a60d90d91a3c78f3596f6e1810eb2811f0ea472e49872e83a54a9eda227c87a ssh-agent 16:01:01 SSH_AUTH_SOCK=/tmp/ssh-hGB3fI91GZjL/agent.32 16:01:01 SSH_AGENT_PID=38 16:01:01 Running ssh-add (command line suppressed) 16:01:02 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10729604491265397235.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10729604491265397235.key) 16:01:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:02 + git semver push 16:01:02 2023-07-11 16:01:02,498 [run_push] DEBUG push 16:01:02 2023-07-11 16:01:02,498 [execute] INFO git cat-file --batch-check 16:01:02 2023-07-11 16:01:02,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 16:01:02 2023-07-11 16:01:02,502 [execute] INFO git rev-list ddcc318614891d270c31308dd679ccf464e065a4 -- 16:01:02 2023-07-11 16:01:02,503 [execute] DEBUG Popen(['git', 'rev-list', 'ddcc318614891d270c31308dd679ccf464e065a4', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 16:01:02 2023-07-11 16:01:02,508 [execute] INFO git fetch -v origin 16:01:02 2023-07-11 16:01:02,509 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 16:01:03 2023-07-11 16:01:03,100 [run_push] DEBUG no remote changes detected 16:01:03 2023-07-11 16:01:03,101 [execute] INFO git push origin semver 16:01:03 2023-07-11 16:01:03,101 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 16:01:04 2023-07-11 16:01:04,104 [run_push] DEBUG push all version tags 16:01:04 2023-07-11 16:01:04,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:01:04 2023-07-11 16:01:04,105 [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) 16:01:05 2023-07-11 16:01:04,943 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 16:01:05 0.0.1-dev.2 [Pipeline] } 16:01:05 $ docker exec --env ******** --env ******** 5a60d90d91a3c78f3596f6e1810eb2811f0ea472e49872e83a54a9eda227c87a ssh-agent -k 16:01:05 unset SSH_AUTH_SOCK; 16:01:05 unset SSH_AGENT_PID; 16:01:05 echo Agent pid 38 killed; 16:01:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:01:05 + git semver [Pipeline] } 16:01:05 $ docker stop --time=1 5a60d90d91a3c78f3596f6e1810eb2811f0ea472e49872e83a54a9eda227c87a 16:01:07 $ docker rm -f --volumes 5a60d90d91a3c78f3596f6e1810eb2811f0ea472e49872e83a54a9eda227c87a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:01:07 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 16:01:07 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 16:01:07 total 16 16:01:07 drwxr-xr-x 3 root root 4096 Jul 11 15:52 . 16:01:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:00 .. 16:01:07 drwxr-xr-x 2 root root 4096 Jul 11 15:52 cost 16:01:07 -rw-r--r-- 1 root root 81 Jul 11 15:52 cost.csv 16:01:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 16:01:07 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 16:01:07 total 16 16:01:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 15:52 . 16:01:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:00 .. 16:01:07 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 15:52 cost 16:01:07 -rw-r--r-- 1 jenkins jenkins 81 Jul 11 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:01:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:01:08 ---> package-listing.sh 16:01:08 ++ facter osfamily 16:01:08 ++ tr '[:upper:]' '[:lower:]' 16:01:09 + OS_FAMILY=debian 16:01:09 + workspace=/w/workspace/edgexfoundry_device-uart_main 16:01:09 + START_PACKAGES=/tmp/packages_start.txt 16:01:09 + END_PACKAGES=/tmp/packages_end.txt 16:01:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:01:09 + PACKAGES=/tmp/packages_start.txt 16:01:09 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 16:01:09 + PACKAGES=/tmp/packages_end.txt 16:01:09 + case "${OS_FAMILY}" in 16:01:09 + dpkg -l 16:01:09 + grep '^ii' 16:01:09 + '[' -f /tmp/packages_start.txt ']' 16:01:09 + '[' -f /tmp/packages_end.txt ']' 16:01:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:01:09 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 16:01:09 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 16:01:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 16:01:09 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 16:01:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:10 prd-ubuntu20.04-docker-8c-8g-840 does not seem to be running inside a container 16:01:10 $ 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 16:01:10 $ docker top 965fec4ef3bb249e0d5902a9ea65dbd4fbed1cee7e1e88d18c185fd928e79972 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:10 + touch /tmp/pre-build-complete [Pipeline] sh 16:01:11 + mkdir -p /var/log/sysstat [Pipeline] sh 16:01:11 + ls /var/log/sa-host 16:01:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:11 provisioning config files... 16:01:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17299402342938819677tmp [Pipeline] { [Pipeline] echo 16:01:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:01:11 ---> create-netrc.sh [Pipeline] } 16:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:01:12 ---> python-tools-install.sh [Pipeline] echo 16:01:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:01:12 ---> sudo-logs.sh 16:01:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:01:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:01:12 ---> job-cost.sh 16:01:12 lf-activate-venv: SKIPPING 16:01:12 DEBUG: total: 0.2199999988079071 16:01:12 INFO: Retrieving Stack Cost... 16:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:13 INFO: Archiving Costs [Pipeline] echo 16:01:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:01:13 ---> logs-deploy.sh 16:01:13 lf-activate-venv: SKIPPING 16:01:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/2 16:01:13 INFO: archiving workspace using pattern(s): 16:01:14 Archives upload complete. 16:01:15 INFO: archiving logs to Nexus 16:01:15 ---> uname -a: 16:01:15 Linux prd-ubuntu20-04-docker-8c-8g-840 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:01:15 16:01:15 16:01:15 ---> lscpu: 16:01:15 Architecture: x86_64 16:01:15 CPU op-mode(s): 32-bit, 64-bit 16:01:15 Byte Order: Little Endian 16:01:15 Address sizes: 40 bits physical, 48 bits virtual 16:01:15 CPU(s): 8 16:01:15 On-line CPU(s) list: 0-7 16:01:15 Thread(s) per core: 1 16:01:15 Core(s) per socket: 1 16:01:15 Socket(s): 8 16:01:15 NUMA node(s): 1 16:01:15 Vendor ID: AuthenticAMD 16:01:15 CPU family: 23 16:01:15 Model: 49 16:01:15 Model name: AMD EPYC-Rome Processor 16:01:15 Stepping: 0 16:01:15 CPU MHz: 2800.000 16:01:15 BogoMIPS: 5600.00 16:01:15 Virtualization: AMD-V 16:01:15 Hypervisor vendor: KVM 16:01:15 Virtualization type: full 16:01:15 L1d cache: 256 KiB 16:01:15 L1i cache: 256 KiB 16:01:15 L2 cache: 4 MiB 16:01:15 L3 cache: 128 MiB 16:01:15 NUMA node0 CPU(s): 0-7 16:01:15 Vulnerability Itlb multihit: Not affected 16:01:15 Vulnerability L1tf: Not affected 16:01:15 Vulnerability Mds: Not affected 16:01:15 Vulnerability Meltdown: Not affected 16:01:15 Vulnerability Mmio stale data: Not affected 16:01:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:01:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:01:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:01:15 Vulnerability Srbds: Not affected 16:01:15 Vulnerability Tsx async abort: Not affected 16:01:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:01:15 16:01:15 16:01:15 ---> nproc: 16:01:15 8 16:01:15 16:01:15 16:01:15 ---> df -h: 16:01:15 Filesystem Size Used Avail Use% Mounted on 16:01:15 overlay 155G 13G 143G 9% / 16:01:15 tmpfs 64M 0 64M 0% /dev 16:01:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:01:15 shm 64M 0 64M 0% /dev/shm 16:01:15 /dev/vda1 155G 13G 143G 9% /facter-os 16:01:15 16:01:15 16:01:15 ---> sar -b -r -n DEV: 16:01:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-840) 07/11/23 _x86_64_ (8 CPU) 16:01:15 16:01:15 15:49:23 LINUX RESTART (8 CPU) 16:01:15 16:01:15 15:50:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:01:15 15:51:01 164.01 4.17 159.84 0.00 421.40 64817.46 0.00 16:01:15 15:52:01 138.87 0.25 138.62 0.00 16.79 36199.40 0.00 16:01:15 15:53:01 101.10 0.05 101.05 0.00 6.67 27236.79 0.00 16:01:15 15:54:01 2.43 0.00 2.43 0.00 0.00 28.14 0.00 16:01:15 15:55:01 14.43 0.98 13.45 0.00 68.38 750.95 0.00 16:01:15 15:56:02 21.46 0.00 21.46 0.00 0.00 1590.40 0.00 16:01:15 15:57:01 20.88 0.00 20.88 0.00 0.00 1560.14 0.00 16:01:15 15:58:01 20.81 0.00 20.81 0.00 0.00 1577.07 0.00 16:01:15 15:59:01 20.73 0.00 20.73 0.00 0.00 1608.67 0.00 16:01:15 16:00:01 40.03 6.98 33.04 0.00 855.32 1974.87 0.00 16:01:15 16:01:01 133.49 0.30 133.19 0.00 20.66 58422.66 0.00 16:01:15 Average: 61.72 1.16 60.56 0.00 126.48 17821.10 0.00 16:01:15 16:01:15 15:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:01:15 15:51:01 27817240 31607136 695540 2.12 144388 3795144 1860432 5.48 1142644 3424932 495940 16:01:15 15:52:01 28162872 31579664 723032 2.20 149756 3453364 1905000 5.61 1229312 3024132 12 16:01:15 15:53:01 27639272 31590208 710372 2.16 160180 3929912 1753304 5.17 1244652 3486168 348 16:01:15 15:54:01 27638964 31590056 710252 2.16 160228 3929916 1753304 5.17 1244404 3486172 12 16:01:15 15:55:01 27625796 31590924 709264 2.16 163492 3940096 1753632 5.17 1246648 3496228 5220 16:01:15 15:56:02 27616628 31594800 705184 2.14 166660 3949724 1753632 5.17 1249856 3505840 4484 16:01:15 15:57:01 27609476 31600900 699108 2.13 169564 3959580 1753632 5.17 1244180 3515784 4396 16:01:15 15:58:01 27597904 31603368 696528 2.12 172704 3970068 1753632 5.17 1247412 3526228 4296 16:01:15 15:59:01 27583432 31602672 696936 2.12 175008 3981180 1753632 5.17 1249800 3537328 4168 16:01:15 16:00:01 27457004 31577064 702892 2.14 192704 4062752 1769920 5.22 1343192 3547704 3488 16:01:15 16:01:01 25935524 31542040 733636 2.23 230708 5381192 1800880 5.31 1467128 4808308 336 16:01:15 Average: 27516737 31588985 707522 2.15 171399 4032084 1782818 5.25 1264475 3578075 47518 16:01:15 16:01:15 15:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:01:15 15:51:01 docker0 195.85 331.66 15.36 2062.57 0.00 0.00 0.00 0.00 16:01:15 15:51:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 16:01:15 15:51:01 ens3 508.55 297.15 6638.50 41.05 0.00 0.00 0.00 0.00 16:01:15 15:52:01 docker0 1.45 3.50 0.09 42.51 0.00 0.00 0.00 0.00 16:01:15 15:52:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 16:01:15 15:52:01 ens3 53.58 44.99 87.77 93.57 0.00 0.00 0.00 0.00 16:01:15 15:53:01 docker0 2.30 5.03 0.15 63.36 0.00 0.00 0.00 0.00 16:01:15 15:53:01 lo 7.20 7.20 0.70 0.70 0.00 0.00 0.00 0.00 16:01:15 15:53:01 ens3 152.07 110.40 2672.22 247.53 0.00 0.00 0.00 0.00 16:01:15 15:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:54:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:01:15 15:54:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 16:01:15 15:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:55:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 16:01:15 15:55:01 ens3 53.08 33.19 88.50 2.41 0.00 0.00 0.00 0.00 16:01:15 15:56:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:56:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:01:15 15:56:02 ens3 97.82 60.06 166.13 3.87 0.00 0.00 0.00 0.00 16:01:15 15:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:57:01 ens3 103.36 62.74 173.81 4.04 0.00 0.00 0.00 0.00 16:01:15 15:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:01:15 15:58:01 ens3 77.61 46.33 179.49 2.99 0.00 0.00 0.00 0.00 16:01:15 15:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 15:59:01 ens3 50.69 26.51 188.73 1.71 0.00 0.00 0.00 0.00 16:01:15 16:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:15 16:00:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 16:01:15 16:00:01 ens3 51.41 29.46 173.35 2.09 0.00 0.00 0.00 0.00 16:01:15 16:01:01 docker0 34.59 61.42 3.00 579.37 0.00 0.00 0.00 0.00 16:01:15 16:01:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 16:01:15 16:01:01 ens3 424.23 258.21 7955.16 45.32 0.00 0.00 0.00 0.00 16:01:15 Average: docker0 21.32 36.56 1.69 250.17 0.00 0.00 0.00 0.00 16:01:15 Average: lo 1.24 1.24 0.12 0.12 0.00 0.00 0.00 0.00 16:01:15 Average: ens3 143.01 88.14 1667.96 40.47 0.00 0.00 0.00 0.00 16:01:15 16:01:15 16:01:15 ---> sar -P ALL: 16:01:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-840) 07/11/23 _x86_64_ (8 CPU) 16:01:15 16:01:15 15:49:23 LINUX RESTART (8 CPU) 16:01:15 16:01:15 15:50:01 CPU %user %nice %system %iowait %steal %idle 16:01:15 15:51:01 all 9.49 0.00 4.17 3.32 0.07 82.95 16:01:15 15:51:01 0 8.79 0.00 4.39 2.03 0.07 84.72 16:01:15 15:51:01 1 9.91 0.00 4.06 0.72 0.07 85.24 16:01:15 15:51:01 2 9.83 0.00 4.21 7.96 0.05 77.96 16:01:15 15:51:01 3 8.21 0.00 5.60 7.56 0.08 78.54 16:01:15 15:51:01 4 10.51 0.00 3.42 0.50 0.05 85.51 16:01:15 15:51:01 5 9.11 0.00 3.83 3.46 0.05 83.54 16:01:15 15:51:01 6 10.55 0.00 4.28 3.21 0.07 81.90 16:01:15 15:51:01 7 9.00 0.00 3.59 1.14 0.10 86.16 16:01:15 15:52:01 all 37.37 0.00 6.69 2.61 0.10 53.24 16:01:15 15:52:01 0 38.39 0.00 6.09 6.16 0.10 49.27 16:01:15 15:52:01 1 38.55 0.00 5.79 0.19 0.08 55.39 16:01:15 15:52:01 2 37.86 0.00 6.59 10.84 0.10 44.59 16:01:15 15:52:01 3 36.74 0.00 7.09 1.05 0.10 55.03 16:01:15 15:52:01 4 36.30 0.00 7.46 0.05 0.10 56.08 16:01:15 15:52:01 5 35.58 0.00 7.39 0.84 0.10 56.09 16:01:15 15:52:01 6 37.82 0.00 6.62 0.15 0.10 55.30 16:01:15 15:52:01 7 37.68 0.00 6.47 1.60 0.10 54.15 16:01:15 15:53:01 all 4.44 0.00 1.85 2.43 0.03 91.26 16:01:15 15:53:01 0 4.26 0.00 1.86 5.95 0.03 87.90 16:01:15 15:53:01 1 4.59 0.00 2.14 3.46 0.03 89.77 16:01:15 15:53:01 2 3.90 0.00 1.88 4.56 0.03 89.63 16:01:15 15:53:01 3 5.50 0.00 1.51 0.40 0.02 92.58 16:01:15 15:53:01 4 3.47 0.00 1.26 0.70 0.02 94.56 16:01:15 15:53:01 5 4.84 0.00 2.00 0.44 0.03 92.69 16:01:15 15:53:01 6 4.45 0.00 2.08 0.35 0.05 93.07 16:01:15 15:53:01 7 4.49 0.00 2.04 3.58 0.05 89.84 16:01:15 15:54:01 all 0.22 0.00 0.01 0.01 0.01 99.75 16:01:15 15:54:01 0 1.61 0.00 0.00 0.02 0.02 98.35 16:01:15 15:54:01 1 0.05 0.00 0.05 0.02 0.02 99.87 16:01:15 15:54:01 2 0.02 0.00 0.00 0.00 0.00 99.98 16:01:15 15:54:01 3 0.05 0.00 0.02 0.00 0.02 99.92 16:01:15 15:54:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:01:15 15:54:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:01:15 15:54:01 6 0.00 0.00 0.00 0.02 0.00 99.98 16:01:15 15:54:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:01:15 15:55:01 all 0.28 0.00 0.17 0.10 0.01 99.44 16:01:15 15:55:01 0 0.23 0.00 0.07 0.02 0.00 99.68 16:01:15 15:55:01 1 0.33 0.00 0.40 0.60 0.02 98.65 16:01:15 15:55:01 2 0.35 0.00 0.17 0.03 0.02 99.43 16:01:15 15:55:01 3 0.22 0.00 0.05 0.02 0.00 99.72 16:01:15 15:55:01 4 0.32 0.00 0.10 0.02 0.02 99.55 16:01:15 15:55:01 5 0.18 0.00 0.13 0.00 0.00 99.68 16:01:15 15:55:01 6 0.23 0.00 0.10 0.02 0.00 99.65 16:01:15 15:55:01 7 0.33 0.00 0.35 0.12 0.02 99.18 16:01:15 15:56:02 all 0.43 0.00 0.16 0.32 0.02 99.08 16:01:15 15:56:02 0 0.22 0.00 0.13 0.02 0.02 99.61 16:01:15 15:56:02 1 0.48 0.00 0.25 1.99 0.02 97.26 16:01:15 15:56:02 2 0.62 0.00 0.17 0.12 0.03 99.06 16:01:15 15:56:02 3 0.38 0.00 0.12 0.03 0.02 99.45 16:01:15 15:56:02 4 0.35 0.00 0.10 0.10 0.02 99.43 16:01:15 15:56:02 5 0.57 0.00 0.13 0.10 0.02 99.18 16:01:15 15:56:02 6 0.30 0.00 0.20 0.05 0.02 99.43 16:01:15 15:56:02 7 0.49 0.00 0.15 0.13 0.03 99.20 16:01:15 15:57:01 all 0.37 0.00 0.12 0.48 0.01 99.02 16:01:15 15:57:01 0 0.05 0.00 0.00 0.00 0.00 99.95 16:01:15 15:57:01 1 0.42 0.00 0.20 3.33 0.02 96.03 16:01:15 15:57:01 2 0.66 0.00 0.14 0.12 0.02 99.07 16:01:15 15:57:01 3 0.20 0.00 0.10 0.02 0.02 99.66 16:01:15 15:57:01 4 0.34 0.00 0.10 0.08 0.02 99.46 16:01:15 15:57:01 5 0.63 0.00 0.19 0.14 0.02 99.03 16:01:15 15:57:01 6 0.02 0.00 0.00 0.00 0.00 99.98 16:01:15 15:57:01 7 0.60 0.00 0.26 0.12 0.03 99.00 16:01:15 15:58:01 all 0.37 0.00 0.11 0.50 0.02 99.00 16:01:15 15:58:01 0 0.20 0.00 0.05 0.03 0.00 99.72 16:01:15 15:58:01 1 0.30 0.00 0.15 3.01 0.02 96.52 16:01:15 15:58:01 2 0.50 0.00 0.13 0.30 0.03 99.03 16:01:15 15:58:01 3 0.33 0.00 0.08 0.02 0.02 99.55 16:01:15 15:58:01 4 0.33 0.00 0.08 0.07 0.02 99.50 16:01:15 15:58:01 5 0.42 0.00 0.05 0.07 0.02 99.45 16:01:15 15:58:01 6 0.23 0.00 0.10 0.02 0.00 99.65 16:01:15 15:58:01 7 0.67 0.00 0.20 0.48 0.03 98.61 16:01:15 15:59:01 all 0.49 0.00 0.12 0.34 0.02 99.03 16:01:15 15:59:01 0 0.93 0.00 0.07 0.08 0.02 98.90 16:01:15 15:59:01 1 0.33 0.00 0.28 2.15 0.02 97.22 16:01:15 15:59:01 2 0.37 0.00 0.13 0.08 0.02 99.40 16:01:15 15:59:01 3 0.73 0.00 0.12 0.12 0.02 99.02 16:01:15 15:59:01 4 0.48 0.00 0.07 0.07 0.02 99.37 16:01:15 15:59:01 5 0.08 0.00 0.03 0.02 0.00 99.87 16:01:15 15:59:01 6 0.23 0.00 0.05 0.07 0.02 99.63 16:01:15 15:59:01 7 0.74 0.00 0.23 0.15 0.03 98.85 16:01:15 16:00:01 all 1.23 0.00 0.90 0.44 0.02 97.41 16:01:15 16:00:01 0 1.48 0.00 0.59 0.22 0.02 97.70 16:01:15 16:00:01 1 0.92 0.00 0.85 0.40 0.02 97.81 16:01:15 16:00:01 2 0.94 0.00 0.68 0.03 0.00 98.35 16:01:15 16:00:01 3 1.60 0.00 0.85 2.00 0.02 95.53 16:01:15 16:00:01 4 1.57 0.00 1.00 0.40 0.02 97.01 16:01:15 16:00:01 5 0.78 0.00 0.63 0.15 0.02 98.41 16:01:15 16:00:01 6 1.28 0.00 1.92 0.12 0.02 96.66 16:01:15 16:00:01 7 1.27 0.00 0.69 0.20 0.05 97.79 16:01:15 16:01:01 all 8.86 0.00 4.22 4.74 0.09 82.09 16:01:15 16:01:01 0 9.14 0.00 4.05 3.34 0.08 83.39 16:01:15 16:01:01 1 7.41 0.00 3.49 6.05 0.10 82.94 16:01:15 16:01:01 2 10.11 0.00 4.60 1.65 0.12 83.52 16:01:15 16:01:01 3 6.04 0.00 3.16 17.72 0.07 73.01 16:01:15 16:01:01 4 9.73 0.00 5.60 5.05 0.07 79.56 16:01:15 16:01:01 5 9.29 0.00 4.63 1.28 0.10 84.70 16:01:15 16:01:01 6 9.54 0.00 4.18 1.88 0.05 84.36 16:01:15 16:01:01 7 9.59 0.00 4.06 0.96 0.10 85.29 16:01:15 16:01:15 Average: CPU %user %nice %system %iowait %steal %idle 16:01:15 Average: all 5.74 0.00 1.67 1.38 0.04 91.17 16:01:15 Average: 0 5.91 0.00 1.56 1.61 0.03 90.88 16:01:15 Average: 1 5.73 0.00 1.60 1.98 0.04 90.65 16:01:15 Average: 2 5.89 0.00 1.69 2.32 0.04 90.05 16:01:15 Average: 3 5.41 0.00 1.69 2.61 0.03 90.25 16:01:15 Average: 4 5.72 0.00 1.73 0.63 0.03 91.88 16:01:15 Average: 5 5.57 0.00 1.72 0.59 0.03 92.09 16:01:15 Average: 6 5.85 0.00 1.77 0.53 0.03 91.83 16:01:15 Average: 7 5.85 0.00 1.63 0.77 0.05 91.71 16:01:15 16:01:15 16:01:15