Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh8415227549383216368.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-ssh13203080114575723582.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-ssh7380884905040187888.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-ssh3293667342868916037.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-ssh11706359188523238061.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-1033 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 (main) Commit message: "feat: Remove ZeroMQ MessageBus capability (#17)" > 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-list --no-walk 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:37:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:37:36 ========================================================= 03:37:36 EdgeX Global Pipelines Version Info 03:37:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:37:37 ------------------- 03:37:37 stable info: 03:37:37 ------------------- 03:37:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:37:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:37:37 Message: update stable to v1.0.250 03:37:37 ------------------- 03:37:37 experimental info: 03:37:37 ------------------- 03:37:37 Commited By: **** collab-it+edgex@linuxfoundation.org 03:37:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:37:37 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:37:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7a4c95 [Pipeline] echo 03:37:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:38 provisioning config files... 03:37:38 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12462674317235782770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:38 ---> docker-login.sh 03:37:38 nexus3.edgexfoundry.org:10001 03:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:38 Configure a credential helper to remove this warning. See 03:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:38 03:37:38 Login Succeeded 03:37:39 nexus3.edgexfoundry.org:10002 03:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:39 Configure a credential helper to remove this warning. See 03:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:39 03:37:39 Login Succeeded 03:37:39 nexus3.edgexfoundry.org:10003 03:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:39 Configure a credential helper to remove this warning. See 03:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:39 03:37:39 Login Succeeded 03:37:39 nexus3.edgexfoundry.org:10004 03:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:39 Configure a credential helper to remove this warning. See 03:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:39 03:37:39 Login Succeeded 03:37:39 docker.io 03:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:39 Configure a credential helper to remove this warning. See 03:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:39 03:37:39 Login Succeeded 03:37:39 ---> docker-login.sh ends [Pipeline] } 03:37:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:37:40 + git rev-list -1 --merges a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12~1..a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo 03:37:40 -----------> git rev-list -1 --merges a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12~1..a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [false] [Pipeline] sh 03:37:40 + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo 03:37:40 ========================================================= 03:37:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:37:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:40 + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] echo 03:37:40 [semverPrep] GIT_COMMIT: a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12, Commit Message: feat: Remove ZeroMQ MessageBus capability (#17) [Pipeline] echo 03:37:40 [semverPrep] This is not a build commit. [Pipeline] sh 03:37:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:37:41 + grep -v github /etc/ssh/ssh_known_hosts 03:37:41 + [ -e /tmp/ssh_known_hosts ] 03:37:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:37:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:37:41 + sudo tee -a /etc/ssh/ssh_known_hosts 03:37:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:41 03:37:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:41 0.1.4: Pulling from edgex-devops/py-git-semver 03:37:41 b85a868b505f: Pulling fs layer 03:37:41 e2be974225ed: Pulling fs layer 03:37:41 339a4e72a1f5: Pulling fs layer 03:37:41 988bab9f4d93: Pulling fs layer 03:37:41 1469e6f7b9e6: Pulling fs layer 03:37:41 eaf3925da568: Pulling fs layer 03:37:41 bab4dde63d76: Pulling fs layer 03:37:41 bde34c3a00c8: Pulling fs layer 03:37:41 b352a97aabf1: Pulling fs layer 03:37:41 4872d77fe225: Pulling fs layer 03:37:41 5851b861e8e6: Pulling fs layer 03:37:41 bab4dde63d76: Waiting 03:37:41 eaf3925da568: Waiting 03:37:41 988bab9f4d93: Waiting 03:37:41 1469e6f7b9e6: Waiting 03:37:41 b352a97aabf1: Waiting 03:37:41 5851b861e8e6: Waiting 03:37:41 bde34c3a00c8: Waiting 03:37:41 e2be974225ed: Verifying Checksum 03:37:41 e2be974225ed: Download complete 03:37:42 1469e6f7b9e6: Verifying Checksum 03:37:42 1469e6f7b9e6: Download complete 03:37:42 339a4e72a1f5: Verifying Checksum 03:37:42 339a4e72a1f5: Download complete 03:37:42 eaf3925da568: Verifying Checksum 03:37:42 eaf3925da568: Download complete 03:37:42 bde34c3a00c8: Download complete 03:37:42 b352a97aabf1: Download complete 03:37:42 4872d77fe225: Verifying Checksum 03:37:42 4872d77fe225: Download complete 03:37:42 5851b861e8e6: Download complete 03:37:42 b85a868b505f: Verifying Checksum 03:37:42 b85a868b505f: Download complete 03:37:42 bab4dde63d76: Verifying Checksum 03:37:42 bab4dde63d76: Download complete 03:37:43 b85a868b505f: Pull complete 03:37:43 e2be974225ed: Pull complete 03:37:43 339a4e72a1f5: Pull complete 03:37:43 988bab9f4d93: Pull complete 03:37:44 1469e6f7b9e6: Pull complete 03:37:44 eaf3925da568: Pull complete 03:37:46 bab4dde63d76: Pull complete 03:37:46 bde34c3a00c8: Pull complete 03:37:46 b352a97aabf1: Pull complete 03:37:46 4872d77fe225: Pull complete 03:37:46 5851b861e8e6: Pull complete 03:37:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:46 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:37:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:37:49 $ docker top 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 -eo pid,comm 03:37:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:37:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:49 [ssh-agent] Looking for ssh-agent implementation... 03:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:50 $ docker exec 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent 03:37:50 SSH_AUTH_SOCK=/tmp/ssh-9ja7gB2OYmO8/agent.31 03:37:50 SSH_AGENT_PID=37 03:37:50 Running ssh-add (command line suppressed) 03:37:50 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17108423891351213803.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17108423891351213803.key) 03:37:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:50 + git tag --points-at HEAD [Pipeline] } 03:37:50 $ docker exec --env ******** --env ******** 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent -k 03:37:50 unset SSH_AUTH_SOCK; 03:37:50 unset SSH_AGENT_PID; 03:37:50 echo Agent pid 37 killed; 03:37:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:37:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:50 [ssh-agent] Looking for ssh-agent implementation... 03:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:50 $ docker exec 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent 03:37:50 SSH_AUTH_SOCK=/tmp/ssh-h8svJKYgSdvW/agent.69 03:37:50 SSH_AGENT_PID=75 03:37:50 Running ssh-add (command line suppressed) 03:37:51 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_219466689057397024.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_219466689057397024.key) 03:37:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:51 + git semver init 03:37:51 2023-07-13 03:37:51,544 [run_init] DEBUG init version:0.0.0 force:False 03:37:51 2023-07-13 03:37:51,545 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 03:37:51 2023-07-13 03:37:51,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 03:37:51 2023-07-13 03:37:51,545 [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) 03:37:52 2023-07-13 03:37:52,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 03:37:52 2023-07-13 03:37:52,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 03:37:52 2023-07-13 03:37:52,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:37:52 2023-07-13 03:37:52,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:37:52 0.0.1-dev.3 [Pipeline] } 03:37:52 $ docker exec --env ******** --env ******** 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 ssh-agent -k 03:37:52 unset SSH_AUTH_SOCK; 03:37:52 unset SSH_AGENT_PID; 03:37:52 echo Agent pid 75 killed; 03:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:52 + git semver [Pipeline] } 03:37:53 $ docker stop --time=1 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 03:37:54 $ docker rm -f --volumes 07c78efecee95cb8b5d5d04df1c8d9677a5069a178a49bc4bef8c3b44d64de67 [Pipeline] // withDockerContainer [Pipeline] sh 03:37:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:37:55 Stashed 1 file(s) [Pipeline] echo 03:37:55 [edgeXSemver]: initialized semver on version 0.0.1-dev.3 [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 03:37:55 provisioning config files... 03:37:55 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16497775619042215823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:55 ---> docker-login.sh 03:37:55 nexus3.edgexfoundry.org:10001 03:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:55 Configure a credential helper to remove this warning. See 03:37:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:55 03:37:55 Login Succeeded 03:37:55 nexus3.edgexfoundry.org:10002 03:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:55 Configure a credential helper to remove this warning. See 03:37:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:55 03:37:55 Login Succeeded 03:37:55 nexus3.edgexfoundry.org:10003 03:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:55 Configure a credential helper to remove this warning. See 03:37:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:55 03:37:55 Login Succeeded 03:37:55 nexus3.edgexfoundry.org:10004 03:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:55 Configure a credential helper to remove this warning. See 03:37:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:55 03:37:55 Login Succeeded 03:37:55 docker.io 03:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:56 Configure a credential helper to remove this warning. See 03:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:56 03:37:56 Login Succeeded 03:37:56 ---> docker-login.sh ends [Pipeline] } 03:37:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:56 ========================================================= 03:37:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:37:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:56 + 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 . 03:37:56 Sending build context to Docker daemon 11.07MB 03:37:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:37:56 Step 2/12 : FROM ${BASE} AS builder 03:37:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:37:56 4db1b89c0bd1: Pulling fs layer 03:37:56 6911f1a30b25: Pulling fs layer 03:37:56 e194b8c5c2a9: Pulling fs layer 03:37:56 6863d3e3a2b1: Pulling fs layer 03:37:56 ec0bb842ea78: Pulling fs layer 03:37:56 40a00589a448: Pulling fs layer 03:37:56 6c08303d61cc: Pulling fs layer 03:37:56 798269fcf238: Pulling fs layer 03:37:56 ec0bb842ea78: Waiting 03:37:56 40a00589a448: Waiting 03:37:56 6c08303d61cc: Waiting 03:37:56 798269fcf238: Waiting 03:37:56 6863d3e3a2b1: Waiting 03:37:56 6911f1a30b25: Download complete 03:37:56 ec0bb842ea78: Verifying Checksum 03:37:56 ec0bb842ea78: Download complete 03:37:56 4db1b89c0bd1: Verifying Checksum 03:37:56 4db1b89c0bd1: Download complete 03:37:56 40a00589a448: Verifying Checksum 03:37:56 40a00589a448: Download complete 03:37:56 4db1b89c0bd1: Pull complete 03:37:56 6911f1a30b25: Pull complete 03:37:56 798269fcf238: Verifying Checksum 03:37:56 798269fcf238: Download complete 03:37:57 e194b8c5c2a9: Verifying Checksum 03:37:57 e194b8c5c2a9: Download complete 03:37:57 6c08303d61cc: Verifying Checksum 03:37:57 6c08303d61cc: Download complete 03:38:00 e194b8c5c2a9: Pull complete 03:38:00 6863d3e3a2b1: Pull complete 03:38:00 ec0bb842ea78: Pull complete 03:38:00 40a00589a448: Pull complete 03:38:02 6c08303d61cc: Pull complete 03:38:03 798269fcf238: Pull complete 03:38:03 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:38:03 ---> ec979cd7f677 03:38:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:38:09 ---> Running in 75e6cd184cc8 03:38:09 Removing intermediate container 75e6cd184cc8 03:38:09 ---> f4b779ac8495 03:38:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:38:09 ---> Running in 93601ec0dcea 03:38:09 Removing intermediate container 93601ec0dcea 03:38:09 ---> 534c0bf1991a 03:38:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:38:09 ---> Running in f4efcfc59ae6 03:38:09 Removing intermediate container f4efcfc59ae6 03:38:09 ---> c91c6438e448 03:38:09 Step 6/12 : WORKDIR /device-uart 03:38:09 ---> Running in 4e722c521648 03:38:09 Removing intermediate container 4e722c521648 03:38:09 ---> 1ce3678fbb98 03:38:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:09 ---> Running in 1fdd4907a8a5 03:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:38:10 Still waiting to schedule task 03:38:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:38:10 (1/4) Installing openssh-keygen (9.1_p1-r3) 03:38:10 (2/4) Installing libedit (20221030.3.1-r0) 03:38:10 (3/4) Installing openssh-client-common (9.1_p1-r3) 03:38:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 03:38:10 Executing busybox-1.35.0-r29.trigger 03:38:10 OK: 269 MiB in 57 packages 03:38:11 Removing intermediate container 1fdd4907a8a5 03:38:11 ---> 95575a397680 03:38:11 Step 8/12 : COPY go.mod vendor* ./ 03:38:11 ---> 91922f54aaac 03:38:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:11 ---> Running in dc145dbbe798 03:39:18 Removing intermediate container dc145dbbe798 03:39:18 ---> b23be19d920f 03:39:18 Step 10/12 : COPY . . 03:39:18 ---> be216980a060 03:39:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:18 ---> Running in 01067e22cdcb 03:39:18 Removing intermediate container 01067e22cdcb 03:39:18 ---> 6a089bfe100e 03:39:18 Step 12/12 : RUN ${MAKE} 03:39:18 ---> Running in 76f42a4b872f 03:39:18 noop 03:39:18 Removing intermediate container 76f42a4b872f 03:39:18 ---> 0a23c4eacaeb 03:39:18 Successfully built 0a23c4eacaeb 03:39:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:19 + docker inspect -f . ci-base-image-x86_64 03:39:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:19 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:19 $ docker top 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:20 + go version 03:39:20 go version go1.20.6 linux/amd64 [Pipeline] } 03:39:20 $ docker stop --time=1 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 03:39:21 $ docker rm -f --volumes 39531fe0f2dcdcac50d7d5e1af6eee9b8b6560c2b939cf5c9afce7e6b71c53f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:21 + docker inspect -f . ci-base-image-x86_64 03:39:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:21 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:39:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:22 $ docker top cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 03:39:22 + make test 03:39:22 go test ./... -coverprofile=coverage.out 03:39:26 ? github.com/edgexfoundry/device-uart [no test files] 03:39:36 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:39:36 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:39:42 go vet ./... 03:39:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1034 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 03:39:44 Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout 03:39:44 The recommended git tool is: git 03:39:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:45 ./bin/test-attribution-txt.sh [Pipeline] echo 03:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:39:45 $ docker stop --time=1 cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 03:39:48 $ docker rm -f --volumes cd84eeef864980e2188078c2e0d7c18d3a5d33e8670fbb719a80ac8cceea62c8 [Pipeline] // withDockerContainer [Pipeline] sh 03:39:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:39:49 using credential edgex-jenkins-ssh 03:39:49 Cloning the remote Git repository [Pipeline] sh 03:39:49 Cloning repository git@github.com:edgexfoundry/device-uart.git 03:39:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:50 + ls -al . 03:39:50 total 140 03:39:50 drwxrwxr-x 7 jenkins jenkins 4096 Jul 13 03:39 . 03:39:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 03:37 .. 03:39:50 -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 03:37 .dockerignore 03:39:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:37 .git 03:39:50 -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 03:37 .gitignore 03:39:50 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 03:37 .golangci.yml 03:39:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 03:37 .semver 03:39:50 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 03:37 Attribution.txt 03:39:50 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 03:37 Dockerfile 03:39:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 03:37 GOVERNANCE.md 03:39:50 -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 03:37 Jenkinsfile 03:39:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 03:37 LICENSE 03:39:50 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 03:37 Makefile 03:39:50 -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 03:37 OWNERS.md 03:39:50 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 03:37 README.md 03:39:50 -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 03:37 VERSION 03:39:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 03:37 bin 03:39:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:37 cmd 03:39:50 -rw-r--r-- 1 jenkins jenkins 10 Jul 13 03:39 coverage.out 03:39:50 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 03:37 go.mod 03:39:50 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 03:37 go.sum 03:39:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:37 internal 03:39:50 -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:50 + 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 --label arch=amd64 --label version=0.0.1-dev.3 . 03:39:50 Sending build context to Docker daemon 11.07MB 03:39:50 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:39:50 Step 2/25 : FROM ${BASE} AS builder 03:39:50 ---> 0a23c4eacaeb 03:39:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:39:50 ---> Running in c878a9fe736e 03:39:50 Removing intermediate container c878a9fe736e 03:39:50 ---> a4034569602a 03:39:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:39:50 ---> Running in 6a4eaaf303d1 03:39:50 Removing intermediate container 6a4eaaf303d1 03:39:50 ---> 6f973bdc5314 03:39:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:39:50 ---> Running in ed81cbe9ea65 03:39:49 > git init /w/workspace/device-uart/4 # timeout=10 03:39:49 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 03:39:49 > git --version # timeout=10 03:39:49 > git --version # 'git version 2.25.1' 03:39:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:51 Removing intermediate container ed81cbe9ea65 03:39:51 ---> a8d81851e784 03:39:51 Step 6/25 : WORKDIR /device-uart 03:39:51 ---> Running in 8da06d89239b 03:39:51 Removing intermediate container 8da06d89239b 03:39:51 ---> 1da3d70e109b 03:39:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:51 ---> Running in 94c5d523e5ff 03:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:39:51 OK: 269 MiB in 57 packages 03:39:51 Avoid second fetch 03:39:51 Checking out Revision a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 (main) 03:39:52 Removing intermediate container 94c5d523e5ff 03:39:52 ---> e54c7a87096a 03:39:52 Step 8/25 : COPY go.mod vendor* ./ 03:39:51 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 03:39:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:51 > git config core.sparsecheckout # timeout=10 03:39:51 > git checkout -f a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 03:39:52 ---> 54f79e430553 03:39:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:52 ---> Running in 62c3dbf112e3 03:39:52 Commit message: "feat: Remove ZeroMQ MessageBus capability (#17)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:52 Removing intermediate container 62c3dbf112e3 03:39:52 ---> fc675aa10d6f 03:39:52 Step 10/25 : COPY . . 03:39:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:39:53 % Total % Received % Xferd Average Speed Time Time Time Current 03:39:53 Dload Upload Total Spent Left Speed 03:39:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 03:39:53 ---> d782e6bffb21 03:39:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:53 ---> Running in 2fafcaf4e7e9 03:39:53 Removing intermediate container 2fafcaf4e7e9 03:39:53 ---> 979e66fa35fc 03:39:53 Step 12/25 : RUN ${MAKE} 03:39:53 ---> Running in 6beca70069f3 [Pipeline] sh 03:39:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:39:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:39:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:39:54 + sudo tee /etc/docker/daemon.new 03:39:54 { 03:39:54 "registry-mirrors": [ 03:39:54 "https://nexus3.edgexfoundry.org:10001" 03:39:54 ], 03:39:54 "bip": "10.250.0.254/24", 03:39:54 "hosts": [ 03:39:54 "tcp://0.0.0.0:5555", 03:39:54 "unix:///var/run/docker.sock" 03:39:54 ], 03:39:54 "mtu": 1458, 03:39:54 "selinux-enabled": true, 03:39:54 "seccomp-profile": "/etc/docker/seccomp.json" 03:39:54 } [Pipeline] sh 03:39:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:39:55 + sudo service docker restart 03:40:11 Removing intermediate container 6beca70069f3 03:40:11 ---> ecd3f8c78925 03:40:11 Step 13/25 : FROM alpine:3.17 03:40:11 3.17: Pulling from library/alpine 03:40:11 4db1b89c0bd1: Already exists 03:40:11 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:40:11 Status: Downloaded newer image for alpine:3.17 03:40:11 ---> 1f73a9d63274 03:40:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:40:12 ---> Running in 5b998ffad307 03:40:12 Removing intermediate container 5b998ffad307 03:40:12 ---> 22dd0062aad6 03:40:12 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:40:12 ---> Running in 57d4a799fa46 03:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:40:12 (1/1) Installing dumb-init (1.2.5-r2) 03:40:12 Executing busybox-1.35.0-r29.trigger 03:40:12 OK: 7 MiB in 16 packages 03:40:13 Removing intermediate container 57d4a799fa46 03:40:13 ---> f3873097b31a 03:40:13 Step 16/25 : WORKDIR / 03:40:13 ---> Running in 23b95d0d71f9 03:40:13 Removing intermediate container 23b95d0d71f9 03:40:13 ---> e2947a5cf871 03:40:13 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:13 provisioning config files... 03:40:13 ---> 42029d965817 03:40:13 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 03:40:13 ---> 4773c68f00ac 03:40:13 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 03:40:13 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config7821218319432878660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:13 ---> docker-login.sh 03:40:13 nexus3.edgexfoundry.org:10001 03:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:14 Configure a credential helper to remove this warning. See 03:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:14 03:40:14 Login Succeeded 03:40:14 nexus3.edgexfoundry.org:10002 03:40:14 ---> ad19478d9d7c 03:40:14 Step 20/25 : EXPOSE 59995 03:40:14 ---> Running in 36dfc47514af 03:40:14 Removing intermediate container 36dfc47514af 03:40:14 ---> 152a522fe5e5 03:40:14 Step 21/25 : ENTRYPOINT ["/device-uart"] 03:40:14 ---> Running in fa071fb2a9f9 03:40:14 Removing intermediate container fa071fb2a9f9 03:40:14 ---> 9c9a895e298b 03:40:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:40:14 ---> Running in 80de14e7ba9d 03:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:14 Configure a credential helper to remove this warning. See 03:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:14 03:40:14 Login Succeeded 03:40:14 nexus3.edgexfoundry.org:10003 03:40:14 Removing intermediate container 80de14e7ba9d 03:40:14 ---> 75d1bb895787 03:40:14 Step 23/25 : LABEL arch=amd64 03:40:14 ---> Running in 1a5a8b217cb9 03:40:14 Removing intermediate container 1a5a8b217cb9 03:40:14 ---> e664e92c6b3b 03:40:14 Step 24/25 : LABEL git_sha=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:40:14 ---> Running in 0fb5e1ae7597 03:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:14 Removing intermediate container 0fb5e1ae7597 03:40:14 ---> 892e0bff241a 03:40:14 Step 25/25 : LABEL version=0.0.1-dev.3 03:40:14 ---> Running in 1f8bb4af23b1 03:40:14 Removing intermediate container 1f8bb4af23b1 03:40:14 ---> 40c5129e4b21 03:40:14 [Warning] One or more build-args [ARCH] were not consumed 03:40:14 Successfully built 40c5129e4b21 03:40: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 03:40:14 provisioning config files... 03:40:14 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6074997848400866664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 nexus3.edgexfoundry.org:10004 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 ---> docker-login.sh 03:40:15 nexus3.edgexfoundry.org:10001 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 nexus3.edgexfoundry.org:10002 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 nexus3.edgexfoundry.org:10003 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 docker.io 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 nexus3.edgexfoundry.org:10004 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 docker.io 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 ---> docker-login.sh ends [Pipeline] } 03:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:40:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:40:15 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 03:40:15 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:40:15 latest 03:40:15 0.0.1-dev.3 03:40:15 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:40:15 main 03:40:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 ---> docker-login.sh ends [Pipeline] } 03:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 03:40:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 03:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:40:16 ========================================================= 03:40:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:40:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:40:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:40:16 d1786e729382: Preparing 03:40:16 55794669cb06: Preparing 03:40:16 553e17d84346: Preparing 03:40:16 17b8e8a0f937: Preparing 03:40:16 3dab9f8bf2d2: Preparing 03:40:16 3dab9f8bf2d2: Layer already exists 03:40:16 55794669cb06: Pushed 03:40:16 17b8e8a0f937: Pushed 03:40:16 553e17d84346: Pushed 03:40:16 + 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 . 03:40:16 Sending build context to Docker daemon 5.566MB 03:40:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:40:16 Step 2/12 : FROM ${BASE} AS builder 03:40:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:40:17 edb6bdbacee9: Pulling fs layer 03:40:17 5f9638ab2659: Pulling fs layer 03:40:17 8d51d6327a98: Pulling fs layer 03:40:17 8b374f2dd631: Pulling fs layer 03:40:17 ec14aa9079de: Pulling fs layer 03:40:17 2f466654f4bb: Pulling fs layer 03:40:17 554e91adad29: Pulling fs layer 03:40:17 ec14aa9079de: Waiting 03:40:17 554e91adad29: Waiting 03:40:17 2f466654f4bb: Waiting 03:40:17 8b374f2dd631: Waiting 03:40:17 5f9638ab2659: Verifying Checksum 03:40:17 5f9638ab2659: Download complete 03:40:17 8b374f2dd631: Verifying Checksum 03:40:17 8b374f2dd631: Download complete 03:40:17 ec14aa9079de: Verifying Checksum 03:40:17 ec14aa9079de: Download complete 03:40:17 edb6bdbacee9: Verifying Checksum 03:40:18 edb6bdbacee9: Pull complete 03:40:18 554e91adad29: Verifying Checksum 03:40:18 554e91adad29: Download complete 03:40:18 5f9638ab2659: Pull complete 03:40:18 d1786e729382: Pushed 03:40:18 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 03:40:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:40:19 d1786e729382: Preparing 03:40:19 55794669cb06: Preparing 03:40:19 553e17d84346: Preparing 03:40:19 17b8e8a0f937: Preparing 03:40:19 3dab9f8bf2d2: Preparing 03:40:19 55794669cb06: Layer already exists 03:40:19 553e17d84346: Layer already exists 03:40:19 d1786e729382: Layer already exists 03:40:19 17b8e8a0f937: Layer already exists 03:40:19 3dab9f8bf2d2: Layer already exists 03:40:19 latest: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 2f466654f4bb: Verifying Checksum 03:40:19 2f466654f4bb: Download complete 03:40:19 8d51d6327a98: Verifying Checksum 03:40:19 8d51d6327a98: Download complete 03:40:19 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:20 + docker push nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 03:40:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:40:20 d1786e729382: Preparing 03:40:20 55794669cb06: Preparing 03:40:20 553e17d84346: Preparing 03:40:20 17b8e8a0f937: Preparing 03:40:20 3dab9f8bf2d2: Preparing 03:40:20 3dab9f8bf2d2: Layer already exists 03:40:20 553e17d84346: Layer already exists 03:40:20 d1786e729382: Layer already exists 03:40:20 55794669cb06: Layer already exists 03:40:20 17b8e8a0f937: Layer already exists 03:40:20 0.0.1-dev.3: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:20 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:20 + docker push nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:40:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:40:20 d1786e729382: Preparing 03:40:20 55794669cb06: Preparing 03:40:20 553e17d84346: Preparing 03:40:20 17b8e8a0f937: Preparing 03:40:20 3dab9f8bf2d2: Preparing 03:40:20 553e17d84346: Layer already exists 03:40:20 d1786e729382: Layer already exists 03:40:20 55794669cb06: Layer already exists 03:40:20 17b8e8a0f937: Layer already exists 03:40:20 3dab9f8bf2d2: Layer already exists 03:40:20 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:21 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:21 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 03:40:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:40:21 d1786e729382: Preparing 03:40:21 55794669cb06: Preparing 03:40:21 553e17d84346: Preparing 03:40:21 17b8e8a0f937: Preparing 03:40:21 3dab9f8bf2d2: Preparing 03:40:21 3dab9f8bf2d2: Layer already exists 03:40:21 d1786e729382: Layer already exists 03:40:21 553e17d84346: Layer already exists 03:40:21 55794669cb06: Layer already exists 03:40:21 17b8e8a0f937: Layer already exists 03:40:21 main: digest: sha256:15c5eb9179213acd055df683deadf2dcd2c4aff8b70a924aaed7824d805c1d9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:40:21 ===================================================== [Pipeline] echo 03:40:21 taggedImages: 03:40:21 - nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:40:21 - nexus3.edgexfoundry.org:10004/device-uart:latest 03:40:21 - nexus3.edgexfoundry.org:10004/device-uart:0.0.1-dev.3 03:40:21 - nexus3.edgexfoundry.org:10004/device-uart:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:40: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 03:40:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:21 03:40:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:22 latest: Pulling from edgex-lftools-log-publisher 03:40:22 5eb5b503b376: Pulling fs layer 03:40:22 5c69ac0246d0: Pulling fs layer 03:40:22 ec43610c2a17: Pulling fs layer 03:40:22 3a2ae6a8a46f: Pulling fs layer 03:40:22 33b1e0a273af: Pulling fs layer 03:40:22 5d3b04190fa2: Pulling fs layer 03:40:22 2f39f015ded8: Pulling fs layer 03:40:22 3a2ae6a8a46f: Waiting 03:40:22 33b1e0a273af: Waiting 03:40:22 5d3b04190fa2: Waiting 03:40:22 2f39f015ded8: Waiting 03:40:22 5c69ac0246d0: Verifying Checksum 03:40:22 5c69ac0246d0: Download complete 03:40:22 3a2ae6a8a46f: Verifying Checksum 03:40:22 3a2ae6a8a46f: Download complete 03:40:22 33b1e0a273af: Verifying Checksum 03:40:22 33b1e0a273af: Download complete 03:40:22 ec43610c2a17: Verifying Checksum 03:40:22 ec43610c2a17: Download complete 03:40:22 5d3b04190fa2: Download complete 03:40:22 5eb5b503b376: Download complete 03:40:22 2f39f015ded8: Download complete 03:40:23 5eb5b503b376: Pull complete 03:40:23 5c69ac0246d0: Pull complete 03:40:24 ec43610c2a17: Pull complete 03:40:24 3a2ae6a8a46f: Pull complete 03:40:24 33b1e0a273af: Pull complete 03:40:24 5d3b04190fa2: Pull complete 03:40:28 2f39f015ded8: Pull complete 03:40:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:40:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:28 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:40: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:31 8d51d6327a98: Pull complete 03:40:31 8b374f2dd631: Pull complete 03:40:31 ec14aa9079de: Pull complete 03:40:33 $ docker top f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:33 ---> job-cost.sh 03:40:33 lf-activate-venv: SKIPPING 03:40:33 INFO: No Stack... 03:40:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:34 INFO: Archiving Costs [Pipeline] sh 03:40:34 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 03:40:34 + cut -d, -f6 [Pipeline] lock 03:40:34 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] 03:40:34 Resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] did not exist. Created. 03:40:34 Lock acquired on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:35 + echo total: 0.2199999988079071 [Pipeline] stash 03:40:35 Stashed 1 file(s) [Pipeline] } 03:40:35 Lock released on resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:35 $ docker stop --time=1 f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f 03:40:36 $ docker rm -f --volumes f39f743520f9579e57b0d01ee6a1bf213a802688256fdbce528c4c20c6c7631f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:40:37 2f466654f4bb: Pull complete 03:40:39 554e91adad29: Pull complete 03:40:40 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:40:40 ---> 1e15ea492957 03:40:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:40:42 ---> Running in e5e9b1259745 03:40:42 Removing intermediate container e5e9b1259745 03:40:42 ---> bd28713fcda5 03:40:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:40:42 ---> Running in e0418fd04536 03:40:42 Removing intermediate container e0418fd04536 03:40:42 ---> ffc887e0ea3d 03:40:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:40:42 ---> Running in 7c385ecc73ac 03:40:42 Removing intermediate container 7c385ecc73ac 03:40:42 ---> f2c578fcccc7 03:40:42 Step 6/12 : WORKDIR /device-uart 03:40:42 ---> Running in 690e3ff96514 03:40:43 Removing intermediate container 690e3ff96514 03:40:43 ---> 9bc89d1f372a 03:40:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:43 ---> Running in c3439ee322e0 03:40:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:40:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:40:45 (1/4) Installing openssh-keygen (9.1_p1-r3) 03:40:45 (2/4) Installing libedit (20221030.3.1-r0) 03:40:45 (3/4) Installing openssh-client-common (9.1_p1-r3) 03:40:45 (4/4) Installing openssh-client-default (9.1_p1-r3) 03:40:45 Executing busybox-1.35.0-r29.trigger 03:40:46 OK: 268 MiB in 57 packages 03:40:46 Removing intermediate container c3439ee322e0 03:40:46 ---> f03c3e0266ee 03:40:46 Step 8/12 : COPY go.mod vendor* ./ 03:40:47 ---> c610d1a6ee12 03:40:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:47 ---> Running in 0fe13bedf4a7 03:41:55 Removing intermediate container 0fe13bedf4a7 03:41:55 ---> 747f23488232 03:41:55 Step 10/12 : COPY . . 03:41:55 ---> 921542a0f86e 03:41:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:41:55 ---> Running in 551fc121e929 03:41:55 Removing intermediate container 551fc121e929 03:41:55 ---> bb852f1a49b6 03:41:55 Step 12/12 : RUN ${MAKE} 03:41:55 ---> Running in 1d28f4869e01 03:41:55 noop 03:41:55 Removing intermediate container 1d28f4869e01 03:41:55 ---> 897742b6da4e 03:41:55 Successfully built 897742b6da4e 03:41:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:55 + docker inspect -f . ci-base-image-arm64 03:41:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:56 prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container 03:41:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:41:57 $ docker top 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:58 + go version 03:41:58 go version go1.20.6 linux/arm64 [Pipeline] } 03:41:58 $ docker stop --time=1 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f 03:41:59 $ docker rm -f --volumes 52beb8c77487c18a3e96423e3cc08dc1385f74eb867f210848fdd8907018180f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:00 + docker inspect -f . ci-base-image-arm64 03:42:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:00 prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container 03:42:00 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:42:01 $ docker top 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:02 + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh 03:42:02 + make test 03:42:02 go test ./... -coverprofile=coverage.out 03:42:34 ? github.com/edgexfoundry/device-uart [no test files] 03:44:11 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:44:11 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:44:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:44:11 go vet ./... 03:44:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:38 ./bin/test-attribution-txt.sh [Pipeline] echo 03:44:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:44:38 $ docker stop --time=1 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b 03:44:40 $ docker rm -f --volumes 6ae0c747f4148353072859e90500e4ec276f78c626b10910fe8b4dd36429871b [Pipeline] // withDockerContainer [Pipeline] sh 03:44:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:41 Warning: overwriting stash ‘coverage-report’ 03:44:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:42 + ls -al . 03:44:42 total 136 03:44:42 drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 03:42 . 03:44:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 03:39 .. 03:44:42 -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 03:39 .dockerignore 03:44:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:39 .git 03:44:42 -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 03:39 .gitignore 03:44:42 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 03:39 .golangci.yml 03:44:42 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 03:39 Attribution.txt 03:44:42 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 03:39 Dockerfile 03:44:42 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 03:39 GOVERNANCE.md 03:44:42 -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 03:39 Jenkinsfile 03:44:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 03:39 LICENSE 03:44:42 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 03:39 Makefile 03:44:42 -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 03:39 OWNERS.md 03:44:42 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 03:39 README.md 03:44:42 -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 03:37 VERSION 03:44:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 03:39 bin 03:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:39 cmd 03:44:42 -rw-r--r-- 1 jenkins jenkins 10 Jul 13 03:42 coverage.out 03:44:42 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 03:39 go.mod 03:44:42 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 03:39 go.sum 03:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 03:39 internal 03:44:42 -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 03:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:42 + 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 --label arch=arm64 --label version=0.0.1-dev.3 . 03:44:43 Sending build context to Docker daemon 5.567MB 03:44:43 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:44:43 Step 2/25 : FROM ${BASE} AS builder 03:44:43 ---> 897742b6da4e 03:44:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:44:43 ---> Running in 011e1d713da2 03:44:44 Removing intermediate container 011e1d713da2 03:44:44 ---> b8df8741ddea 03:44:44 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:44:44 ---> Running in ea6decb86d9b 03:44:45 Removing intermediate container ea6decb86d9b 03:44:45 ---> 3b51dff0f260 03:44:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:44:45 ---> Running in 9e54ebff75e2 03:44:45 Removing intermediate container 9e54ebff75e2 03:44:45 ---> d52dacca056b 03:44:45 Step 6/25 : WORKDIR /device-uart 03:44:45 ---> Running in dad6e3dd329c 03:44:45 Removing intermediate container dad6e3dd329c 03:44:45 ---> b380614c3dc0 03:44:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:45 ---> Running in c9439c116243 03:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:44:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:44:48 OK: 268 MiB in 57 packages 03:44:49 Removing intermediate container c9439c116243 03:44:49 ---> 6fda0aacdd69 03:44:49 Step 8/25 : COPY go.mod vendor* ./ 03:44:50 ---> 610a7d978f9a 03:44:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:50 ---> Running in 1c7ac41d0e2c 03:44:52 Removing intermediate container 1c7ac41d0e2c 03:44:52 ---> 611b5daef7e7 03:44:52 Step 10/25 : COPY . . 03:44:53 ---> f72a9e72ec1a 03:44:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:53 ---> Running in ce98761d7a95 03:44:54 Removing intermediate container ce98761d7a95 03:44:54 ---> 28620d25d8e3 03:44:54 Step 12/25 : RUN ${MAKE} 03:44:54 ---> Running in 79eb22c4fd82 03:44:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.1-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:47:01 Removing intermediate container 79eb22c4fd82 03:47:01 ---> e25c976d62de 03:47:01 Step 13/25 : FROM alpine:3.17 03:47:01 3.17: Pulling from library/alpine 03:47:01 edb6bdbacee9: Already exists 03:47:01 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:47:01 Status: Downloaded newer image for alpine:3.17 03:47:01 ---> 779605e5fbc0 03:47:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:47:01 ---> Running in 67363b42a804 03:47:01 Removing intermediate container 67363b42a804 03:47:01 ---> 11c1345f395f 03:47:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:47:01 ---> Running in 82b57d164027 03:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:47:01 (1/1) Installing dumb-init (1.2.5-r2) 03:47:01 Executing busybox-1.35.0-r29.trigger 03:47:01 OK: 8 MiB in 16 packages 03:47:01 Removing intermediate container 82b57d164027 03:47:01 ---> d7ec25a10e90 03:47:01 Step 16/25 : WORKDIR / 03:47:01 ---> Running in d7ca482bcd89 03:47:02 Removing intermediate container d7ca482bcd89 03:47:02 ---> 806f6c928ad9 03:47:02 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 03:47:02 ---> b001f0c5baae 03:47:02 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 03:47:02 ---> 696109803020 03:47:02 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 03:47:04 ---> 6d64f15eb977 03:47:04 Step 20/25 : EXPOSE 59995 03:47:04 ---> Running in b930c66e92be 03:47:04 Removing intermediate container b930c66e92be 03:47:04 ---> 4dd4aba52631 03:47:04 Step 21/25 : ENTRYPOINT ["/device-uart"] 03:47:04 ---> Running in 056ab7f0ed6d 03:47:05 Removing intermediate container 056ab7f0ed6d 03:47:05 ---> e0c54a7eac34 03:47:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:47:05 ---> Running in a224659e04cc 03:47:05 Removing intermediate container a224659e04cc 03:47:05 ---> 5aeb9d8a9f35 03:47:05 Step 23/25 : LABEL arch=arm64 03:47:05 ---> Running in 7d0fbdb2c7a3 03:47:05 Removing intermediate container 7d0fbdb2c7a3 03:47:05 ---> f6c7dc5c1177 03:47:05 Step 24/25 : LABEL git_sha=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:47:05 ---> Running in f3e2837657fc 03:47:06 Removing intermediate container f3e2837657fc 03:47:06 ---> b621cc5e53b8 03:47:06 Step 25/25 : LABEL version=0.0.1-dev.3 03:47:06 ---> Running in f60426906c01 03:47:06 Removing intermediate container f60426906c01 03:47:06 ---> 6e1d53635407 03:47:06 [Warning] One or more build-args [ARCH] were not consumed 03:47:06 Successfully built 6e1d53635407 03:47:06 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 03:47:06 provisioning config files... 03:47:06 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config16369015528539529260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:06 ---> docker-login.sh 03:47:06 nexus3.edgexfoundry.org:10001 03:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:07 Configure a credential helper to remove this warning. See 03:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:07 03:47:07 Login Succeeded 03:47:07 nexus3.edgexfoundry.org:10002 03:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:07 Configure a credential helper to remove this warning. See 03:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:07 03:47:07 Login Succeeded 03:47:07 nexus3.edgexfoundry.org:10003 03:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:07 Configure a credential helper to remove this warning. See 03:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:07 03:47:07 Login Succeeded 03:47:07 nexus3.edgexfoundry.org:10004 03:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:08 Configure a credential helper to remove this warning. See 03:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:08 03:47:08 Login Succeeded 03:47:08 docker.io 03:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:08 Configure a credential helper to remove this warning. See 03:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:08 03:47:08 Login Succeeded 03:47:08 ---> docker-login.sh ends [Pipeline] } 03:47:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:47:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:47:08 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 03:47:08 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:47:08 latest 03:47:08 0.0.1-dev.3 03:47:08 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:47:08 main 03:47:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:09 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:09 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:47:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:47:09 ea44df357d5d: Preparing 03:47:09 07a0b43f4b2d: Preparing 03:47:09 d1f6bbfa4acb: Preparing 03:47:09 714081aa409c: Preparing 03:47:09 9386262d7a74: Preparing 03:47:09 9386262d7a74: Layer already exists 03:47:09 07a0b43f4b2d: Pushed 03:47:09 d1f6bbfa4acb: Pushed 03:47:09 714081aa409c: Pushed 03:47:15 ea44df357d5d: Pushed 03:47:15 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:15 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:15 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:47:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:47:15 ea44df357d5d: Preparing 03:47:15 07a0b43f4b2d: Preparing 03:47:15 d1f6bbfa4acb: Preparing 03:47:15 714081aa409c: Preparing 03:47:15 9386262d7a74: Preparing 03:47:15 ea44df357d5d: Layer already exists 03:47:15 714081aa409c: Layer already exists 03:47:15 07a0b43f4b2d: Layer already exists 03:47:15 9386262d7a74: Layer already exists 03:47:15 d1f6bbfa4acb: Layer already exists 03:47:15 latest: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:16 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:16 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 03:47:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:47:16 ea44df357d5d: Preparing 03:47:16 07a0b43f4b2d: Preparing 03:47:16 d1f6bbfa4acb: Preparing 03:47:16 714081aa409c: Preparing 03:47:16 9386262d7a74: Preparing 03:47:16 9386262d7a74: Layer already exists 03:47:16 714081aa409c: Layer already exists 03:47:16 ea44df357d5d: Layer already exists 03:47:16 d1f6bbfa4acb: Layer already exists 03:47:16 07a0b43f4b2d: Layer already exists 03:47:16 0.0.1-dev.3: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:16 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:17 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:47:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:47:17 ea44df357d5d: Preparing 03:47:17 07a0b43f4b2d: Preparing 03:47:17 d1f6bbfa4acb: Preparing 03:47:17 714081aa409c: Preparing 03:47:17 9386262d7a74: Preparing 03:47:17 07a0b43f4b2d: Layer already exists 03:47:17 9386262d7a74: Layer already exists 03:47:17 714081aa409c: Layer already exists 03:47:17 ea44df357d5d: Layer already exists 03:47:17 d1f6bbfa4acb: Layer already exists 03:47:17 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:17 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:21 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 03:47:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:47:21 ea44df357d5d: Preparing 03:47:21 07a0b43f4b2d: Preparing 03:47:21 d1f6bbfa4acb: Preparing 03:47:21 714081aa409c: Preparing 03:47:21 9386262d7a74: Preparing 03:47:21 9386262d7a74: Layer already exists 03:47:21 d1f6bbfa4acb: Layer already exists 03:47:21 ea44df357d5d: Layer already exists 03:47:21 714081aa409c: Layer already exists 03:47:21 07a0b43f4b2d: Layer already exists 03:47:21 main: digest: sha256:418cf3792159fa11d9165bbb1fc09cfc90df08d2faf0f842d4f53dfffe376657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:47:21 ===================================================== [Pipeline] echo 03:47:21 taggedImages: 03:47:21 - nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 03:47:21 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:47:21 - nexus3.edgexfoundry.org:10004/device-uart-arm64:0.0.1-dev.3 03:47:21 - nexus3.edgexfoundry.org:10004/device-uart-arm64:a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12-0.0.1-dev.3 03:47:21 - 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 03:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:21 03:47:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:21 arm64: Pulling from edgex-lftools-log-publisher 03:47:21 8998bd30e6a1: Pulling fs layer 03:47:21 04944245beec: Pulling fs layer 03:47:21 699f458cf7ca: Pulling fs layer 03:47:21 765212b225bb: Pulling fs layer 03:47:21 f23df028b6ca: Pulling fs layer 03:47:21 d65c8cfc05b1: Pulling fs layer 03:47:21 2437ff75d9bd: Pulling fs layer 03:47:21 f23df028b6ca: Waiting 03:47:21 d65c8cfc05b1: Waiting 03:47:21 2437ff75d9bd: Waiting 03:47:21 765212b225bb: Waiting 03:47:22 04944245beec: Verifying Checksum 03:47:22 04944245beec: Download complete 03:47:22 765212b225bb: Verifying Checksum 03:47:22 765212b225bb: Download complete 03:47:22 f23df028b6ca: Verifying Checksum 03:47:22 f23df028b6ca: Download complete 03:47:22 d65c8cfc05b1: Verifying Checksum 03:47:22 d65c8cfc05b1: Download complete 03:47:22 699f458cf7ca: Verifying Checksum 03:47:22 699f458cf7ca: Download complete 03:47:22 8998bd30e6a1: Download complete 03:47:24 2437ff75d9bd: Verifying Checksum 03:47:24 2437ff75d9bd: Download complete 03:47:26 8998bd30e6a1: Pull complete 03:47:26 04944245beec: Pull complete 03:47:28 699f458cf7ca: Pull complete 03:47:28 765212b225bb: Pull complete 03:47:28 f23df028b6ca: Pull complete 03:47:29 d65c8cfc05b1: Pull complete 03:47:44 2437ff75d9bd: Pull complete 03:47:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:47:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:44 prd-ubuntu20.04-docker-arm64-4c-16g-1034 does not seem to be running inside a container 03:47:44 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:47:46 $ docker top ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:47 ---> job-cost.sh 03:47:47 lf-activate-venv: SKIPPING 03:47:47 INFO: No Stack... 03:47:47 INFO: Retrieving Pricing Info for: v3-standard-4 03:47:48 INFO: Archiving Costs [Pipeline] sh 03:47:49 + cut -d, -f6+ 03:47:49 cat /w/workspace/device-uart/4/archives/cost.csv [Pipeline] lock 03:47:49 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] 03:47:49 Resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] did not exist. Created. 03:47:49 Lock acquired on [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:47:50 /w/workspace/device-uart/4@tmp/durable-69691ece/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:47:50 + echo total: 0.10999999940395355 [Pipeline] stash 03:47:50 Warning: overwriting stash ‘stack-cost’ 03:47:50 Stashed 1 file(s) [Pipeline] } 03:47:50 Lock released on resource [jenkins-edgexfoundry-device-uart-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 03:47:50 $ docker stop --time=1 ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 03:47:51 $ docker rm -f --volumes ec566aebcde65dbc3a4619513c92381a68c5587f1d880b2124e61e909e38f204 [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 03:47:52 provisioning config files... 03:47:52 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3111820364302107076tmp [Pipeline] { [Pipeline] sh 03:47:52 + set +x 03:47:52 + curl -s https://codecov.io/bash 03:47:52 + bash -s -- 03:47:52 03:47:52 _____ _ 03:47:52 / ____| | | 03:47:52 | | ___ __| | ___ ___ _____ __ 03:47:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:47:52 | |___| (_) | (_| | __/ (_| (_) \ V / 03:47:52 \_____\___/ \__,_|\___|\___\___/ \_/ 03:47:52 Bash-1.0.6 03:47:52 03:47:52 03:47:52 ==> git version 2.25.1 found 03:47:52 ==> 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 03:47:52 Release-Date: 2020-01-08 03:47:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:47:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:47:52 ==> Jenkins CI detected. 03:47:52 current dir:  /w/workspace/edgexfoundry_device-uart_main 03:47:52 project root: . 03:47:52 --> token set from env 03:47:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:47:52 ==> Running gcov in . (disable via -X gcov) 03:47:52 ==> Python coveragepy not found 03:47:52 ==> Searching for coverage reports in: 03:47:52 + . 03:47:52 -> Found 1 reports 03:47:52 ==> Detecting git/mercurial file structure 03:47:52 ==> Reading reports 03:47:52 + ./coverage.out bytes=10 03:47:52 ==> Appending adjustments 03:47:52 https://docs.codecov.io/docs/fixing-reports 03:47:52 + Found adjustments 03:47:52 ==> Gzipping contents 03:47:52 4.0K /tmp/codecov.kYYJMT.gz 03:47:52 ==> Uploading reports 03:47:52 url: https://codecov.io 03:47:52 query: branch=main&commit=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:47:53 -> Pinging Codecov 03:47:53 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=a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:47:53 -> Uploading to 03:47:53 https://storage.googleapis.com/codecov/v4/raw/2023-07-13/B9AA6E0BBD74AE3A32605C7A7C664919/a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12/916f687c-60b5-4551-92d1-c0293735128d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T034753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7c10b76db3ff96b56c694891ed7b74b26b07f5fb4ac1f08a9e4c407228e4567 03:47:53 % Total % Received % Xferd Average Speed Time Time Time Current 03:47:53 Dload Upload Total Spent Left Speed 03:47:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 551 0 0 100 551 0 2700 --:--:-- --:--:-- --:--:-- 2700 03:47:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] } 03:47:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:47:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:47:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:47:53 03:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:47:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:47:54 df9b9388f04a: Pulling fs layer 03:47:54 52dc419b0ee2: Pulling fs layer 03:47:54 25bc292e5bac: Pulling fs layer 03:47:54 114826534d7a: Pulling fs layer 03:47:54 4657fd5d0bcf: Pulling fs layer 03:47:54 6ad1cebc031e: Pulling fs layer 03:47:54 8a3aa393b2d8: Pulling fs layer 03:47:54 4657fd5d0bcf: Waiting 03:47:54 6ad1cebc031e: Waiting 03:47:54 114826534d7a: Waiting 03:47:54 8a3aa393b2d8: Waiting 03:47:54 25bc292e5bac: Verifying Checksum 03:47:54 25bc292e5bac: Download complete 03:47:54 52dc419b0ee2: Verifying Checksum 03:47:54 52dc419b0ee2: Download complete 03:47:54 4657fd5d0bcf: Verifying Checksum 03:47:54 4657fd5d0bcf: Download complete 03:47:54 df9b9388f04a: Verifying Checksum 03:47:54 df9b9388f04a: Download complete 03:47:54 df9b9388f04a: Pull complete 03:47:54 6ad1cebc031e: Verifying Checksum 03:47:54 52dc419b0ee2: Pull complete 03:47:54 25bc292e5bac: Pull complete 03:47:55 114826534d7a: Verifying Checksum 03:47:55 114826534d7a: Download complete 03:47:55 8a3aa393b2d8: Verifying Checksum 03:47:55 8a3aa393b2d8: Download complete 03:47:58 114826534d7a: Pull complete 03:47:58 4657fd5d0bcf: Pull complete 03:47:58 6ad1cebc031e: Pull complete 03:48:00 8a3aa393b2d8: Pull complete 03:48:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:48:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:48:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:00 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:48:03 $ docker top 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb -eo pid,comm [Pipeline] { [Pipeline] echo 03:48:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 03:48:03 + set -o pipefail 03:48:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 03:48:12 03:48:12 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 03:48:12 03:48:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/17c3a622-51fa-464f-af40-3369cc3f8daa 03:48:12 03:48:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:48:12 03:48:12 03:48:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:48:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:48:12 More details here: https://snyk.co/ue1NS 03:48:12 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:48:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:48:12 $ docker stop --time=1 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb 03:48:14 $ docker rm -f --volumes 4f863e9858e4e9fae12e5034e91e5392ca25276184f324f82d89eb0473a098cb [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 03:48:15 + git log --format=format:%s -1 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 [Pipeline] sh 03:48:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:48:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:48:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:16 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:48:16 $ docker top 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e -eo pid,comm 03:48:16 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). 03:48:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:48:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:48:16 [ssh-agent] Looking for ssh-agent implementation... 03:48:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:48:16 $ docker exec 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e ssh-agent 03:48:17 SSH_AUTH_SOCK=/tmp/ssh-ovWpu1SHFquG/agent.31 03:48:17 SSH_AGENT_PID=37 03:48:17 Running ssh-add (command line suppressed) 03:48:17 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12345591852773817029.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12345591852773817029.key) 03:48:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:48:17 + git semver tag 03:48:17 2023-07-13 03:48:17,595 [run_tag] DEBUG tag force:False 03:48:17 2023-07-13 03:48:17,595 [check_head_tag] DEBUG check head tag 03:48:17 2023-07-13 03:48:17,595 [execute] INFO git cat-file --batch-check 03:48:17 2023-07-13 03:48:17,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:48:17 2023-07-13 03:48:17,599 [execute] INFO git cat-file --batch 03:48:17 2023-07-13 03:48:17,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 03:48:17 2023-07-13 03:48:17,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:17 2023-07-13 03:48:17,605 [execute] INFO git tag -a v0.0.1-dev.3 -m v0.0.1-dev.3 03:48:17 2023-07-13 03:48:17,605 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.3', '-m', 'v0.0.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 03:48:17 2023-07-13 03:48:17,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:17 0.0.1-dev.3 [Pipeline] } 03:48:17 $ docker exec --env ******** --env ******** 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e ssh-agent -k 03:48:17 unset SSH_AUTH_SOCK; 03:48:17 unset SSH_AGENT_PID; 03:48:17 echo Agent pid 37 killed; 03:48:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:48:18 + git semver [Pipeline] } 03:48:18 $ docker stop --time=1 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e 03:48:19 $ docker rm -f --volumes 79e0f38c955297befb2d1ea5f5e63c677e5ddd9f72ca0f35a6ed8b3f913b641e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:48:19 03:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:48:20 0.23.1-centos7: Pulling from edgex-lftools 03:48:20 ab5ef0e58194: Pulling fs layer 03:48:20 9712f1f96733: Pulling fs layer 03:48:20 63f879dbbcfc: Pulling fs layer 03:48:20 0d9ebad4ef96: Pulling fs layer 03:48:20 e9a5061849ea: Pulling fs layer 03:48:20 d747dcd14b5f: Pulling fs layer 03:48:20 2de7ff778b66: Pulling fs layer 03:48:20 0d9ebad4ef96: Waiting 03:48:20 e9a5061849ea: Waiting 03:48:20 d747dcd14b5f: Waiting 03:48:20 2de7ff778b66: Waiting 03:48:20 9712f1f96733: Verifying Checksum 03:48:20 9712f1f96733: Download complete 03:48:20 63f879dbbcfc: Verifying Checksum 03:48:20 63f879dbbcfc: Download complete 03:48:20 0d9ebad4ef96: Verifying Checksum 03:48:20 0d9ebad4ef96: Download complete 03:48:20 d747dcd14b5f: Download complete 03:48:20 e9a5061849ea: Verifying Checksum 03:48:20 e9a5061849ea: Download complete 03:48:20 ab5ef0e58194: Verifying Checksum 03:48:20 ab5ef0e58194: Download complete 03:48:20 2de7ff778b66: Verifying Checksum 03:48:20 2de7ff778b66: Download complete 03:48:23 ab5ef0e58194: Pull complete 03:48:23 9712f1f96733: Pull complete 03:48:24 63f879dbbcfc: Pull complete 03:48:27 0d9ebad4ef96: Pull complete 03:48:27 e9a5061849ea: Pull complete 03:48:27 d747dcd14b5f: Pull complete 03:48:28 2de7ff778b66: Pull complete 03:48:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:48:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:28 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:48:32 $ docker top 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:48:32 provisioning config files... 03:48:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config1048723370371149796tmp 03:48:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15922103989272339370tmp 03:48:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config451880788989547962tmp [Pipeline] { [Pipeline] echo 03:48:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:48:32 ---> sigul-configuration.sh 03:48:32 gpg: directory `/root/.gnupg' created 03:48:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:48:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:48:32 gpg: keyring `/root/.gnupg/secring.gpg' created 03:48:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:48:32 gpg: CAST5 encrypted data 03:48:32 gpg: encrypted with 1 passphrase 03:48:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:48:33 + mkdir /home/jenkins 03:48:33 + mkdir /home/jenkins/sigul [Pipeline] sh 03:48:33 + 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 03:48:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:48:33 ---> sigul-install.sh 03:48:33 Sigul already installed; skipping installation. [Pipeline] sh 03:48:33 + git tag --list 03:48:33 v0.0.0 03:48:33 v0.0.1-dev.1 03:48:33 v0.0.1-dev.2 03:48:33 v0.0.1-dev.3 [Pipeline] sh 03:48:34 + lftools sign git-tag v0.0.1-dev.3 03:48:34 Signing Git tag with Sigul... 03:48:34 Signing v0.0.1-dev.3 [Pipeline] echo 03:48:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:48:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:48:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:48:35 $ docker stop --time=1 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f 03:48:36 $ docker rm -f --volumes 435948131c7924834b296efcf73eeefffc94ad036b2d67e53182611132f2b49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:48:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:48:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:48:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:37 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:48:37 $ docker top 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 -eo pid,comm 03:48:37 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). 03:48:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:48:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:48:37 [ssh-agent] Looking for ssh-agent implementation... 03:48:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:48:37 $ docker exec 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 ssh-agent 03:48:38 SSH_AUTH_SOCK=/tmp/ssh-5Qk9XB82K6GT/agent.32 03:48:38 SSH_AGENT_PID=38 03:48:38 Running ssh-add (command line suppressed) 03:48:38 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9453507619302797293.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_9453507619302797293.key) 03:48:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:48:38 + git semver bump pre 03:48:38 2023-07-13 03:48:38,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:38 2023-07-13 03:48:38,592 [bump_version] DEBUG bumping version:0.0.1-dev.3 on axis:pre with prefix:dev 03:48:38 2023-07-13 03:48:38,593 [bump_version] DEBUG bumped version:0.0.1-dev.4 03:48:38 2023-07-13 03:48:38,593 [write_version] DEBUG write version:0.0.1-dev.4 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 03:48:38 2023-07-13 03:48:38,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:38 2023-07-13 03:48:38,593 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:38 2023-07-13 03:48:38,595 [execute] INFO git cat-file --batch-check 03:48:38 2023-07-13 03:48:38,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:48:38 2023-07-13 03:48:38,600 [execute] INFO git cat-file --batch 03:48:38 2023-07-13 03:48:38,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:48:38 2023-07-13 03:48:38,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:38 0.0.1-dev.4 [Pipeline] } 03:48:38 $ docker exec --env ******** --env ******** 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 ssh-agent -k 03:48:38 unset SSH_AUTH_SOCK; 03:48:38 unset SSH_AGENT_PID; 03:48:38 echo Agent pid 38 killed; 03:48:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:48:39 + git semver [Pipeline] } 03:48:39 $ docker stop --time=1 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 03:48:40 $ docker rm -f --volumes 373d7bdd4406fd6cd94a721b135eadcdc520c787efbbdcc3fea5520f4f9f7084 [Pipeline] // withDockerContainer [Pipeline] sh 03:48:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:48:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:48:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:41 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:48:41 $ docker top 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 -eo pid,comm 03:48:41 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). 03:48:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:48:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:48:41 [ssh-agent] Looking for ssh-agent implementation... 03:48:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:48:41 $ docker exec 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 ssh-agent 03:48:41 SSH_AUTH_SOCK=/tmp/ssh-0OQYgSvByAHA/agent.32 03:48:41 SSH_AGENT_PID=38 03:48:41 Running ssh-add (command line suppressed) 03:48:42 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7836774564335141822.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_7836774564335141822.key) 03:48:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:48:42 + git semver push 03:48:42 2023-07-13 03:48:42,548 [run_push] DEBUG push 03:48:42 2023-07-13 03:48:42,549 [execute] INFO git cat-file --batch-check 03:48:42 2023-07-13 03:48:42,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 03:48:42 2023-07-13 03:48:42,553 [execute] INFO git rev-list 76c6fde287ab0578c668fb37437061729eeb6a88 -- 03:48:42 2023-07-13 03:48:42,553 [execute] DEBUG Popen(['git', 'rev-list', '76c6fde287ab0578c668fb37437061729eeb6a88', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:48:42 2023-07-13 03:48:42,558 [execute] INFO git fetch -v origin 03:48:42 2023-07-13 03:48:42,558 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 03:48:43 2023-07-13 03:48:43,040 [run_push] DEBUG no remote changes detected 03:48:43 2023-07-13 03:48:43,041 [execute] INFO git push origin semver 03:48:43 2023-07-13 03:48:43,041 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 03:48:44 2023-07-13 03:48:43,864 [run_push] DEBUG push all version tags 03:48:44 2023-07-13 03:48:43,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:48:44 2023-07-13 03:48:43,865 [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) 03:48:44 2023-07-13 03:48:44,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:48:44 0.0.1-dev.4 [Pipeline] } 03:48:44 $ docker exec --env ******** --env ******** 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 ssh-agent -k 03:48:44 unset SSH_AUTH_SOCK; 03:48:44 unset SSH_AGENT_PID; 03:48:44 echo Agent pid 38 killed; 03:48:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:48:45 + git semver [Pipeline] } 03:48:45 $ docker stop --time=1 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 03:48:46 $ docker rm -f --volumes 858272eb4c6c1afbc83f3cbcb5fd297da37c372bc17c7399c789e1ee1b9087d7 [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 03:48:47 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 03:48:47 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:48:47 total 16 03:48:47 drwxr-xr-x 3 root root 4096 Jul 13 03:40 . 03:48:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:48 .. 03:48:47 drwxr-xr-x 2 root root 4096 Jul 13 03:40 cost 03:48:47 -rw-r--r-- 1 root root 81 Jul 13 03:40 cost.csv 03:48:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 03:48:47 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:48:47 total 16 03:48:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 03:40 . 03:48:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 03:48 .. 03:48:47 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 03:40 cost 03:48:47 -rw-r--r-- 1 jenkins jenkins 81 Jul 13 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:48:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:48:48 ---> package-listing.sh 03:48:48 ++ facter osfamily 03:48:48 ++ tr '[:upper:]' '[:lower:]' 03:48:48 + OS_FAMILY=debian 03:48:48 + workspace=/w/workspace/edgexfoundry_device-uart_main 03:48:48 + START_PACKAGES=/tmp/packages_start.txt 03:48:48 + END_PACKAGES=/tmp/packages_end.txt 03:48:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:48:48 + PACKAGES=/tmp/packages_start.txt 03:48:48 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:48:48 + PACKAGES=/tmp/packages_end.txt 03:48:48 + case "${OS_FAMILY}" in 03:48:48 + grep '^ii' 03:48:48 + dpkg -l 03:48:48 + '[' -f /tmp/packages_start.txt ']' 03:48:48 + '[' -f /tmp/packages_end.txt ']' 03:48:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:48:48 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:48:48 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 03:48:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 03:48:48 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 03:48:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:49 prd-ubuntu20.04-docker-8c-8g-1033 does not seem to be running inside a container 03:48:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:48:49 $ docker top 562704f8fedd036373b1e6a082d15f77475a2a53d09265d8d6af841bb1a26afd -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:50 + touch /tmp/pre-build-complete [Pipeline] sh 03:48:50 + mkdir -p /var/log/sysstat [Pipeline] sh 03:48:50 + ls /var/log/sa-host 03:48:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:48:50 provisioning config files... 03:48:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config341749692875277201tmp [Pipeline] { [Pipeline] echo 03:48:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:48:51 ---> create-netrc.sh [Pipeline] } 03:48:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:48:51 ---> python-tools-install.sh [Pipeline] echo 03:48:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:48:52 ---> sudo-logs.sh 03:48:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:48:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:48:52 ---> job-cost.sh 03:48:52 lf-activate-venv: SKIPPING 03:48:52 DEBUG: total: 0.2199999988079071 03:48:52 INFO: Retrieving Stack Cost... 03:48:52 INFO: Retrieving Pricing Info for: v3-standard-8 03:48:53 INFO: Archiving Costs [Pipeline] echo 03:48:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:48:53 ---> logs-deploy.sh 03:48:53 lf-activate-venv: SKIPPING 03:48:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/4 03:48:53 INFO: archiving workspace using pattern(s): 03:48:55 Archives upload complete. 03:48:55 INFO: archiving logs to Nexus