Pull request #20 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 43b3ce636241a4b0d987491a6cb95046bc3f7509 Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7754846710246925337.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-ssh7395156878545873182.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/PR-20/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/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9335251642819270334.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-ssh5532887584551867810.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/PR-20/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/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4105862195043186193.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-1083 in /w/workspace/edgexfoundry_device-uart_PR-20 [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_PR-20 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 43b3ce636241a4b0d987491a6cb95046bc3f7509 Merge succeeded, producing b1be7236add84bb91d70a54fcabfd462586e81c5 Checking out Revision b1be7236add84bb91d70a54fcabfd462586e81c5 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 43b3ce636241a4b0d987491a6cb95046bc3f7509 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1be7236add84bb91d70a54fcabfd462586e81c5 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fea352f855c980cdcdb57b25457106bca20e69bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:50:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:50:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:50:04 ========================================================= 17:50:04 EdgeX Global Pipelines Version Info 17:50:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:50:05 ------------------- 17:50:05 stable info: 17:50:05 ------------------- 17:50:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:50:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:50:05 Message: update stable to v1.0.250 17:50:06 ------------------- 17:50:06 experimental info: 17:50:06 ------------------- 17:50:06 Commited By: **** collab-it+edgex@linuxfoundation.org 17:50:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:50:06 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1be7236add84bb91d70a54fcabfd462586e81c5 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1be723 [Pipeline] echo 17:50:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:06 provisioning config files... 17:50:06 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config16104996569274153564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:07 ---> docker-login.sh 17:50:07 nexus3.edgexfoundry.org:10001 17:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:07 Configure a credential helper to remove this warning. See 17:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:07 17:50:07 Login Succeeded 17:50:07 nexus3.edgexfoundry.org:10002 17:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:07 Configure a credential helper to remove this warning. See 17:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:07 17:50:07 Login Succeeded 17:50:07 nexus3.edgexfoundry.org:10003 17:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:07 Configure a credential helper to remove this warning. See 17:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:07 17:50:07 Login Succeeded 17:50:07 nexus3.edgexfoundry.org:10004 17:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:07 Configure a credential helper to remove this warning. See 17:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:07 17:50:07 Login Succeeded 17:50:07 docker.io 17:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:08 Configure a credential helper to remove this warning. See 17:50:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:08 17:50:08 Login Succeeded 17:50:08 ---> docker-login.sh ends [Pipeline] } 17:50:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:50:08 + git rev-list -1 --merges b1be7236add84bb91d70a54fcabfd462586e81c5~1..b1be7236add84bb91d70a54fcabfd462586e81c5 [Pipeline] echo 17:50:08 -----------> git rev-list -1 --merges b1be7236add84bb91d70a54fcabfd462586e81c5~1..b1be7236add84bb91d70a54fcabfd462586e81c5 b1be7236add84bb91d70a54fcabfd462586e81c5 17:50:08 b1be7236add84bb91d70a54fcabfd462586e81c5 [false] [Pipeline] sh 17:50:08 + git log --format=format:%s -1 b1be7236add84bb91d70a54fcabfd462586e81c5 [Pipeline] echo 17:50:08 ========================================================= 17:50:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:50:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:09 + git log --format=format:%s -1 b1be7236add84bb91d70a54fcabfd462586e81c5 [Pipeline] echo 17:50:09 [semverPrep] GIT_COMMIT: b1be7236add84bb91d70a54fcabfd462586e81c5, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 17:50:09 [semverPrep] This is not a build commit. [Pipeline] sh 17:50:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:50:09 + grep -v github /etc/ssh/ssh_known_hosts 17:50:09 + [ -e /tmp/ssh_known_hosts ] 17:50:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:50:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:50:09 + sudo tee -a /etc/ssh/ssh_known_hosts 17:50:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:10 17:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:10 0.1.4: Pulling from edgex-devops/py-git-semver 17:50:10 b85a868b505f: Pulling fs layer 17:50:10 e2be974225ed: Pulling fs layer 17:50:10 339a4e72a1f5: Pulling fs layer 17:50:10 988bab9f4d93: Pulling fs layer 17:50:10 1469e6f7b9e6: Pulling fs layer 17:50:10 eaf3925da568: Pulling fs layer 17:50:10 bab4dde63d76: Pulling fs layer 17:50:10 bde34c3a00c8: Pulling fs layer 17:50:10 b352a97aabf1: Pulling fs layer 17:50:10 4872d77fe225: Pulling fs layer 17:50:10 5851b861e8e6: Pulling fs layer 17:50:10 bab4dde63d76: Waiting 17:50:10 bde34c3a00c8: Waiting 17:50:10 b352a97aabf1: Waiting 17:50:10 4872d77fe225: Waiting 17:50:10 5851b861e8e6: Waiting 17:50:10 988bab9f4d93: Waiting 17:50:10 eaf3925da568: Waiting 17:50:10 1469e6f7b9e6: Waiting 17:50:10 e2be974225ed: Download complete 17:50:10 988bab9f4d93: Verifying Checksum 17:50:10 988bab9f4d93: Download complete 17:50:10 1469e6f7b9e6: Verifying Checksum 17:50:10 1469e6f7b9e6: Download complete 17:50:10 eaf3925da568: Verifying Checksum 17:50:10 339a4e72a1f5: Verifying Checksum 17:50:10 339a4e72a1f5: Download complete 17:50:10 bde34c3a00c8: Download complete 17:50:10 b352a97aabf1: Verifying Checksum 17:50:10 b352a97aabf1: Download complete 17:50:10 4872d77fe225: Verifying Checksum 17:50:10 4872d77fe225: Download complete 17:50:10 5851b861e8e6: Verifying Checksum 17:50:10 5851b861e8e6: Download complete 17:50:10 b85a868b505f: Download complete 17:50:10 bab4dde63d76: Verifying Checksum 17:50:10 bab4dde63d76: Download complete 17:50:11 b85a868b505f: Pull complete 17:50:12 e2be974225ed: Pull complete 17:50:12 339a4e72a1f5: Pull complete 17:50:12 988bab9f4d93: Pull complete 17:50:12 1469e6f7b9e6: Pull complete 17:50:12 eaf3925da568: Pull complete 17:50:14 bab4dde63d76: Pull complete 17:50:14 bde34c3a00c8: Pull complete 17:50:14 b352a97aabf1: Pull complete 17:50:14 4872d77fe225: Pull complete 17:50:14 5851b861e8e6: Pull complete 17:50:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:50:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:15 prd-ubuntu20.04-docker-8c-8g-1083 does not seem to be running inside a container 17:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:50:17 $ docker top 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d -eo pid,comm 17:50:17 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). 17:50:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:50:18 [ssh-agent] Looking for ssh-agent implementation... 17:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:50:18 $ docker exec 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d ssh-agent 17:50:18 SSH_AUTH_SOCK=/tmp/ssh-UllD5c9o1rUf/agent.33 17:50:18 SSH_AGENT_PID=39 17:50:18 Running ssh-add (command line suppressed) 17:50:18 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_956141104684301228.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_956141104684301228.key) 17:50:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:50:18 + git tag --points-at HEAD [Pipeline] } 17:50:18 $ docker exec --env ******** --env ******** 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d ssh-agent -k 17:50:18 unset SSH_AUTH_SOCK; 17:50:18 unset SSH_AGENT_PID; 17:50:18 echo Agent pid 39 killed; 17:50:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:50:18 [ssh-agent] Looking for ssh-agent implementation... 17:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:50:18 $ docker exec 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d ssh-agent 17:50:19 SSH_AUTH_SOCK=/tmp/ssh-XsPxLnqFQdl7/agent.71 17:50:19 SSH_AGENT_PID=77 17:50:19 Running ssh-add (command line suppressed) 17:50:19 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4382583352367412805.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4382583352367412805.key) 17:50:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:50:19 + git semver init 17:50:19 2023-07-13 17:50:19,632 [run_init] DEBUG init version:0.0.0 force:False 17:50:19 2023-07-13 17:50:19,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 17:50:19 2023-07-13 17:50:19,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 17:50:19 2023-07-13 17:50:19,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) 17:50:20 2023-07-13 17:50:20,452 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 17:50:20 2023-07-13 17:50:20,453 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 17:50:20 2023-07-13 17:50:20,453 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 17:50:20 2023-07-13 17:50:20,457 [execute] INFO git cat-file --batch-check 17:50:20 2023-07-13 17:50:20,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 17:50:20 2023-07-13 17:50:20,463 [execute] INFO git cat-file --batch 17:50:20 2023-07-13 17:50:20,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 17:50:20 2023-07-13 17:50:20,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 17:50:20 0.0.0 [Pipeline] } 17:50:20 $ docker exec --env ******** --env ******** 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d ssh-agent -k 17:50:20 unset SSH_AUTH_SOCK; 17:50:20 unset SSH_AGENT_PID; 17:50:20 echo Agent pid 77 killed; 17:50:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:50:21 + git semver [Pipeline] } 17:50:21 $ docker stop --time=1 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d 17:50:22 $ docker rm -f --volumes 62e01c84cc6883b179fc86f441f85d39bf862b43d7d5f5fb07aad9cdcd4fe02d [Pipeline] // withDockerContainer [Pipeline] sh 17:50:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:50:23 Stashed 1 file(s) [Pipeline] echo 17:50:23 [edgeXSemver]: initialized semver on version 0.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] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:23 provisioning config files... 17:50:23 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config16108311177558689201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:23 ---> docker-login.sh 17:50:23 nexus3.edgexfoundry.org:10001 17:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:23 Configure a credential helper to remove this warning. See 17:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:23 17:50:23 Login Succeeded 17:50:23 nexus3.edgexfoundry.org:10002 17:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:23 Configure a credential helper to remove this warning. See 17:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:23 17:50:23 Login Succeeded 17:50:23 nexus3.edgexfoundry.org:10003 17:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:23 Configure a credential helper to remove this warning. See 17:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:23 17:50:23 Login Succeeded 17:50:23 nexus3.edgexfoundry.org:10004 17:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:23 Configure a credential helper to remove this warning. See 17:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:23 17:50:23 Login Succeeded 17:50:23 docker.io 17:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:24 Configure a credential helper to remove this warning. See 17:50:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:24 17:50:24 Login Succeeded 17:50:24 ---> docker-login.sh ends [Pipeline] } 17:50:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:50:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:24 ========================================================= 17:50:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:50:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:24 + 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 . 17:50:24 Sending build context to Docker daemon 11.1MB 17:50:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:50:24 Step 2/12 : FROM ${BASE} AS builder 17:50:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:50:24 4db1b89c0bd1: Pulling fs layer 17:50:24 6911f1a30b25: Pulling fs layer 17:50:24 e194b8c5c2a9: Pulling fs layer 17:50:24 6863d3e3a2b1: Pulling fs layer 17:50:24 ec0bb842ea78: Pulling fs layer 17:50:24 40a00589a448: Pulling fs layer 17:50:24 6c08303d61cc: Pulling fs layer 17:50:24 798269fcf238: Pulling fs layer 17:50:24 ec0bb842ea78: Waiting 17:50:24 40a00589a448: Waiting 17:50:24 6c08303d61cc: Waiting 17:50:24 6863d3e3a2b1: Waiting 17:50:24 798269fcf238: Waiting 17:50:24 6911f1a30b25: Download complete 17:50:24 ec0bb842ea78: Verifying Checksum 17:50:24 ec0bb842ea78: Download complete 17:50:24 4db1b89c0bd1: Download complete 17:50:24 40a00589a448: Verifying Checksum 17:50:24 40a00589a448: Download complete 17:50:24 4db1b89c0bd1: Pull complete 17:50:25 6911f1a30b25: Pull complete 17:50:25 798269fcf238: Verifying Checksum 17:50:25 798269fcf238: Download complete 17:50:25 e194b8c5c2a9: Verifying Checksum 17:50:25 e194b8c5c2a9: Download complete 17:50:25 6c08303d61cc: Verifying Checksum 17:50:25 6c08303d61cc: Download complete 17:50:29 e194b8c5c2a9: Pull complete 17:50:29 6863d3e3a2b1: Pull complete 17:50:29 ec0bb842ea78: Pull complete 17:50:29 40a00589a448: Pull complete 17:50:30 6c08303d61cc: Pull complete 17:50:31 798269fcf238: Pull complete 17:50:31 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:50:31 ---> ec979cd7f677 17:50:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:50:36 ---> Running in edd926f3a9de 17:50:36 Removing intermediate container edd926f3a9de 17:50:36 ---> 92104fdcea6d 17:50:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:50:36 ---> Running in ddceef39b214 17:50:36 Removing intermediate container ddceef39b214 17:50:36 ---> bb775a6a9567 17:50:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:50:36 ---> Running in 35b6b5d21126 17:50:36 Removing intermediate container 35b6b5d21126 17:50:36 ---> e2478cd6b6a2 17:50:36 Step 6/12 : WORKDIR /device-uart 17:50:36 ---> Running in a8d43815a95a 17:50:36 Removing intermediate container a8d43815a95a 17:50:36 ---> b2d6d5bd7b60 17:50:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:36 ---> Running in 2eab7f6309da 17:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:50:37 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:50:37 (2/4) Installing libedit (20221030.3.1-r0) 17:50:37 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:50:37 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:50:37 Executing busybox-1.35.0-r29.trigger 17:50:37 OK: 269 MiB in 57 packages 17:50:38 Removing intermediate container 2eab7f6309da 17:50:38 ---> 2c9736062b82 17:50:38 Step 8/12 : COPY go.mod vendor* ./ 17:50:38 ---> 24bba779a8c7 17:50:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:38 ---> Running in e6d8a004fca9 17:50:38 Still waiting to schedule task 17:50:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:51:04 Removing intermediate container e6d8a004fca9 17:51:04 ---> 9bce0bd23bd4 17:51:04 Step 10/12 : COPY . . 17:51:04 ---> a7c1a17b36b9 17:51:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:04 ---> Running in 23528ea00455 17:51:04 Removing intermediate container 23528ea00455 17:51:04 ---> 528214e13942 17:51:04 Step 12/12 : RUN ${MAKE} 17:51:04 ---> Running in 98cf73d4ed50 17:51:04 noop 17:51:05 Removing intermediate container 98cf73d4ed50 17:51:05 ---> 9a5dbfeaa764 17:51:05 Successfully built 9a5dbfeaa764 17:51:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:05 + docker inspect -f . ci-base-image-x86_64 17:51:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:05 prd-ubuntu20.04-docker-8c-8g-1083 does not seem to be running inside a container 17:51:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:51:05 $ docker top 33c8675b6779450728ff38e4a60af27d33e328463684591a7d33c89400b556aa -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:06 + go version 17:51:06 go version go1.20.6 linux/amd64 [Pipeline] } 17:51:06 $ docker stop --time=1 33c8675b6779450728ff38e4a60af27d33e328463684591a7d33c89400b556aa 17:51:07 $ docker rm -f --volumes 33c8675b6779450728ff38e4a60af27d33e328463684591a7d33c89400b556aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:07 + docker inspect -f . ci-base-image-x86_64 17:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:07 prd-ubuntu20.04-docker-8c-8g-1083 does not seem to be running inside a container 17:51:07 $ 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_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:51:08 $ docker top a6e6cad8b139093f242bd1c10708dbf606e85933a5c5f7d61af79a5ad3339eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 17:51:08 + make test 17:51:08 go test ./... -coverprofile=coverage.out 17:51:14 ? github.com/edgexfoundry/device-uart [no test files] 17:51:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 17:51:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 17:51:29 go vet ./... 17:51:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:51:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:51:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:51:32 $ docker stop --time=1 a6e6cad8b139093f242bd1c10708dbf606e85933a5c5f7d61af79a5ad3339eb8 17:51:35 $ docker rm -f --volumes a6e6cad8b139093f242bd1c10708dbf606e85933a5c5f7d61af79a5ad3339eb8 [Pipeline] // withDockerContainer [Pipeline] sh 17:51:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:51:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:51:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:51:37 + ls -al . 17:51:37 total 140 17:51:37 drwxrwxr-x 7 jenkins jenkins 4096 Jul 13 17:51 . 17:51:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:49 .. 17:51:37 -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 17:50 .dockerignore 17:51:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:50 .git 17:51:37 -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 17:50 .gitignore 17:51:37 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 17:50 .golangci.yml 17:51:37 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:50 .semver 17:51:37 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 17:50 Attribution.txt 17:51:37 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 17:50 Dockerfile 17:51:37 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 17:50 GOVERNANCE.md 17:51:37 -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 17:50 Jenkinsfile 17:51:37 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 17:50 LICENSE 17:51:37 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 17:50 Makefile 17:51:37 -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 17:50 OWNERS.md 17:51:37 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 17:50 README.md 17:51:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 17:50 VERSION 17:51:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:50 bin 17:51:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:50 cmd 17:51:37 -rw-r--r-- 1 jenkins jenkins 10 Jul 13 17:51 coverage.out 17:51:37 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 17:50 go.mod 17:51:37 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 17:50 go.sum 17:51:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:50 internal 17:51:37 -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:37 + 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=b1be7236add84bb91d70a54fcabfd462586e81c5 --label arch=amd64 --label version=0.0.0 . 17:51:37 Sending build context to Docker daemon 11.11MB 17:51:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:51:37 Step 2/25 : FROM ${BASE} AS builder 17:51:37 ---> 9a5dbfeaa764 17:51:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:51:37 ---> Running in 7872d85c3b30 17:51:37 Removing intermediate container 7872d85c3b30 17:51:37 ---> 446f368a6dbd 17:51:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:51:37 ---> Running in 1d6cf8842004 17:51:38 Removing intermediate container 1d6cf8842004 17:51:38 ---> c84346913aa9 17:51:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:51:38 ---> Running in 5fbb069f9399 17:51:38 Removing intermediate container 5fbb069f9399 17:51:38 ---> db63794315ca 17:51:38 Step 6/25 : WORKDIR /device-uart 17:51:38 ---> Running in bf9e38e76527 17:51:38 Removing intermediate container bf9e38e76527 17:51:38 ---> 2a71efdbc8c8 17:51:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:38 ---> Running in 53beb6828aa4 17:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:38 OK: 269 MiB in 57 packages 17:51:39 Removing intermediate container 53beb6828aa4 17:51:39 ---> 9ef0c2fe4fe1 17:51:39 Step 8/25 : COPY go.mod vendor* ./ 17:51:39 ---> 923876f81c0a 17:51:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:39 ---> Running in e97de8f900cf 17:51:39 Removing intermediate container e97de8f900cf 17:51:39 ---> 73ab0b94bb5f 17:51:39 Step 10/25 : COPY . . 17:51:40 ---> 0c0ec5f06501 17:51:40 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:40 ---> Running in b3e1de886948 17:51:40 Removing intermediate container b3e1de886948 17:51:40 ---> 22c00192c6d7 17:51:40 Step 12/25 : RUN ${MAKE} 17:51:40 ---> Running in 594f23bfaba0 17:51:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 17:52:02 Removing intermediate container 594f23bfaba0 17:52:02 ---> 7c9c20688424 17:52:02 Step 13/25 : FROM alpine:3.17 17:52:02 3.17: Pulling from library/alpine 17:52:02 4db1b89c0bd1: Already exists 17:52:02 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:52:02 Status: Downloaded newer image for alpine:3.17 17:52:02 ---> 1f73a9d63274 17:52:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:52:02 ---> Running in 770d7cd31021 17:52:02 Removing intermediate container 770d7cd31021 17:52:02 ---> da788fbb8686 17:52:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:52:02 ---> Running in e53a1b5afa00 17:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:52:02 (1/1) Installing dumb-init (1.2.5-r2) 17:52:02 Executing busybox-1.35.0-r29.trigger 17:52:02 OK: 7 MiB in 16 packages 17:52:02 Removing intermediate container e53a1b5afa00 17:52:02 ---> ebd94a8166b8 17:52:02 Step 16/25 : WORKDIR / 17:52:02 ---> Running in 3f48524df030 17:52:02 Removing intermediate container 3f48524df030 17:52:02 ---> ce02723ec7a3 17:52:02 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 17:52:02 ---> c161a140b5ea 17:52:02 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 17:52:02 ---> 795f826af12c 17:52:02 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 17:52:02 ---> 8f0009f2a5a4 17:52:02 Step 20/25 : EXPOSE 59995 17:52:02 ---> Running in 44388a816cae 17:52:02 Removing intermediate container 44388a816cae 17:52:02 ---> 0c1f6be05d79 17:52:02 Step 21/25 : ENTRYPOINT ["/device-uart"] 17:52:02 ---> Running in b071fe9f7be5 17:52:02 Removing intermediate container b071fe9f7be5 17:52:02 ---> 2ad039685764 17:52:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:52:02 ---> Running in 559fc9544554 17:52:02 Removing intermediate container 559fc9544554 17:52:02 ---> c857d63eac21 17:52:02 Step 23/25 : LABEL arch=amd64 17:52:02 ---> Running in bb74db20335d 17:52:02 Removing intermediate container bb74db20335d 17:52:02 ---> db29382cadbf 17:52:02 Step 24/25 : LABEL git_sha=b1be7236add84bb91d70a54fcabfd462586e81c5 17:52:02 ---> Running in f437e485eb3d 17:52:02 Removing intermediate container f437e485eb3d 17:52:02 ---> 5852b7541b23 17:52:02 Step 25/25 : LABEL version=0.0.0 17:52:02 ---> Running in 4a7019fd4345 17:52:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1084 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 17:52:02 Running in /w/workspace/device-uart/5 [Pipeline] { [Pipeline] checkout 17:52:02 The recommended git tool is: git 17:52:03 Removing intermediate container 4a7019fd4345 17:52:03 ---> df90dd2cea32 17:52:03 [Warning] One or more build-args [ARCH] were not consumed 17:52:03 Successfully built df90dd2cea32 17:52:03 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 17:52:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:03 17:52:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:03 latest: Pulling from edgex-lftools-log-publisher 17:52:03 5eb5b503b376: Pulling fs layer 17:52:03 5c69ac0246d0: Pulling fs layer 17:52:03 ec43610c2a17: Pulling fs layer 17:52:03 3a2ae6a8a46f: Pulling fs layer 17:52:03 33b1e0a273af: Pulling fs layer 17:52:03 5d3b04190fa2: Pulling fs layer 17:52:03 2f39f015ded8: Pulling fs layer 17:52:03 33b1e0a273af: Waiting 17:52:03 3a2ae6a8a46f: Waiting 17:52:03 5d3b04190fa2: Waiting 17:52:03 2f39f015ded8: Waiting 17:52:03 5c69ac0246d0: Verifying Checksum 17:52:03 5c69ac0246d0: Download complete 17:52:03 3a2ae6a8a46f: Verifying Checksum 17:52:03 3a2ae6a8a46f: Download complete 17:52:03 33b1e0a273af: Verifying Checksum 17:52:03 33b1e0a273af: Download complete 17:52:03 5d3b04190fa2: Verifying Checksum 17:52:03 5d3b04190fa2: Download complete 17:52:04 ec43610c2a17: Download complete 17:52:04 5eb5b503b376: Verifying Checksum 17:52:04 5eb5b503b376: Download complete 17:52:04 2f39f015ded8: Verifying Checksum 17:52:04 2f39f015ded8: Download complete 17:52:05 5eb5b503b376: Pull complete 17:52:05 5c69ac0246d0: Pull complete 17:52:05 ec43610c2a17: Pull complete 17:52:05 3a2ae6a8a46f: Pull complete 17:52:05 33b1e0a273af: Pull complete 17:52:06 5d3b04190fa2: Pull complete 17:52:07 using credential edgex-jenkins-ssh 17:52:07 Cloning the remote Git repository 17:52:07 Cloning repository git@github.com:edgexfoundry/device-uart.git 17:52:08 > git init /w/workspace/device-uart/5 # timeout=10 17:52:08 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:52:08 > git --version # timeout=10 17:52:08 > git --version # 'git version 2.25.1' 17:52:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:09 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:52:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:52:10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:52:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:52:10 2f39f015ded8: Pull complete 17:52:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:10 prd-ubuntu20.04-docker-8c-8g-1083 does not seem to be running inside a container 17:52:10 $ 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_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:52:10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 43b3ce636241a4b0d987491a6cb95046bc3f7509 17:52:11 Merge succeeded, producing 339ca57cf7f52cfc67dc0cd7081df455878fee0b 17:52:11 Checking out Revision 339ca57cf7f52cfc67dc0cd7081df455878fee0b (PR-20) 17:52:10 > git config core.sparsecheckout # timeout=10 17:52:10 > git checkout -f 43b3ce636241a4b0d987491a6cb95046bc3f7509 # timeout=10 17:52:10 > git remote # timeout=10 17:52:10 > git config --get remote.origin.url # timeout=10 17:52:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:11 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 17:52:11 > git rev-parse HEAD^{commit} # timeout=10 17:52:11 > git config core.sparsecheckout # timeout=10 17:52:11 > git checkout -f 339ca57cf7f52cfc67dc0cd7081df455878fee0b # timeout=10 17:52:14 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 17:52:14 First time build. Skipping changelog. 17:52:14 $ docker top 346cf52b007aa957f30520c940c7f0f79c7fa5cedff6c97ceccb876c35e631a7 -eo pid,comm 17:52:14 17:52:14 GitHub has been notified of this commit’s build result 17:52:14 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:15 ---> job-cost.sh 17:52:15 lf-activate-venv: SKIPPING 17:52:15 INFO: No Stack... 17:52:15 INFO: Retrieving Pricing Info for: v3-standard-8 17:52:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:52:15 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:15 Dload Upload Total Spent Left Speed 17:52:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 17:52:14 > git rev-list --no-walk fea352f855c980cdcdb57b25457106bca20e69bf # timeout=10 17:52:16 INFO: Archiving Costs [Pipeline] sh 17:52:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:52:16 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 17:52:16 + cut -d, -f6 [Pipeline] lock 17:52:16 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] 17:52:16 Resource [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] did not exist. Created. 17:52:16 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:52:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:52:16 + sudo tee /etc/docker/daemon.new 17:52:16 { 17:52:16 "registry-mirrors": [ 17:52:16 "https://nexus3.edgexfoundry.org:10001" 17:52:16 ], 17:52:16 "bip": "10.250.0.254/24", 17:52:16 "hosts": [ 17:52:16 "tcp://0.0.0.0:5555", 17:52:16 "unix:///var/run/docker.sock" 17:52:16 ], 17:52:16 "mtu": 1458, 17:52:16 "selinux-enabled": true, 17:52:16 "seccomp-profile": "/etc/docker/seccomp.json" 17:52:16 } [Pipeline] sh 17:52:16 + echo total: 0.2199999988079071 [Pipeline] stash 17:52:16 Stashed 1 file(s) [Pipeline] } 17:52:16 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:52:16 $ docker stop --time=1 346cf52b007aa957f30520c940c7f0f79c7fa5cedff6c97ceccb876c35e631a7 17:52:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 17:52:18 $ docker rm -f --volumes 346cf52b007aa957f30520c940c7f0f79c7fa5cedff6c97ceccb876c35e631a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:52:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:36 provisioning config files... 17:52:36 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/5@tmp/config13938581669783855027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:36 ---> docker-login.sh 17:52:36 nexus3.edgexfoundry.org:10001 17:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:37 Configure a credential helper to remove this warning. See 17:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:37 17:52:37 Login Succeeded 17:52:37 nexus3.edgexfoundry.org:10002 17:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:37 Configure a credential helper to remove this warning. See 17:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:37 17:52:37 Login Succeeded 17:52:37 nexus3.edgexfoundry.org:10003 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 nexus3.edgexfoundry.org:10004 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 docker.io 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:39 Configure a credential helper to remove this warning. See 17:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:39 17:52:39 Login Succeeded 17:52:39 ---> docker-login.sh ends [Pipeline] } 17:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:39 ========================================================= 17:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:39 + 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 . 17:52:40 Sending build context to Docker daemon 5.598MB 17:52:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:52:40 Step 2/12 : FROM ${BASE} AS builder 17:52:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:41 edb6bdbacee9: Pulling fs layer 17:52:41 5f9638ab2659: Pulling fs layer 17:52:41 8d51d6327a98: Pulling fs layer 17:52:41 8b374f2dd631: Pulling fs layer 17:52:41 ec14aa9079de: Pulling fs layer 17:52:41 2f466654f4bb: Pulling fs layer 17:52:41 554e91adad29: Pulling fs layer 17:52:41 2f466654f4bb: Waiting 17:52:41 8b374f2dd631: Waiting 17:52:41 554e91adad29: Waiting 17:52:41 ec14aa9079de: Waiting 17:52:41 5f9638ab2659: Verifying Checksum 17:52:41 5f9638ab2659: Download complete 17:52:41 8b374f2dd631: Verifying Checksum 17:52:41 8b374f2dd631: Download complete 17:52:41 ec14aa9079de: Download complete 17:52:41 edb6bdbacee9: Verifying Checksum 17:52:41 edb6bdbacee9: Pull complete 17:52:42 554e91adad29: Verifying Checksum 17:52:42 554e91adad29: Download complete 17:52:42 5f9638ab2659: Pull complete 17:52:43 2f466654f4bb: Verifying Checksum 17:52:43 2f466654f4bb: Download complete 17:52:43 8d51d6327a98: Verifying Checksum 17:52:43 8d51d6327a98: Download complete 17:52:55 8d51d6327a98: Pull complete 17:52:55 8b374f2dd631: Pull complete 17:52:55 ec14aa9079de: Pull complete 17:53:02 2f466654f4bb: Pull complete 17:53:04 554e91adad29: Pull complete 17:53:04 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:53:04 ---> 1e15ea492957 17:53:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:53:06 ---> Running in 98811faa3b97 17:53:06 Removing intermediate container 98811faa3b97 17:53:06 ---> f817f619fa95 17:53:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:53:06 ---> Running in b59b7a414b3a 17:53:06 Removing intermediate container b59b7a414b3a 17:53:06 ---> ad9c337039a2 17:53:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:53:06 ---> Running in 052027476ded 17:53:07 Removing intermediate container 052027476ded 17:53:07 ---> d6b40d4d2ae7 17:53:07 Step 6/12 : WORKDIR /device-uart 17:53:07 ---> Running in ddddbbd6c9a7 17:53:07 Removing intermediate container ddddbbd6c9a7 17:53:07 ---> 7f05c0320572 17:53:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:07 ---> Running in 473c7ab2eb3a 17:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:53:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:53:10 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:53:10 (2/4) Installing libedit (20221030.3.1-r0) 17:53:10 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:53:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:53:10 Executing busybox-1.35.0-r29.trigger 17:53:10 OK: 268 MiB in 57 packages 17:53:11 Removing intermediate container 473c7ab2eb3a 17:53:11 ---> 62ff14c620eb 17:53:11 Step 8/12 : COPY go.mod vendor* ./ 17:53:11 ---> 9e16374b317f 17:53:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:12 ---> Running in 423ff1b86d37 17:54:20 Removing intermediate container 423ff1b86d37 17:54:20 ---> 2e22c4917c39 17:54:20 Step 10/12 : COPY . . 17:54:20 ---> c388ba6aa574 17:54:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:20 ---> Running in f314a8a3b816 17:54:20 Removing intermediate container f314a8a3b816 17:54:20 ---> 53504511b29b 17:54:20 Step 12/12 : RUN ${MAKE} 17:54:20 ---> Running in 69c92795f1f5 17:54:20 noop 17:54:20 Removing intermediate container 69c92795f1f5 17:54:20 ---> e503f1ede4fd 17:54:20 Successfully built e503f1ede4fd 17:54:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:20 + docker inspect -f . ci-base-image-arm64 17:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:20 prd-ubuntu20.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container 17:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:54:22 $ docker top 742df353b12b08ac2c5825ad698ef84a678ad60933f201d5f53de07dd529fe04 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:23 + go version 17:54:23 go version go1.20.6 linux/arm64 [Pipeline] } 17:54:23 $ docker stop --time=1 742df353b12b08ac2c5825ad698ef84a678ad60933f201d5f53de07dd529fe04 17:54:24 $ docker rm -f --volumes 742df353b12b08ac2c5825ad698ef84a678ad60933f201d5f53de07dd529fe04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:25 + docker inspect -f . ci-base-image-arm64 17:54:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:25 prd-ubuntu20.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container 17:54:25 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:54:28 $ docker top 9055921b6f23368cc608a6218ccb55ccdc6614b065db08c1f96e4707eb589df4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:28 + git config --global --add safe.directory /w/workspace/device-uart/5 [Pipeline] fileExists [Pipeline] sh 17:54:28 + make test 17:54:28 go test ./... -coverprofile=coverage.out 17:55:01 ? github.com/edgexfoundry/device-uart [no test files] 17:56:37 ? github.com/edgexfoundry/device-uart/cmd [no test files] 17:56:37 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 17:56:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:56:37 go vet ./... 17:57:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:57:10 $ docker stop --time=1 9055921b6f23368cc608a6218ccb55ccdc6614b065db08c1f96e4707eb589df4 17:57:12 $ docker rm -f --volumes 9055921b6f23368cc608a6218ccb55ccdc6614b065db08c1f96e4707eb589df4 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:13 Warning: overwriting stash ‘coverage-report’ 17:57:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:14 + ls -al . 17:57:14 total 136 17:57:14 drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 17:54 . 17:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:52 .. 17:57:14 -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 17:52 .dockerignore 17:57:14 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:52 .git 17:57:14 -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 17:52 .gitignore 17:57:14 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 17:52 .golangci.yml 17:57:14 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 17:52 Attribution.txt 17:57:14 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 17:52 Dockerfile 17:57:14 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 17:52 GOVERNANCE.md 17:57:14 -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 17:52 Jenkinsfile 17:57:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 17:52 LICENSE 17:57:14 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 17:52 Makefile 17:57:14 -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 17:52 OWNERS.md 17:57:14 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 17:52 README.md 17:57:14 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 17:50 VERSION 17:57:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:52 bin 17:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:52 cmd 17:57:14 -rw-r--r-- 1 jenkins jenkins 10 Jul 13 17:54 coverage.out 17:57:14 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 17:52 go.mod 17:57:14 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 17:52 go.sum 17:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:52 internal 17:57:14 -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:14 + 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=339ca57cf7f52cfc67dc0cd7081df455878fee0b --label arch=arm64 --label version=0.0.0 . 17:57:15 Sending build context to Docker daemon 5.599MB 17:57:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:57:15 Step 2/25 : FROM ${BASE} AS builder 17:57:15 ---> e503f1ede4fd 17:57:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:57:15 ---> Running in e9dff392ed28 17:57:15 Removing intermediate container e9dff392ed28 17:57:15 ---> c4f83ad628d0 17:57:15 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:57:15 ---> Running in 298dd3f82112 17:57:15 Removing intermediate container 298dd3f82112 17:57:15 ---> bbefb3d38bdf 17:57:15 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:57:16 ---> Running in ae0e0d15e93b 17:57:16 Removing intermediate container ae0e0d15e93b 17:57:16 ---> 6c90f85f8805 17:57:16 Step 6/25 : WORKDIR /device-uart 17:57:16 ---> Running in 103f02f60d4b 17:57:16 Removing intermediate container 103f02f60d4b 17:57:16 ---> 85160536e7f9 17:57:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:16 ---> Running in 73f644719e0d 17:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:57:19 OK: 268 MiB in 57 packages 17:57:20 Removing intermediate container 73f644719e0d 17:57:20 ---> 7ef5a4202620 17:57:20 Step 8/25 : COPY go.mod vendor* ./ 17:57:21 ---> 465afa084b81 17:57:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:21 ---> Running in d97661b1206b 17:57:23 Removing intermediate container d97661b1206b 17:57:23 ---> 95ce7c276674 17:57:23 Step 10/25 : COPY . . 17:57:24 ---> dc908cc94071 17:57:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:24 ---> Running in e8609e4b7cef 17:57:25 Removing intermediate container e8609e4b7cef 17:57:25 ---> a2b2ff6e71f3 17:57:25 Step 12/25 : RUN ${MAKE} 17:57:25 ---> Running in 968f9a0bdd2d 17:57:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 17:59:32 Removing intermediate container 968f9a0bdd2d 17:59:32 ---> d5b7d2e133bb 17:59:32 Step 13/25 : FROM alpine:3.17 17:59:32 3.17: Pulling from library/alpine 17:59:32 edb6bdbacee9: Already exists 17:59:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:59:32 Status: Downloaded newer image for alpine:3.17 17:59:32 ---> 779605e5fbc0 17:59:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:59:32 ---> Running in 7af5c6455b2f 17:59:32 Removing intermediate container 7af5c6455b2f 17:59:32 ---> 5fa3e460d8f8 17:59:32 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:59:32 ---> Running in 9db777e9c569 17:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:59:32 (1/1) Installing dumb-init (1.2.5-r2) 17:59:32 Executing busybox-1.35.0-r29.trigger 17:59:32 OK: 8 MiB in 16 packages 17:59:33 Removing intermediate container 9db777e9c569 17:59:33 ---> d630ffe58416 17:59:33 Step 16/25 : WORKDIR / 17:59:33 ---> Running in e5d8278d288e 17:59:33 Removing intermediate container e5d8278d288e 17:59:33 ---> ae3958956598 17:59:33 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 17:59:34 ---> 51f7611722e3 17:59:34 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 17:59:34 ---> 2deb3cb00aff 17:59:34 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 17:59:36 ---> 055c2ee5cf37 17:59:36 Step 20/25 : EXPOSE 59995 17:59:36 ---> Running in cf8984290a7e 17:59:36 Removing intermediate container cf8984290a7e 17:59:36 ---> ce583ccb0904 17:59:36 Step 21/25 : ENTRYPOINT ["/device-uart"] 17:59:36 ---> Running in 4c53c7e7b1d1 17:59:36 Removing intermediate container 4c53c7e7b1d1 17:59:36 ---> b31291701003 17:59:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:59:37 ---> Running in ccab50969ba9 17:59:37 Removing intermediate container ccab50969ba9 17:59:37 ---> bc8993e73bf7 17:59:37 Step 23/25 : LABEL arch=arm64 17:59:37 ---> Running in 5aa02f3c4ab4 17:59:37 Removing intermediate container 5aa02f3c4ab4 17:59:37 ---> a3d80b692c6e 17:59:37 Step 24/25 : LABEL git_sha=339ca57cf7f52cfc67dc0cd7081df455878fee0b 17:59:37 ---> Running in 6d77ab228833 17:59:37 Removing intermediate container 6d77ab228833 17:59:37 ---> a0ec196bd571 17:59:37 Step 25/25 : LABEL version=0.0.0 17:59:37 ---> Running in 0d915cf1eaa0 17:59:38 Removing intermediate container 0d915cf1eaa0 17:59:38 ---> ca805000e643 17:59:38 [Warning] One or more build-args [ARCH] were not consumed 17:59:38 Successfully built ca805000e643 17:59:38 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:38 17:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:59:38 arm64: Pulling from edgex-lftools-log-publisher 17:59:38 8998bd30e6a1: Pulling fs layer 17:59:38 04944245beec: Pulling fs layer 17:59:38 699f458cf7ca: Pulling fs layer 17:59:38 765212b225bb: Pulling fs layer 17:59:38 f23df028b6ca: Pulling fs layer 17:59:38 d65c8cfc05b1: Pulling fs layer 17:59:38 2437ff75d9bd: Pulling fs layer 17:59:38 f23df028b6ca: Waiting 17:59:38 d65c8cfc05b1: Waiting 17:59:38 2437ff75d9bd: Waiting 17:59:38 765212b225bb: Waiting 17:59:39 04944245beec: Verifying Checksum 17:59:39 04944245beec: Download complete 17:59:39 765212b225bb: Verifying Checksum 17:59:39 765212b225bb: Download complete 17:59:39 f23df028b6ca: Verifying Checksum 17:59:39 f23df028b6ca: Download complete 17:59:39 d65c8cfc05b1: Verifying Checksum 17:59:39 d65c8cfc05b1: Download complete 17:59:39 699f458cf7ca: Verifying Checksum 17:59:39 699f458cf7ca: Download complete 17:59:39 8998bd30e6a1: Download complete 17:59:41 2437ff75d9bd: Verifying Checksum 17:59:41 2437ff75d9bd: Download complete 17:59:43 8998bd30e6a1: Pull complete 17:59:46 04944245beec: Pull complete 17:59:47 699f458cf7ca: Pull complete 17:59:47 765212b225bb: Pull complete 17:59:48 f23df028b6ca: Pull complete 17:59:48 d65c8cfc05b1: Pull complete 18:00:03 2437ff75d9bd: Pull complete 18:00:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:03 prd-ubuntu20.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container 18:00:03 $ 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/5 -v /w/workspace/device-uart/5:/w/workspace/device-uart/5:rw,z -v /w/workspace/device-uart/5@tmp:/w/workspace/device-uart/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:00:06 $ docker top ac985a8bb6b3f16b44526dac549046037033c16871b42649a82e07da987c208e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:06 ---> job-cost.sh 18:00:07 lf-activate-venv: SKIPPING 18:00:07 INFO: No Stack... 18:00:07 INFO: Retrieving Pricing Info for: v3-standard-4 18:00:08 INFO: Archiving Costs [Pipeline] sh 18:00:08 + cat /w/workspace/device-uart/5/archives/cost.csv 18:00:08 + cut -d, -f6 [Pipeline] lock 18:00:08 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] 18:00:08 Resource [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] did not exist. Created. 18:00:08 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:00:09 /w/workspace/device-uart/5@tmp/durable-12402bcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:00:09 + echo total: 0.10999999940395355 [Pipeline] stash 18:00:09 Warning: overwriting stash ‘stack-cost’ 18:00:09 Stashed 1 file(s) [Pipeline] } 18:00:09 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-5-stack-cost] [Pipeline] // lock [Pipeline] } 18:00:09 $ docker stop --time=1 ac985a8bb6b3f16b44526dac549046037033c16871b42649a82e07da987c208e 18:00:10 $ docker rm -f --volumes ac985a8bb6b3f16b44526dac549046037033c16871b42649a82e07da987c208e [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 18:00:11 provisioning config files... 18:00:11 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config10214396639598254139tmp [Pipeline] { [Pipeline] sh 18:00:11 + set +x 18:00:11 + curl -s https://codecov.io/bash 18:00:11 + bash -s -- 18:00:11 18:00:11 _____ _ 18:00:11 / ____| | | 18:00:11 | | ___ __| | ___ ___ _____ __ 18:00:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:00:11 | |___| (_) | (_| | __/ (_| (_) \ V / 18:00:11 \_____\___/ \__,_|\___|\___\___/ \_/ 18:00:11 Bash-1.0.6 18:00:11 18:00:11 18:00:11 ==> git version 2.25.1 found 18:00:11 ==> 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 18:00:11 Release-Date: 2020-01-08 18:00:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:00:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:00:11 ==> Jenkins CI detected. 18:00:11 current dir:  /w/workspace/edgexfoundry_device-uart_PR-20 18:00:11 project root: . 18:00:11 --> token set from env 18:00:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:00:11 ==> Running gcov in . (disable via -X gcov) 18:00:11 ==> Python coveragepy not found 18:00:11 ==> Searching for coverage reports in: 18:00:11 + . 18:00:11 -> Found 1 reports 18:00:11 ==> Detecting git/mercurial file structure 18:00:11 ==> Reading reports 18:00:11 + ./coverage.out bytes=10 18:00:11 ==> Appending adjustments 18:00:11 https://docs.codecov.io/docs/fixing-reports 18:00:11 + Found adjustments 18:00:11 ==> Gzipping contents 18:00:11 4.0K /tmp/codecov.iq5uz0.gz 18:00:11 ==> Uploading reports 18:00:11 url: https://codecov.io 18:00:11 query: branch=PR-20&commit=b1be7236add84bb91d70a54fcabfd462586e81c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 18:00:11 -> Pinging Codecov 18:00:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-20&commit=b1be7236add84bb91d70a54fcabfd462586e81c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 18:00:11 -> Uploading to 18:00:11 https://storage.googleapis.com/codecov/v4/raw/2023-07-13/B9AA6E0BBD74AE3A32605C7A7C664919/b1be7236add84bb91d70a54fcabfd462586e81c5/fdc785ba-f2ac-400f-b1cf-4bc49c952718.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T180011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c84a0972e9e8aecaae3f0351438364022e9b217e8206d9d46a66aef2b3616ad 18:00:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:00:11 Dload Upload Total Spent Left Speed 18:00:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 591 0 0 100 591 0 2911 --:--:-- --:--:-- --:--:-- 2897 100 591 0 0 100 591 0 2897 --:--:-- --:--:-- --:--:-- 2882 18:00:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/b1be7236add84bb91d70a54fcabfd462586e81c5 [Pipeline] } 18:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 18:00:12 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 18:00:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 18:00:12 total 16 18:00:12 drwxr-xr-x 3 root root 4096 Jul 13 17:52 . 18:00:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:52 .. 18:00:12 drwxr-xr-x 2 root root 4096 Jul 13 17:52 cost 18:00:12 -rw-r--r-- 1 root root 82 Jul 13 17:52 cost.csv 18:00:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 18:00:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 18:00:12 total 16 18:00:12 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:52 . 18:00:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:52 .. 18:00:12 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 17:52 cost 18:00:12 -rw-r--r-- 1 jenkins jenkins 82 Jul 13 17:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:00:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:00:13 ---> package-listing.sh 18:00:13 ++ facter osfamily 18:00:13 ++ tr '[:upper:]' '[:lower:]' 18:00:14 + OS_FAMILY=debian 18:00:14 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 18:00:14 + START_PACKAGES=/tmp/packages_start.txt 18:00:14 + END_PACKAGES=/tmp/packages_end.txt 18:00:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:00:14 + PACKAGES=/tmp/packages_start.txt 18:00:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 18:00:14 + PACKAGES=/tmp/packages_end.txt 18:00:14 + case "${OS_FAMILY}" in 18:00:14 + dpkg -l 18:00:14 + grep '^ii' 18:00:14 + '[' -f /tmp/packages_start.txt ']' 18:00:14 + '[' -f /tmp/packages_end.txt ']' 18:00:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:00:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 18:00:14 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 18:00:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 18:00:14 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_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:00:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:00:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:15 prd-ubuntu20.04-docker-8c-8g-1083 does not seem to be running inside a container 18:00:15 $ 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_PR-20/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_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:00:15 $ docker top 786071f35af24456a3eeb83f0f84aa7224b499b79568a2f6284c2aa577e6aeb5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:15 + touch /tmp/pre-build-complete [Pipeline] sh 18:00:15 + mkdir -p /var/log/sysstat [Pipeline] sh 18:00:16 + ls /var/log/sa-host 18:00:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:16 provisioning config files... 18:00:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config12520558717800103975tmp [Pipeline] { [Pipeline] echo 18:00:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:00:16 ---> create-netrc.sh [Pipeline] } 18:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:00:17 ---> python-tools-install.sh [Pipeline] echo 18:00:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:00:17 ---> sudo-logs.sh 18:00:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:00:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:00:17 ---> job-cost.sh 18:00:17 lf-activate-venv: SKIPPING 18:00:17 DEBUG: total: 0.2199999988079071 18:00:17 INFO: Retrieving Stack Cost... 18:00:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:00:18 INFO: Archiving Costs [Pipeline] echo 18:00:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:00:18 ---> logs-deploy.sh 18:00:18 lf-activate-venv: SKIPPING 18:00:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/5 18:00:18 INFO: archiving workspace using pattern(s): 18:00:19 Archives upload complete. 18:00:19 INFO: archiving logs to Nexus