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 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 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-ssh2116557790889461130.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-ssh1060098343619733391.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-ssh10965336142158732161.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-ssh6641083001517063198.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-ssh6341999408694469887.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-1055 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 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 Merge succeeded, producing 150a73e88e190e94780b531c1163f8d738cf3077 Checking out Revision 150a73e88e190e94780b531c1163f8d738cf3077 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 # 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 150a73e88e190e94780b531c1163f8d738cf3077 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:40:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:40:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:40:43 ========================================================= 12:40:43 EdgeX Global Pipelines Version Info 12:40:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:40:44 ------------------- 12:40:44 stable info: 12:40:44 ------------------- 12:40:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:40:44 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:40:44 Message: update stable to v1.0.250 12:40:45 ------------------- 12:40:45 experimental info: 12:40:45 ------------------- 12:40:45 Commited By: **** collab-it+edgex@linuxfoundation.org 12:40:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:40:45 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 150a73e [Pipeline] echo 12:40:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:40:45 provisioning config files... 12:40:45 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config10087366197468411080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:46 ---> docker-login.sh 12:40:46 nexus3.edgexfoundry.org:10001 12:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:46 Configure a credential helper to remove this warning. See 12:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:46 12:40:46 Login Succeeded 12:40:46 nexus3.edgexfoundry.org:10002 12:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:46 Configure a credential helper to remove this warning. See 12:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:46 12:40:46 Login Succeeded 12:40:46 nexus3.edgexfoundry.org:10003 12:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:46 Configure a credential helper to remove this warning. See 12:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:46 12:40:46 Login Succeeded 12:40:46 nexus3.edgexfoundry.org:10004 12:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:46 Configure a credential helper to remove this warning. See 12:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:46 12:40:46 Login Succeeded 12:40:46 docker.io 12:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:47 Configure a credential helper to remove this warning. See 12:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:47 12:40:47 Login Succeeded 12:40:47 ---> docker-login.sh ends [Pipeline] } 12:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:40:47 + git rev-list -1 --merges 150a73e88e190e94780b531c1163f8d738cf3077~1..150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo 12:40:47 -----------> git rev-list -1 --merges 150a73e88e190e94780b531c1163f8d738cf3077~1..150a73e88e190e94780b531c1163f8d738cf3077 150a73e88e190e94780b531c1163f8d738cf3077 12:40:47 150a73e88e190e94780b531c1163f8d738cf3077 [false] [Pipeline] sh 12:40:48 + git log --format=format:%s -1 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo 12:40:48 ========================================================= 12:40:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:40:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:40:48 + git log --format=format:%s -1 150a73e88e190e94780b531c1163f8d738cf3077 [Pipeline] echo 12:40:48 [semverPrep] GIT_COMMIT: 150a73e88e190e94780b531c1163f8d738cf3077, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 12:40:48 [semverPrep] This is not a build commit. [Pipeline] sh 12:40:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:40:48 + grep -v github /etc/ssh/ssh_known_hosts 12:40:48 + [ -e /tmp/ssh_known_hosts ] 12:40:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:40:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:40:48 + sudo tee -a /etc/ssh/ssh_known_hosts 12:40:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:49 12:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:49 0.1.4: Pulling from edgex-devops/py-git-semver 12:40:49 b85a868b505f: Pulling fs layer 12:40:49 e2be974225ed: Pulling fs layer 12:40:49 339a4e72a1f5: Pulling fs layer 12:40:49 988bab9f4d93: Pulling fs layer 12:40:49 1469e6f7b9e6: Pulling fs layer 12:40:49 988bab9f4d93: Waiting 12:40:49 eaf3925da568: Pulling fs layer 12:40:49 1469e6f7b9e6: Waiting 12:40:49 eaf3925da568: Waiting 12:40:49 bab4dde63d76: Pulling fs layer 12:40:49 bde34c3a00c8: Pulling fs layer 12:40:49 b352a97aabf1: Pulling fs layer 12:40:49 bab4dde63d76: Waiting 12:40:49 bde34c3a00c8: Waiting 12:40:49 4872d77fe225: Pulling fs layer 12:40:49 5851b861e8e6: Pulling fs layer 12:40:49 5851b861e8e6: Waiting 12:40:49 e2be974225ed: Verifying Checksum 12:40:49 e2be974225ed: Download complete 12:40:49 988bab9f4d93: Download complete 12:40:49 1469e6f7b9e6: Verifying Checksum 12:40:49 1469e6f7b9e6: Download complete 12:40:49 339a4e72a1f5: Verifying Checksum 12:40:49 339a4e72a1f5: Download complete 12:40:49 eaf3925da568: Download complete 12:40:49 bde34c3a00c8: Download complete 12:40:49 b352a97aabf1: Verifying Checksum 12:40:49 b352a97aabf1: Download complete 12:40:49 4872d77fe225: Download complete 12:40:49 5851b861e8e6: Download complete 12:40:49 b85a868b505f: Verifying Checksum 12:40:49 b85a868b505f: Download complete 12:40:49 bab4dde63d76: Verifying Checksum 12:40:49 bab4dde63d76: Download complete 12:40:50 b85a868b505f: Pull complete 12:40:51 e2be974225ed: Pull complete 12:40:51 339a4e72a1f5: Pull complete 12:40:51 988bab9f4d93: Pull complete 12:40:52 1469e6f7b9e6: Pull complete 12:40:52 eaf3925da568: Pull complete 12:40:53 bab4dde63d76: Pull complete 12:40:53 bde34c3a00c8: Pull complete 12:40:54 b352a97aabf1: Pull complete 12:40:54 4872d77fe225: Pull complete 12:40:54 5851b861e8e6: Pull complete 12:40:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:54 prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container 12:40:54 $ 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 12:40:56 $ docker top add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda -eo pid,comm 12:40:56 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). 12:40:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:56 [ssh-agent] Looking for ssh-agent implementation... 12:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:56 $ docker exec add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent 12:40:57 SSH_AUTH_SOCK=/tmp/ssh-os7Zj14I0tE8/agent.33 12:40:57 SSH_AGENT_PID=39 12:40:57 Running ssh-add (command line suppressed) 12:40:57 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13482581196399407770.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13482581196399407770.key) 12:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:57 + git tag --points-at HEAD [Pipeline] } 12:40:57 $ docker exec --env ******** --env ******** add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent -k 12:40:57 unset SSH_AUTH_SOCK; 12:40:57 unset SSH_AGENT_PID; 12:40:57 echo Agent pid 39 killed; 12:40:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:40:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:57 [ssh-agent] Looking for ssh-agent implementation... 12:40:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:57 $ docker exec add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent 12:40:57 SSH_AUTH_SOCK=/tmp/ssh-gWw3rG4kv99Q/agent.71 12:40:57 SSH_AGENT_PID=77 12:40:57 Running ssh-add (command line suppressed) 12:40:58 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16884530942392759683.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16884530942392759683.key) 12:40:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:58 + git semver init 12:40:58 2023-07-13 12:40:58,488 [run_init] DEBUG init version:0.0.0 force:False 12:40:58 2023-07-13 12:40:58,489 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 12:40:58 2023-07-13 12:40:58,490 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 12:40:58 2023-07-13 12:40:58,490 [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) 12:40:59 2023-07-13 12:40:59,298 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 12:40:59 2023-07-13 12:40:59,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 12:40:59 2023-07-13 12:40:59,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 12:40:59 2023-07-13 12:40:59,303 [execute] INFO git cat-file --batch-check 12:40:59 2023-07-13 12:40:59,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 12:40:59 2023-07-13 12:40:59,310 [execute] INFO git cat-file --batch 12:40:59 2023-07-13 12:40:59,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 12:40:59 2023-07-13 12:40:59,316 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 12:40:59 0.0.0 [Pipeline] } 12:40:59 $ docker exec --env ******** --env ******** add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda ssh-agent -k 12:40:59 unset SSH_AUTH_SOCK; 12:40:59 unset SSH_AGENT_PID; 12:40:59 echo Agent pid 77 killed; 12:40:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:40:59 + git semver [Pipeline] } 12:41:00 $ docker stop --time=1 add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda 12:41:01 $ docker rm -f --volumes add3efe4efea6e99de530c904a98139923439083ee2e67039f9553721d8ccdda [Pipeline] // withDockerContainer [Pipeline] sh 12:41:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:41:02 Stashed 1 file(s) [Pipeline] echo 12:41:02 [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 12:41:02 provisioning config files... 12:41:02 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config18187104318791224936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:41:02 ---> docker-login.sh 12:41:02 nexus3.edgexfoundry.org:10001 12:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:41:02 Configure a credential helper to remove this warning. See 12:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:41:02 12:41:02 Login Succeeded 12:41:02 nexus3.edgexfoundry.org:10002 12:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:41:02 Configure a credential helper to remove this warning. See 12:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:41:02 12:41:02 Login Succeeded 12:41:02 nexus3.edgexfoundry.org:10003 12:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:41:02 Configure a credential helper to remove this warning. See 12:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:41:02 12:41:02 Login Succeeded 12:41:02 nexus3.edgexfoundry.org:10004 12:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:41:02 Configure a credential helper to remove this warning. See 12:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:41:02 12:41:02 Login Succeeded 12:41:02 docker.io 12:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:41:03 Configure a credential helper to remove this warning. See 12:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:41:03 12:41:03 Login Succeeded 12:41:03 ---> docker-login.sh ends [Pipeline] } 12:41:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:41:03 ========================================================= 12:41:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:41:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:03 + 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 . 12:41:03 Sending build context to Docker daemon 11.11MB 12:41:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:41:03 Step 2/12 : FROM ${BASE} AS builder 12:41:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:41:03 4db1b89c0bd1: Pulling fs layer 12:41:03 6911f1a30b25: Pulling fs layer 12:41:03 e194b8c5c2a9: Pulling fs layer 12:41:03 6863d3e3a2b1: Pulling fs layer 12:41:03 ec0bb842ea78: Pulling fs layer 12:41:03 40a00589a448: Pulling fs layer 12:41:03 6c08303d61cc: Pulling fs layer 12:41:03 798269fcf238: Pulling fs layer 12:41:03 6863d3e3a2b1: Waiting 12:41:03 ec0bb842ea78: Waiting 12:41:03 40a00589a448: Waiting 12:41:03 6c08303d61cc: Waiting 12:41:03 798269fcf238: Waiting 12:41:03 6911f1a30b25: Download complete 12:41:03 6863d3e3a2b1: Verifying Checksum 12:41:03 6863d3e3a2b1: Download complete 12:41:03 ec0bb842ea78: Verifying Checksum 12:41:03 ec0bb842ea78: Download complete 12:41:03 4db1b89c0bd1: Verifying Checksum 12:41:03 4db1b89c0bd1: Download complete 12:41:03 40a00589a448: Verifying Checksum 12:41:03 40a00589a448: Download complete 12:41:03 4db1b89c0bd1: Pull complete 12:41:03 6911f1a30b25: Pull complete 12:41:04 798269fcf238: Verifying Checksum 12:41:04 798269fcf238: Download complete 12:41:04 e194b8c5c2a9: Verifying Checksum 12:41:04 e194b8c5c2a9: Download complete 12:41:04 6c08303d61cc: Verifying Checksum 12:41:04 6c08303d61cc: Download complete 12:41:07 e194b8c5c2a9: Pull complete 12:41:08 6863d3e3a2b1: Pull complete 12:41:08 ec0bb842ea78: Pull complete 12:41:08 40a00589a448: Pull complete 12:41:10 6c08303d61cc: Pull complete 12:41:11 798269fcf238: Pull complete 12:41:11 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:41:11 ---> ec979cd7f677 12:41:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:41:15 ---> Running in fe6417c1306e 12:41:15 Removing intermediate container fe6417c1306e 12:41:15 ---> 8f40550fd929 12:41:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:41:15 ---> Running in 44fdc063d058 12:41:15 Removing intermediate container 44fdc063d058 12:41:15 ---> acc6d693aa32 12:41:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:41:15 ---> Running in 67ad49ac5cbd 12:41:15 Removing intermediate container 67ad49ac5cbd 12:41:15 ---> 22573ccb4a1a 12:41:15 Step 6/12 : WORKDIR /device-uart 12:41:15 ---> Running in 5582bd43f22d 12:41:15 Removing intermediate container 5582bd43f22d 12:41:15 ---> 01783ade1d66 12:41:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:41:15 ---> Running in d92141a63c38 12:41:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:41:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:41:16 (1/4) Installing openssh-keygen (9.1_p1-r3) 12:41:16 (2/4) Installing libedit (20221030.3.1-r0) 12:41:16 (3/4) Installing openssh-client-common (9.1_p1-r3) 12:41:16 (4/4) Installing openssh-client-default (9.1_p1-r3) 12:41:16 Executing busybox-1.35.0-r29.trigger 12:41:16 OK: 269 MiB in 57 packages 12:41:16 Removing intermediate container d92141a63c38 12:41:16 ---> 1dce50258635 12:41:16 Step 8/12 : COPY go.mod vendor* ./ 12:41:17 Still waiting to schedule task 12:41:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:41:17 ---> 37be7cbbe2cd 12:41:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:41:17 ---> Running in 1d33a3156f48 12:41:56 Removing intermediate container 1d33a3156f48 12:41:56 ---> cd0b8de75341 12:41:56 Step 10/12 : COPY . . 12:41:56 ---> 145b5f872eac 12:41:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:41:56 ---> Running in 1fd1513d9a58 12:41:56 Removing intermediate container 1fd1513d9a58 12:41:56 ---> f12e4a5a8ce6 12:41:56 Step 12/12 : RUN ${MAKE} 12:41:56 ---> Running in 7f657007b108 12:41:56 noop 12:41:56 Removing intermediate container 7f657007b108 12:41:56 ---> 2d3c8cdb7af4 12:41:56 Successfully built 2d3c8cdb7af4 12:41:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:56 + docker inspect -f . ci-base-image-x86_64 12:41:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:56 prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container 12:41:56 $ 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 12:41:58 $ docker top f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:00 + go version 12:42:00 go version go1.20.6 linux/amd64 [Pipeline] } 12:42:00 $ docker stop --time=1 f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 12:42:01 $ docker rm -f --volumes f920717ada7fba3f163e823372f1393471688bf163d9d76b26088e5e40714730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:01 + docker inspect -f . ci-base-image-x86_64 12:42:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:01 prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container 12:42:01 $ 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 12:42:02 $ docker top a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 12:42:02 + make test 12:42:02 go test ./... -coverprofile=coverage.out 12:42:08 ? github.com/edgexfoundry/device-uart [no test files] 12:42:18 ? github.com/edgexfoundry/device-uart/cmd [no test files] 12:42:18 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 12:42:24 internal/driver/driver.go:212:17: unusedresult: result of fmt.Errorf call not used (govet) 12:42:24 fmt.Errorf("Driver.HandleWriteCommands(): String decode failed: %v", err) 12:42:24 ^ 12:42:24 make: *** [Makefile:30: lint] Error 1 [Pipeline] } 12:42:24 $ docker stop --time=1 a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 12:42:27 $ docker rm -f --volumes a86f253b6b3e536efb997c52c48c86ba5ed4c34fc1667b172ea817f87b8d6069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:28 12:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:28 latest: Pulling from edgex-lftools-log-publisher 12:42:28 5eb5b503b376: Pulling fs layer 12:42:28 5c69ac0246d0: Pulling fs layer 12:42:28 ec43610c2a17: Pulling fs layer 12:42:28 3a2ae6a8a46f: Pulling fs layer 12:42:28 33b1e0a273af: Pulling fs layer 12:42:28 5d3b04190fa2: Pulling fs layer 12:42:28 2f39f015ded8: Pulling fs layer 12:42:28 3a2ae6a8a46f: Waiting 12:42:28 2f39f015ded8: Waiting 12:42:28 33b1e0a273af: Waiting 12:42:28 5d3b04190fa2: Waiting 12:42:28 5c69ac0246d0: Download complete 12:42:28 3a2ae6a8a46f: Verifying Checksum 12:42:28 3a2ae6a8a46f: Download complete 12:42:28 33b1e0a273af: Verifying Checksum 12:42:28 33b1e0a273af: Download complete 12:42:28 5d3b04190fa2: Verifying Checksum 12:42:28 5d3b04190fa2: Download complete 12:42:28 ec43610c2a17: Verifying Checksum 12:42:28 5eb5b503b376: Verifying Checksum 12:42:28 5eb5b503b376: Download complete 12:42:29 2f39f015ded8: Download complete 12:42:29 5eb5b503b376: Pull complete 12:42:30 5c69ac0246d0: Pull complete 12:42:30 ec43610c2a17: Pull complete 12:42:30 3a2ae6a8a46f: Pull complete 12:42:31 33b1e0a273af: Pull complete 12:42:31 5d3b04190fa2: Pull complete 12:42:35 2f39f015ded8: Pull complete 12:42:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:35 prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container 12:42:35 $ 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 12:42:38 $ docker top 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:38 ---> job-cost.sh 12:42:38 lf-activate-venv: SKIPPING 12:42:38 INFO: No Stack... 12:42:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:42:39 INFO: Archiving Costs [Pipeline] sh 12:42:40 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 12:42:40 + cut -d, -f6 [Pipeline] lock 12:42:40 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] 12:42:40 Resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] did not exist. Created. 12:42:40 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:42:40 + echo total: 0.2199999988079071 [Pipeline] stash 12:42:40 Stashed 1 file(s) [Pipeline] } 12:42:40 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:42:40 $ docker stop --time=1 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 12:42:41 $ docker rm -f --volumes 4cab125f8bc296d3656f8e18209815706983c390823eae045248a5c0ae9b6ab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:42:41 Failed in branch amd64 12:42:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1056 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 12:42:46 Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout 12:42:46 The recommended git tool is: git 12:42:51 using credential edgex-jenkins-ssh 12:42:51 Cloning the remote Git repository 12:42:51 Cloning repository git@github.com:edgexfoundry/device-uart.git 12:42:51 > git init /w/workspace/device-uart/2 # timeout=10 12:42:51 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 12:42:51 > git --version # timeout=10 12:42:51 > git --version # 'git version 2.25.1' 12:42:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:42:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 12:42:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:42:58 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 12:42:58 Merge succeeded, producing 5ce6d61d31315474da5ac2f65e14c5555215612d 12:42:58 Checking out Revision 5ce6d61d31315474da5ac2f65e14c5555215612d (PR-20) 12:42:57 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 12:42:57 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 12:42:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:42:57 > 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 12:42:58 > git config core.sparsecheckout # timeout=10 12:42:58 > git checkout -f 7c08d899ffef39a28c8fbc6c66e477ddcd3483b2 # timeout=10 12:42:58 > git remote # timeout=10 12:42:58 > git config --get remote.origin.url # timeout=10 12:42:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:42:58 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 12:42:58 > git rev-parse HEAD^{commit} # timeout=10 12:42:58 > git config core.sparsecheckout # timeout=10 12:42:58 > git checkout -f 5ce6d61d31315474da5ac2f65e14c5555215612d # timeout=10 12:43:01 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 12:43:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:43:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:43:02 % Total % Received % Xferd Average Speed Time Time Time Current 12:43:02 Dload Upload Total Spent Left Speed 12:43:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69677 0 --:--:-- --:--:-- --:--:-- 69298 100 12751 100 12751 0 0 68924 0 --:--:-- --:--:-- --:--:-- 68924 [Pipeline] sh 12:43:01 > git rev-list --no-walk 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 12:43:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:43:04 + sudo tee /etc/docker/daemon.new 12:43:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:43:04 { 12:43:04 "registry-mirrors": [ 12:43:04 "https://nexus3.edgexfoundry.org:10001" 12:43:04 ], 12:43:04 "bip": "10.250.0.254/24", 12:43:04 "hosts": [ 12:43:04 "tcp://0.0.0.0:5555", 12:43:04 "unix:///var/run/docker.sock" 12:43:04 ], 12:43:04 "mtu": 1458, 12:43:04 "selinux-enabled": true, 12:43:04 "seccomp-profile": "/etc/docker/seccomp.json" 12:43:04 } [Pipeline] sh 12:43:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:43:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:43:26 provisioning config files... 12:43:26 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config17730398418904522601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:43:27 ---> docker-login.sh 12:43:27 nexus3.edgexfoundry.org:10001 12:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:27 Configure a credential helper to remove this warning. See 12:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:27 12:43:27 Login Succeeded 12:43:27 nexus3.edgexfoundry.org:10002 12:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:27 Configure a credential helper to remove this warning. See 12:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:27 12:43:27 Login Succeeded 12:43:27 nexus3.edgexfoundry.org:10003 12:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:28 Configure a credential helper to remove this warning. See 12:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:28 12:43:28 Login Succeeded 12:43:28 nexus3.edgexfoundry.org:10004 12:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:28 Configure a credential helper to remove this warning. See 12:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:28 12:43:28 Login Succeeded 12:43:28 docker.io 12:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:29 Configure a credential helper to remove this warning. See 12:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:29 12:43:29 Login Succeeded 12:43:29 ---> docker-login.sh ends [Pipeline] } 12:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:43:29 ========================================================= 12:43:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:43:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:29 + 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 . 12:43:30 Sending build context to Docker daemon 5.609MB 12:43:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:43:30 Step 2/12 : FROM ${BASE} AS builder 12:43:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:43:30 edb6bdbacee9: Pulling fs layer 12:43:30 5f9638ab2659: Pulling fs layer 12:43:30 8d51d6327a98: Pulling fs layer 12:43:30 8b374f2dd631: Pulling fs layer 12:43:30 ec14aa9079de: Pulling fs layer 12:43:30 2f466654f4bb: Pulling fs layer 12:43:30 554e91adad29: Pulling fs layer 12:43:30 8b374f2dd631: Waiting 12:43:30 ec14aa9079de: Waiting 12:43:30 2f466654f4bb: Waiting 12:43:30 554e91adad29: Waiting 12:43:30 5f9638ab2659: Verifying Checksum 12:43:30 5f9638ab2659: Download complete 12:43:30 8b374f2dd631: Verifying Checksum 12:43:30 8b374f2dd631: Download complete 12:43:30 ec14aa9079de: Verifying Checksum 12:43:30 ec14aa9079de: Download complete 12:43:30 edb6bdbacee9: Verifying Checksum 12:43:30 edb6bdbacee9: Download complete 12:43:31 edb6bdbacee9: Pull complete 12:43:31 554e91adad29: Verifying Checksum 12:43:31 554e91adad29: Download complete 12:43:32 5f9638ab2659: Pull complete 12:43:33 2f466654f4bb: Verifying Checksum 12:43:33 2f466654f4bb: Download complete 12:43:33 8d51d6327a98: Verifying Checksum 12:43:33 8d51d6327a98: Download complete 12:43:45 8d51d6327a98: Pull complete 12:43:45 8b374f2dd631: Pull complete 12:43:45 ec14aa9079de: Pull complete 12:43:50 2f466654f4bb: Pull complete 12:43:53 554e91adad29: Pull complete 12:43:53 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:43:53 ---> 1e15ea492957 12:43:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:43:54 ---> Running in af85be3195e2 12:43:54 Removing intermediate container af85be3195e2 12:43:54 ---> 03cd7c77b3bd 12:43:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:43:55 ---> Running in 2b27d598fad5 12:43:55 Removing intermediate container 2b27d598fad5 12:43:55 ---> def6f22861ba 12:43:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:43:55 ---> Running in 2145388ccb99 12:43:55 Removing intermediate container 2145388ccb99 12:43:55 ---> 886db56be940 12:43:55 Step 6/12 : WORKDIR /device-uart 12:43:55 ---> Running in 5cd23f57ddb6 12:43:56 Removing intermediate container 5cd23f57ddb6 12:43:56 ---> 30e7219eb891 12:43:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:43:56 ---> Running in d14d955217fa 12:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:43:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 12:43:58 (2/4) Installing libedit (20221030.3.1-r0) 12:43:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 12:43:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 12:43:58 Executing busybox-1.35.0-r29.trigger 12:43:58 OK: 268 MiB in 57 packages 12:43:59 Removing intermediate container d14d955217fa 12:43:59 ---> affa32f43952 12:43:59 Step 8/12 : COPY go.mod vendor* ./ 12:44:00 ---> 4c57f9f18d0d 12:44:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:44:00 ---> Running in 0c26923e33bb 12:45:08 Removing intermediate container 0c26923e33bb 12:45:08 ---> c385dfbb1188 12:45:08 Step 10/12 : COPY . . 12:45:08 ---> c2865f09bff1 12:45:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:45:08 ---> Running in 66b59030531a 12:45:08 Removing intermediate container 66b59030531a 12:45:08 ---> 0278629992e8 12:45:08 Step 12/12 : RUN ${MAKE} 12:45:08 ---> Running in 63e7591b3d66 12:45:08 noop 12:45:08 Removing intermediate container 63e7591b3d66 12:45:08 ---> fe20f82170fa 12:45:08 Successfully built fe20f82170fa 12:45:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:08 + docker inspect -f . ci-base-image-arm64 12:45:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:08 prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container 12:45:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:45:10 $ docker top dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:10 + go version 12:45:10 go version go1.20.6 linux/arm64 [Pipeline] } 12:45:10 $ docker stop --time=1 dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 12:45:12 $ docker rm -f --volumes dec47ff0b268251479e17c8bba15664d8b1b0f62148bcff12b9e8b677b1ff1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:13 + docker inspect -f . ci-base-image-arm64 12:45:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:13 prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container 12:45:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:45:14 $ docker top 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:14 + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh 12:45:15 + make test 12:45:15 go test ./... -coverprofile=coverage.out 12:45:47 ? github.com/edgexfoundry/device-uart [no test files] 12:47:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 12:47:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 12:47:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:47:24 go vet ./... 12:47:51 # github.com/edgexfoundry/device-uart/internal/driver 12:47:51 internal/driver/driver.go:212:17: result of fmt.Errorf call not used 12:47:53 make: *** [Makefile:36: test] Error 1 [Pipeline] } 12:47:53 $ docker stop --time=1 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 12:47:55 $ docker rm -f --volumes 0366dd03e7362197fc6b6ecba2e9a54ca7e8322db41077c4b43a7c4d0de224e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:56 12:47:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:57 arm64: Pulling from edgex-lftools-log-publisher 12:47:57 8998bd30e6a1: Pulling fs layer 12:47:57 04944245beec: Pulling fs layer 12:47:57 699f458cf7ca: Pulling fs layer 12:47:57 765212b225bb: Pulling fs layer 12:47:57 f23df028b6ca: Pulling fs layer 12:47:57 d65c8cfc05b1: Pulling fs layer 12:47:57 2437ff75d9bd: Pulling fs layer 12:47:57 765212b225bb: Waiting 12:47:57 f23df028b6ca: Waiting 12:47:57 d65c8cfc05b1: Waiting 12:47:57 2437ff75d9bd: Waiting 12:47:57 04944245beec: Verifying Checksum 12:47:57 04944245beec: Download complete 12:47:57 765212b225bb: Verifying Checksum 12:47:57 765212b225bb: Download complete 12:47:57 f23df028b6ca: Verifying Checksum 12:47:57 f23df028b6ca: Download complete 12:47:57 d65c8cfc05b1: Verifying Checksum 12:47:57 d65c8cfc05b1: Download complete 12:47:57 699f458cf7ca: Verifying Checksum 12:47:57 699f458cf7ca: Download complete 12:47:58 8998bd30e6a1: Verifying Checksum 12:47:58 8998bd30e6a1: Download complete 12:48:01 2437ff75d9bd: Verifying Checksum 12:48:01 2437ff75d9bd: Download complete 12:48:03 8998bd30e6a1: Pull complete 12:48:03 04944245beec: Pull complete 12:48:05 699f458cf7ca: Pull complete 12:48:05 765212b225bb: Pull complete 12:48:06 f23df028b6ca: Pull complete 12:48:08 d65c8cfc05b1: Pull complete 12:48:27 2437ff75d9bd: Pull complete 12:48:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:48:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:27 prd-ubuntu20.04-docker-arm64-4c-16g-1056 does not seem to be running inside a container 12:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:48:29 $ docker top c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:30 ---> job-cost.sh 12:48:30 lf-activate-venv: SKIPPING 12:48:30 INFO: No Stack... 12:48:30 INFO: Retrieving Pricing Info for: v3-standard-4 12:48:31 INFO: Archiving Costs [Pipeline] sh 12:48:31 + cat /w/workspace/device-uart/2/archives/cost.csv 12:48:31 + cut -d, -f6 [Pipeline] lock 12:48:31 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] 12:48:31 Resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] did not exist. Created. 12:48:31 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:48:32 /w/workspace/device-uart/2@tmp/durable-30d395c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:48:32 + echo total: 0.10999999940395355 [Pipeline] stash 12:48:32 Warning: overwriting stash ‘stack-cost’ 12:48:33 Stashed 1 file(s) [Pipeline] } 12:48:33 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:48:33 $ docker stop --time=1 c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 12:48:34 $ docker rm -f --volumes c4b72ebfd7c9c0e3df9997418da0d75260240eaaafc55dc296e9706855fa1057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:48:34 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:48:35 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 12:48:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 12:48:35 total 16 12:48:35 drwxr-xr-x 3 root root 4096 Jul 13 12:42 . 12:48:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 12:42 .. 12:48:35 drwxr-xr-x 2 root root 4096 Jul 13 12:42 cost 12:48:35 -rw-r--r-- 1 root root 82 Jul 13 12:42 cost.csv 12:48:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 12:48:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 12:48:35 total 16 12:48:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 12:42 . 12:48:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 12:42 .. 12:48:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 12:42 cost 12:48:35 -rw-r--r-- 1 jenkins jenkins 82 Jul 13 12:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:48:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:48:36 ---> package-listing.sh 12:48:36 ++ facter osfamily 12:48:36 ++ tr '[:upper:]' '[:lower:]' 12:48:36 + OS_FAMILY=debian 12:48:36 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 12:48:36 + START_PACKAGES=/tmp/packages_start.txt 12:48:36 + END_PACKAGES=/tmp/packages_end.txt 12:48:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:48:36 + PACKAGES=/tmp/packages_start.txt 12:48:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 12:48:36 + PACKAGES=/tmp/packages_end.txt 12:48:36 + case "${OS_FAMILY}" in 12:48:36 + dpkg -l 12:48:36 + grep '^ii' 12:48:36 + '[' -f /tmp/packages_start.txt ']' 12:48:36 + '[' -f /tmp/packages_end.txt ']' 12:48:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:48:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 12:48:36 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 12:48:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 12:48:36 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 12:48:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:48:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:37 prd-ubuntu20.04-docker-8c-8g-1055 does not seem to be running inside a container 12:48:37 $ 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 12:48:38 $ docker top 03ff6fb131b26f816c7daff5f388f73f5535674d8a1aab6c665cd68190e1cdfe -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:38 + touch /tmp/pre-build-complete [Pipeline] sh 12:48:38 + mkdir -p /var/log/sysstat [Pipeline] sh 12:48:39 + ls /var/log/sa-host 12:48:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:39 provisioning config files... 12:48:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config2274453284998179792tmp [Pipeline] { [Pipeline] echo 12:48:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:48:39 ---> create-netrc.sh [Pipeline] } 12:48:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:48:39 ---> python-tools-install.sh [Pipeline] echo 12:48:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:48:40 ---> sudo-logs.sh 12:48:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:48:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:48:40 ---> job-cost.sh 12:48:40 lf-activate-venv: SKIPPING 12:48:40 DEBUG: total: 0.2199999988079071 12:48:40 INFO: Retrieving Stack Cost... 12:48:40 INFO: Retrieving Pricing Info for: v3-standard-8 12:48:41 INFO: Archiving Costs [Pipeline] echo 12:48:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:48:41 ---> logs-deploy.sh 12:48:41 lf-activate-venv: SKIPPING 12:48:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/2 12:48:41 INFO: archiving workspace using pattern(s): 12:48:42 Archives upload complete. 12:48:42 INFO: archiving logs to Nexus