Started by upstream project "edgexfoundry/cd-management/release" build number 160 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f79754343d8b1121fd7b40f656006f62376f5905 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-ssh7213727616713350408.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-ssh15477155546465584195.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-ssh6307184280022548219.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-ssh2992842923012348536.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-ssh15909791586028885449.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-3092 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 f79754343d8b1121fd7b40f656006f62376f5905 (main) Commit message: "feat: Add integer read and write support (#20)" > 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 f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 > git rev-list --no-walk f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:18:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:12 ========================================================= 03:18:12 EdgeX Global Pipelines Version Info 03:18:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:19 ------------------- 03:18:19 stable info: 03:18:19 ------------------- 03:18:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:18:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:18:19 Message: update stable to v1.0.250 03:18:19 ------------------- 03:18:19 experimental info: 03:18:19 ------------------- 03:18:19 Commited By: **** collab-it+edgex@linuxfoundation.org 03:18:19 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 03:18:19 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 03:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f797543 [Pipeline] echo 03:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:20 provisioning config files... 03:18:20 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config8869874490074222794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:20 ---> docker-login.sh 03:18:20 nexus3.edgexfoundry.org:10001 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 nexus3.edgexfoundry.org:10002 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 nexus3.edgexfoundry.org:10003 03:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 nexus3.edgexfoundry.org:10004 03:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 docker.io 03:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:23 Configure a credential helper to remove this warning. See 03:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:23 03:18:23 Login Succeeded 03:18:23 ---> docker-login.sh ends [Pipeline] } 03:18:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:18:23 + git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 03:18:23 -----------> git rev-list -1 --merges f79754343d8b1121fd7b40f656006f62376f5905~1..f79754343d8b1121fd7b40f656006f62376f5905 f79754343d8b1121fd7b40f656006f62376f5905 [false] [Pipeline] sh 03:18:24 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 03:18:24 ========================================================= 03:18:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 03:18:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:24 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] echo 03:18:24 [semverPrep] GIT_COMMIT: f79754343d8b1121fd7b40f656006f62376f5905, Commit Message: feat: Add integer read and write support (#20) [Pipeline] echo 03:18:24 [semverPrep] This is not a build commit. [Pipeline] sh 03:18:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:24 + grep -v github /etc/ssh/ssh_known_hosts 03:18:24 + [ -e /tmp/ssh_known_hosts ] 03:18:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:18:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:18:24 + sudo tee -a /etc/ssh/ssh_known_hosts 03:18:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:25 03:18:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:25 0.1.4: Pulling from edgex-devops/py-git-semver 03:18:25 b85a868b505f: Pulling fs layer 03:18:25 e2be974225ed: Pulling fs layer 03:18:25 339a4e72a1f5: Pulling fs layer 03:18:25 988bab9f4d93: Pulling fs layer 03:18:25 1469e6f7b9e6: Pulling fs layer 03:18:25 eaf3925da568: Pulling fs layer 03:18:25 bab4dde63d76: Pulling fs layer 03:18:25 bde34c3a00c8: Pulling fs layer 03:18:25 b352a97aabf1: Pulling fs layer 03:18:25 4872d77fe225: Pulling fs layer 03:18:25 5851b861e8e6: Pulling fs layer 03:18:25 bab4dde63d76: Waiting 03:18:25 bde34c3a00c8: Waiting 03:18:25 b352a97aabf1: Waiting 03:18:25 4872d77fe225: Waiting 03:18:25 988bab9f4d93: Waiting 03:18:25 1469e6f7b9e6: Waiting 03:18:25 eaf3925da568: Waiting 03:18:25 e2be974225ed: Verifying Checksum 03:18:25 e2be974225ed: Download complete 03:18:25 988bab9f4d93: Download complete 03:18:25 1469e6f7b9e6: Verifying Checksum 03:18:25 1469e6f7b9e6: Download complete 03:18:25 339a4e72a1f5: Verifying Checksum 03:18:25 339a4e72a1f5: Download complete 03:18:25 eaf3925da568: Verifying Checksum 03:18:25 eaf3925da568: Download complete 03:18:25 bde34c3a00c8: Verifying Checksum 03:18:25 bde34c3a00c8: Download complete 03:18:25 b352a97aabf1: Verifying Checksum 03:18:25 b352a97aabf1: Download complete 03:18:25 4872d77fe225: Verifying Checksum 03:18:25 4872d77fe225: Download complete 03:18:25 5851b861e8e6: Verifying Checksum 03:18:25 5851b861e8e6: Download complete 03:18:25 b85a868b505f: Verifying Checksum 03:18:25 b85a868b505f: Download complete 03:18:26 bab4dde63d76: Verifying Checksum 03:18:26 bab4dde63d76: Download complete 03:18:26 b85a868b505f: Pull complete 03:18:26 e2be974225ed: Pull complete 03:18:27 339a4e72a1f5: Pull complete 03:18:27 988bab9f4d93: Pull complete 03:18:27 1469e6f7b9e6: Pull complete 03:18:28 eaf3925da568: Pull complete 03:18:29 bab4dde63d76: Pull complete 03:18:29 bde34c3a00c8: Pull complete 03:18:29 b352a97aabf1: Pull complete 03:18:29 4872d77fe225: Pull complete 03:18:29 5851b861e8e6: Pull complete 03:18:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:30 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:18:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:18:33 $ docker top e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 -eo pid,comm 03:18:33 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:18:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:33 [ssh-agent] Looking for ssh-agent implementation... 03:18:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:33 $ docker exec e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 ssh-agent 03:18:33 SSH_AUTH_SOCK=/tmp/ssh-rP1qLOlvU1Sw/agent.32 03:18:33 SSH_AGENT_PID=38 03:18:33 Running ssh-add (command line suppressed) 03:18:33 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4220930983071049843.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4220930983071049843.key) 03:18:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:34 + git tag --points-at f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } 03:18:34 $ docker exec --env ******** --env ******** e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 ssh-agent -k 03:18:34 unset SSH_AUTH_SOCK; 03:18:34 unset SSH_AGENT_PID; 03:18:34 echo Agent pid 38 killed; 03:18:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:18:34 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v0.0.1-dev.4|v3.0.0' [Pipeline] sshagent 03:18:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:34 [ssh-agent] Looking for ssh-agent implementation... 03:18:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:34 $ docker exec e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 ssh-agent 03:18:34 SSH_AUTH_SOCK=/tmp/ssh-Roy5wvs75zq4/agent.70 03:18:34 SSH_AGENT_PID=76 03:18:34 Running ssh-add (command line suppressed) 03:18:34 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16122098305468152356.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16122098305468152356.key) 03:18:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:34 + git semver init 03:18:35 2023-08-08 03:18:34,987 [run_init] DEBUG init version:0.0.0 force:False 03:18:35 2023-08-08 03:18:34,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 03:18:35 2023-08-08 03:18:34,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 03:18:35 2023-08-08 03:18:34,989 [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:18:36 2023-08-08 03:18:35,787 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 03:18:36 2023-08-08 03:18:35,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 03:18:36 2023-08-08 03:18:35,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:18:36 2023-08-08 03:18:35,788 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 03:18:36 3.0.0 [Pipeline] } 03:18:36 $ docker exec --env ******** --env ******** e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 ssh-agent -k 03:18:36 unset SSH_AUTH_SOCK; 03:18:36 unset SSH_AGENT_PID; 03:18:36 echo Agent pid 76 killed; 03:18:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:36 + git semver [Pipeline] } 03:18:36 $ docker stop --time=1 e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 03:18:38 $ docker rm -f --volumes e7aa9eab4e1aae38f36363f35ec138143e8a66bb05ef0eb43009eaa42cd48a64 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:18:38 Stashed 1 file(s) [Pipeline] echo 03:18:38 [edgeXSemver]: initialized semver on version 3.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:39 + git checkout f79754343d8b1121fd7b40f656006f62376f5905 03:18:39 HEAD is now at f797543 feat: Add integer read and write support (#20) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:39 provisioning config files... 03:18:39 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7993900991301720743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:39 ---> docker-login.sh 03:18:39 nexus3.edgexfoundry.org:10001 03:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:39 Configure a credential helper to remove this warning. See 03:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:39 03:18:39 Login Succeeded 03:18:39 nexus3.edgexfoundry.org:10002 03:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:39 Configure a credential helper to remove this warning. See 03:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:39 03:18:39 Login Succeeded 03:18:39 nexus3.edgexfoundry.org:10003 03:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:39 Configure a credential helper to remove this warning. See 03:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:39 03:18:39 Login Succeeded 03:18:39 nexus3.edgexfoundry.org:10004 03:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:39 Configure a credential helper to remove this warning. See 03:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:39 03:18:39 Login Succeeded 03:18:39 docker.io 03:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:39 Configure a credential helper to remove this warning. See 03:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:39 03:18:39 Login Succeeded 03:18:39 ---> docker-login.sh ends [Pipeline] } 03:18:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:39 ========================================================= 03:18:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:18:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:40 + 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:18:40 Sending build context to Docker daemon 11.08MB 03:18:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:18:40 Step 2/12 : FROM ${BASE} AS builder 03:18:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:18:40 4db1b89c0bd1: Pulling fs layer 03:18:40 6911f1a30b25: Pulling fs layer 03:18:40 e194b8c5c2a9: Pulling fs layer 03:18:40 6863d3e3a2b1: Pulling fs layer 03:18:40 ec0bb842ea78: Pulling fs layer 03:18:40 40a00589a448: Pulling fs layer 03:18:40 6c08303d61cc: Pulling fs layer 03:18:40 798269fcf238: Pulling fs layer 03:18:40 40a00589a448: Waiting 03:18:40 6863d3e3a2b1: Waiting 03:18:40 6c08303d61cc: Waiting 03:18:40 ec0bb842ea78: Waiting 03:18:40 6911f1a30b25: Verifying Checksum 03:18:40 6911f1a30b25: Download complete 03:18:40 6863d3e3a2b1: Download complete 03:18:40 ec0bb842ea78: Download complete 03:18:40 4db1b89c0bd1: Verifying Checksum 03:18:40 4db1b89c0bd1: Download complete 03:18:40 40a00589a448: Verifying Checksum 03:18:40 40a00589a448: Download complete 03:18:40 4db1b89c0bd1: Pull complete 03:18:40 6911f1a30b25: Pull complete 03:18:41 798269fcf238: Verifying Checksum 03:18:41 798269fcf238: Download complete 03:18:41 e194b8c5c2a9: Verifying Checksum 03:18:41 e194b8c5c2a9: Download complete 03:18:41 6c08303d61cc: Verifying Checksum 03:18:41 6c08303d61cc: Download complete 03:18:44 e194b8c5c2a9: Pull complete 03:18:44 6863d3e3a2b1: Pull complete 03:18:44 ec0bb842ea78: Pull complete 03:18:44 40a00589a448: Pull complete 03:18:47 6c08303d61cc: Pull complete 03:18:48 798269fcf238: Pull complete 03:18:48 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:18:48 ---> ec979cd7f677 03:18:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:18:53 Still waiting to schedule task 03:18:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:18:56 ---> Running in 43dd6596cd28 03:18:56 Removing intermediate container 43dd6596cd28 03:18:56 ---> 748ca6575e64 03:18:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:18:56 ---> Running in e47d39f345cd 03:18:56 Removing intermediate container e47d39f345cd 03:18:56 ---> db2bc9f9f131 03:18:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:18:56 ---> Running in 226a6d84731e 03:18:56 Removing intermediate container 226a6d84731e 03:18:56 ---> 30975abaf270 03:18:56 Step 6/12 : WORKDIR /device-uart 03:18:56 ---> Running in 9c6afedcd8fd 03:18:56 Removing intermediate container 9c6afedcd8fd 03:18:56 ---> e0c1a754bd7d 03:18:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:57 ---> Running in b7085be8abbe 03:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:18:57 (1/4) Installing openssh-keygen (9.1_p1-r4) 03:18:57 (2/4) Installing libedit (20221030.3.1-r0) 03:18:57 (3/4) Installing openssh-client-common (9.1_p1-r4) 03:18:58 (4/4) Installing openssh-client-default (9.1_p1-r4) 03:18:58 Executing busybox-1.35.0-r29.trigger 03:18:58 OK: 269 MiB in 57 packages 03:18:59 Removing intermediate container b7085be8abbe 03:18:59 ---> 0d67647fedaf 03:18:59 Step 8/12 : COPY go.mod vendor* ./ 03:18:59 ---> bf0b342e1d1b 03:18:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:59 ---> Running in 259881ddd76c 03:20:07 Removing intermediate container 259881ddd76c 03:20:07 ---> 2a4791accb7b 03:20:07 Step 10/12 : COPY . . 03:20:07 ---> 584d3048d629 03:20:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:07 ---> Running in be84fb9cc318 03:20:07 Removing intermediate container be84fb9cc318 03:20:07 ---> 370b4d6b7624 03:20:07 Step 12/12 : RUN ${MAKE} 03:20:07 ---> Running in 97239e17a54e 03:20:07 noop 03:20:07 Removing intermediate container 97239e17a54e 03:20:07 ---> 0ab4baf22030 03:20:07 Successfully built 0ab4baf22030 03:20:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:07 + docker inspect -f . ci-base-image-x86_64 03:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:07 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:20:08 $ docker top d3ac1f79bd66a0747ce8a97418b5fddf14d8dea1c0415c31216dd010b62fb3e2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:08 + go version 03:20:08 go version go1.20.6 linux/amd64 [Pipeline] } 03:20:08 $ docker stop --time=1 d3ac1f79bd66a0747ce8a97418b5fddf14d8dea1c0415c31216dd010b62fb3e2 03:20:09 $ docker rm -f --volumes d3ac1f79bd66a0747ce8a97418b5fddf14d8dea1c0415c31216dd010b62fb3e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:10 + docker inspect -f . ci-base-image-x86_64 03:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:10 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:20:10 $ docker top bf5c9f9734935e229abb6730ccbf772367d778eeda2d108a92011bf01799b4d9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 03:20:11 + make test 03:20:11 go test ./... -coverprofile=coverage.out 03:20:15 ? github.com/edgexfoundry/device-uart [no test files] 03:20:25 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:20:25 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:20:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3093 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 03:20:29 Running in /w/workspace/device-uart/6 [Pipeline] { [Pipeline] checkout 03:20:29 The recommended git tool is: git 03:20:30 go vet ./... 03:20:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:20:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:20:34 ./bin/test-attribution-txt.sh [Pipeline] echo 03:20:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:20:34 $ docker stop --time=1 bf5c9f9734935e229abb6730ccbf772367d778eeda2d108a92011bf01799b4d9 03:20:35 using credential edgex-jenkins-ssh 03:20:35 Cloning the remote Git repository 03:20:35 Cloning repository git@github.com:edgexfoundry/device-uart.git 03:20:36 > git init /w/workspace/device-uart/6 # timeout=10 03:20:36 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 03:20:36 > git --version # timeout=10 03:20:36 > git --version # 'git version 2.25.1' 03:20:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:38 $ docker rm -f --volumes bf5c9f9734935e229abb6730ccbf772367d778eeda2d108a92011bf01799b4d9 03:20:37 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 03:20:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 03:20:38 Avoid second fetch 03:20:38 Checking out Revision f79754343d8b1121fd7b40f656006f62376f5905 (main) 03:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:20:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:20:39 Commit message: "feat: Add integer read and write support (#20)" 03:20:39 + ls -al . 03:20:39 total 140 03:20:39 drwxrwxr-x 7 jenkins jenkins 4096 Aug 8 03:20 . 03:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 03:18 .. 03:20:39 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 03:18 .dockerignore 03:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 03:18 .git 03:20:39 -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 03:18 .gitignore 03:20:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 03:18 .golangci.yml 03:20:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 03:18 .semver 03:20:39 -rw-rw-r-- 1 jenkins jenkins 8972 Aug 8 03:18 Attribution.txt 03:20:39 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 8 03:18 Dockerfile 03:20:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 03:18 GOVERNANCE.md 03:20:39 -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 03:18 Jenkinsfile 03:20:39 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 03:18 LICENSE 03:20:39 -rw-rw-r-- 1 jenkins jenkins 1641 Aug 8 03:18 Makefile 03:20:39 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 03:18 OWNERS.md 03:20:39 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 8 03:18 README.md 03:20:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 03:18 VERSION 03:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 03:18 bin 03:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 03:18 cmd 03:20:39 -rw-r--r-- 1 jenkins jenkins 10 Aug 8 03:20 coverage.out 03:20:39 -rw-rw-r-- 1 jenkins jenkins 3244 Aug 8 03:18 go.mod 03:20:39 -rw-rw-r-- 1 jenkins jenkins 31451 Aug 8 03:18 go.sum 03:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 03:18 internal 03:20:39 -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 03:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { 03:20:38 > git config core.sparsecheckout # timeout=10 03:20:38 > git checkout -f f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:20:40 + 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=f79754343d8b1121fd7b40f656006f62376f5905 --label arch=amd64 --label version=3.0.0 . 03:20:40 Sending build context to Docker daemon 11.08MB 03:20:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:20:40 Step 2/25 : FROM ${BASE} AS builder 03:20:40 ---> 0ab4baf22030 03:20:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:20:40 ---> Running in 48ef9fe73c04 03:20:40 Removing intermediate container 48ef9fe73c04 03:20:40 ---> 50bfd39c33a3 03:20:40 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:20:40 ---> Running in f4c2effdd258 03:20:40 Removing intermediate container f4c2effdd258 03:20:40 ---> a03b5eb5de99 03:20:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:20:40 ---> Running in 8b9e184a545e 03:20:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:20:40 % Total % Received % Xferd Average Speed Time Time Time Current 03:20:40 Dload Upload Total Spent Left Speed 03:20:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 71 12751 71 9093 0 0 43716 0 --:--:-- --:--:-- --:--:-- 43507 100 12751 100 12751 0 0 60719 0 --:--:-- --:--:-- --:--:-- 60719 03:20:40 Removing intermediate container 8b9e184a545e 03:20:40 ---> 5e9291d45e46 03:20:40 Step 6/25 : WORKDIR /device-uart 03:20:40 ---> Running in 4d39e1a50405 03:20:40 Removing intermediate container 4d39e1a50405 03:20:40 ---> 87315352e1f8 03:20:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:40 ---> Running in 25640f88de02 03:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 03:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:20:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:20:41 OK: 269 MiB in 57 packages 03:20:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:20:41 + sudo tee /etc/docker/daemon.new 03:20:41 { 03:20:41 "registry-mirrors": [ 03:20:41 "https://nexus3.edgexfoundry.org:10001" 03:20:41 ], 03:20:41 "bip": "10.250.0.254/24", 03:20:41 "hosts": [ 03:20:41 "tcp://0.0.0.0:5555", 03:20:41 "unix:///var/run/docker.sock" 03:20:41 ], 03:20:41 "mtu": 1458, 03:20:41 "selinux-enabled": true, 03:20:41 "seccomp-profile": "/etc/docker/seccomp.json" 03:20:41 } [Pipeline] sh 03:20:41 Removing intermediate container 25640f88de02 03:20:41 ---> 1694bb42a533 03:20:41 Step 8/25 : COPY go.mod vendor* ./ 03:20:41 ---> e34f986f928d 03:20:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:41 ---> Running in 7cb6b35d026d 03:20:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:20:42 + sudo service docker restart 03:20:42 Removing intermediate container 7cb6b35d026d 03:20:42 ---> 4de02066b04e 03:20:42 Step 10/25 : COPY . . 03:20:42 ---> 52623184c2f1 03:20:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:42 ---> Running in 2a34493d8d7d 03:20:42 Removing intermediate container 2a34493d8d7d 03:20:42 ---> e77d1af2a301 03:20:42 Step 12/25 : RUN ${MAKE} 03:20:42 ---> Running in cbd955ecffb7 03:20:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [Pipeline] sh 03:21:00 + git checkout f79754343d8b1121fd7b40f656006f62376f5905 03:21:00 HEAD is now at f797543 feat: Add integer read and write support (#20) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:00 provisioning config files... 03:21:00 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/6@tmp/config13506075326639050309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:01 ---> docker-login.sh 03:21:01 nexus3.edgexfoundry.org:10001 03:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:02 Configure a credential helper to remove this warning. See 03:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:02 03:21:02 Login Succeeded 03:21:02 nexus3.edgexfoundry.org:10002 03:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:02 Configure a credential helper to remove this warning. See 03:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:02 03:21:02 Login Succeeded 03:21:02 nexus3.edgexfoundry.org:10003 03:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:02 Configure a credential helper to remove this warning. See 03:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:02 03:21:02 Login Succeeded 03:21:02 nexus3.edgexfoundry.org:10004 03:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:03 Configure a credential helper to remove this warning. See 03:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:03 03:21:03 Login Succeeded 03:21:03 docker.io 03:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:03 Configure a credential helper to remove this warning. See 03:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:03 03:21:03 Login Succeeded 03:21:03 ---> docker-login.sh ends [Pipeline] } 03:21:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:04 ========================================================= 03:21:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:21:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:04 + 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:21:04 Sending build context to Docker daemon 5.579MB 03:21:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:21:04 Step 2/12 : FROM ${BASE} AS builder 03:21:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:21:04 edb6bdbacee9: Pulling fs layer 03:21:04 5f9638ab2659: Pulling fs layer 03:21:04 8d51d6327a98: Pulling fs layer 03:21:04 8b374f2dd631: Pulling fs layer 03:21:04 ec14aa9079de: Pulling fs layer 03:21:04 2f466654f4bb: Pulling fs layer 03:21:04 554e91adad29: Pulling fs layer 03:21:04 8b374f2dd631: Waiting 03:21:04 2f466654f4bb: Waiting 03:21:04 ec14aa9079de: Waiting 03:21:04 5f9638ab2659: Verifying Checksum 03:21:04 5f9638ab2659: Download complete 03:21:04 8b374f2dd631: Verifying Checksum 03:21:04 8b374f2dd631: Download complete 03:21:04 ec14aa9079de: Verifying Checksum 03:21:04 ec14aa9079de: Download complete 03:21:04 edb6bdbacee9: Verifying Checksum 03:21:04 edb6bdbacee9: Download complete 03:21:05 Removing intermediate container cbd955ecffb7 03:21:05 ---> 953506132383 03:21:05 Step 13/25 : FROM alpine:3.17 03:21:05 3.17: Pulling from library/alpine 03:21:05 9398808236ff: Pulling fs layer 03:21:05 9398808236ff: Download complete 03:21:05 9398808236ff: Pull complete 03:21:05 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:21:05 Status: Downloaded newer image for alpine:3.17 03:21:05 ---> 1e0b8b5322fc 03:21:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:21:05 ---> Running in a31351132d79 03:21:05 Removing intermediate container a31351132d79 03:21:05 ---> dd9b7448fda6 03:21:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:21:05 ---> Running in 11fe7cd07cc7 03:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:21:05 (1/1) Installing dumb-init (1.2.5-r2) 03:21:05 Executing busybox-1.35.0-r29.trigger 03:21:05 OK: 7 MiB in 16 packages 03:21:05 Removing intermediate container 11fe7cd07cc7 03:21:05 ---> 4c024ef4badf 03:21:05 Step 16/25 : WORKDIR / 03:21:05 ---> Running in 17f6e99bb95f 03:21:05 Removing intermediate container 17f6e99bb95f 03:21:05 ---> 33cc51e4a0a4 03:21:05 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 03:21:05 ---> ab2daf7a5ca4 03:21:05 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 03:21:05 ---> 75b7515608e1 03:21:05 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 03:21:05 edb6bdbacee9: Pull complete 03:21:06 ---> c75c85e33a1e 03:21:06 Step 20/25 : EXPOSE 59995 03:21:06 ---> Running in 94ef79f5b512 03:21:06 Removing intermediate container 94ef79f5b512 03:21:06 ---> 8c105de1e798 03:21:06 Step 21/25 : ENTRYPOINT ["/device-uart"] 03:21:06 ---> Running in f4ee01e256ea 03:21:06 Removing intermediate container f4ee01e256ea 03:21:06 ---> 20c03cccb893 03:21:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:21:06 ---> Running in 96867be866b6 03:21:06 Removing intermediate container 96867be866b6 03:21:06 ---> d39a7f2cbbd6 03:21:06 Step 23/25 : LABEL arch=amd64 03:21:06 ---> Running in 9778b82a2caf 03:21:06 Removing intermediate container 9778b82a2caf 03:21:06 ---> 52c74f0e21bd 03:21:06 Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 03:21:06 ---> Running in e6be489f33aa 03:21:06 Removing intermediate container e6be489f33aa 03:21:06 ---> 317877312d52 03:21:06 Step 25/25 : LABEL version=3.0.0 03:21:06 ---> Running in 48a09aa939fe 03:21:06 Removing intermediate container 48a09aa939fe 03:21:06 ---> f41cf001a200 03:21:06 [Warning] One or more build-args [ARCH] were not consumed 03:21:06 Successfully built f41cf001a200 03:21:06 Successfully tagged device-uart:latest 03:21:06 554e91adad29: Verifying Checksum 03:21:06 554e91adad29: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:06 provisioning config files... 03:21:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14804456324960593293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:06 5f9638ab2659: Pull complete 03:21:06 ---> docker-login.sh 03:21:06 nexus3.edgexfoundry.org:10001 03:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:06 Configure a credential helper to remove this warning. See 03:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:06 03:21:06 Login Succeeded 03:21:06 nexus3.edgexfoundry.org:10002 03:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:06 Configure a credential helper to remove this warning. See 03:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:06 03:21:06 Login Succeeded 03:21:06 nexus3.edgexfoundry.org:10003 03:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:07 Configure a credential helper to remove this warning. See 03:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:07 03:21:07 Login Succeeded 03:21:07 nexus3.edgexfoundry.org:10004 03:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:07 Configure a credential helper to remove this warning. See 03:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:07 03:21:07 Login Succeeded 03:21:07 docker.io 03:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:07 Configure a credential helper to remove this warning. See 03:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:07 03:21:07 Login Succeeded 03:21:07 ---> docker-login.sh ends [Pipeline] } 03:21:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:21:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:07 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 03:21:07 f79754343d8b1121fd7b40f656006f62376f5905 03:21:07 latest 03:21:07 3.0.0 03:21:07 f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:21:07 main 03:21:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:07 2f466654f4bb: Verifying Checksum 03:21:07 2f466654f4bb: Download complete 03:21:07 8d51d6327a98: Verifying Checksum 03:21:07 8d51d6327a98: Download complete 03:21:07 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:08 + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 03:21:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:21:08 141a86a4123e: Preparing 03:21:08 475405bb5c70: Preparing 03:21:08 1ad924bf9fa3: Preparing 03:21:08 5679ac8dab5d: Preparing 03:21:08 36b50b131297: Preparing 03:21:08 475405bb5c70: Pushed 03:21:08 1ad924bf9fa3: Pushed 03:21:08 5679ac8dab5d: Pushed 03:21:09 36b50b131297: Pushed 03:21:10 141a86a4123e: Pushed 03:21:10 f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:502c2aaa2b908ec27e4fb6e034482d8bd0a059da46e13f57ad6b4f7276d7b2a1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:11 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:11 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 03:21:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:21:11 141a86a4123e: Preparing 03:21:11 475405bb5c70: Preparing 03:21:11 1ad924bf9fa3: Preparing 03:21:11 5679ac8dab5d: Preparing 03:21:11 36b50b131297: Preparing 03:21:11 36b50b131297: Layer already exists 03:21:11 475405bb5c70: Layer already exists 03:21:11 5679ac8dab5d: Layer already exists 03:21:11 1ad924bf9fa3: Layer already exists 03:21:11 141a86a4123e: Layer already exists 03:21:11 latest: digest: sha256:502c2aaa2b908ec27e4fb6e034482d8bd0a059da46e13f57ad6b4f7276d7b2a1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:11 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.0 03:21:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:21:12 141a86a4123e: Preparing 03:21:12 475405bb5c70: Preparing 03:21:12 1ad924bf9fa3: Preparing 03:21:12 5679ac8dab5d: Preparing 03:21:12 36b50b131297: Preparing 03:21:12 1ad924bf9fa3: Layer already exists 03:21:12 5679ac8dab5d: Layer already exists 03:21:12 141a86a4123e: Layer already exists 03:21:12 36b50b131297: Layer already exists 03:21:12 475405bb5c70: Layer already exists 03:21:12 3.0.0: digest: sha256:502c2aaa2b908ec27e4fb6e034482d8bd0a059da46e13f57ad6b4f7276d7b2a1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:12 + docker push nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:21:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:21:12 141a86a4123e: Preparing 03:21:12 475405bb5c70: Preparing 03:21:12 1ad924bf9fa3: Preparing 03:21:12 5679ac8dab5d: Preparing 03:21:12 36b50b131297: Preparing 03:21:12 5679ac8dab5d: Layer already exists 03:21:12 475405bb5c70: Layer already exists 03:21:12 141a86a4123e: Layer already exists 03:21:12 36b50b131297: Layer already exists 03:21:12 1ad924bf9fa3: Layer already exists 03:21:12 f79754343d8b1121fd7b40f656006f62376f5905-3.0.0: digest: sha256:502c2aaa2b908ec27e4fb6e034482d8bd0a059da46e13f57ad6b4f7276d7b2a1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:12 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:13 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 03:21:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 03:21:13 141a86a4123e: Preparing 03:21:13 475405bb5c70: Preparing 03:21:13 1ad924bf9fa3: Preparing 03:21:13 5679ac8dab5d: Preparing 03:21:13 36b50b131297: Preparing 03:21:13 5679ac8dab5d: Layer already exists 03:21:13 36b50b131297: Layer already exists 03:21:13 1ad924bf9fa3: Layer already exists 03:21:13 141a86a4123e: Layer already exists 03:21:13 475405bb5c70: Layer already exists 03:21:13 main: digest: sha256:502c2aaa2b908ec27e4fb6e034482d8bd0a059da46e13f57ad6b4f7276d7b2a1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:21:13 ===================================================== [Pipeline] echo 03:21:13 taggedImages: 03:21:13 - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905 03:21:13 - nexus3.edgexfoundry.org:10004/device-uart:latest 03:21:13 - nexus3.edgexfoundry.org:10004/device-uart:3.0.0 03:21:13 - nexus3.edgexfoundry.org:10004/device-uart:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:21:13 - 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:21:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:13 03:21:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:14 latest: Pulling from edgex-lftools-log-publisher 03:21:14 5eb5b503b376: Pulling fs layer 03:21:14 5c69ac0246d0: Pulling fs layer 03:21:14 ec43610c2a17: Pulling fs layer 03:21:14 3a2ae6a8a46f: Pulling fs layer 03:21:14 33b1e0a273af: Pulling fs layer 03:21:14 5d3b04190fa2: Pulling fs layer 03:21:14 2f39f015ded8: Pulling fs layer 03:21:14 33b1e0a273af: Waiting 03:21:14 5d3b04190fa2: Waiting 03:21:14 3a2ae6a8a46f: Waiting 03:21:14 2f39f015ded8: Waiting 03:21:14 5c69ac0246d0: Verifying Checksum 03:21:14 5c69ac0246d0: Download complete 03:21:14 3a2ae6a8a46f: Download complete 03:21:14 33b1e0a273af: Verifying Checksum 03:21:14 33b1e0a273af: Download complete 03:21:14 5d3b04190fa2: Verifying Checksum 03:21:14 5d3b04190fa2: Download complete 03:21:14 ec43610c2a17: Verifying Checksum 03:21:14 ec43610c2a17: Download complete 03:21:14 5eb5b503b376: Verifying Checksum 03:21:14 5eb5b503b376: Download complete 03:21:14 2f39f015ded8: Download complete 03:21:15 5eb5b503b376: Pull complete 03:21:15 5c69ac0246d0: Pull complete 03:21:15 ec43610c2a17: Pull complete 03:21:15 3a2ae6a8a46f: Pull complete 03:21:16 33b1e0a273af: Pull complete 03:21:16 5d3b04190fa2: Pull complete 03:21:20 8d51d6327a98: Pull complete 03:21:20 8b374f2dd631: Pull complete 03:21:20 ec14aa9079de: Pull complete 03:21:20 2f39f015ded8: Pull complete 03:21:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:20 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:21:25 $ docker top a7562b0a2983b5a97e5ac4f1c73a32c9b7b02ab4a9e88e4b6496a817c790c9f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:25 ---> job-cost.sh 03:21:25 lf-activate-venv: SKIPPING 03:21:25 INFO: No Stack... 03:21:25 INFO: Retrieving Pricing Info for: v3-standard-8 03:21:26 INFO: Archiving Costs [Pipeline] sh 03:21:26 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 03:21:26 + cut -d, -f6 [Pipeline] lock 03:21:26 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-6-stack-cost] 03:21:26 Resource [jenkins-edgexfoundry-device-uart-main-6-stack-cost] did not exist. Created. 03:21:26 Lock acquired on [jenkins-edgexfoundry-device-uart-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:21:26 + echo total: 0.2199999988079071 [Pipeline] stash 03:21:26 Stashed 1 file(s) [Pipeline] } 03:21:26 Lock released on resource [jenkins-edgexfoundry-device-uart-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:21:26 $ docker stop --time=1 a7562b0a2983b5a97e5ac4f1c73a32c9b7b02ab4a9e88e4b6496a817c790c9f5 03:21:26 2f466654f4bb: Pull complete 03:21:27 $ docker rm -f --volumes a7562b0a2983b5a97e5ac4f1c73a32c9b7b02ab4a9e88e4b6496a817c790c9f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:21:28 554e91adad29: Pull complete 03:21:28 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:21:28 ---> 1e15ea492957 03:21:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:21:30 ---> Running in 06434cc93392 03:21:30 Removing intermediate container 06434cc93392 03:21:30 ---> 0bda232c99cb 03:21:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:21:30 ---> Running in 79699bbcd187 03:21:31 Removing intermediate container 79699bbcd187 03:21:31 ---> b26c9a461741 03:21:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:21:31 ---> Running in c73dee9ca9b6 03:21:31 Removing intermediate container c73dee9ca9b6 03:21:31 ---> 5efa0471e14c 03:21:31 Step 6/12 : WORKDIR /device-uart 03:21:31 ---> Running in b8ca6159daff 03:21:32 Removing intermediate container b8ca6159daff 03:21:32 ---> 1fc1b285b6ba 03:21:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:32 ---> Running in 354b07f43750 03:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:21:34 (1/4) Installing openssh-keygen (9.1_p1-r4) 03:21:34 (2/4) Installing libedit (20221030.3.1-r0) 03:21:34 (3/4) Installing openssh-client-common (9.1_p1-r4) 03:21:34 (4/4) Installing openssh-client-default (9.1_p1-r4) 03:21:34 Executing busybox-1.35.0-r29.trigger 03:21:34 OK: 268 MiB in 57 packages 03:21:35 Removing intermediate container 354b07f43750 03:21:35 ---> 479040be5fdc 03:21:35 Step 8/12 : COPY go.mod vendor* ./ 03:21:36 ---> d28934971509 03:21:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:36 ---> Running in fba3da72b9fc 03:22:44 Removing intermediate container fba3da72b9fc 03:22:44 ---> a00dd9a487d0 03:22:44 Step 10/12 : COPY . . 03:22:44 ---> 743b28d25d14 03:22:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:44 ---> Running in e78832defa91 03:22:44 Removing intermediate container e78832defa91 03:22:44 ---> c4b35bcb983c 03:22:44 Step 12/12 : RUN ${MAKE} 03:22:44 ---> Running in 1d780842aba9 03:22:44 noop 03:22:44 Removing intermediate container 1d780842aba9 03:22:44 ---> 341e19b383ed 03:22:44 Successfully built 341e19b383ed 03:22:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:44 + docker inspect -f . ci-base-image-arm64 03:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:44 prd-ubuntu20.04-docker-arm64-4c-16g-3093 does not seem to be running inside a container 03:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:22:46 $ docker top 4ba95524b135adc52e15f544362d9b9c3a80c56e71abbd8ba665e9c537f24772 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:46 + go version 03:22:46 go version go1.20.6 linux/arm64 [Pipeline] } 03:22:46 $ docker stop --time=1 4ba95524b135adc52e15f544362d9b9c3a80c56e71abbd8ba665e9c537f24772 03:22:51 $ docker rm -f --volumes 4ba95524b135adc52e15f544362d9b9c3a80c56e71abbd8ba665e9c537f24772 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:51 + docker inspect -f . ci-base-image-arm64 03:22:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:51 prd-ubuntu20.04-docker-arm64-4c-16g-3093 does not seem to be running inside a container 03:22:52 $ 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/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:22:53 $ docker top 5961810e6b92227d54b2eeee7251c432e669845d3e25e9d4ab0c956be32e3543 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:53 + git config --global --add safe.directory /w/workspace/device-uart/6 [Pipeline] fileExists [Pipeline] sh 03:22:53 + make test 03:22:53 go test ./... -coverprofile=coverage.out 03:23:32 ? github.com/edgexfoundry/device-uart [no test files] 03:25:39 ? github.com/edgexfoundry/device-uart/cmd [no test files] 03:25:39 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 03:25:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:25:39 go vet ./... 03:26:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:26:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:26:06 ./bin/test-attribution-txt.sh [Pipeline] echo 03:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:26:06 $ docker stop --time=1 5961810e6b92227d54b2eeee7251c432e669845d3e25e9d4ab0c956be32e3543 03:26:08 $ docker rm -f --volumes 5961810e6b92227d54b2eeee7251c432e669845d3e25e9d4ab0c956be32e3543 [Pipeline] // withDockerContainer [Pipeline] sh 03:26:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:09 Warning: overwriting stash ‘coverage-report’ 03:26:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:26:10 + ls -al . 03:26:10 total 136 03:26:10 drwxrwxr-x 6 jenkins jenkins 4096 Aug 8 03:22 . 03:26:10 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 03:20 .. 03:26:10 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 03:20 .dockerignore 03:26:10 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 03:21 .git 03:26:10 -rw-rw-r-- 1 jenkins jenkins 343 Aug 8 03:20 .gitignore 03:26:10 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 03:20 .golangci.yml 03:26:10 -rw-rw-r-- 1 jenkins jenkins 8972 Aug 8 03:20 Attribution.txt 03:26:10 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 8 03:20 Dockerfile 03:26:10 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 03:20 GOVERNANCE.md 03:26:10 -rw-rw-r-- 1 jenkins jenkins 675 Aug 8 03:20 Jenkinsfile 03:26:10 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 03:20 LICENSE 03:26:10 -rw-rw-r-- 1 jenkins jenkins 1641 Aug 8 03:20 Makefile 03:26:10 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 03:20 OWNERS.md 03:26:10 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 8 03:20 README.md 03:26:10 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 03:18 VERSION 03:26:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 03:20 bin 03:26:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 03:20 cmd 03:26:10 -rw-r--r-- 1 jenkins jenkins 10 Aug 8 03:22 coverage.out 03:26:10 -rw-rw-r-- 1 jenkins jenkins 3244 Aug 8 03:20 go.mod 03:26:10 -rw-rw-r-- 1 jenkins jenkins 31451 Aug 8 03:20 go.sum 03:26:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 03:20 internal 03:26:10 -rw-rw-r-- 1 jenkins jenkins 209 Aug 8 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:11 + 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=f79754343d8b1121fd7b40f656006f62376f5905 --label arch=arm64 --label version=3.0.0 . 03:26:11 Sending build context to Docker daemon 5.58MB 03:26:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:26:11 Step 2/25 : FROM ${BASE} AS builder 03:26:11 ---> 341e19b383ed 03:26:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:26:11 ---> Running in f81841fd1a09 03:26:11 Removing intermediate container f81841fd1a09 03:26:11 ---> 32e307789584 03:26:11 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:26:12 ---> Running in cc594bd9b771 03:26:12 Removing intermediate container cc594bd9b771 03:26:12 ---> e05034df6947 03:26:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:26:12 ---> Running in ec5ae164ab8d 03:26:12 Removing intermediate container ec5ae164ab8d 03:26:12 ---> 147d20f479f6 03:26:12 Step 6/25 : WORKDIR /device-uart 03:26:13 ---> Running in b09df44e235c 03:26:13 Removing intermediate container b09df44e235c 03:26:13 ---> b4bb578abe57 03:26:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:13 ---> Running in 1f0720b5be43 03:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:26:16 OK: 268 MiB in 57 packages 03:26:17 Removing intermediate container 1f0720b5be43 03:26:17 ---> 15a4a6450626 03:26:17 Step 8/25 : COPY go.mod vendor* ./ 03:26:18 ---> b4e6449072f4 03:26:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:18 ---> Running in 2885d79a60c6 03:26:21 Removing intermediate container 2885d79a60c6 03:26:21 ---> 8205b28debbb 03:26:21 Step 10/25 : COPY . . 03:26:21 ---> ee48e914ea3b 03:26:21 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:26:21 ---> Running in 6ca5645989ea 03:26:22 Removing intermediate container 6ca5645989ea 03:26:22 ---> caaf6db184f6 03:26:22 Step 12/25 : RUN ${MAKE} 03:26:22 ---> Running in a2692e4a09ea 03:26:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 03:28:44 Removing intermediate container a2692e4a09ea 03:28:44 ---> 74aeac55cd17 03:28:44 Step 13/25 : FROM alpine:3.17 03:28:44 3.17: Pulling from library/alpine 03:28:44 4060ece20d7a: Pulling fs layer 03:28:44 4060ece20d7a: Verifying Checksum 03:28:44 4060ece20d7a: Download complete 03:28:44 4060ece20d7a: Pull complete 03:28:44 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:28:44 Status: Downloaded newer image for alpine:3.17 03:28:44 ---> 8650cd65339b 03:28:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:28:44 ---> Running in 3c2810beef56 03:28:44 Removing intermediate container 3c2810beef56 03:28:44 ---> 38d094c391fe 03:28:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:28:44 ---> Running in 2fba02b48b50 03:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:28:47 (1/1) Installing dumb-init (1.2.5-r2) 03:28:47 Executing busybox-1.35.0-r29.trigger 03:28:47 OK: 8 MiB in 16 packages 03:28:49 Removing intermediate container 2fba02b48b50 03:28:49 ---> 79c6a4548e34 03:28:49 Step 16/25 : WORKDIR / 03:28:49 ---> Running in 84e0f200807f 03:28:49 Removing intermediate container 84e0f200807f 03:28:49 ---> b3792282014a 03:28:49 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 03:28:50 ---> 833745e1a10d 03:28:50 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 03:28:51 ---> 314439e25a31 03:28:51 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 03:28:52 ---> 15bc1d06884e 03:28:52 Step 20/25 : EXPOSE 59995 03:28:52 ---> Running in 8d1c469d7e04 03:28:52 Removing intermediate container 8d1c469d7e04 03:28:52 ---> e13ee3c8181d 03:28:52 Step 21/25 : ENTRYPOINT ["/device-uart"] 03:28:52 ---> Running in a5427071d53f 03:28:53 Removing intermediate container a5427071d53f 03:28:53 ---> e9651a642206 03:28:53 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:28:53 ---> Running in f71d8b76f7d9 03:28:53 Removing intermediate container f71d8b76f7d9 03:28:53 ---> c03dd76fa58b 03:28:53 Step 23/25 : LABEL arch=arm64 03:28:53 ---> Running in 34b94ad94667 03:28:53 Removing intermediate container 34b94ad94667 03:28:53 ---> 2d2768a2c2ac 03:28:53 Step 24/25 : LABEL git_sha=f79754343d8b1121fd7b40f656006f62376f5905 03:28:53 ---> Running in 47b4f76a0151 03:28:54 Removing intermediate container 47b4f76a0151 03:28:54 ---> 35cf802012d9 03:28:54 Step 25/25 : LABEL version=3.0.0 03:28:54 ---> Running in 7223fb8cd411 03:28:54 Removing intermediate container 7223fb8cd411 03:28:54 ---> 10d19fc3e82e 03:28:54 [Warning] One or more build-args [ARCH] were not consumed 03:28:54 Successfully built 10d19fc3e82e 03:28:54 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:28:54 provisioning config files... 03:28:54 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/6@tmp/config15837369430391527342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:55 ---> docker-login.sh 03:28:55 nexus3.edgexfoundry.org:10001 03:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:55 Configure a credential helper to remove this warning. See 03:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:55 03:28:55 Login Succeeded 03:28:55 nexus3.edgexfoundry.org:10002 03:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:55 Configure a credential helper to remove this warning. See 03:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:55 03:28:55 Login Succeeded 03:28:55 nexus3.edgexfoundry.org:10003 03:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:56 Configure a credential helper to remove this warning. See 03:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:56 03:28:56 Login Succeeded 03:28:56 nexus3.edgexfoundry.org:10004 03:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:56 Configure a credential helper to remove this warning. See 03:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:56 03:28:56 Login Succeeded 03:28:56 docker.io 03:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:57 Configure a credential helper to remove this warning. See 03:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:57 03:28:57 Login Succeeded 03:28:57 ---> docker-login.sh ends [Pipeline] } 03:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:57 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 03:28:57 f79754343d8b1121fd7b40f656006f62376f5905 03:28:57 latest 03:28:57 3.0.0 03:28:57 f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:28:57 main 03:28:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:57 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:57 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 03:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:28:57 7fbf1085367e: Preparing 03:28:57 7d15b383efac: Preparing 03:28:57 0e0b527e9f94: Preparing 03:28:57 42bf6da3dbb5: Preparing 03:28:57 d2d9d24a8c2a: Preparing 03:28:58 7d15b383efac: Pushed 03:28:58 0e0b527e9f94: Pushed 03:28:58 42bf6da3dbb5: Pushed 03:28:59 d2d9d24a8c2a: Pushed 03:29:03 7fbf1085367e: Pushed 03:29:03 f79754343d8b1121fd7b40f656006f62376f5905: digest: sha256:9d35438f288a944b563adb9a0aec56fc7ddb106a4fe5f63a290ebae423449a2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:03 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:04 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:29:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:29:04 7fbf1085367e: Preparing 03:29:04 7d15b383efac: Preparing 03:29:04 0e0b527e9f94: Preparing 03:29:04 42bf6da3dbb5: Preparing 03:29:04 d2d9d24a8c2a: Preparing 03:29:04 42bf6da3dbb5: Layer already exists 03:29:04 7d15b383efac: Layer already exists 03:29:04 0e0b527e9f94: Layer already exists 03:29:04 d2d9d24a8c2a: Layer already exists 03:29:04 7fbf1085367e: Layer already exists 03:29:04 latest: digest: sha256:9d35438f288a944b563adb9a0aec56fc7ddb106a4fe5f63a290ebae423449a2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:04 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:04 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.0 03:29:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:29:04 7fbf1085367e: Preparing 03:29:04 7d15b383efac: Preparing 03:29:04 0e0b527e9f94: Preparing 03:29:04 42bf6da3dbb5: Preparing 03:29:04 d2d9d24a8c2a: Preparing 03:29:04 d2d9d24a8c2a: Layer already exists 03:29:04 42bf6da3dbb5: Layer already exists 03:29:04 7fbf1085367e: Layer already exists 03:29:04 0e0b527e9f94: Layer already exists 03:29:04 7d15b383efac: Layer already exists 03:29:04 3.0.0: digest: sha256:9d35438f288a944b563adb9a0aec56fc7ddb106a4fe5f63a290ebae423449a2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:05 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:05 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:29:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:29:05 7fbf1085367e: Preparing 03:29:05 7d15b383efac: Preparing 03:29:05 0e0b527e9f94: Preparing 03:29:05 42bf6da3dbb5: Preparing 03:29:05 d2d9d24a8c2a: Preparing 03:29:05 d2d9d24a8c2a: Layer already exists 03:29:05 42bf6da3dbb5: Layer already exists 03:29:05 7fbf1085367e: Layer already exists 03:29:05 0e0b527e9f94: Layer already exists 03:29:05 7d15b383efac: Layer already exists 03:29:05 f79754343d8b1121fd7b40f656006f62376f5905-3.0.0: digest: sha256:9d35438f288a944b563adb9a0aec56fc7ddb106a4fe5f63a290ebae423449a2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:05 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:06 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 03:29:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 03:29:06 7fbf1085367e: Preparing 03:29:06 7d15b383efac: Preparing 03:29:06 0e0b527e9f94: Preparing 03:29:06 42bf6da3dbb5: Preparing 03:29:06 d2d9d24a8c2a: Preparing 03:29:06 0e0b527e9f94: Layer already exists 03:29:06 42bf6da3dbb5: Layer already exists 03:29:06 7d15b383efac: Layer already exists 03:29:06 7fbf1085367e: Layer already exists 03:29:06 d2d9d24a8c2a: Layer already exists 03:29:06 main: digest: sha256:9d35438f288a944b563adb9a0aec56fc7ddb106a4fe5f63a290ebae423449a2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:29:06 ===================================================== [Pipeline] echo 03:29:06 taggedImages: 03:29:06 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905 03:29:06 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 03:29:06 - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.0 03:29:06 - nexus3.edgexfoundry.org:10004/device-uart-arm64:f79754343d8b1121fd7b40f656006f62376f5905-3.0.0 03:29:06 - 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:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:06 03:29:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:06 arm64: Pulling from edgex-lftools-log-publisher 03:29:06 8998bd30e6a1: Pulling fs layer 03:29:06 04944245beec: Pulling fs layer 03:29:06 699f458cf7ca: Pulling fs layer 03:29:06 765212b225bb: Pulling fs layer 03:29:06 f23df028b6ca: Pulling fs layer 03:29:06 d65c8cfc05b1: Pulling fs layer 03:29:06 2437ff75d9bd: Pulling fs layer 03:29:06 765212b225bb: Waiting 03:29:06 f23df028b6ca: Waiting 03:29:06 d65c8cfc05b1: Waiting 03:29:06 2437ff75d9bd: Waiting 03:29:07 04944245beec: Verifying Checksum 03:29:07 04944245beec: Download complete 03:29:07 765212b225bb: Download complete 03:29:07 f23df028b6ca: Verifying Checksum 03:29:07 f23df028b6ca: Download complete 03:29:07 d65c8cfc05b1: Verifying Checksum 03:29:07 d65c8cfc05b1: Download complete 03:29:07 699f458cf7ca: Verifying Checksum 03:29:07 699f458cf7ca: Download complete 03:29:07 8998bd30e6a1: Verifying Checksum 03:29:07 8998bd30e6a1: Download complete 03:29:09 2437ff75d9bd: Verifying Checksum 03:29:09 2437ff75d9bd: Download complete 03:29:11 8998bd30e6a1: Pull complete 03:29:11 04944245beec: Pull complete 03:29:13 699f458cf7ca: Pull complete 03:29:13 765212b225bb: Pull complete 03:29:14 f23df028b6ca: Pull complete 03:29:17 d65c8cfc05b1: Pull complete 03:29:32 2437ff75d9bd: Pull complete 03:29:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:32 prd-ubuntu20.04-docker-arm64-4c-16g-3093 does not seem to be running inside a container 03:29:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:29:34 $ docker top 18de66f1f3fc207f58a71ade2bbb59bf9373c33f7bd95b4a3a6ec9f1c4bed853 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:35 ---> job-cost.sh 03:29:35 lf-activate-venv: SKIPPING 03:29:35 INFO: No Stack... 03:29:35 INFO: Retrieving Pricing Info for: v3-standard-4 03:29:36 INFO: Archiving Costs [Pipeline] sh 03:29:37 + cat /w/workspace/device-uart/6/archives/cost.csv 03:29:37 + cut -d, -f6 [Pipeline] lock 03:29:37 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-6-stack-cost] 03:29:37 Resource [jenkins-edgexfoundry-device-uart-main-6-stack-cost] did not exist. Created. 03:29:37 Lock acquired on [jenkins-edgexfoundry-device-uart-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:29:38 /w/workspace/device-uart/6@tmp/durable-960242fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:29:38 + echo total: 0.10999999940395355 [Pipeline] stash 03:29:38 Warning: overwriting stash ‘stack-cost’ 03:29:38 Stashed 1 file(s) [Pipeline] } 03:29:38 Lock released on resource [jenkins-edgexfoundry-device-uart-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:29:38 $ docker stop --time=1 18de66f1f3fc207f58a71ade2bbb59bf9373c33f7bd95b4a3a6ec9f1c4bed853 03:29:40 $ docker rm -f --volumes 18de66f1f3fc207f58a71ade2bbb59bf9373c33f7bd95b4a3a6ec9f1c4bed853 [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:29:40 provisioning config files... 03:29:40 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17054760063358548570tmp [Pipeline] { [Pipeline] sh 03:29:41 + set +x 03:29:41 + curl -s https://codecov.io/bash 03:29:41 + bash -s -- 03:29:41 03:29:41 _____ _ 03:29:41 / ____| | | 03:29:41 | | ___ __| | ___ ___ _____ __ 03:29:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:29:41 | |___| (_) | (_| | __/ (_| (_) \ V / 03:29:41 \_____\___/ \__,_|\___|\___\___/ \_/ 03:29:41 Bash-1.0.6 03:29:41 03:29:41 03:29:41 ==> git version 2.25.1 found 03:29:41 ==> 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:29:41 Release-Date: 2020-01-08 03:29:41 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:29:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:29:41 ==> Jenkins CI detected. 03:29:41 current dir:  /w/workspace/edgexfoundry_device-uart_main 03:29:41 project root: . 03:29:41 --> token set from env 03:29:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:29:41 ==> Running gcov in . (disable via -X gcov) 03:29:41 ==> Python coveragepy not found 03:29:41 ==> Searching for coverage reports in: 03:29:41 + . 03:29:41 -> Found 1 reports 03:29:41 ==> Detecting git/mercurial file structure 03:29:41 ==> Reading reports 03:29:41 + ./coverage.out bytes=10 03:29:41 ==> Appending adjustments 03:29:41 https://docs.codecov.io/docs/fixing-reports 03:29:41 + Found adjustments 03:29:41 ==> Gzipping contents 03:29:41 4.0K /tmp/codecov.HhWXQo.gz 03:29:41 ==> Uploading reports 03:29:41 url: https://codecov.io 03:29:41 query: branch=main&commit=f79754343d8b1121fd7b40f656006f62376f5905&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:29:41 -> Pinging Codecov 03:29:41 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=f79754343d8b1121fd7b40f656006f62376f5905&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 03:29:41 -> Uploading to 03:29:41 https://storage.googleapis.com/codecov/v4/raw/2023-08-08/B9AA6E0BBD74AE3A32605C7A7C664919/f79754343d8b1121fd7b40f656006f62376f5905/d64b2c4f-14ed-4756-8e7a-9a8bdf29d8b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230808T032941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c25d84e290d1fb13e5a1cce0bc26809f9fc82ad4702cc529aa93e1f0257dfe81 03:29:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:29:41 Dload Upload Total Spent Left Speed 03:29:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2871 --:--:-- --:--:-- --:--:-- 2871 03:29:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] } 03:29:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:29:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:29:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:29:42 03:29:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:29:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:29:42 df9b9388f04a: Pulling fs layer 03:29:42 52dc419b0ee2: Pulling fs layer 03:29:42 25bc292e5bac: Pulling fs layer 03:29:42 114826534d7a: Pulling fs layer 03:29:42 4657fd5d0bcf: Pulling fs layer 03:29:42 6ad1cebc031e: Pulling fs layer 03:29:42 8a3aa393b2d8: Pulling fs layer 03:29:42 114826534d7a: Waiting 03:29:42 8a3aa393b2d8: Waiting 03:29:42 6ad1cebc031e: Waiting 03:29:42 4657fd5d0bcf: Waiting 03:29:42 25bc292e5bac: Download complete 03:29:42 52dc419b0ee2: Download complete 03:29:42 4657fd5d0bcf: Verifying Checksum 03:29:42 4657fd5d0bcf: Download complete 03:29:42 df9b9388f04a: Verifying Checksum 03:29:42 df9b9388f04a: Download complete 03:29:42 df9b9388f04a: Pull complete 03:29:43 6ad1cebc031e: Verifying Checksum 03:29:43 6ad1cebc031e: Download complete 03:29:43 52dc419b0ee2: Pull complete 03:29:43 25bc292e5bac: Pull complete 03:29:43 114826534d7a: Verifying Checksum 03:29:43 114826534d7a: Download complete 03:29:43 8a3aa393b2d8: Verifying Checksum 03:29:43 8a3aa393b2d8: Download complete 03:29:46 114826534d7a: Pull complete 03:29:46 4657fd5d0bcf: Pull complete 03:29:46 6ad1cebc031e: Pull complete 03:29:49 8a3aa393b2d8: Pull complete 03:29:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:29:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:49 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:29:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:29:55 $ docker top cabed7a16228150f48397d31f0603a3b6ffc56e4e5e7050aa5ce83ed5bc3011a -eo pid,comm [Pipeline] { [Pipeline] echo 03:29:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 03:29:55 + set -o pipefail 03:29:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 03:30:03 03:30:03 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 03:30:03 03:30:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/59239757-e578-402c-80d8-a16a63a24fc4 03:30:03 03:30:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:30:03 03:30:06 03:30:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:30:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:30:06 More details here: https://snyk.co/ue1NS 03:30:06 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:30:06 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:30:06 $ docker stop --time=1 cabed7a16228150f48397d31f0603a3b6ffc56e4e5e7050aa5ce83ed5bc3011a 03:30:10 $ docker rm -f --volumes cabed7a16228150f48397d31f0603a3b6ffc56e4e5e7050aa5ce83ed5bc3011a [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:30:10 + git log --format=format:%s -1 f79754343d8b1121fd7b40f656006f62376f5905 [Pipeline] sh 03:30:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:11 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:30:11 $ docker top cc4f157417af95ed8db88c2ee15669606df5569207f53cf392473c8348bef786 -eo pid,comm 03:30:11 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:30:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:30:11 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.4|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:12 + git semver [Pipeline] } 03:30:12 $ docker stop --time=1 cc4f157417af95ed8db88c2ee15669606df5569207f53cf392473c8348bef786 03:30:13 $ docker rm -f --volumes cc4f157417af95ed8db88c2ee15669606df5569207f53cf392473c8348bef786 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:30:14 03:30:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:30:14 0.23.1-centos7: Pulling from edgex-lftools 03:30:14 ab5ef0e58194: Pulling fs layer 03:30:14 9712f1f96733: Pulling fs layer 03:30:14 63f879dbbcfc: Pulling fs layer 03:30:14 0d9ebad4ef96: Pulling fs layer 03:30:14 e9a5061849ea: Pulling fs layer 03:30:14 d747dcd14b5f: Pulling fs layer 03:30:14 2de7ff778b66: Pulling fs layer 03:30:14 2de7ff778b66: Waiting 03:30:14 0d9ebad4ef96: Waiting 03:30:14 9712f1f96733: Verifying Checksum 03:30:14 9712f1f96733: Download complete 03:30:15 63f879dbbcfc: Verifying Checksum 03:30:15 63f879dbbcfc: Download complete 03:30:15 0d9ebad4ef96: Verifying Checksum 03:30:15 0d9ebad4ef96: Download complete 03:30:15 e9a5061849ea: Verifying Checksum 03:30:15 e9a5061849ea: Download complete 03:30:15 d747dcd14b5f: Verifying Checksum 03:30:15 d747dcd14b5f: Download complete 03:30:15 ab5ef0e58194: Verifying Checksum 03:30:15 ab5ef0e58194: Download complete 03:30:15 2de7ff778b66: Verifying Checksum 03:30:15 2de7ff778b66: Download complete 03:30:17 ab5ef0e58194: Pull complete 03:30:17 9712f1f96733: Pull complete 03:30:18 63f879dbbcfc: Pull complete 03:30:21 0d9ebad4ef96: Pull complete 03:30:21 e9a5061849ea: Pull complete 03:30:21 d747dcd14b5f: Pull complete 03:30:22 2de7ff778b66: Pull complete 03:30:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:30:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:30:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:22 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:30:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:30:29 $ docker top fc3be03c69ce53d0139f133aa8bdb556350e216469e53d060ba19c27716a568d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:30:29 provisioning config files... 03:30:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10628976815051610314tmp 03:30:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17413256081210435303tmp 03:30:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9067541244323002436tmp [Pipeline] { [Pipeline] echo 03:30:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:30:29 ---> sigul-configuration.sh 03:30:29 gpg: directory `/root/.gnupg' created 03:30:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:30:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:30:29 gpg: keyring `/root/.gnupg/secring.gpg' created 03:30:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:30:29 gpg: CAST5 encrypted data 03:30:29 gpg: encrypted with 1 passphrase 03:30:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:30:30 + mkdir /home/jenkins 03:30:30 + mkdir /home/jenkins/sigul [Pipeline] sh 03:30:30 + 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:30:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:30:30 ---> sigul-install.sh 03:30:30 Sigul already installed; skipping installation. [Pipeline] sh 03:30:30 + git tag --list 03:30:30 v0.0.0 03:30:30 v0.0.1-dev.1 03:30:30 v0.0.1-dev.2 03:30:30 v0.0.1-dev.3 03:30:30 v0.0.1-dev.4 03:30:30 v3.0.0 [Pipeline] sh 03:30:31 + lftools sign git-tag v3.0.0 03:30:31 Signing Git tag with Sigul... 03:30:31 Signing v3.0.0 [Pipeline] echo 03:30:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:30:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:30:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:30:32 $ docker stop --time=1 fc3be03c69ce53d0139f133aa8bdb556350e216469e53d060ba19c27716a568d 03:30:33 $ docker rm -f --volumes fc3be03c69ce53d0139f133aa8bdb556350e216469e53d060ba19c27716a568d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:30:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:34 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:30:34 $ docker top 616dcb02152ea2c7ed4ca08bbaaefaf87fe4499bf449b0ab3e718c1eddfffb46 -eo pid,comm 03:30:34 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:30:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:30:35 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.4|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:35 + git semver [Pipeline] } 03:30:35 $ docker stop --time=1 616dcb02152ea2c7ed4ca08bbaaefaf87fe4499bf449b0ab3e718c1eddfffb46 03:30:37 $ docker rm -f --volumes 616dcb02152ea2c7ed4ca08bbaaefaf87fe4499bf449b0ab3e718c1eddfffb46 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:37 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:30: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:30:38 $ docker top b81cec1f4b31d8576b4df3539113a58f5e778ca0f32e247bf19def03d4fbe26e -eo pid,comm 03:30:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:30:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:30:38 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.4|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:38 + git semver [Pipeline] } 03:30:39 $ docker stop --time=1 b81cec1f4b31d8576b4df3539113a58f5e778ca0f32e247bf19def03d4fbe26e 03:30:40 $ docker rm -f --volumes b81cec1f4b31d8576b4df3539113a58f5e778ca0f32e247bf19def03d4fbe26e [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:30:41 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 03:30:41 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:30:41 total 16 03:30:41 drwxr-xr-x 3 root root 4096 Aug 8 03:21 . 03:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 03:30 .. 03:30:41 drwxr-xr-x 2 root root 4096 Aug 8 03:21 cost 03:30:41 -rw-r--r-- 1 root root 81 Aug 8 03:21 cost.csv 03:30:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 03:30:41 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 03:30:41 total 16 03:30:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 03:21 . 03:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 03:30 .. 03:30:41 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 03:21 cost 03:30:41 -rw-r--r-- 1 jenkins jenkins 81 Aug 8 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:30:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:30:42 ---> package-listing.sh 03:30:42 ++ facter osfamily 03:30:42 ++ tr '[:upper:]' '[:lower:]' 03:30:42 + OS_FAMILY=debian 03:30:42 + workspace=/w/workspace/edgexfoundry_device-uart_main 03:30:42 + START_PACKAGES=/tmp/packages_start.txt 03:30:42 + END_PACKAGES=/tmp/packages_end.txt 03:30:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:30:42 + PACKAGES=/tmp/packages_start.txt 03:30:42 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:30:42 + PACKAGES=/tmp/packages_end.txt 03:30:42 + case "${OS_FAMILY}" in 03:30:42 + dpkg -l 03:30:42 + grep '^ii' 03:30:42 + '[' -f /tmp/packages_start.txt ']' 03:30:42 + '[' -f /tmp/packages_end.txt ']' 03:30:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:30:42 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 03:30:42 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 03:30:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 03:30:42 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:30:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:43 prd-ubuntu20.04-docker-8c-8g-3092 does not seem to be running inside a container 03:30:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:30:43 $ docker top 5d36a4ca67522bd6c6c7efcab3d6d8406f68ead2466a8c42a40808ad5887a01d -eo pid,comm [Pipeline] { [Pipeline] sh 03:30:43 + touch /tmp/pre-build-complete [Pipeline] sh 03:30:44 + mkdir -p /var/log/sysstat [Pipeline] sh 03:30:44 + ls /var/log/sa-host 03:30:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:44 provisioning config files... 03:30:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config4530038489616106831tmp [Pipeline] { [Pipeline] echo 03:30:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:30:44 ---> create-netrc.sh [Pipeline] } 03:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:30:45 ---> python-tools-install.sh [Pipeline] echo 03:30:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:30:45 ---> sudo-logs.sh 03:30:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:30:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:30:46 ---> job-cost.sh 03:30:46 lf-activate-venv: SKIPPING 03:30:46 DEBUG: total: 0.2199999988079071 03:30:46 INFO: Retrieving Stack Cost... 03:30:46 INFO: Retrieving Pricing Info for: v3-standard-8 03:30:46 INFO: Archiving Costs [Pipeline] echo 03:30:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:30:47 ---> logs-deploy.sh 03:30:47 lf-activate-venv: SKIPPING 03:30:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/6 03:30:47 INFO: archiving workspace using pattern(s): 03:30:48 Archives upload complete. 03:30:48 INFO: archiving logs to Nexus