Pull request #14 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-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 124e7ce8f31a8947612702f0bb96b554a6ae53e5 Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd 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-ssh17631163672680108574.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-ssh9083232342713992542.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-14/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-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17755544604873716651.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-ssh17956440434695933289.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-14/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-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17625607182689151548.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-202 in /w/workspace/edgexfoundry_device-uart_PR-14 [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-14 # 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 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 124e7ce8f31a8947612702f0bb96b554a6ae53e5 > 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/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 124e7ce8f31a8947612702f0bb96b554a6ae53e5 Checking out Revision 124e7ce8f31a8947612702f0bb96b554a6ae53e5 (PR-14) > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # 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 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 Commit message: "Merge branch 'main' into main" First time build. Skipping changelog. > git rev-list --no-walk 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:40:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:40:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:40:17 ========================================================= 00:40:17 EdgeX Global Pipelines Version Info 00:40:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:40:17 ------------------- 00:40:17 stable info: 00:40:17 ------------------- 00:40:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:40:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:40:17 Message: update stable to v1.0.250 00:40:18 ------------------- 00:40:18 experimental info: 00:40:18 ------------------- 00:40:18 Commited By: **** collab-it+edgex@linuxfoundation.org 00:40:18 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:40:18 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 124e7ce [Pipeline] echo 00:40:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:19 provisioning config files... 00:40:19 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config116420594703498703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:19 ---> docker-login.sh 00:40:19 nexus3.edgexfoundry.org:10001 00:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:19 Configure a credential helper to remove this warning. See 00:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:19 00:40:19 Login Succeeded 00:40:19 nexus3.edgexfoundry.org:10002 00:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:19 Configure a credential helper to remove this warning. See 00:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:19 00:40:19 Login Succeeded 00:40:19 nexus3.edgexfoundry.org:10003 00:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:20 Configure a credential helper to remove this warning. See 00:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:20 00:40:20 Login Succeeded 00:40:20 nexus3.edgexfoundry.org:10004 00:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:20 Configure a credential helper to remove this warning. See 00:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:20 00:40:20 Login Succeeded 00:40:20 docker.io 00:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:20 Configure a credential helper to remove this warning. See 00:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:20 00:40:20 Login Succeeded 00:40:20 ---> docker-login.sh ends [Pipeline] } 00:40:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:40:20 + git rev-list -1 --merges 124e7ce8f31a8947612702f0bb96b554a6ae53e5~1..124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo 00:40:20 -----------> git rev-list -1 --merges 124e7ce8f31a8947612702f0bb96b554a6ae53e5~1..124e7ce8f31a8947612702f0bb96b554a6ae53e5 124e7ce8f31a8947612702f0bb96b554a6ae53e5 00:40:20 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [false] [Pipeline] sh 00:40:21 + git log --format=format:%s -1 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo 00:40:21 ========================================================= 00:40:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:40:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:21 + git log --format=format:%s -1 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo 00:40:21 [semverPrep] GIT_COMMIT: 124e7ce8f31a8947612702f0bb96b554a6ae53e5, Commit Message: Merge branch 'main' into main [Pipeline] echo 00:40:21 [semverPrep] This is not a build commit. [Pipeline] sh 00:40:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:40:21 + grep -v github /etc/ssh/ssh_known_hosts 00:40:21 + [ -e /tmp/ssh_known_hosts ] 00:40:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:40:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:40:21 sudo tee -a /etc/ssh/ssh_known_hosts 00:40:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:22 00:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:22 0.1.4: Pulling from edgex-devops/py-git-semver 00:40:22 b85a868b505f: Pulling fs layer 00:40:22 e2be974225ed: Pulling fs layer 00:40:22 339a4e72a1f5: Pulling fs layer 00:40:22 988bab9f4d93: Pulling fs layer 00:40:22 1469e6f7b9e6: Pulling fs layer 00:40:22 eaf3925da568: Pulling fs layer 00:40:22 bab4dde63d76: Pulling fs layer 00:40:22 bde34c3a00c8: Pulling fs layer 00:40:22 b352a97aabf1: Pulling fs layer 00:40:22 4872d77fe225: Pulling fs layer 00:40:22 5851b861e8e6: Pulling fs layer 00:40:22 988bab9f4d93: Waiting 00:40:22 1469e6f7b9e6: Waiting 00:40:22 eaf3925da568: Waiting 00:40:22 bab4dde63d76: Waiting 00:40:22 bde34c3a00c8: Waiting 00:40:22 b352a97aabf1: Waiting 00:40:22 4872d77fe225: Waiting 00:40:22 5851b861e8e6: Waiting 00:40:22 e2be974225ed: Download complete 00:40:22 988bab9f4d93: Verifying Checksum 00:40:22 988bab9f4d93: Download complete 00:40:22 1469e6f7b9e6: Verifying Checksum 00:40:22 1469e6f7b9e6: Download complete 00:40:22 339a4e72a1f5: Verifying Checksum 00:40:22 339a4e72a1f5: Download complete 00:40:22 eaf3925da568: Verifying Checksum 00:40:22 eaf3925da568: Download complete 00:40:22 bde34c3a00c8: Download complete 00:40:22 b352a97aabf1: Download complete 00:40:22 4872d77fe225: Verifying Checksum 00:40:22 4872d77fe225: Download complete 00:40:22 5851b861e8e6: Download complete 00:40:22 b85a868b505f: Verifying Checksum 00:40:22 b85a868b505f: Download complete 00:40:23 bab4dde63d76: Verifying Checksum 00:40:23 bab4dde63d76: Download complete 00:40:23 b85a868b505f: Pull complete 00:40:23 e2be974225ed: Pull complete 00:40:24 339a4e72a1f5: Pull complete 00:40:24 988bab9f4d93: Pull complete 00:40:24 1469e6f7b9e6: Pull complete 00:40:24 eaf3925da568: Pull complete 00:40:26 bab4dde63d76: Pull complete 00:40:26 bde34c3a00c8: Pull complete 00:40:26 b352a97aabf1: Pull complete 00:40:26 4872d77fe225: Pull complete 00:40:26 5851b861e8e6: Pull complete 00:40:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:26 prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container 00:40:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:40:29 $ docker top e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c -eo pid,comm 00:40:29 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). 00:40:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:40:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:29 [ssh-agent] Looking for ssh-agent implementation... 00:40:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:29 $ docker exec e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent 00:40:29 SSH_AUTH_SOCK=/tmp/ssh-0eEcJs6o0vKC/agent.33 00:40:29 SSH_AGENT_PID=39 00:40:29 Running ssh-add (command line suppressed) 00:40:30 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_16963394042022334834.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_16963394042022334834.key) 00:40:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:30 + git tag --points-at HEAD [Pipeline] } 00:40:30 $ docker exec --env ******** --env ******** e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent -k 00:40:30 unset SSH_AUTH_SOCK; 00:40:30 unset SSH_AGENT_PID; 00:40:30 echo Agent pid 39 killed; 00:40:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:40:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:30 [ssh-agent] Looking for ssh-agent implementation... 00:40:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:30 $ docker exec e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent 00:40:30 SSH_AUTH_SOCK=/tmp/ssh-QkVJAKCSfQ5p/agent.71 00:40:30 SSH_AGENT_PID=77 00:40:30 Running ssh-add (command line suppressed) 00:40:30 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_18131753725154201831.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_18131753725154201831.key) 00:40:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:31 + git semver init 00:40:31 2023-06-30 00:40:31,263 [run_init] DEBUG init version:0.0.0 force:False 00:40:31 2023-06-30 00:40:31,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver 00:40:31 2023-06-30 00:40:31,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver 00:40:31 2023-06-30 00:40:31,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) 00:40:32 2023-06-30 00:40:32,059 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude 00:40:32 2023-06-30 00:40:32,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False 00:40:32 2023-06-30 00:40:32,059 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 00:40:32 2023-06-30 00:40:32,063 [execute] INFO git cat-file --batch-check 00:40:32 2023-06-30 00:40:32,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 00:40:32 2023-06-30 00:40:32,069 [execute] INFO git cat-file --batch 00:40:32 2023-06-30 00:40:32,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 00:40:32 2023-06-30 00:40:32,073 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 00:40:32 0.0.0 [Pipeline] } 00:40:32 $ docker exec --env ******** --env ******** e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent -k 00:40:32 unset SSH_AUTH_SOCK; 00:40:32 unset SSH_AGENT_PID; 00:40:32 echo Agent pid 77 killed; 00:40:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:40:32 + git semver [Pipeline] } 00:40:32 $ docker stop --time=1 e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c 00:40:34 $ docker rm -f --volumes e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c [Pipeline] // withDockerContainer [Pipeline] sh 00:40:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:40:34 Stashed 1 file(s) [Pipeline] echo 00:40:34 [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 00:40:34 provisioning config files... 00:40:34 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11591132079476398095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:35 ---> docker-login.sh 00:40:35 nexus3.edgexfoundry.org:10001 00:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:35 Configure a credential helper to remove this warning. See 00:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:35 00:40:35 Login Succeeded 00:40:35 nexus3.edgexfoundry.org:10002 00:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:35 Configure a credential helper to remove this warning. See 00:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:35 00:40:35 Login Succeeded 00:40:35 nexus3.edgexfoundry.org:10003 00:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:35 Configure a credential helper to remove this warning. See 00:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:35 00:40:35 Login Succeeded 00:40:35 nexus3.edgexfoundry.org:10004 00:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:35 Configure a credential helper to remove this warning. See 00:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:35 00:40:35 Login Succeeded 00:40:35 docker.io 00:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:35 Configure a credential helper to remove this warning. See 00:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:35 00:40:35 Login Succeeded 00:40:35 ---> docker-login.sh ends [Pipeline] } 00:40:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:40:35 ========================================================= 00:40:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:40:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:36 + 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 . 00:40:36 Sending build context to Docker daemon 11.07MB 00:40:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:40:36 Step 2/12 : FROM ${BASE} AS builder 00:40:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:40:36 f56be85fc22e: Pulling fs layer 00:40:36 85791d961cd3: Pulling fs layer 00:40:36 d694b5ae8c79: Pulling fs layer 00:40:36 9f32a84ed3da: Pulling fs layer 00:40:36 4d19c01a9841: Pulling fs layer 00:40:36 9325e15d5711: Pulling fs layer 00:40:36 556b6ee489ea: Pulling fs layer 00:40:36 c5a4b2cf53e6: Pulling fs layer 00:40:36 4d19c01a9841: Waiting 00:40:36 9325e15d5711: Waiting 00:40:36 556b6ee489ea: Waiting 00:40:36 c5a4b2cf53e6: Waiting 00:40:36 9f32a84ed3da: Waiting 00:40:36 85791d961cd3: Download complete 00:40:36 9f32a84ed3da: Verifying Checksum 00:40:36 9f32a84ed3da: Download complete 00:40:36 4d19c01a9841: Verifying Checksum 00:40:36 4d19c01a9841: Download complete 00:40:36 f56be85fc22e: Download complete 00:40:36 9325e15d5711: Verifying Checksum 00:40:36 9325e15d5711: Download complete 00:40:36 f56be85fc22e: Pull complete 00:40:36 85791d961cd3: Pull complete 00:40:37 c5a4b2cf53e6: Verifying Checksum 00:40:37 c5a4b2cf53e6: Download complete 00:40:37 d694b5ae8c79: Verifying Checksum 00:40:37 d694b5ae8c79: Download complete 00:40:37 556b6ee489ea: Verifying Checksum 00:40:37 556b6ee489ea: Download complete 00:40:40 d694b5ae8c79: Pull complete 00:40:40 9f32a84ed3da: Pull complete 00:40:40 4d19c01a9841: Pull complete 00:40:41 9325e15d5711: Pull complete 00:40:43 556b6ee489ea: Pull complete 00:40:44 c5a4b2cf53e6: Pull complete 00:40:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:40:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:40:44 ---> c4be618373d6 00:40:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:40:49 Still waiting to schedule task 00:40:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-199’ 00:40:59 ---> Running in 2d25df0a286e 00:40:59 Removing intermediate container 2d25df0a286e 00:40:59 ---> c3578f1b98e3 00:40:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:40:59 ---> Running in d9eb8adfe775 00:40:59 Removing intermediate container d9eb8adfe775 00:40:59 ---> 0edb155ad488 00:40:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:40:59 ---> Running in 92926f5e9667 00:40:59 Removing intermediate container 92926f5e9667 00:40:59 ---> b447504a7f6d 00:40:59 Step 6/12 : WORKDIR /device-uart 00:40:59 ---> Running in 460ebaadb5e4 00:40:59 Removing intermediate container 460ebaadb5e4 00:40:59 ---> 5038071c317b 00:40:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:40:59 ---> Running in aa7a506f5d80 00:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:41:00 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:41:00 (2/4) Installing libedit (20221030.3.1-r0) 00:41:00 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:41:00 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:41:00 Executing busybox-1.35.0-r29.trigger 00:41:00 OK: 269 MiB in 57 packages 00:41:01 Removing intermediate container aa7a506f5d80 00:41:01 ---> 63cb8292d878 00:41:01 Step 8/12 : COPY go.mod vendor* ./ 00:41:01 ---> b8154d6c7c1b 00:41:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:41:01 ---> Running in 0f0d0d828e75 00:41:57 Removing intermediate container 0f0d0d828e75 00:41:57 ---> 6838cada86a6 00:41:57 Step 10/12 : COPY . . 00:41:57 ---> 9b99ac427d8e 00:41:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:41:57 ---> Running in 710264ccb58b 00:41:57 Removing intermediate container 710264ccb58b 00:41:57 ---> cfdb9f5632a2 00:41:57 Step 12/12 : RUN ${MAKE} 00:41:57 ---> Running in a883992414fa 00:41:57 noop 00:41:57 Removing intermediate container a883992414fa 00:41:57 ---> f59d93c9ab8b 00:41:57 Successfully built f59d93c9ab8b 00:41:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:58 + docker inspect -f . ci-base-image-x86_64 00:41:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:58 prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container 00:41:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** ci-base-image-x86_64 cat 00:41:58 $ docker top 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:58 + go version 00:41:58 go version go1.20.2 linux/amd64 [Pipeline] } 00:41:58 $ docker stop --time=1 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 00:42:00 $ docker rm -f --volumes 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:00 + docker inspect -f . ci-base-image-x86_64 00:42:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:00 prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container 00:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** ci-base-image-x86_64 cat 00:42:01 $ docker top 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh 00:42:01 + make test 00:42:01 go test ./... -coverprofile=coverage.out 00:42:06 ? github.com/edgexfoundry/device-uart [no test files] 00:42:15 ? github.com/edgexfoundry/device-uart/cmd [no test files] 00:42:15 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 00:42:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:42:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:42:23 ./internal/driver/driver.go 00:42:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:42:23 make: *** [Makefile:41: test] Error 1 [Pipeline] } 00:42:23 $ docker stop --time=1 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 00:42:26 $ docker rm -f --volumes 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 [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 00:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:42:27 00:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:42:27 latest: Pulling from edgex-lftools-log-publisher 00:42:27 5eb5b503b376: Pulling fs layer 00:42:27 5c69ac0246d0: Pulling fs layer 00:42:27 ec43610c2a17: Pulling fs layer 00:42:27 3a2ae6a8a46f: Pulling fs layer 00:42:27 33b1e0a273af: Pulling fs layer 00:42:27 5d3b04190fa2: Pulling fs layer 00:42:27 2f39f015ded8: Pulling fs layer 00:42:27 2f39f015ded8: Waiting 00:42:27 5d3b04190fa2: Waiting 00:42:27 3a2ae6a8a46f: Waiting 00:42:27 33b1e0a273af: Waiting 00:42:27 5c69ac0246d0: Download complete 00:42:27 3a2ae6a8a46f: Download complete 00:42:27 33b1e0a273af: Download complete 00:42:27 5d3b04190fa2: Verifying Checksum 00:42:27 5d3b04190fa2: Download complete 00:42:27 ec43610c2a17: Verifying Checksum 00:42:27 ec43610c2a17: Download complete 00:42:27 5eb5b503b376: Verifying Checksum 00:42:27 5eb5b503b376: Download complete 00:42:28 2f39f015ded8: Download complete 00:42:28 5eb5b503b376: Pull complete 00:42:28 5c69ac0246d0: Pull complete 00:42:29 ec43610c2a17: Pull complete 00:42:29 3a2ae6a8a46f: Pull complete 00:42:29 33b1e0a273af: Pull complete 00:42:29 5d3b04190fa2: Pull complete 00:42:33 2f39f015ded8: Pull complete 00:42:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:42:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:33 prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container 00:42:33 $ 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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 00:42:37 $ docker top cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:38 ---> job-cost.sh 00:42:38 lf-activate-venv: SKIPPING 00:42:38 INFO: No Stack... 00:42:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:42:38 INFO: Archiving Costs [Pipeline] sh 00:42:39 + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv 00:42:39 + cut -d, -f6 [Pipeline] lock 00:42:39 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] 00:42:39 Resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] did not exist. Created. 00:42:39 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:42:39 + echo total: 0.2199999988079071 [Pipeline] stash 00:42:39 Stashed 1 file(s) [Pipeline] } 00:42:39 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:42:39 $ docker stop --time=1 cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 00:42:40 $ docker rm -f --volumes cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:42:40 Failed in branch amd64 00:43:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-203 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws 00:43:16 Running in /w/workspace/device-uart/10 [Pipeline] { [Pipeline] checkout 00:43:16 The recommended git tool is: git 00:43:22 using credential edgex-jenkins-ssh 00:43:22 Cloning the remote Git repository 00:43:22 Cloning repository git@github.com:edgexfoundry/device-uart.git 00:43:22 > git init /w/workspace/device-uart/10 # timeout=10 00:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:43:22 > git --version # timeout=10 00:43:22 > git --version # 'git version 2.25.1' 00:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:23 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:43:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:25 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 124e7ce8f31a8947612702f0bb96b554a6ae53e5 00:43:25 Merge succeeded, producing 124e7ce8f31a8947612702f0bb96b554a6ae53e5 00:43:25 Checking out Revision 124e7ce8f31a8947612702f0bb96b554a6ae53e5 (PR-14) 00:43:24 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:43:24 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:43:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:43:25 > git config core.sparsecheckout # timeout=10 00:43:25 > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 00:43:25 > git remote # timeout=10 00:43:25 > git config --get remote.origin.url # timeout=10 00:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:25 > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 00:43:25 > git rev-parse HEAD^{commit} # timeout=10 00:43:25 > git config core.sparsecheckout # timeout=10 00:43:25 > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 00:43:28 Commit message: "Merge branch 'main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:43:29 % Total % Received % Xferd Average Speed Time Time Time Current 00:43:29 Dload Upload Total Spent Left Speed 00:43:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 00:43:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:43:30 + sudo tee /etc/docker/daemon.new 00:43:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:43:30 { 00:43:30 "registry-mirrors": [ 00:43:30 "https://nexus3.edgexfoundry.org:10001" 00:43:30 ], 00:43:30 "bip": "10.250.0.254/24", 00:43:30 "hosts": [ 00:43:30 "tcp://0.0.0.0:5555", 00:43:30 "unix:///var/run/docker.sock" 00:43:30 ], 00:43:30 "mtu": 1458, 00:43:30 "selinux-enabled": true, 00:43:30 "seccomp-profile": "/etc/docker/seccomp.json" 00:43:30 } [Pipeline] sh 00:43:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:43:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:49 provisioning config files... 00:43:49 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/10@tmp/config3069705343041056568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:50 ---> docker-login.sh 00:43:50 nexus3.edgexfoundry.org:10001 00:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:50 Configure a credential helper to remove this warning. See 00:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:50 00:43:50 Login Succeeded 00:43:50 nexus3.edgexfoundry.org:10002 00:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:50 Configure a credential helper to remove this warning. See 00:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:50 00:43:50 Login Succeeded 00:43:50 nexus3.edgexfoundry.org:10003 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 nexus3.edgexfoundry.org:10004 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 docker.io 00:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:52 Configure a credential helper to remove this warning. See 00:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:52 00:43:52 Login Succeeded 00:43:52 ---> docker-login.sh ends [Pipeline] } 00:43:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:52 ========================================================= 00:43:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:43:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:52 + 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 . 00:43:53 Sending build context to Docker daemon 5.595MB 00:43:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:43:53 Step 2/12 : FROM ${BASE} AS builder 00:43:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:43:53 c41833b44d91: Pulling fs layer 00:43:53 ed15518f5707: Pulling fs layer 00:43:53 feae8fd75edb: Pulling fs layer 00:43:53 242c74f7c9fa: Pulling fs layer 00:43:53 3cdef696dda3: Pulling fs layer 00:43:53 2ced38df9373: Pulling fs layer 00:43:53 58f1dce35555: Pulling fs layer 00:43:53 3cdef696dda3: Waiting 00:43:53 242c74f7c9fa: Waiting 00:43:53 2ced38df9373: Waiting 00:43:53 ed15518f5707: Verifying Checksum 00:43:53 ed15518f5707: Download complete 00:43:53 242c74f7c9fa: Verifying Checksum 00:43:53 242c74f7c9fa: Download complete 00:43:53 3cdef696dda3: Verifying Checksum 00:43:53 3cdef696dda3: Download complete 00:43:53 c41833b44d91: Download complete 00:43:54 c41833b44d91: Pull complete 00:43:54 58f1dce35555: Verifying Checksum 00:43:54 58f1dce35555: Download complete 00:43:55 ed15518f5707: Pull complete 00:43:56 feae8fd75edb: Verifying Checksum 00:43:56 feae8fd75edb: Download complete 00:43:56 2ced38df9373: Verifying Checksum 00:44:06 feae8fd75edb: Pull complete 00:44:06 242c74f7c9fa: Pull complete 00:44:06 3cdef696dda3: Pull complete 00:44:13 2ced38df9373: Pull complete 00:44:15 58f1dce35555: Pull complete 00:44:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:44:15 ---> fadd8f120f05 00:44:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:44:17 ---> Running in dcdfe1f96470 00:44:17 Removing intermediate container dcdfe1f96470 00:44:17 ---> 0e35ec9dda16 00:44:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:44:18 ---> Running in 09ae13a70dca 00:44:18 Removing intermediate container 09ae13a70dca 00:44:18 ---> 29689f9abf26 00:44:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:44:18 ---> Running in e3068fd154fb 00:44:18 Removing intermediate container e3068fd154fb 00:44:18 ---> 7aa272b6d629 00:44:18 Step 6/12 : WORKDIR /device-uart 00:44:18 ---> Running in d72917cbc2f8 00:44:18 Removing intermediate container d72917cbc2f8 00:44:18 ---> 68e36caa23f6 00:44:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:19 ---> Running in 3287d9f6334b 00:44:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:44:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:44:21 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:44:21 (2/4) Installing libedit (20221030.3.1-r0) 00:44:21 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:44:21 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:44:21 Executing busybox-1.35.0-r29.trigger 00:44:22 OK: 268 MiB in 57 packages 00:44:23 Removing intermediate container 3287d9f6334b 00:44:23 ---> 4283ccd00a7c 00:44:23 Step 8/12 : COPY go.mod vendor* ./ 00:44:23 ---> e8691ff004fb 00:44:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:23 ---> Running in 3b439328f7f7 00:45:31 Removing intermediate container 3b439328f7f7 00:45:31 ---> 68ba82bc6d42 00:45:31 Step 10/12 : COPY . . 00:45:31 ---> 8ffee755f4a3 00:45:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:45:31 ---> Running in 90fd0cc0139d 00:45:31 Removing intermediate container 90fd0cc0139d 00:45:31 ---> bef6ae106a70 00:45:31 Step 12/12 : RUN ${MAKE} 00:45:31 ---> Running in fbfde73ce84b 00:45:31 noop 00:45:31 Removing intermediate container fbfde73ce84b 00:45:31 ---> b383166d4814 00:45:31 Successfully built b383166d4814 00:45:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:31 + docker inspect -f . ci-base-image-arm64 00:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:32 prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container 00:45:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@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 00:45:33 $ docker top 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:34 + go version 00:45:34 go version go1.20.2 linux/arm64 [Pipeline] } 00:45:34 $ docker stop --time=1 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 00:45:35 $ docker rm -f --volumes 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:36 + docker inspect -f . ci-base-image-arm64 00:45:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container 00:45:36 $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@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 00:45:37 $ docker top 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:38 + git config --global --add safe.directory /w/workspace/device-uart/10 [Pipeline] fileExists [Pipeline] sh 00:45:38 + make test 00:45:38 go test ./... -coverprofile=coverage.out 00:46:17 ? github.com/edgexfoundry/device-uart [no test files] 00:48:09 ? github.com/edgexfoundry/device-uart/cmd [no test files] 00:48:09 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 00:48:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:48:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:48:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:48:35 ./internal/driver/driver.go 00:48:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:48:35 make: *** [Makefile:41: test] Error 1 [Pipeline] } 00:48:35 $ docker stop --time=1 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b 00:48:37 $ docker rm -f --volumes 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b [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 00:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:39 00:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:39 arm64: Pulling from edgex-lftools-log-publisher 00:48:39 8998bd30e6a1: Pulling fs layer 00:48:39 04944245beec: Pulling fs layer 00:48:39 699f458cf7ca: Pulling fs layer 00:48:39 765212b225bb: Pulling fs layer 00:48:39 f23df028b6ca: Pulling fs layer 00:48:39 d65c8cfc05b1: Pulling fs layer 00:48:39 2437ff75d9bd: Pulling fs layer 00:48:39 f23df028b6ca: Waiting 00:48:39 d65c8cfc05b1: Waiting 00:48:39 2437ff75d9bd: Waiting 00:48:39 765212b225bb: Waiting 00:48:39 04944245beec: Verifying Checksum 00:48:39 04944245beec: Download complete 00:48:39 765212b225bb: Verifying Checksum 00:48:39 765212b225bb: Download complete 00:48:39 f23df028b6ca: Verifying Checksum 00:48:39 f23df028b6ca: Download complete 00:48:39 d65c8cfc05b1: Verifying Checksum 00:48:39 d65c8cfc05b1: Download complete 00:48:39 699f458cf7ca: Verifying Checksum 00:48:39 699f458cf7ca: Download complete 00:48:40 8998bd30e6a1: Verifying Checksum 00:48:40 8998bd30e6a1: Download complete 00:48:44 2437ff75d9bd: Verifying Checksum 00:48:44 2437ff75d9bd: Download complete 00:48:47 8998bd30e6a1: Pull complete 00:48:49 04944245beec: Pull complete 00:48:50 699f458cf7ca: Pull complete 00:48:50 765212b225bb: Pull complete 00:48:51 f23df028b6ca: Pull complete 00:48:51 d65c8cfc05b1: Pull complete 00:49:06 2437ff75d9bd: Pull complete 00:49:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:49:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:07 prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container 00:49:07 $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@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 00:49:10 $ docker top fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:10 ---> job-cost.sh 00:49:10 lf-activate-venv: SKIPPING 00:49:10 INFO: No Stack... 00:49:11 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:12 INFO: Archiving Costs [Pipeline] sh 00:49:12 + cat /w/workspace/device-uart/10/archives/cost.csv 00:49:12 + cut -d, -f6 [Pipeline] lock 00:49:12 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] 00:49:12 Resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] did not exist. Created. 00:49:12 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:13 /w/workspace/device-uart/10@tmp/durable-c6058f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:13 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:13 Warning: overwriting stash ‘stack-cost’ 00:49:14 Stashed 1 file(s) [Pipeline] } 00:49:14 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:14 $ docker stop --time=1 fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 00:49:15 $ docker rm -f --volumes fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:15 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 00:49:16 + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] 00:49:16 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 00:49:16 total 16 00:49:16 drwxr-xr-x 3 root root 4096 Jun 30 00:42 . 00:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 00:42 .. 00:49:16 drwxr-xr-x 2 root root 4096 Jun 30 00:42 cost 00:49:16 -rw-r--r-- 1 root root 83 Jun 30 00:42 cost.csv 00:49:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives 00:49:16 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 00:49:16 total 16 00:49:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 00:42 . 00:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 00:42 .. 00:49:16 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 00:42 cost 00:49:16 -rw-r--r-- 1 jenkins jenkins 83 Jun 30 00:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:49:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:49:17 ---> package-listing.sh 00:49:17 ++ facter osfamily 00:49:17 ++ tr '[:upper:]' '[:lower:]' 00:49:17 + OS_FAMILY=debian 00:49:17 + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 00:49:17 + START_PACKAGES=/tmp/packages_start.txt 00:49:17 + END_PACKAGES=/tmp/packages_end.txt 00:49:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:49:17 + PACKAGES=/tmp/packages_start.txt 00:49:17 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 00:49:17 + PACKAGES=/tmp/packages_end.txt 00:49:17 + case "${OS_FAMILY}" in 00:49:17 + dpkg -l 00:49:17 + grep '^ii' 00:49:17 + '[' -f /tmp/packages_start.txt ']' 00:49:17 + '[' -f /tmp/packages_end.txt ']' 00:49:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:49:17 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 00:49:17 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ 00:49:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo 00:49:17 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-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:49:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:18 prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container 00:49:18 $ 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-14/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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:49:19 $ docker top 1b49d0f58bdfb607e46af18b41434ee14c0cc00fc9426631555447e16865e48a -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:19 + touch /tmp/pre-build-complete [Pipeline] sh 00:49:19 + mkdir -p /var/log/sysstat [Pipeline] sh 00:49:19 + ls /var/log/sa-host 00:49:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:20 provisioning config files... 00:49:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11544588685443929902tmp [Pipeline] { [Pipeline] echo 00:49:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:49:20 ---> create-netrc.sh [Pipeline] } 00:49:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:49:20 ---> python-tools-install.sh [Pipeline] echo 00:49:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:49:21 ---> sudo-logs.sh 00:49:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:49:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:49:21 ---> job-cost.sh 00:49:21 lf-activate-venv: SKIPPING 00:49:21 DEBUG: total: 0.2199999988079071 00:49:21 INFO: Retrieving Stack Cost... 00:49:21 INFO: Retrieving Pricing Info for: v3-standard-8 00:49:22 INFO: Archiving Costs [Pipeline] echo 00:49:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:49:22 ---> logs-deploy.sh 00:49:22 lf-activate-venv: SKIPPING 00:49:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/10 00:49:22 INFO: archiving workspace using pattern(s): 00:49:23 Archives upload complete. 00:49:23 INFO: archiving logs to Nexus